D: [iurt_root_command] chroot Building target platforms: noarch Building for target noarch Installing /home/pterjan/rpmbuild/SRPMS/rust-zlib-rs-0.5.2-1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.paAWW1 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.7BUIyM + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.2-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.2-build + rm -rf zlib-rs-0.5.2 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/zlib-rs-0.5.2.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd zlib-rs-0.5.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/zlib-rs-fix-metadata.diff + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + set -euo pipefail + /usr/bin/mkdir -p target/rpm + /usr/bin/ln -s rpm target/release + /usr/bin/rm -rf .cargo/ + /usr/bin/mkdir -p .cargo + cat + cat + /usr/bin/rm -f Cargo.lock + /usr/bin/rm -f Cargo.toml.orig + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.ysRQRz + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.2-build + cd zlib-rs-0.5.2 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.hPvxPb + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.2-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd zlib-rs-0.5.2 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' /usr/bin/cargo build -j16 -Z avoid-dev-deps --profile rpm Compiling zlib-rs v0.5.2 (/home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.2-build/zlib-rs-0.5.2) Running `/usr/bin/rustc --crate-name zlib_rs --edition=2021 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --deny=unsafe_op_in_unsafe_fn --cfg 'feature="c-allocator"' --cfg 'feature="default"' --cfg 'feature="rust-allocator"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("c-allocator", "default", "rust-allocator", "std"))' -C metadata=c41c5c014eb998a4 -C extra-filename=-bf0d693022a50b8a --out-dir /home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.2-build/zlib-rs-0.5.2/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.2-build/zlib-rs-0.5.2/target/rpm/deps -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: unexpected `cfg` condition value: `__internal-fuzz` --> src/deflate.rs:137:12 | 137 | #[cfg_attr(feature = "__internal-fuzz", derive(arbitrary::Arbitrary))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `__internal-fuzz` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition value: `__internal-fuzz` --> src/deflate.rs:155:12 | 155 | #[cfg_attr(feature = "__internal-fuzz", derive(arbitrary::Arbitrary))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `__internal-fuzz` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `__internal-fuzz` --> src/deflate.rs:1377:12 | 1377 | #[cfg_attr(feature = "__internal-fuzz", derive(arbitrary::Arbitrary))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `__internal-fuzz` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `__internal-fuzz` --> src/lib.rs:55:12 | 55 | #[cfg_attr(feature = "__internal-fuzz", derive(arbitrary::Arbitrary))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `__internal-fuzz` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `__internal-test` --> src/deflate.rs:164:17 | 164 | #[cfg(any(test, feature = "__internal-test"))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `__internal-test` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `ZLIB_DEBUG` --> src/deflate.rs:928:11 | 928 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `ZLIB_DEBUG` --> src/deflate.rs:931:11 | 931 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `ZLIB_DEBUG` --> src/deflate.rs:988:19 | 988 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `ZLIB_DEBUG` --> src/deflate.rs:990:19 | 990 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `ZLIB_DEBUG` --> src/lib.rs:22:15 | 22 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | ::: src/deflate.rs:1020:9 | 1020 | trace!(" l {:>2} v {:>4x} ", _len, _value); | ------------------------------------------ in this macro invocation | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `trace` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition value: `ZLIB_DEBUG` --> src/deflate.rs:1024:15 | 1024 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `ZLIB_DEBUG` --> src/deflate.rs:1031:15 | 1031 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `ZLIB_DEBUG` --> src/deflate.rs:1038:15 | 1038 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `ZLIB_DEBUG` --> src/deflate.rs:1045:15 | 1045 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `ZLIB_DEBUG` --> src/lib.rs:22:15 | 22 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | ::: src/deflate.rs:1098:9 | 1098 | trace!("\n--- Emit Tree: Last: {}\n", is_last_block as u8); | ---------------------------------------------------------- in this macro invocation | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `trace` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition value: `ZLIB_DEBUG` --> src/lib.rs:22:15 | 22 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | ::: src/deflate.rs:1113:9 | 1113 | / trace!( 1114 | | "\n+++ Emit End Block: Last: {} Pending: {} Total Out: {}\n", 1115 | | _is_last_block as u8, 1116 | | self.pending.pending().len(), 1117 | | "" 1118 | | ); | |_________- in this macro invocation | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `trace` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition value: `ZLIB_DEBUG` --> src/deflate.rs:1124:15 | 1124 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `ZLIB_DEBUG` --> src/deflate.rs:1601:15 | 1601 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `ZLIB_DEBUG` --> src/lib.rs:22:15 | 22 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | ::: src/deflate.rs:2115:5 | 2115 | trace!("\ngen_codes: max_code {max_code} "); | ------------------------------------------- in this macro invocation | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `trace` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition value: `ZLIB_DEBUG` --> src/lib.rs:22:15 | 22 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | ::: src/deflate.rs:2129:13 | 2129 | / trace!( 2130 | | "\nn {:>3} {} l {:>2} c {:>4x} ({:x}) ", 2131 | | n, 2132 | | if isgraph(n as u8) { ... | 2139 | | next_code[len as usize] - 1 2140 | | ); | |_____________- in this macro invocation | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `trace` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition value: `ZLIB_DEBUG` --> src/lib.rs:22:15 | 22 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | ::: src/deflate.rs:2218:5 | 2218 | trace!("\nbl counts: "); | ----------------------- in this macro invocation | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `trace` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition value: `ZLIB_DEBUG` --> src/lib.rs:22:15 | 22 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | ::: src/deflate.rs:2230:5 | 2230 | trace!("\nbl tree: sent {}", state.bit_writer.bits_sent); | -------------------------------------------------------- in this macro invocation | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `trace` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition value: `ZLIB_DEBUG` --> src/lib.rs:22:15 | 22 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | ::: src/deflate.rs:2236:5 | 2236 | trace!("\nlit tree: sent {}", state.bit_writer.bits_sent); | --------------------------------------------------------- in this macro invocation | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `trace` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition value: `ZLIB_DEBUG` --> src/lib.rs:22:15 | 22 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | ::: src/deflate.rs:2242:5 | 2242 | trace!("\ndist tree: sent {}", state.bit_writer.bits_sent); | ---------------------------------------------------------- in this macro invocation | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `trace` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition value: `ZLIB_DEBUG` --> src/lib.rs:22:15 | 22 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | ::: src/deflate.rs:2224:9 | 2224 | trace!("\nbl code {:>2} ", StaticTreeDesc::BL_ORDER[rank]); | ---------------------------------------------------------- in this macro invocation | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `trace` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition value: `ZLIB_DEBUG` --> src/lib.rs:22:15 | 22 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | ::: src/deflate.rs:2290:5 | 2290 | / trace!( 2291 | | "\ndyn trees: dyn {}, stat {}", 2292 | | state.opt_len, 2293 | | state.static_len 2294 | | ); | |_____- in this macro invocation | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `trace` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition value: `ZLIB_DEBUG` --> src/lib.rs:22:15 | 22 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | ::: src/deflate.rs:2359:9 | 2359 | / trace!( 2360 | | "\nopt {}({}) stat {}({}) stored {} lit {} ", 2361 | | opt_lenb, 2362 | | state.opt_len, ... | 2366 | | state.sym_buf.len() / 3 2367 | | ); | |_________- in this macro invocation | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `trace` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition value: `ZLIB_DEBUG` --> src/lib.rs:22:15 | 22 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | ::: src/deflate.rs:2331:13 | 2331 | / trace!( 2332 | | "\nlit data: dyn {}, stat {}", 2333 | | state.opt_len, 2334 | | state.static_len 2335 | | ); | |_____________- in this macro invocation | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `trace` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition value: `ZLIB_DEBUG` --> src/lib.rs:22:15 | 22 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | ::: src/deflate.rs:2344:13 | 2344 | / trace!( 2345 | | "\ndist data: dyn {}, stat {}", 2346 | | state.opt_len, 2347 | | state.static_len 2348 | | ); | |_____________- in this macro invocation | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `trace` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition value: `ZLIB_DEBUG` --> src/lib.rs:22:15 | 22 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | ::: src/deflate.rs:2800:5 | 2800 | trace!("\n[FLUSH {len} bytes]"); | ------------------------------- in this macro invocation | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `trace` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition value: `__internal-test` --> src/inflate.rs:53:7 | 53 | #[cfg(feature = "__internal-test")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `__internal-test` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `__internal-test` --> src/inflate.rs:57:7 | 57 | #[cfg(feature = "__internal-test")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `__internal-test` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `__internal-fuzz-disable-checksum` --> src/inflate.rs:1348:34 | 1348 | if !cfg!(feature = "__internal-fuzz-disable-checksum") && self.wrap != 0 { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `__internal-fuzz-disable-checksum` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: value assigned to `m` is never read --> src/deflate/algorithm/medium.rs:250:9 | 250 | m.strstart += m.match_length; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: maybe it is overwritten before being read? = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default warning: value assigned to `m` is never read --> src/deflate/algorithm/medium.rs:251:9 | 251 | m.match_length = 0; | ^^^^^^^^^^^^^^^^^^ | = help: maybe it is overwritten before being read? warning: value assigned to `m` is never read --> src/deflate/algorithm/medium.rs:227:13 | 227 | m.strstart += m.match_length; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: maybe it is overwritten before being read? warning: value assigned to `m` is never read --> src/deflate/algorithm/medium.rs:228:13 | 228 | m.match_length = 0; | ^^^^^^^^^^^^^^^^^^ | = help: maybe it is overwritten before being read? warning: `zlib-rs` (lib) generated 37 warnings Finished `rpm` profile [optimized + debuginfo] target(s) in 5.28s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.7S0HU2 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.2-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.2-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.2-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.2-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.2-build + mkdir /home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.2-build/BUILDROOT + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd zlib-rs-0.5.2 + '[' 1 -eq 1 ']' + set -euo pipefail ++ /usr/bin/cargo2rpm --path Cargo.toml is-lib + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' ++ /usr/bin/cargo2rpm --path Cargo.toml name + CRATE_NAME=zlib-rs ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=0.5.2 + REG_DIR=/home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.2-build/BUILDROOT/usr/share/cargo/registry/zlib-rs-0.5.2 + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.2-build/BUILDROOT/usr/share/cargo/registry/zlib-rs-0.5.2 + /usr/bin/awk -i inplace -v INPLACE_SUFFIX=.deps '/^\[((.+\.)?((dev|build)-)?dependencies|features)/{f=1;next} /^\[/{f=0}; !f' Cargo.toml + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' /usr/bin/cargo package -l + grep -w -E -v 'Cargo.(lock|toml.orig)' + xargs -d '\n' /usr/bin/cp --parents -a -t /home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.2-build/BUILDROOT/usr/share/cargo/registry/zlib-rs-0.5.2 warning: no (git) VCS found for `/home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.2-build/zlib-rs-0.5.2` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.2-build/BUILDROOT/usr/share/cargo/registry/zlib-rs-0.5.2/Cargo.toml + /usr/bin/rm -f /home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.2-build/BUILDROOT/usr/share/cargo/registry/zlib-rs-0.5.2/Cargo.toml.deps + echo '{"files":{},"package":""}' ++ /usr/bin/cargo2rpm --path Cargo.toml is-bin + '[' 0 -eq 1 ']' + /usr/lib/rpm/check-buildroot + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-mangle-shebangs + env -u SOURCE_DATE_EPOCH /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j16 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Aj4Q87 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.2-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd zlib-rs-0.5.2 + '[' 1 -eq 1 ']' + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' /usr/bin/cargo test -j16 -Z avoid-dev-deps --profile rpm --no-fail-fast Compiling libc v0.2.180 Compiling cfg-if v1.0.4 Compiling autocfg v1.5.0 Compiling crc32fast v1.5.0 warning: unexpected `cfg` condition value: `__internal-fuzz` --> src/deflate.rs:137:12 | 137 | #[cfg_attr(feature = "__internal-fuzz", derive(arbitrary::Arbitrary))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `__internal-fuzz` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition value: `__internal-fuzz` --> src/deflate.rs:155:12 | 155 | #[cfg_attr(feature = "__internal-fuzz", derive(arbitrary::Arbitrary))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `__internal-fuzz` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `__internal-fuzz` --> src/deflate.rs:1377:12 | 1377 | #[cfg_attr(feature = "__internal-fuzz", derive(arbitrary::Arbitrary))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `__internal-fuzz` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `__internal-fuzz` --> src/lib.rs:55:12 | 55 | #[cfg_attr(feature = "__internal-fuzz", derive(arbitrary::Arbitrary))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `__internal-fuzz` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `__internal-test` --> src/deflate.rs:164:17 | 164 | #[cfg(any(test, feature = "__internal-test"))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `__internal-test` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `ZLIB_DEBUG` --> src/deflate.rs:928:11 | 928 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `ZLIB_DEBUG` --> src/deflate.rs:931:11 | 931 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `ZLIB_DEBUG` --> src/deflate.rs:988:19 | 988 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `ZLIB_DEBUG` --> src/deflate.rs:990:19 | 990 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `ZLIB_DEBUG` --> src/lib.rs:22:15 | 22 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | ::: src/deflate.rs:1020:9 | 1020 | trace!(" l {:>2} v {:>4x} ", _len, _value); | ------------------------------------------ in this macro invocation | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `trace` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition value: `ZLIB_DEBUG` --> src/deflate.rs:1024:15 | 1024 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `ZLIB_DEBUG` --> src/deflate.rs:1031:15 | 1031 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `ZLIB_DEBUG` --> src/deflate.rs:1038:15 | 1038 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `ZLIB_DEBUG` --> src/deflate.rs:1045:15 | 1045 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `ZLIB_DEBUG` --> src/lib.rs:22:15 | 22 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | ::: src/deflate.rs:1098:9 | 1098 | trace!("\n--- Emit Tree: Last: {}\n", is_last_block as u8); | ---------------------------------------------------------- in this macro invocation | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `trace` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition value: `ZLIB_DEBUG` --> src/lib.rs:22:15 | 22 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | ::: src/deflate.rs:1113:9 | 1113 | / trace!( 1114 | | "\n+++ Emit End Block: Last: {} Pending: {} Total Out: {}\n", 1115 | | _is_last_block as u8, 1116 | | self.pending.pending().len(), 1117 | | "" 1118 | | ); | |_________- in this macro invocation | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `trace` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition value: `ZLIB_DEBUG` --> src/deflate.rs:1124:15 | 1124 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `ZLIB_DEBUG` --> src/deflate.rs:1601:15 | 1601 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `ZLIB_DEBUG` --> src/lib.rs:22:15 | 22 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | ::: src/deflate.rs:2115:5 | 2115 | trace!("\ngen_codes: max_code {max_code} "); | ------------------------------------------- in this macro invocation | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `trace` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition value: `ZLIB_DEBUG` --> src/lib.rs:22:15 | 22 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | ::: src/deflate.rs:2129:13 | 2129 | / trace!( 2130 | | "\nn {:>3} {} l {:>2} c {:>4x} ({:x}) ", 2131 | | n, 2132 | | if isgraph(n as u8) { ... | 2139 | | next_code[len as usize] - 1 2140 | | ); | |_____________- in this macro invocation | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `trace` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition value: `ZLIB_DEBUG` --> src/lib.rs:22:15 | 22 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | ::: src/deflate.rs:2218:5 | 2218 | trace!("\nbl counts: "); | ----------------------- in this macro invocation | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `trace` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition value: `ZLIB_DEBUG` --> src/lib.rs:22:15 | 22 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | ::: src/deflate.rs:2230:5 | 2230 | trace!("\nbl tree: sent {}", state.bit_writer.bits_sent); | -------------------------------------------------------- in this macro invocation | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `trace` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition value: `ZLIB_DEBUG` --> src/lib.rs:22:15 | 22 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | ::: src/deflate.rs:2236:5 | 2236 | trace!("\nlit tree: sent {}", state.bit_writer.bits_sent); | --------------------------------------------------------- in this macro invocation | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `trace` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition value: `ZLIB_DEBUG` --> src/lib.rs:22:15 | 22 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | ::: src/deflate.rs:2242:5 | 2242 | trace!("\ndist tree: sent {}", state.bit_writer.bits_sent); | ---------------------------------------------------------- in this macro invocation | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `trace` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition value: `ZLIB_DEBUG` --> src/lib.rs:22:15 | 22 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | ::: src/deflate.rs:2224:9 | 2224 | trace!("\nbl code {:>2} ", StaticTreeDesc::BL_ORDER[rank]); | ---------------------------------------------------------- in this macro invocation | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `trace` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition value: `ZLIB_DEBUG` --> src/lib.rs:22:15 | 22 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | ::: src/deflate.rs:2290:5 | 2290 | / trace!( 2291 | | "\ndyn trees: dyn {}, stat {}", 2292 | | state.opt_len, 2293 | | state.static_len 2294 | | ); | |_____- in this macro invocation | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `trace` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition value: `ZLIB_DEBUG` --> src/lib.rs:22:15 | 22 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | ::: src/deflate.rs:2359:9 | 2359 | / trace!( 2360 | | "\nopt {}({}) stat {}({}) stored {} lit {} ", 2361 | | opt_lenb, 2362 | | state.opt_len, ... | 2366 | | state.sym_buf.len() / 3 2367 | | ); | |_________- in this macro invocation | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `trace` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition value: `ZLIB_DEBUG` --> src/lib.rs:22:15 | 22 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | ::: src/deflate.rs:2331:13 | 2331 | / trace!( 2332 | | "\nlit data: dyn {}, stat {}", 2333 | | state.opt_len, 2334 | | state.static_len 2335 | | ); | |_____________- in this macro invocation | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `trace` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition value: `ZLIB_DEBUG` --> src/lib.rs:22:15 | 22 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | ::: src/deflate.rs:2344:13 | 2344 | / trace!( 2345 | | "\ndist data: dyn {}, stat {}", 2346 | | state.opt_len, 2347 | | state.static_len 2348 | | ); | |_____________- in this macro invocation | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `trace` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition value: `ZLIB_DEBUG` --> src/lib.rs:22:15 | 22 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | ::: src/deflate.rs:2800:5 | 2800 | trace!("\n[FLUSH {len} bytes]"); | ------------------------------- in this macro invocation | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `trace` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition value: `__internal-test` --> src/inflate.rs:53:7 | 53 | #[cfg(feature = "__internal-test")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `__internal-test` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `__internal-test` --> src/inflate.rs:57:7 | 57 | #[cfg(feature = "__internal-test")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `__internal-test` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `__internal-fuzz-disable-checksum` --> src/inflate.rs:1348:34 | 1348 | if !cfg!(feature = "__internal-fuzz-disable-checksum") && self.wrap != 0 { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `__internal-fuzz-disable-checksum` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: value assigned to `m` is never read --> src/deflate/algorithm/medium.rs:250:9 | 250 | m.strstart += m.match_length; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: maybe it is overwritten before being read? = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default warning: value assigned to `m` is never read --> src/deflate/algorithm/medium.rs:251:9 | 251 | m.match_length = 0; | ^^^^^^^^^^^^^^^^^^ | = help: maybe it is overwritten before being read? warning: value assigned to `m` is never read --> src/deflate/algorithm/medium.rs:227:13 | 227 | m.strstart += m.match_length; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: maybe it is overwritten before being read? warning: value assigned to `m` is never read --> src/deflate/algorithm/medium.rs:228:13 | 228 | m.match_length = 0; | ^^^^^^^^^^^^^^^^^^ | = help: maybe it is overwritten before being read? Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/libc-0.2.180/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no '--allow=clippy::used_underscore_binding' --allow=unused_qualifications '--warn=clippy::unnecessary_semicolon' '--allow=clippy::unnecessary_cast' '--allow=clippy::uninlined_format_args' '--warn=clippy::ptr_as_ptr' '--allow=clippy::non_minimal_cfg' '--allow=clippy::missing_safety_doc' '--warn=clippy::map_unwrap_or' '--warn=clippy::manual_assert' '--allow=clippy::identity_op' '--warn=clippy::explicit_iter_loop' '--allow=clippy::expl_impl_clone_on_copy' -C debug-assertions=off --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("align", "const-extern-fn", "default", "extra_traits", "rustc-dep-of-std", "rustc-std-workspace-core", "std", "use_std"))' -C metadata=92411a416ecbc327 -C extra-filename=-d139e536c4388098 --out-dir /home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.2-build/zlib-rs-0.5.2/target/rpm/build/libc-d139e536c4388098 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.2-build/zlib-rs-0.5.2/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name cfg_if --edition=2018 /usr/share/cargo/registry/cfg-if-1.0.4/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("core", "rustc-dep-of-std"))' -C metadata=08b529e5e0e8f31d -C extra-filename=-882b1cd97dcfd39c --out-dir /home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.2-build/zlib-rs-0.5.2/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.2-build/zlib-rs-0.5.2/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name autocfg --edition=2015 /usr/share/cargo/registry/autocfg-1.5.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=3da3d4130c7f067d -C extra-filename=-d9f92939e64234ef --out-dir /home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.2-build/zlib-rs-0.5.2/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.2-build/zlib-rs-0.5.2/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/crc32fast-1.5.0/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "nightly", "std"))' -C metadata=6d2ff8fbe9fb7e69 -C extra-filename=-d80c7436775a0cda --out-dir /home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.2-build/zlib-rs-0.5.2/target/rpm/build/crc32fast-d80c7436775a0cda -L dependency=/home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.2-build/zlib-rs-0.5.2/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: `zlib-rs` (lib) generated 37 warnings Running `/home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.2-build/zlib-rs-0.5.2/target/rpm/build/crc32fast-d80c7436775a0cda/build-script-build` Running `/usr/bin/rustc --crate-name crc32fast --edition=2021 /usr/share/cargo/registry/crc32fast-1.5.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "nightly", "std"))' -C metadata=91e8482d934bbe7b -C extra-filename=-0dea707235f6016e --out-dir /home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.2-build/zlib-rs-0.5.2/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.2-build/zlib-rs-0.5.2/target/rpm/deps --extern cfg_if=/home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.2-build/zlib-rs-0.5.2/target/rpm/deps/libcfg_if-882b1cd97dcfd39c.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg stable_arm_crc32_intrinsics --check-cfg 'cfg(stable_arm_crc32_intrinsics)'` Running `/home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.2-build/zlib-rs-0.5.2/target/rpm/build/libc-d139e536c4388098/build-script-build` Running `/usr/bin/rustc --crate-name libc --edition=2021 /usr/share/cargo/registry/libc-0.2.180/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 '--allow=clippy::used_underscore_binding' --allow=unused_qualifications '--warn=clippy::unnecessary_semicolon' '--allow=clippy::unnecessary_cast' '--allow=clippy::uninlined_format_args' '--warn=clippy::ptr_as_ptr' '--allow=clippy::non_minimal_cfg' '--allow=clippy::missing_safety_doc' '--warn=clippy::map_unwrap_or' '--warn=clippy::manual_assert' '--allow=clippy::identity_op' '--warn=clippy::explicit_iter_loop' '--allow=clippy::expl_impl_clone_on_copy' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("align", "const-extern-fn", "default", "extra_traits", "rustc-dep-of-std", "rustc-std-workspace-core", "std", "use_std"))' -C metadata=5429833b3143d375 -C extra-filename=-99d0b11ae01f7d56 --out-dir /home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.2-build/zlib-rs-0.5.2/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.2-build/zlib-rs-0.5.2/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg freebsd12 --check-cfg 'cfg(emscripten_old_stat_abi)' --check-cfg 'cfg(espidf_time32)' --check-cfg 'cfg(freebsd10)' --check-cfg 'cfg(freebsd11)' --check-cfg 'cfg(freebsd12)' --check-cfg 'cfg(freebsd13)' --check-cfg 'cfg(freebsd14)' --check-cfg 'cfg(freebsd15)' --check-cfg 'cfg(gnu_file_offset_bits64)' --check-cfg 'cfg(gnu_time_bits64)' --check-cfg 'cfg(libc_deny_warnings)' --check-cfg 'cfg(linux_time_bits64)' --check-cfg 'cfg(musl_v1_2_3)' --check-cfg 'cfg(musl32_time64)' --check-cfg 'cfg(vxworks_lt_25_09)' --check-cfg 'cfg(target_os,values("switch","aix","ohos","hurd","rtems","visionos","nuttx","cygwin","qurt"))' --check-cfg 'cfg(target_env,values("illumos","wasi","aix","ohos","nto71_iosock","nto80"))' --check-cfg 'cfg(target_arch,values("loongarch64","mips32r6","mips64r6","csky"))'` Compiling memoffset v0.9.1 Running `/usr/bin/rustc --crate-name build_script_build --edition=2015 /usr/share/cargo/registry/memoffset-0.9.1/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "unstable_const", "unstable_offset_of"))' -C metadata=f413642a756cd87c -C extra-filename=-05e2c0cf4615580d --out-dir /home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.2-build/zlib-rs-0.5.2/target/rpm/build/memoffset-05e2c0cf4615580d -L dependency=/home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.2-build/zlib-rs-0.5.2/target/rpm/deps --extern autocfg=/home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.2-build/zlib-rs-0.5.2/target/rpm/deps/libautocfg-d9f92939e64234ef.rlib --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.2-build/zlib-rs-0.5.2/target/rpm/build/memoffset-05e2c0cf4615580d/build-script-build` Running `/usr/bin/rustc --crate-name memoffset --edition=2015 /usr/share/cargo/registry/memoffset-0.9.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="default"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "unstable_const", "unstable_offset_of"))' -C metadata=9122a502e24357bc -C extra-filename=-e016a18653009414 --out-dir /home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.2-build/zlib-rs-0.5.2/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.2-build/zlib-rs-0.5.2/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg tuple_ty --cfg allow_clippy --cfg maybe_uninit --cfg doctests --cfg raw_ref_macros --cfg stable_const --cfg stable_offset_of` Compiling getrandom v0.2.15 Running `/usr/bin/rustc --crate-name getrandom --edition=2018 /usr/share/cargo/registry/getrandom-0.2.15/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("custom", "linux_disable_fallback", "rdrand", "std"))' -C metadata=1ff11405b6413dcd -C extra-filename=-29e75c29d8c1ce5e --out-dir /home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.2-build/zlib-rs-0.5.2/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.2-build/zlib-rs-0.5.2/target/rpm/deps --extern cfg_if=/home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.2-build/zlib-rs-0.5.2/target/rpm/deps/libcfg_if-882b1cd97dcfd39c.rmeta --extern libc=/home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.2-build/zlib-rs-0.5.2/target/rpm/deps/liblibc-99d0b11ae01f7d56.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling rand_core v0.6.4 Running `/usr/bin/rustc --crate-name rand_core --edition=2018 /usr/share/cargo/registry/rand_core-0.6.4/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="getrandom"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "getrandom", "serde", "serde1", "std"))' -C metadata=6e8de8c4ab85a341 -C extra-filename=-eb6c0768b8797333 --out-dir /home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.2-build/zlib-rs-0.5.2/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.2-build/zlib-rs-0.5.2/target/rpm/deps --extern getrandom=/home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.2-build/zlib-rs-0.5.2/target/rpm/deps/libgetrandom-29e75c29d8c1ce5e.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling rand v0.8.5 Running `/usr/bin/rustc --crate-name rand --edition=2018 /usr/share/cargo/registry/rand-0.8.5/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="getrandom"' --cfg 'feature="small_rng"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "default", "getrandom", "libc", "log", "min_const_gen", "nightly", "packed_simd", "rand_chacha", "serde", "serde1", "simd_support", "small_rng", "std", "std_rng"))' -C metadata=e650cbeee5f201ce -C extra-filename=-ca937d9aa163f2e8 --out-dir /home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.2-build/zlib-rs-0.5.2/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.2-build/zlib-rs-0.5.2/target/rpm/deps --extern rand_core=/home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.2-build/zlib-rs-0.5.2/target/rpm/deps/librand_core-eb6c0768b8797333.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling quickcheck v1.0.3 Running `/usr/bin/rustc --crate-name quickcheck --edition=2018 /usr/share/cargo/registry/quickcheck-1.0.3/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "env_logger", "log", "regex", "use_logging"))' -C metadata=4e09c7c0c70be04f -C extra-filename=-6636b276155eb872 --out-dir /home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.2-build/zlib-rs-0.5.2/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.2-build/zlib-rs-0.5.2/target/rpm/deps --extern rand=/home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.2-build/zlib-rs-0.5.2/target/rpm/deps/librand-ca937d9aa163f2e8.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling zlib-rs v0.5.2 (/home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.2-build/zlib-rs-0.5.2) Running `/usr/bin/rustc --crate-name zlib_rs --edition=2021 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --deny=unsafe_op_in_unsafe_fn --test --cfg 'feature="c-allocator"' --cfg 'feature="default"' --cfg 'feature="rust-allocator"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("c-allocator", "default", "rust-allocator", "std"))' -C metadata=118f5277a03a7881 -C extra-filename=-27ffe2ea6a71a58d --out-dir /home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.2-build/zlib-rs-0.5.2/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.2-build/zlib-rs-0.5.2/target/rpm/deps --extern crc32fast=/home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.2-build/zlib-rs-0.5.2/target/rpm/deps/libcrc32fast-0dea707235f6016e.rlib --extern memoffset=/home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.2-build/zlib-rs-0.5.2/target/rpm/deps/libmemoffset-e016a18653009414.rlib --extern quickcheck=/home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.2-build/zlib-rs-0.5.2/target/rpm/deps/libquickcheck-6636b276155eb872.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: `zlib-rs` (lib test) generated 37 warnings (37 duplicates) Finished `rpm` profile [optimized + debuginfo] target(s) in 17.05s Running `/home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.2-build/zlib-rs-0.5.2/target/rpm/deps/zlib_rs-27ffe2ea6a71a58d` running 74 tests test adler32::test::naive_is_fancy_small_inputs ... ok test allocate::tests::test_allocate_zeroed ... ok test allocate::tests::test_deallocate_null ... ok test allocate::tests::test_allocate_buffer_zeroed ... ok test allocate::tests::unaligned_allocator_0 ... ok test adler32::test::test_adler32_combine ... ok test allocate::tests::unaligned_allocator_1 ... ok test allocate::tests::unaligned_allocator_16 ... ok test allocate::tests::unaligned_allocator_2 ... ok test allocate::tests::unaligned_allocator_32 ... ok test allocate::tests::unaligned_allocator_4 ... ok test allocate::tests::unaligned_allocator_64 ... ok test allocate::tests::unaligned_allocator_8 ... ok test crc32::braid::test::crc32_naive_inner_endianness_and_alignment ... ok test crc32::braid::test::empty_is_identity ... ok test crc32::braid::test::words_endianness ... ok test crc32::braid::test::braid_4_is_crc32fast ... ok test crc32::braid::test::braid_5_is_crc32fast ... ok test crc32::test::chunked ... ok test crc32::braid::test::naive_is_crc32fast ... ok test crc32::braid::test::braid_6_is_crc32fast ... ok test crc32::test::nasty_alignment ... ok test crc32::test::test_crc32_fold ... ok test crc32::test::test_crc32_fold_align ... ok test deflate::compare256::avx2::test_compare256 ... ok test crc32::braid::test::words_is_crc32fast ... ok test crc32::test::crc_fold_is_crc32fast ... ok test deflate::compare256::rust::test_compare256_rle ... ok test deflate::hash_calc::tests::roll_hash_calc ... ok test crc32::combine::test::test_crc32_combine ... ok test deflate::compare256::rust::test_compare256 ... ok test deflate::hash_calc::tests::standard_hash_calc ... ok test deflate::slide_hash::tests::test_slide_hash_avx2 ... ok test deflate::slide_hash::tests::test_slide_hash_rust ... ok test deflate::slide_hash::tests::slide_is_rust_slide ... ok test deflate::test::detect_data_type_basic ... ok test deflate::test::block_flush ... ok test deflate::test::copy_invalid_allocator::fail_0 ... ok test deflate::test::fill_window_out_of_bounds ... ok test deflate::test::from_stream_mut ... ok test deflate::test::end_data_error ... ok test deflate::test::full_flush ... ok test deflate::test::gzip_header_pending_flush ... ok test deflate::test::copy_invalid_allocator::fail_5 ... ok test deflate::test::copy_invalid_allocator::fail_3 ... ok test deflate::test::gzip_stored_block_checksum ... ok test deflate::test::invalid_deflate_config::window_bits_too_low ... ok test deflate::test::hash_calc_difference ... ok test deflate::test::simple_rle ... ok test inflate::inftrees::test::generate_fixed_length_table ... ok test deflate::test::hello_world_huffman_only ... ok test inflate::writer::test::copy_match_insufficient_space_for_simd ... ok test deflate::test::partial_flush ... ok test deflate::test::invalid_deflate_config::sanity_check ... ok test inflate::inftrees::test::not_enough_errors ... ok test inflate::tests::uncompress_buffer_overflow ... ok test inflate::window::test::extend_crosses_bounds ... ok test deflate::test::inflate_window_copy_slice ... ok test deflate::test::insufficient_compress_space ... ok test deflate::test::hello_world_quick_random ... ok test deflate::test::gzip_with_header ... ok test deflate::test::invalid_deflate_config::window_bits_too_high ... ok test inflate::window::test::extend_in_bounds ... ok test inflate::inftrees::test::generate_fixed_distance_table ... ok test inflate::window::test::extend_out_of_bounds ... ok test inflate::writer::test::copy_chunk_unchecked ... ok test deflate::test::hello_world_quick ... ok test deflate::test::split_deflate ... ok test deflate::test::init_invalid_allocator ... ok test deflate::test::test_reset_keep ... ok test deflate::test::invalid_deflate_config::window_bits_correction ... ok test deflate::test::gzip_no_header ... ok test deflate::test::sync_flush ... ok test inflate::writer::test::copy_match ... ok test result: ok. 74 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s Doc-tests zlib_rs Running `/usr/bin/rustdoc --edition=2021 --crate-type lib --color auto --crate-name zlib_rs --test src/lib.rs --test-run-directory /home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.2-build/zlib-rs-0.5.2 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.2-build/zlib-rs-0.5.2/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.2-build/zlib-rs-0.5.2/target/rpm/deps --deny=unsafe_op_in_unsafe_fn --extern crc32fast=/home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.2-build/zlib-rs-0.5.2/target/rpm/deps/libcrc32fast-0dea707235f6016e.rlib --extern memoffset=/home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.2-build/zlib-rs-0.5.2/target/rpm/deps/libmemoffset-e016a18653009414.rlib --extern quickcheck=/home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.2-build/zlib-rs-0.5.2/target/rpm/deps/libquickcheck-6636b276155eb872.rlib --extern zlib_rs=/home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.2-build/zlib-rs-0.5.2/target/rpm/deps/libzlib_rs-bf0d693022a50b8a.rlib -C embed-bitcode=no --cfg 'feature="c-allocator"' --cfg 'feature="default"' --cfg 'feature="rust-allocator"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("c-allocator", "default", "rust-allocator", "std"))' --error-format human` running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rust-zlib-rs-devel-0.5.2-1.mga10.noarch warning: File listed twice: /usr/share/cargo/registry/zlib-rs-0.5.2/LICENSE warning: File listed twice: /usr/share/cargo/registry/zlib-rs-0.5.2/README.md Provides: crate(zlib-rs) = 0.5.2 rust-zlib-rs-devel = 0.5.2-1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo rust >= 1.75 Processing files: rust-zlib-rs+default-devel-0.5.2-1.mga10.noarch Provides: crate(zlib-rs/default) = 0.5.2 rust-zlib-rs+default-devel = 0.5.2-1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(zlib-rs) = 0.5.2 crate(zlib-rs/c-allocator) = 0.5.2 crate(zlib-rs/std) = 0.5.2 Processing files: rust-zlib-rs+c-allocator-devel-0.5.2-1.mga10.noarch Provides: crate(zlib-rs/c-allocator) = 0.5.2 rust-zlib-rs+c-allocator-devel = 0.5.2-1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(zlib-rs) = 0.5.2 Processing files: rust-zlib-rs+rust-allocator-devel-0.5.2-1.mga10.noarch Provides: crate(zlib-rs/rust-allocator) = 0.5.2 rust-zlib-rs+rust-allocator-devel = 0.5.2-1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(zlib-rs) = 0.5.2 Processing files: rust-zlib-rs+std-devel-0.5.2-1.mga10.noarch Provides: crate(zlib-rs/std) = 0.5.2 rust-zlib-rs+std-devel = 0.5.2-1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(zlib-rs) = 0.5.2 crate(zlib-rs/rust-allocator) = 0.5.2 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.2-build/BUILDROOT Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-zlib-rs+std-devel-0.5.2-1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-zlib-rs+rust-allocator-devel-0.5.2-1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-zlib-rs+default-devel-0.5.2-1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-zlib-rs+c-allocator-devel-0.5.2-1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-zlib-rs-devel-0.5.2-1.mga10.noarch.rpm Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.wHxzzx + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.2-build + test -d /home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.2-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.2-build + rm -rf /home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.2-build + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: File listed twice: /usr/share/cargo/registry/zlib-rs-0.5.2/LICENSE File listed twice: /usr/share/cargo/registry/zlib-rs-0.5.2/README.md D: [iurt_root_command] Success!