D: [iurt_root_command] chroot Building target platforms: noarch Building for target noarch Installing /home/pterjan/rpmbuild/SRPMS/rust-zlib-rs-0.5.0-1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.QxpwDQ Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.ziQ2L7 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.0-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.0-build + rm -rf zlib-rs-0.5.0 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/zlib-rs-0.5.0.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd zlib-rs-0.5.0 + /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.UGnMGa + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.0-build + cd zlib-rs-0.5.0 + /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.iVpkpC + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.0-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.0 + '[' 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.0 (/home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.0-build/zlib-rs-0.5.0) 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 --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=d7a1b6f955ebf83b -C extra-filename=-e3647e67169c0541 --out-dir /home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.0-build/zlib-rs-0.5.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.0-build/zlib-rs-0.5.0/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:110:12 | 110 | #[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:128:12 | 128 | #[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:137:17 | 137 | #[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: `__internal-fuzz` --> src/deflate.rs:1357:12 | 1357 | #[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: `ZLIB_DEBUG` --> src/deflate.rs:903:11 | 903 | #[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:906:11 | 906 | #[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:963:19 | 963 | #[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:965:19 | 965 | #[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:23:15 | 23 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | ::: src/deflate.rs:995:9 | 995 | 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:999:15 | 999 | #[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:1006:15 | 1006 | #[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:1013:15 | 1013 | #[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:1020:15 | 1020 | #[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:23:15 | 23 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | ::: src/deflate.rs:1073:9 | 1073 | 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:23:15 | 23 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | ::: src/deflate.rs:1088:9 | 1088 | / trace!( 1089 | | "\n+++ Emit End Block: Last: {} Pending: {} Total Out: {}\n", 1090 | | _is_last_block as u8, 1091 | | self.pending.pending().len(), 1092 | | "" 1093 | | ); | |_________- 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:1099:15 | 1099 | #[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:1581:15 | 1581 | #[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:23:15 | 23 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | ::: src/deflate.rs:2095:5 | 2095 | 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:23:15 | 23 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | ::: src/deflate.rs:2109:13 | 2109 | / trace!( 2110 | | "\nn {:>3} {} l {:>2} c {:>4x} ({:x}) ", 2111 | | n, 2112 | | if isgraph(n as u8) { ... | 2119 | | next_code[len as usize] - 1 2120 | | ); | |_____________- 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:23:15 | 23 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | ::: src/deflate.rs:2198:5 | 2198 | 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:23:15 | 23 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | ::: src/deflate.rs:2210:5 | 2210 | 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:23:15 | 23 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | ::: src/deflate.rs:2216:5 | 2216 | 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:23:15 | 23 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | ::: src/deflate.rs:2222:5 | 2222 | 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:23:15 | 23 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | ::: src/deflate.rs:2204:9 | 2204 | 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:23:15 | 23 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | ::: src/deflate.rs:2270:5 | 2270 | / trace!( 2271 | | "\ndyn trees: dyn {}, stat {}", 2272 | | state.opt_len, 2273 | | state.static_len 2274 | | ); | |_____- 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:23:15 | 23 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | ::: src/deflate.rs:2339:9 | 2339 | / trace!( 2340 | | "\nopt {}({}) stat {}({}) stored {} lit {} ", 2341 | | opt_lenb, 2342 | | state.opt_len, ... | 2346 | | state.sym_buf.len() / 3 2347 | | ); | |_________- 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:23:15 | 23 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | ::: src/deflate.rs:2311:13 | 2311 | / trace!( 2312 | | "\nlit data: dyn {}, stat {}", 2313 | | state.opt_len, 2314 | | state.static_len 2315 | | ); | |_____________- 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:23:15 | 23 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | ::: src/deflate.rs:2324:13 | 2324 | / trace!( 2325 | | "\ndist data: dyn {}, stat {}", 2326 | | state.opt_len, 2327 | | state.static_len 2328 | | ); | |_____________- 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:23:15 | 23 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | ::: src/deflate.rs:2780:5 | 2780 | 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:1344:34 | 1344 | 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: unnecessary `unsafe` block --> src/adler32/avx2.rs:35:5 | 35 | unsafe { | ^^^^^^ unnecessary `unsafe` block | = note: `#[warn(unused_unsafe)]` on by default warning: unnecessary `unsafe` block --> src/adler32/avx2.rs:56:5 | 56 | unsafe { | ^^^^^^ unnecessary `unsafe` block warning: unnecessary `unsafe` block --> src/crc32/pclmulqdq.rs:81:9 | 81 | unsafe { | ^^^^^^ unnecessary `unsafe` block warning: unnecessary `unsafe` block --> src/crc32/pclmulqdq.rs:282:40 | 282 | xmm_crc_part = unsafe { _mm_xor_si128(xmm_crc_part, xmm_initial) }; | ^^^^^^ unnecessary `unsafe` block warning: unnecessary `unsafe` block --> src/crc32/pclmulqdq.rs:293:40 | 293 | self.fold[3] = unsafe { _mm_xor_si128(self.fold[3], xmm_t0) }; | ^^^^^^ unnecessary `unsafe` block warning: `zlib-rs` (lib) generated 37 warnings Finished `rpm` profile [optimized + debuginfo] target(s) in 5.34s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.YTYNmt + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.0-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.0-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.0-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.0-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.0-build + mkdir /home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.0-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.0 + '[' 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.0 + REG_DIR=/home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.0-build/BUILDROOT/usr/share/cargo/registry/zlib-rs-0.5.0 + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.0-build/BUILDROOT/usr/share/cargo/registry/zlib-rs-0.5.0 + /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.0-build/BUILDROOT/usr/share/cargo/registry/zlib-rs-0.5.0 warning: no (git) VCS found for `/home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.0-build/zlib-rs-0.5.0` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.0-build/BUILDROOT/usr/share/cargo/registry/zlib-rs-0.5.0/Cargo.toml + /usr/bin/rm -f /home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.0-build/BUILDROOT/usr/share/cargo/registry/zlib-rs-0.5.0/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.uIbr4g + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.0-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.0 + '[' 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.174 Compiling cfg-if v1.0.1 Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/libc-0.2.174/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=15a889c209b393cc -C extra-filename=-cb4dc4b1d11a51d1 --out-dir /home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.0-build/zlib-rs-0.5.0/target/rpm/build/libc-cb4dc4b1d11a51d1 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.0-build/zlib-rs-0.5.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling autocfg v1.4.0 warning: unexpected `cfg` condition value: `__internal-fuzz` --> src/deflate.rs:110:12 | 110 | #[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:128:12 | 128 | #[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:137:17 | 137 | #[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: `__internal-fuzz` --> src/deflate.rs:1357:12 | 1357 | #[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: `ZLIB_DEBUG` --> src/deflate.rs:903:11 | 903 | #[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:906:11 | 906 | #[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:963:19 | 963 | #[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:965:19 | 965 | #[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:23:15 | 23 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | ::: src/deflate.rs:995:9 | 995 | 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:999:15 | 999 | #[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:1006:15 | 1006 | #[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:1013:15 | 1013 | #[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:1020:15 | 1020 | #[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:23:15 | 23 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | ::: src/deflate.rs:1073:9 | 1073 | 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:23:15 | 23 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | ::: src/deflate.rs:1088:9 | 1088 | / trace!( 1089 | | "\n+++ Emit End Block: Last: {} Pending: {} Total Out: {}\n", 1090 | | _is_last_block as u8, 1091 | | self.pending.pending().len(), 1092 | | "" 1093 | | ); | |_________- 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:1099:15 | 1099 | #[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:1581:15 | 1581 | #[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:23:15 | 23 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | ::: src/deflate.rs:2095:5 | 2095 | 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:23:15 | 23 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | ::: src/deflate.rs:2109:13 | 2109 | / trace!( 2110 | | "\nn {:>3} {} l {:>2} c {:>4x} ({:x}) ", 2111 | | n, 2112 | | if isgraph(n as u8) { ... | 2119 | | next_code[len as usize] - 1 2120 | | ); | |_____________- 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:23:15 | 23 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | ::: src/deflate.rs:2198:5 | 2198 | 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:23:15 | 23 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | ::: src/deflate.rs:2210:5 | 2210 | 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:23:15 | 23 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | ::: src/deflate.rs:2216:5 | 2216 | 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:23:15 | 23 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | ::: src/deflate.rs:2222:5 | 2222 | 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:23:15 | 23 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | ::: src/deflate.rs:2204:9 | 2204 | 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:23:15 | 23 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | ::: src/deflate.rs:2270:5 | 2270 | / trace!( 2271 | | "\ndyn trees: dyn {}, stat {}", 2272 | | state.opt_len, 2273 | | state.static_len 2274 | | ); | |_____- 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:23:15 | 23 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | ::: src/deflate.rs:2339:9 | 2339 | / trace!( 2340 | | "\nopt {}({}) stat {}({}) stored {} lit {} ", 2341 | | opt_lenb, 2342 | | state.opt_len, ... | 2346 | | state.sym_buf.len() / 3 2347 | | ); | |_________- 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:23:15 | 23 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | ::: src/deflate.rs:2311:13 | 2311 | / trace!( 2312 | | "\nlit data: dyn {}, stat {}", 2313 | | state.opt_len, 2314 | | state.static_len 2315 | | ); | |_____________- 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:23:15 | 23 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | ::: src/deflate.rs:2324:13 | 2324 | / trace!( 2325 | | "\ndist data: dyn {}, stat {}", 2326 | | state.opt_len, 2327 | | state.static_len 2328 | | ); | |_____________- 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:23:15 | 23 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | ::: src/deflate.rs:2780:5 | 2780 | 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:1344:34 | 1344 | 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: unnecessary `unsafe` block --> src/adler32/avx2.rs:35:5 | 35 | unsafe { | ^^^^^^ unnecessary `unsafe` block | = note: `#[warn(unused_unsafe)]` on by default warning: unnecessary `unsafe` block --> src/adler32/avx2.rs:56:5 | 56 | unsafe { | ^^^^^^ unnecessary `unsafe` block warning: unnecessary `unsafe` block --> src/crc32/pclmulqdq.rs:81:9 | 81 | unsafe { | ^^^^^^ unnecessary `unsafe` block warning: unnecessary `unsafe` block --> src/crc32/pclmulqdq.rs:282:40 | 282 | xmm_crc_part = unsafe { _mm_xor_si128(xmm_crc_part, xmm_initial) }; | ^^^^^^ unnecessary `unsafe` block warning: unnecessary `unsafe` block --> src/crc32/pclmulqdq.rs:293:40 | 293 | self.fold[3] = unsafe { _mm_xor_si128(self.fold[3], xmm_t0) }; | ^^^^^^ unnecessary `unsafe` block Running `/usr/bin/rustc --crate-name cfg_if --edition=2018 /usr/share/cargo/registry/cfg-if-1.0.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 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("core", "rustc-dep-of-std"))' -C metadata=e36c5635509685b1 -C extra-filename=-ef87fd9400bde0bc --out-dir /home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.0-build/zlib-rs-0.5.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.0-build/zlib-rs-0.5.0/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.4.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=e586754bf2dbe624 -C extra-filename=-67aefdbaf18d84b0 --out-dir /home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.0-build/zlib-rs-0.5.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.0-build/zlib-rs-0.5.0/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 Compiling crc32fast v1.4.2 Running `/usr/bin/rustc --crate-name crc32fast --edition=2015 /usr/share/cargo/registry/crc32fast-1.4.2/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=1431c1beaf09c8f5 -C extra-filename=-9a26aa5b70c10262 --out-dir /home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.0-build/zlib-rs-0.5.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.0-build/zlib-rs-0.5.0/target/rpm/deps --extern cfg_if=/home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.0-build/zlib-rs-0.5.0/target/rpm/deps/libcfg_if-ef87fd9400bde0bc.rmeta --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.0-build/zlib-rs-0.5.0/target/rpm/build/libc-cb4dc4b1d11a51d1/build-script-build` Running `/usr/bin/rustc --crate-name libc --edition=2021 /usr/share/cargo/registry/libc-0.2.174/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=0325413c5799f0a5 -C extra-filename=-c4166686ded8827b --out-dir /home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.0-build/zlib-rs-0.5.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.0-build/zlib-rs-0.5.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg freebsd11 --cfg libc_const_extern_fn --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_const_extern_fn)' --check-cfg 'cfg(libc_deny_warnings)' --check-cfg 'cfg(libc_thread_local)' --check-cfg 'cfg(libc_ctest)' --check-cfg 'cfg(linux_time_bits64)' --check-cfg 'cfg(musl_v1_2_3)' --check-cfg 'cfg(target_os,values("switch","aix","ohos","hurd","rtems","visionos","nuttx","cygwin"))' --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=a3974537e45f9dd9 -C extra-filename=-d2d51fe3044218b5 --out-dir /home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.0-build/zlib-rs-0.5.0/target/rpm/build/memoffset-d2d51fe3044218b5 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.0-build/zlib-rs-0.5.0/target/rpm/deps --extern autocfg=/home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.0-build/zlib-rs-0.5.0/target/rpm/deps/libautocfg-67aefdbaf18d84b0.rlib --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` 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=ef64916bd2c6bbe8 -C extra-filename=-03d75be6bfb04333 --out-dir /home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.0-build/zlib-rs-0.5.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.0-build/zlib-rs-0.5.0/target/rpm/deps --extern cfg_if=/home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.0-build/zlib-rs-0.5.0/target/rpm/deps/libcfg_if-ef87fd9400bde0bc.rmeta --extern libc=/home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.0-build/zlib-rs-0.5.0/target/rpm/deps/liblibc-c4166686ded8827b.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=9260b80c1065a71d -C extra-filename=-4fbbc59910713182 --out-dir /home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.0-build/zlib-rs-0.5.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.0-build/zlib-rs-0.5.0/target/rpm/deps --extern getrandom=/home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.0-build/zlib-rs-0.5.0/target/rpm/deps/libgetrandom-03d75be6bfb04333.rmeta --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.0-build/zlib-rs-0.5.0/target/rpm/build/memoffset-d2d51fe3044218b5/build-script-build` 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=03a84696e213297e -C extra-filename=-48cddd3c9622a57c --out-dir /home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.0-build/zlib-rs-0.5.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.0-build/zlib-rs-0.5.0/target/rpm/deps --extern rand_core=/home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.0-build/zlib-rs-0.5.0/target/rpm/deps/librand_core-4fbbc59910713182.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` 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=175599e30c05d363 -C extra-filename=-6b8eff690ddfb55f --out-dir /home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.0-build/zlib-rs-0.5.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.0-build/zlib-rs-0.5.0/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 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=5c630b703cd540d1 -C extra-filename=-9703c319a437854d --out-dir /home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.0-build/zlib-rs-0.5.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.0-build/zlib-rs-0.5.0/target/rpm/deps --extern rand=/home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.0-build/zlib-rs-0.5.0/target/rpm/deps/librand-48cddd3c9622a57c.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling zlib-rs v0.5.0 (/home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.0-build/zlib-rs-0.5.0) 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 --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=30206f7945dda490 -C extra-filename=-d8fac018fb2fbdbb --out-dir /home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.0-build/zlib-rs-0.5.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.0-build/zlib-rs-0.5.0/target/rpm/deps --extern crc32fast=/home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.0-build/zlib-rs-0.5.0/target/rpm/deps/libcrc32fast-9a26aa5b70c10262.rlib --extern memoffset=/home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.0-build/zlib-rs-0.5.0/target/rpm/deps/libmemoffset-6b8eff690ddfb55f.rlib --extern quickcheck=/home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.0-build/zlib-rs-0.5.0/target/rpm/deps/libquickcheck-9703c319a437854d.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.33s Running `/home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.0-build/zlib-rs-0.5.0/target/rpm/deps/zlib_rs-d8fac018fb2fbdbb` running 74 tests test adler32::test::naive_is_fancy_small_inputs ... ok test allocate::tests::test_allocate_buffer_zeroed ... ok test allocate::tests::test_allocate_zeroed ... ok test allocate::tests::test_deallocate_null ... 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_64 ... ok test allocate::tests::unaligned_allocator_4 ... 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_5_is_crc32fast ... ok test crc32::test::chunked ... 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::rust::test_compare256 ... ok test deflate::compare256::avx2::test_compare256 ... ok test crc32::braid::test::braid_4_is_crc32fast ... ok test deflate::compare256::rust::test_compare256_rle ... ok test deflate::hash_calc::tests::roll_hash_calc ... ok test deflate::hash_calc::tests::standard_hash_calc ... ok test crc32::braid::test::braid_6_is_crc32fast ... ok test deflate::slide_hash::tests::test_slide_hash_avx2 ... ok test deflate::slide_hash::tests::test_slide_hash_rust ... ok test crc32::combine::test::test_crc32_combine ... ok test crc32::braid::test::words_is_crc32fast ... ok test crc32::test::crc_fold_is_crc32fast ... ok test deflate::test::copy_invalid_allocator::fail_0 ... ok test deflate::test::block_flush ... ok test crc32::braid::test::naive_is_crc32fast ... ok test deflate::test::detect_data_type_basic ... ok test deflate::slide_hash::tests::slide_is_rust_slide ... ok test deflate::test::copy_invalid_allocator::fail_3 ... ok test deflate::test::end_data_error ... ok test deflate::test::fill_window_out_of_bounds ... ok test deflate::test::from_stream_mut ... ok test deflate::test::gzip_header_pending_flush ... ok test deflate::test::copy_invalid_allocator::fail_5 ... ok test deflate::test::gzip_stored_block_checksum ... ok test deflate::test::gzip_no_header ... ok test deflate::test::gzip_with_header ... ok test deflate::test::full_flush ... ok test deflate::test::hash_calc_difference ... ok test deflate::test::hello_world_huffman_only ... ok test deflate::test::inflate_window_copy_slice ... ok test deflate::test::hello_world_quick ... ok test deflate::test::hello_world_quick_random ... ok test deflate::test::insufficient_compress_space ... ok test deflate::test::init_invalid_allocator ... ok test deflate::test::sync_flush ... ok test inflate::tests::uncompress_buffer_overflow ... ok test deflate::test::invalid_deflate_config::window_bits_too_high ... ok test inflate::window::test::extend_crosses_bounds ... ok test inflate::window::test::extend_in_bounds ... ok test inflate::window::test::extend_out_of_bounds ... ok test deflate::test::invalid_deflate_config::window_bits_correction ... ok test inflate::writer::test::copy_chunk_unchecked ... ok test inflate::writer::test::copy_match_insufficient_space_for_simd ... ok test deflate::test::split_deflate ... ok test inflate::writer::test::copy_match ... ok test deflate::test::simple_rle ... ok test inflate::inftrees::test::generate_fixed_length_table ... ok test deflate::test::invalid_deflate_config::window_bits_too_low ... ok test deflate::test::invalid_deflate_config::sanity_check ... ok test deflate::test::test_reset_keep ... ok test inflate::inftrees::test::not_enough_errors ... ok test inflate::inftrees::test::generate_fixed_distance_table ... ok test deflate::test::partial_flush ... ok test result: ok. 74 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s 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.0-build/zlib-rs-0.5.0 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.0-build/zlib-rs-0.5.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.0-build/zlib-rs-0.5.0/target/rpm/deps --extern crc32fast=/home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.0-build/zlib-rs-0.5.0/target/rpm/deps/libcrc32fast-9a26aa5b70c10262.rlib --extern memoffset=/home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.0-build/zlib-rs-0.5.0/target/rpm/deps/libmemoffset-6b8eff690ddfb55f.rlib --extern quickcheck=/home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.0-build/zlib-rs-0.5.0/target/rpm/deps/libquickcheck-9703c319a437854d.rlib --extern zlib_rs=/home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.0-build/zlib-rs-0.5.0/target/rpm/deps/libzlib_rs-e3647e67169c0541.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.01s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rust-zlib-rs-devel-0.5.0-1.mga10.noarch warning: File listed twice: /usr/share/cargo/registry/zlib-rs-0.5.0/LICENSE warning: File listed twice: /usr/share/cargo/registry/zlib-rs-0.5.0/README.md Provides: crate(zlib-rs) = 0.5.0 rust-zlib-rs-devel = 0.5.0-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.0-1.mga10.noarch Provides: crate(zlib-rs/default) = 0.5.0 rust-zlib-rs+default-devel = 0.5.0-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.0 crate(zlib-rs/c-allocator) = 0.5.0 crate(zlib-rs/std) = 0.5.0 Processing files: rust-zlib-rs+c-allocator-devel-0.5.0-1.mga10.noarch Provides: crate(zlib-rs/c-allocator) = 0.5.0 rust-zlib-rs+c-allocator-devel = 0.5.0-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.0 Processing files: rust-zlib-rs+rust-allocator-devel-0.5.0-1.mga10.noarch Provides: crate(zlib-rs/rust-allocator) = 0.5.0 rust-zlib-rs+rust-allocator-devel = 0.5.0-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.0 Processing files: rust-zlib-rs+std-devel-0.5.0-1.mga10.noarch Provides: crate(zlib-rs/std) = 0.5.0 rust-zlib-rs+std-devel = 0.5.0-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.0 crate(zlib-rs/rust-allocator) = 0.5.0 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.0-build/BUILDROOT Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-zlib-rs+c-allocator-devel-0.5.0-1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-zlib-rs+rust-allocator-devel-0.5.0-1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-zlib-rs+default-devel-0.5.0-1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-zlib-rs+std-devel-0.5.0-1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-zlib-rs-devel-0.5.0-1.mga10.noarch.rpm Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.TkJtZ8 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.0-build + test -d /home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.0-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.0-build + rm -rf /home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.5.0-build + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: File listed twice: /usr/share/cargo/registry/zlib-rs-0.5.0/LICENSE File listed twice: /usr/share/cargo/registry/zlib-rs-0.5.0/README.md D: [iurt_root_command] Success!