D: [iurt_root_command] chroot
Building target platforms: noarch
Building for target noarch
Installing /home/pterjan/rpmbuild/SRPMS/rust-zlib-rs-0.6.0-1.mga10.src.rpm
Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.t2qNaq
Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.ehXOrM
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.6.0-build
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.6.0-build
+ rm -rf zlib-rs-0.6.0
+ /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/zlib-rs-0.6.0.crate
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd zlib-rs-0.6.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.2njq5r
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.6.0-build
+ cd zlib-rs-0.6.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.OpnryD
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.6.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.6.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.6.0 (/home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.6.0-build/zlib-rs-0.6.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 --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("__internal-api", "avx512", "c-allocator", "default", "rust-allocator", "std", "vpclmulqdq"))' -C metadata=48ab58a3f5de0ce2 -C extra-filename=-515bde4d3d90120e --out-dir /home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.6.0-build/zlib-rs-0.6.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.6.0-build/zlib-rs-0.6.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/lib.rs:98:12
   |
98 | #[cfg_attr(feature = "__internal-fuzz", derive(arbitrary::Arbitrary))]
   |            ^^^^^^^^^^-----------------
   |                      |
   |                      help: there is a expected value with a similar name: `"__internal-api"`
   |
   = note: expected values for `feature` are: `__internal-api`, `avx512`, `c-allocator`, `default`, `rust-allocator`, `std`, and `vpclmulqdq`
   = help: consider adding `__internal-fuzz` as a feature in `Cargo.toml`
   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
   = note: `#[warn(unexpected_cfgs)]` on by default

warning: unexpected `cfg` condition value: `__internal-fuzz`
   --> src/deflate.rs:149:12
    |
149 | #[cfg_attr(feature = "__internal-fuzz", derive(arbitrary::Arbitrary))]
    |            ^^^^^^^^^^-----------------
    |                      |
    |                      help: there is a expected value with a similar name: `"__internal-api"`
    |
    = note: expected values for `feature` are: `__internal-api`, `avx512`, `c-allocator`, `default`, `rust-allocator`, `std`, and `vpclmulqdq`
    = help: consider adding `__internal-fuzz` as a feature in `Cargo.toml`
    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: unexpected `cfg` condition value: `__internal-fuzz`
   --> src/deflate.rs:178:12
    |
178 | #[cfg_attr(feature = "__internal-fuzz", derive(arbitrary::Arbitrary))]
    |            ^^^^^^^^^^-----------------
    |                      |
    |                      help: there is a expected value with a similar name: `"__internal-api"`
    |
    = note: expected values for `feature` are: `__internal-api`, `avx512`, `c-allocator`, `default`, `rust-allocator`, `std`, and `vpclmulqdq`
    = help: consider adding `__internal-fuzz` as a feature in `Cargo.toml`
    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: unexpected `cfg` condition value: `__internal-fuzz`
    --> src/deflate.rs:1361:12
     |
1361 | #[cfg_attr(feature = "__internal-fuzz", derive(arbitrary::Arbitrary))]
     |            ^^^^^^^^^^-----------------
     |                      |
     |                      help: there is a expected value with a similar name: `"__internal-api"`
     |
     = note: expected values for `feature` are: `__internal-api`, `avx512`, `c-allocator`, `default`, `rust-allocator`, `std`, and `vpclmulqdq`
     = help: consider adding `__internal-fuzz` as a feature in `Cargo.toml`
     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: unexpected `cfg` condition value: `__internal-test`
  --> src/crc32.rs:37:7
   |
37 | #[cfg(feature = "__internal-test")]
   |       ^^^^^^^^^^-----------------
   |                 |
   |                 help: there is a expected value with a similar name: `"__internal-api"`
   |
   = note: expected values for `feature` are: `__internal-api`, `avx512`, `c-allocator`, `default`, `rust-allocator`, `std`, and `vpclmulqdq`
   = help: consider adding `__internal-test` as a feature in `Cargo.toml`
   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: unexpected `cfg` condition value: `__internal-test`
  --> src/crc32.rs:45:11
   |
45 | #[cfg(not(feature = "__internal-test"))]
   |           ^^^^^^^^^^-----------------
   |                     |
   |                     help: there is a expected value with a similar name: `"__internal-api"`
   |
   = note: expected values for `feature` are: `__internal-api`, `avx512`, `c-allocator`, `default`, `rust-allocator`, `std`, and `vpclmulqdq`
   = help: consider adding `__internal-test` as a feature in `Cargo.toml`
   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: unexpected `cfg` condition value: `__internal-test`
   --> src/deflate.rs:187:17
    |
187 | #[cfg(any(test, feature = "__internal-test"))]
    |                 ^^^^^^^^^^-----------------
    |                           |
    |                           help: there is a expected value with a similar name: `"__internal-api"`
    |
    = note: expected values for `feature` are: `__internal-api`, `avx512`, `c-allocator`, `default`, `rust-allocator`, `std`, and `vpclmulqdq`
    = help: consider adding `__internal-test` as a feature in `Cargo.toml`
    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: unexpected `cfg` condition value: `ZLIB_DEBUG`
   --> src/deflate.rs:907:11
    |
907 |     #[cfg(feature = "ZLIB_DEBUG")]
    |           ^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: expected values for `feature` are: `__internal-api`, `avx512`, `c-allocator`, `default`, `rust-allocator`, `std`, and `vpclmulqdq`
    = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml`
    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: unexpected `cfg` condition value: `ZLIB_DEBUG`
   --> src/deflate.rs:910:11
    |
910 |     #[cfg(feature = "ZLIB_DEBUG")]
    |           ^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: expected values for `feature` are: `__internal-api`, `avx512`, `c-allocator`, `default`, `rust-allocator`, `std`, and `vpclmulqdq`
    = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml`
    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: unexpected `cfg` condition value: `ZLIB_DEBUG`
   --> src/deflate.rs:967:19
    |
967 |             #[cfg(feature = "ZLIB_DEBUG")]
    |                   ^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: expected values for `feature` are: `__internal-api`, `avx512`, `c-allocator`, `default`, `rust-allocator`, `std`, and `vpclmulqdq`
    = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml`
    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: unexpected `cfg` condition value: `ZLIB_DEBUG`
   --> src/deflate.rs:969:19
    |
969 |             #[cfg(feature = "ZLIB_DEBUG")]
    |                   ^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: expected values for `feature` are: `__internal-api`, `avx512`, `c-allocator`, `default`, `rust-allocator`, `std`, and `vpclmulqdq`
    = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml`
    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: unexpected `cfg` condition value: `ZLIB_DEBUG`
   --> src/lib.rs:45:15
    |
 45 |         #[cfg(feature = "ZLIB_DEBUG")]
    |               ^^^^^^^^^^^^^^^^^^^^^^
    |
   ::: src/deflate.rs:999:9
    |
999 |         trace!(" l {:>2} v {:>4x} ", _len, _value);
    |         ------------------------------------------ in this macro invocation
    |
    = note: expected values for `feature` are: `__internal-api`, `avx512`, `c-allocator`, `default`, `rust-allocator`, `std`, and `vpclmulqdq`
    = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml`
    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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:1003:15
     |
1003 |         #[cfg(feature = "ZLIB_DEBUG")]
     |               ^^^^^^^^^^^^^^^^^^^^^^
     |
     = note: expected values for `feature` are: `__internal-api`, `avx512`, `c-allocator`, `default`, `rust-allocator`, `std`, and `vpclmulqdq`
     = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml`
     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: unexpected `cfg` condition value: `ZLIB_DEBUG`
    --> src/deflate.rs:1010:15
     |
1010 |         #[cfg(feature = "ZLIB_DEBUG")]
     |               ^^^^^^^^^^^^^^^^^^^^^^
     |
     = note: expected values for `feature` are: `__internal-api`, `avx512`, `c-allocator`, `default`, `rust-allocator`, `std`, and `vpclmulqdq`
     = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml`
     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: unexpected `cfg` condition value: `ZLIB_DEBUG`
    --> src/deflate.rs:1017:15
     |
1017 |         #[cfg(feature = "ZLIB_DEBUG")]
     |               ^^^^^^^^^^^^^^^^^^^^^^
     |
     = note: expected values for `feature` are: `__internal-api`, `avx512`, `c-allocator`, `default`, `rust-allocator`, `std`, and `vpclmulqdq`
     = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml`
     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: unexpected `cfg` condition value: `ZLIB_DEBUG`
    --> src/deflate.rs:1024:15
     |
1024 |         #[cfg(feature = "ZLIB_DEBUG")]
     |               ^^^^^^^^^^^^^^^^^^^^^^
     |
     = note: expected values for `feature` are: `__internal-api`, `avx512`, `c-allocator`, `default`, `rust-allocator`, `std`, and `vpclmulqdq`
     = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml`
     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: unexpected `cfg` condition value: `ZLIB_DEBUG`
    --> src/lib.rs:45:15
     |
  45 |         #[cfg(feature = "ZLIB_DEBUG")]
     |               ^^^^^^^^^^^^^^^^^^^^^^
     |
    ::: src/deflate.rs:1077:9
     |
1077 |         trace!("\n--- Emit Tree: Last: {}\n", is_last_block as u8);
     |         ---------------------------------------------------------- in this macro invocation
     |
     = note: expected values for `feature` are: `__internal-api`, `avx512`, `c-allocator`, `default`, `rust-allocator`, `std`, and `vpclmulqdq`
     = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml`
     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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:45:15
     |
  45 |           #[cfg(feature = "ZLIB_DEBUG")]
     |                 ^^^^^^^^^^^^^^^^^^^^^^
     |
    ::: src/deflate.rs:1092:9
     |
1092 | /         trace!(
1093 | |             "\n+++ Emit End Block: Last: {} Pending: {} Total Out: {}\n",
1094 | |             _is_last_block as u8,
1095 | |             self.pending.pending().len(),
1096 | |             "<unknown>"
1097 | |         );
     | |_________- in this macro invocation
     |
     = note: expected values for `feature` are: `__internal-api`, `avx512`, `c-allocator`, `default`, `rust-allocator`, `std`, and `vpclmulqdq`
     = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml`
     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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:1103:15
     |
1103 |         #[cfg(feature = "ZLIB_DEBUG")]
     |               ^^^^^^^^^^^^^^^^^^^^^^
     |
     = note: expected values for `feature` are: `__internal-api`, `avx512`, `c-allocator`, `default`, `rust-allocator`, `std`, and `vpclmulqdq`
     = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml`
     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: unexpected `cfg` condition value: `ZLIB_DEBUG`
    --> src/deflate.rs:1595:15
     |
1595 |         #[cfg(feature = "ZLIB_DEBUG")]
     |               ^^^^^^^^^^^^^^^^^^^^^^
     |
     = note: expected values for `feature` are: `__internal-api`, `avx512`, `c-allocator`, `default`, `rust-allocator`, `std`, and `vpclmulqdq`
     = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml`
     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: unexpected `cfg` condition value: `ZLIB_DEBUG`
    --> src/lib.rs:45:15
     |
  45 |         #[cfg(feature = "ZLIB_DEBUG")]
     |               ^^^^^^^^^^^^^^^^^^^^^^
     |
    ::: src/deflate.rs:2111:5
     |
2111 |     trace!("\ngen_codes: max_code {max_code} ");
     |     ------------------------------------------- in this macro invocation
     |
     = note: expected values for `feature` are: `__internal-api`, `avx512`, `c-allocator`, `default`, `rust-allocator`, `std`, and `vpclmulqdq`
     = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml`
     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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:45:15
     |
  45 |           #[cfg(feature = "ZLIB_DEBUG")]
     |                 ^^^^^^^^^^^^^^^^^^^^^^
     |
    ::: src/deflate.rs:2125:13
     |
2125 | /             trace!(
2126 | |                 "\nn {:>3} {} l {:>2} c {:>4x} ({:x}) ",
2127 | |                 n,
2128 | |                 if isgraph(n as u8) {
...    |
2135 | |                 next_code[len as usize] - 1
2136 | |             );
     | |_____________- in this macro invocation
     |
     = note: expected values for `feature` are: `__internal-api`, `avx512`, `c-allocator`, `default`, `rust-allocator`, `std`, and `vpclmulqdq`
     = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml`
     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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:45:15
     |
  45 |         #[cfg(feature = "ZLIB_DEBUG")]
     |               ^^^^^^^^^^^^^^^^^^^^^^
     |
    ::: src/deflate.rs:2238:5
     |
2238 |     trace!("\ndist tree: sent {}", state.bit_writer.bits_sent);
     |     ---------------------------------------------------------- in this macro invocation
     |
     = note: expected values for `feature` are: `__internal-api`, `avx512`, `c-allocator`, `default`, `rust-allocator`, `std`, and `vpclmulqdq`
     = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml`
     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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:45:15
     |
  45 |         #[cfg(feature = "ZLIB_DEBUG")]
     |               ^^^^^^^^^^^^^^^^^^^^^^
     |
    ::: src/deflate.rs:2232:5
     |
2232 |     trace!("\nlit tree: sent {}", state.bit_writer.bits_sent);
     |     --------------------------------------------------------- in this macro invocation
     |
     = note: expected values for `feature` are: `__internal-api`, `avx512`, `c-allocator`, `default`, `rust-allocator`, `std`, and `vpclmulqdq`
     = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml`
     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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:45:15
     |
  45 |         #[cfg(feature = "ZLIB_DEBUG")]
     |               ^^^^^^^^^^^^^^^^^^^^^^
     |
    ::: src/deflate.rs:2226:5
     |
2226 |     trace!("\nbl tree: sent {}", state.bit_writer.bits_sent);
     |     -------------------------------------------------------- in this macro invocation
     |
     = note: expected values for `feature` are: `__internal-api`, `avx512`, `c-allocator`, `default`, `rust-allocator`, `std`, and `vpclmulqdq`
     = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml`
     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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:45:15
     |
  45 |         #[cfg(feature = "ZLIB_DEBUG")]
     |               ^^^^^^^^^^^^^^^^^^^^^^
     |
    ::: src/deflate.rs:2214:5
     |
2214 |     trace!("\nbl counts: ");
     |     ----------------------- in this macro invocation
     |
     = note: expected values for `feature` are: `__internal-api`, `avx512`, `c-allocator`, `default`, `rust-allocator`, `std`, and `vpclmulqdq`
     = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml`
     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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:45:15
     |
  45 |         #[cfg(feature = "ZLIB_DEBUG")]
     |               ^^^^^^^^^^^^^^^^^^^^^^
     |
    ::: src/deflate.rs:2220:9
     |
2220 |         trace!("\nbl code {:>2} ", StaticTreeDesc::BL_ORDER[rank]);
     |         ---------------------------------------------------------- in this macro invocation
     |
     = note: expected values for `feature` are: `__internal-api`, `avx512`, `c-allocator`, `default`, `rust-allocator`, `std`, and `vpclmulqdq`
     = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml`
     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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:45:15
     |
  45 |           #[cfg(feature = "ZLIB_DEBUG")]
     |                 ^^^^^^^^^^^^^^^^^^^^^^
     |
    ::: src/deflate.rs:2286:5
     |
2286 | /     trace!(
2287 | |         "\ndyn trees: dyn {}, stat {}",
2288 | |         state.opt_len,
2289 | |         state.static_len
2290 | |     );
     | |_____- in this macro invocation
     |
     = note: expected values for `feature` are: `__internal-api`, `avx512`, `c-allocator`, `default`, `rust-allocator`, `std`, and `vpclmulqdq`
     = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml`
     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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:45:15
     |
  45 |           #[cfg(feature = "ZLIB_DEBUG")]
     |                 ^^^^^^^^^^^^^^^^^^^^^^
     |
    ::: src/deflate.rs:2355:9
     |
2355 | /         trace!(
2356 | |             "\nopt {}({}) stat {}({}) stored {} lit {} ",
2357 | |             opt_lenb,
2358 | |             state.opt_len,
...    |
2362 | |             state.sym_buf.len() / 3
2363 | |         );
     | |_________- in this macro invocation
     |
     = note: expected values for `feature` are: `__internal-api`, `avx512`, `c-allocator`, `default`, `rust-allocator`, `std`, and `vpclmulqdq`
     = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml`
     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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:45:15
     |
  45 |           #[cfg(feature = "ZLIB_DEBUG")]
     |                 ^^^^^^^^^^^^^^^^^^^^^^
     |
    ::: src/deflate.rs:2327:13
     |
2327 | /             trace!(
2328 | |                 "\nlit data: dyn {}, stat {}",
2329 | |                 state.opt_len,
2330 | |                 state.static_len
2331 | |             );
     | |_____________- in this macro invocation
     |
     = note: expected values for `feature` are: `__internal-api`, `avx512`, `c-allocator`, `default`, `rust-allocator`, `std`, and `vpclmulqdq`
     = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml`
     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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:45:15
     |
  45 |           #[cfg(feature = "ZLIB_DEBUG")]
     |                 ^^^^^^^^^^^^^^^^^^^^^^
     |
    ::: src/deflate.rs:2340:13
     |
2340 | /             trace!(
2341 | |                 "\ndist data: dyn {}, stat {}",
2342 | |                 state.opt_len,
2343 | |                 state.static_len
2344 | |             );
     | |_____________- in this macro invocation
     |
     = note: expected values for `feature` are: `__internal-api`, `avx512`, `c-allocator`, `default`, `rust-allocator`, `std`, and `vpclmulqdq`
     = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml`
     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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:45:15
     |
  45 |         #[cfg(feature = "ZLIB_DEBUG")]
     |               ^^^^^^^^^^^^^^^^^^^^^^
     |
    ::: src/deflate.rs:2796:5
     |
2796 |     trace!("\n[FLUSH {len} bytes]");
     |     ------------------------------- in this macro invocation
     |
     = note: expected values for `feature` are: `__internal-api`, `avx512`, `c-allocator`, `default`, `rust-allocator`, `std`, and `vpclmulqdq`
     = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml`
     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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:58:7
   |
58 | #[cfg(feature = "__internal-test")]
   |       ^^^^^^^^^^-----------------
   |                 |
   |                 help: there is a expected value with a similar name: `"__internal-api"`
   |
   = note: expected values for `feature` are: `__internal-api`, `avx512`, `c-allocator`, `default`, `rust-allocator`, `std`, and `vpclmulqdq`
   = help: consider adding `__internal-test` as a feature in `Cargo.toml`
   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: unexpected `cfg` condition value: `__internal-test`
  --> src/inflate.rs:62:7
   |
62 | #[cfg(feature = "__internal-test")]
   |       ^^^^^^^^^^-----------------
   |                 |
   |                 help: there is a expected value with a similar name: `"__internal-api"`
   |
   = note: expected values for `feature` are: `__internal-api`, `avx512`, `c-allocator`, `default`, `rust-allocator`, `std`, and `vpclmulqdq`
   = help: consider adding `__internal-test` as a feature in `Cargo.toml`
   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: unexpected `cfg` condition value: `__internal-test`
  --> src/inflate.rs:70:7
   |
70 | #[cfg(feature = "__internal-test")]
   |       ^^^^^^^^^^-----------------
   |                 |
   |                 help: there is a expected value with a similar name: `"__internal-api"`
   |
   = note: expected values for `feature` are: `__internal-api`, `avx512`, `c-allocator`, `default`, `rust-allocator`, `std`, and `vpclmulqdq`
   = help: consider adding `__internal-test` as a feature in `Cargo.toml`
   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: unused imports: `back_end`, `back_init`, and `back`
  --> src/inflate.rs:28:25
   |
28 | pub use self::infback::{back, back_end, back_init};
   |                         ^^^^  ^^^^^^^^  ^^^^^^^^^
   |
   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default

warning: unexpected `cfg` condition value: `__internal-fuzz-disable-checksum`
    --> src/inflate.rs:1402:34
     |
1402 |                         if !cfg!(feature = "__internal-fuzz-disable-checksum") && self.wrap != 0 {
     |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     |
     = note: expected values for `feature` are: `__internal-api`, `avx512`, `c-allocator`, `default`, `rust-allocator`, `std`, and `vpclmulqdq`
     = help: consider adding `__internal-fuzz-disable-checksum` as a feature in `Cargo.toml`
     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: function `zalloc_c_calloc` is never used
  --> src/allocate.rs:71:22
   |
71 | unsafe extern "C" fn zalloc_c_calloc(
   |                      ^^^^^^^^^^^^^^^
   |
   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default

warning: function `zalloc_rust_calloc` is never used
   --> src/allocate.rs:132:22
    |
132 | unsafe extern "C" fn zalloc_rust_calloc(
    |                      ^^^^^^^^^^^^^^^^^^

warning: methods `allocate_layout_zeroed`, `allocate_raw`, `allocate_zeroed_raw`, and `allocate_zeroed_buffer` are never used
   --> src/allocate.rs:320:8
    |
233 | impl Allocator<'_> {
    | ------------------ methods in this implementation
...
320 |     fn allocate_layout_zeroed(&self, layout: Layout) -> *mut c_void {
    |        ^^^^^^^^^^^^^^^^^^^^^^
...
355 |     pub fn allocate_raw<T>(&self) -> Option<NonNull<T>> {
    |            ^^^^^^^^^^^^
...
363 |     pub fn allocate_zeroed_raw<T>(&self) -> Option<NonNull<T>> {
    |            ^^^^^^^^^^^^^^^^^^^
...
367 |     pub fn allocate_zeroed_buffer(&self, len: usize) -> Option<NonNull<u8>> {
    |            ^^^^^^^^^^^^^^^^^^^^^^

warning: function `calloc` is never used
  --> src/allocate.rs:79:12
   |
79 |         fn calloc(nitems: size_t, size: size_t) -> *mut c_void;
   |            ^^^^^^

warning: type alias `in_func` is never used
  --> src/c_api.rs:12:10
   |
12 | pub type in_func = unsafe extern "C" fn(*mut c_void, *mut *const c_uchar) -> c_uint;
   |          ^^^^^^^

warning: type alias `out_func` is never used
  --> src/c_api.rs:13:10
   |
13 | pub type out_func = unsafe extern "C" fn(*mut c_void, *mut c_uchar, c_uint) -> c_int;
   |          ^^^^^^^^

warning: type alias `uLongf` is never used
  --> src/c_api.rs:16:10
   |
16 | pub type uLongf = c_ulong;
   |          ^^^^^^

warning: type alias `voidp` is never used
  --> src/c_api.rs:17:10
   |
17 | pub type voidp = *mut c_void;
   |          ^^^^^

warning: type alias `voidpc` is never used
  --> src/c_api.rs:18:10
   |
18 | pub type voidpc = *const c_void;
   |          ^^^^^^

warning: type alias `z_streamp` is never used
  --> src/c_api.rs:72:10
   |
72 | pub type z_streamp = *mut z_stream;
   |          ^^^^^^^^^

warning: constant `Z_NO_FLUSH` is never used
   --> src/c_api.rs:132:11
    |
132 | pub const Z_NO_FLUSH: c_int = 0;
    |           ^^^^^^^^^^

warning: constant `Z_PARTIAL_FLUSH` is never used
   --> src/c_api.rs:133:11
    |
133 | pub const Z_PARTIAL_FLUSH: c_int = 1;
    |           ^^^^^^^^^^^^^^^

warning: constant `Z_SYNC_FLUSH` is never used
   --> src/c_api.rs:134:11
    |
134 | pub const Z_SYNC_FLUSH: c_int = 2;
    |           ^^^^^^^^^^^^

warning: constant `Z_FULL_FLUSH` is never used
   --> src/c_api.rs:135:11
    |
135 | pub const Z_FULL_FLUSH: c_int = 3;
    |           ^^^^^^^^^^^^

warning: constant `Z_FINISH` is never used
   --> src/c_api.rs:136:11
    |
136 | pub const Z_FINISH: c_int = 4;
    |           ^^^^^^^^

warning: constant `Z_BLOCK` is never used
   --> src/c_api.rs:137:11
    |
137 | pub const Z_BLOCK: c_int = 5;
    |           ^^^^^^^

warning: constant `Z_TREES` is never used
   --> src/c_api.rs:138:11
    |
138 | pub const Z_TREES: c_int = 6;
    |           ^^^^^^^

warning: constant `Z_OK` is never used
   --> src/c_api.rs:140:11
    |
140 | pub const Z_OK: c_int = 0;
    |           ^^^^

warning: constant `Z_STREAM_END` is never used
   --> src/c_api.rs:141:11
    |
141 | pub const Z_STREAM_END: c_int = 1;
    |           ^^^^^^^^^^^^

warning: constant `Z_NEED_DICT` is never used
   --> src/c_api.rs:142:11
    |
142 | pub const Z_NEED_DICT: c_int = 2;
    |           ^^^^^^^^^^^

warning: constant `Z_ERRNO` is never used
   --> src/c_api.rs:143:11
    |
143 | pub const Z_ERRNO: c_int = -1;
    |           ^^^^^^^

warning: constant `Z_STREAM_ERROR` is never used
   --> src/c_api.rs:144:11
    |
144 | pub const Z_STREAM_ERROR: c_int = -2;
    |           ^^^^^^^^^^^^^^

warning: constant `Z_DATA_ERROR` is never used
   --> src/c_api.rs:145:11
    |
145 | pub const Z_DATA_ERROR: c_int = -3;
    |           ^^^^^^^^^^^^

warning: constant `Z_MEM_ERROR` is never used
   --> src/c_api.rs:146:11
    |
146 | pub const Z_MEM_ERROR: c_int = -4;
    |           ^^^^^^^^^^^

warning: constant `Z_BUF_ERROR` is never used
   --> src/c_api.rs:147:11
    |
147 | pub const Z_BUF_ERROR: c_int = -5;
    |           ^^^^^^^^^^^

warning: constant `Z_VERSION_ERROR` is never used
   --> src/c_api.rs:148:11
    |
148 | pub const Z_VERSION_ERROR: c_int = -6;
    |           ^^^^^^^^^^^^^^^

warning: constant `Z_NO_COMPRESSION` is never used
   --> src/c_api.rs:150:11
    |
150 | pub const Z_NO_COMPRESSION: c_int = 0;
    |           ^^^^^^^^^^^^^^^^

warning: constant `Z_BINARY` is never used
   --> src/c_api.rs:157:11
    |
157 | pub const Z_BINARY: c_int = 0;
    |           ^^^^^^^^

warning: constant `Z_TEXT` is never used
   --> src/c_api.rs:158:11
    |
158 | pub const Z_TEXT: c_int = 1;
    |           ^^^^^^

warning: constant `Z_ASCII` is never used
   --> src/c_api.rs:159:11
    |
159 | pub const Z_ASCII: c_int = Z_TEXT; /* for compatibility with 1.2.2 and earlier */
    |           ^^^^^^^

warning: constant `Z_FILTERED` is never used
   --> src/c_api.rs:162:11
    |
162 | pub const Z_FILTERED: c_int = 1;
    |           ^^^^^^^^^^

warning: constant `Z_HUFFMAN_ONLY` is never used
   --> src/c_api.rs:163:11
    |
163 | pub const Z_HUFFMAN_ONLY: c_int = 2;
    |           ^^^^^^^^^^^^^^

warning: constant `Z_RLE` is never used
   --> src/c_api.rs:164:11
    |
164 | pub const Z_RLE: c_int = 3;
    |           ^^^^^

warning: constant `Z_FIXED` is never used
   --> src/c_api.rs:165:11
    |
165 | pub const Z_FIXED: c_int = 4;
    |           ^^^^^^^

warning: constant `Z_DEFAULT_STRATEGY` is never used
   --> src/c_api.rs:166:11
    |
166 | pub const Z_DEFAULT_STRATEGY: c_int = 0;
    |           ^^^^^^^^^^^^^^^^^^

warning: type alias `gz_headerp` is never used
   --> src/c_api.rs:168:10
    |
168 | pub type gz_headerp = *mut gz_header;
    |          ^^^^^^^^^^

warning: associated items `from_stream_ref` and `pending` are never used
   --> src/deflate.rs:98:19
    |
 56 | impl<'a> DeflateStream<'a> {
    | -------------------------- associated items in this implementation
...
 98 |     pub unsafe fn from_stream_ref(strm: *const z_stream) -> Option<&'a Self> {
    |                   ^^^^^^^^^^^^^^^
...
121 |     pub fn pending(&self) -> (usize, u8) {
    |            ^^^^^^^

warning: constant `HASH_BITS` is never used
   --> src/deflate.rs:141:7
    |
141 | const HASH_BITS: usize = 16;
    |       ^^^^^^^^^

warning: function `prime` is never used
   --> src/deflate.rs:561:8
    |
561 | pub fn prime(stream: &mut DeflateStream, mut bits: i32, value: i32) -> ReturnCode {
    |        ^^^^^

warning: function `copy` is never used
   --> src/deflate.rs:602:8
    |
602 | pub fn copy<'a>(
    |        ^^^^

warning: function `tune` is never used
   --> src/deflate.rs:811:8
    |
811 | pub fn tune(
    |        ^^^^

warning: function `compress_slice_with_flush` is never used
    --> src/deflate.rs:2845:8
     |
2845 | pub fn compress_slice_with_flush<'a>(
     |        ^^^^^^^^^^^^^^^^^^^^^^^^^

warning: function `set_header` is never used
    --> src/deflate.rs:3124:15
     |
3124 | pub unsafe fn set_header<'a>(
     |               ^^^^^^^^^^

warning: constant `GZIP_WRAPLEN` is never used
    --> src/deflate.rs:3139:7
     |
3139 | const GZIP_WRAPLEN: usize = 18;
     |       ^^^^^^^^^^^^

warning: function `bound` is never used
    --> src/deflate.rs:3172:8
     |
3172 | pub fn bound(stream: Option<&mut DeflateStream>, source_len: usize) -> usize {
     |        ^^^^^

warning: function `get_dictionary` is never used
    --> src/deflate.rs:3271:15
     |
3271 | pub unsafe fn get_dictionary(stream: &DeflateStream<'_>, dictionary: *mut u8) -> usize {
     |               ^^^^^^^^^^^^^^

warning: method `clone_to` is never used
  --> src/deflate/pending.rs:91:26
   |
16 | impl<'a> Pending<'a> {
   | -------------------- method in this implementation
...
91 |     pub(crate) unsafe fn clone_to(&self, ptr: *mut u8) -> Self {
   |                          ^^^^^^^^

warning: method `clone_to` is never used
  --> src/deflate/sym_buf.rs:69:26
   |
11 | impl<'a> SymBuf<'a> {
   | ------------------- method in this implementation
...
69 |     pub(crate) unsafe fn clone_to(&self, ptr: *mut u8) -> Self {
   |                          ^^^^^^^^

warning: method `as_ptr` is never used
  --> src/deflate/window.rs:20:12
   |
12 | impl<'a> Window<'a> {
   | ------------------- method in this implementation
...
20 |     pub fn as_ptr(&self) -> *const u8 {
   |            ^^^^^^

warning: associated function `from_stream_ref` is never used
  --> src/inflate.rs:93:19
   |
78 | impl<'a> InflateStream<'a> {
   | -------------------------- associated function in this implementation
...
93 |     pub unsafe fn from_stream_ref(strm: *const z_stream) -> Option<&'a Self> {
   |                   ^^^^^^^^^^^^^^^

warning: variants `Sync` and `Mem` are never constructed
   --> src/inflate.rs:298:5
    |
288 | pub enum Mode {
    |          ---- variants in this enum
...
298 |     Sync,
    |     ^^^^
299 |     Mem,
    |     ^^^
    |
    = note: `Mode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis

warning: function `prime` is never used
    --> src/inflate.rs:2168:8
     |
2168 | pub fn prime(stream: &mut InflateStream, bits: i32, value: i32) -> ReturnCode {
     |        ^^^^^

warning: function `codes_used` is never used
    --> src/inflate.rs:2381:8
     |
2381 | pub fn codes_used(stream: &InflateStream) -> usize {
     |        ^^^^^^^^^^

warning: function `syncsearch` is never used
    --> src/inflate.rs:2468:4
     |
2468 | fn syncsearch(mut got: usize, buf: &[u8]) -> (usize, usize) {
     |    ^^^^^^^^^^

warning: function `sync` is never used
    --> src/inflate.rs:2486:8
     |
2486 | pub fn sync(stream: &mut InflateStream) -> ReturnCode {
     |        ^^^^

warning: function `sync_point` is never used
    --> src/inflate.rs:2546:8
     |
2546 | pub fn sync_point(stream: &mut InflateStream) -> bool {
     |        ^^^^^^^^^^

warning: function `copy` is never used
    --> src/inflate.rs:2550:15
     |
2550 | pub unsafe fn copy<'a>(
     |               ^^^^

warning: function `undermine` is never used
    --> src/inflate.rs:2597:8
     |
2597 | pub fn undermine(stream: &mut InflateStream, subvert: i32) -> ReturnCode {
     |        ^^^^^^^^^

warning: function `validate` is never used
    --> src/inflate.rs:2604:8
     |
2604 | pub fn validate(stream: &mut InflateStream, check: bool) -> ReturnCode {
     |        ^^^^^^^^

warning: function `mark` is never used
    --> src/inflate.rs:2614:8
     |
2614 | pub fn mark(stream: &InflateStream) -> c_long {
     |        ^^^^

warning: function `get_header` is never used
    --> src/inflate.rs:2681:15
     |
2681 | pub unsafe fn get_header<'a>(
     |               ^^^^^^^^^^

warning: function `get_dictionary` is never used
    --> src/inflate.rs:2699:15
     |
2699 | pub unsafe fn get_dictionary(stream: &InflateStream<'_>, dictionary: *mut u8) -> usize {
     |               ^^^^^^^^^^^^^^

warning: methods `start_sync_search` and `prime` are never used
   --> src/inflate/bitreader.rs:151:12
    |
 14 | impl<'a> BitReader<'a> {
    | ---------------------- methods in this implementation
...
151 |     pub fn start_sync_search(&mut self) -> ([u8; 4], usize) {
    |            ^^^^^^^^^^^^^^^^^
...
175 |     pub fn prime(&mut self, bits: u8, value: u64) {
    |            ^^^^^

warning: function `back_init` is never used
  --> src/inflate/infback.rs:26:8
   |
26 | pub fn back_init(stream: &mut z_stream, config: InflateConfig, window: Window) -> ReturnCode {
   |        ^^^^^^^^^

warning: function `back` is never used
  --> src/inflate/infback.rs:90:15
   |
90 | pub unsafe fn back(
   |               ^^^^

warning: function `inflate_fast_back` is never used
   --> src/inflate/infback.rs:735:11
    |
735 | unsafe fn inflate_fast_back(state: &mut State) {
    |           ^^^^^^^^^^^^^^^^^

warning: function `back_end` is never used
   --> src/inflate/infback.rs:968:8
    |
968 | pub fn back_end<'a>(strm: &'a mut InflateStream<'a>) {
    |        ^^^^^^^^

warning: methods `into_raw_parts`, `is_empty`, `buffer_size`, `set_have`, and `clone_to` are never used
   --> src/inflate/window.rs:22:12
    |
 21 | impl<'a> Window<'a> {
    | ------------------- methods in this implementation
 22 |     pub fn into_raw_parts(self) -> (*mut u8, usize) {
    |            ^^^^^^^^^^^^^^
...
 34 |     pub fn is_empty(&self) -> bool {
    |            ^^^^^^^^
...
 40 |     pub fn buffer_size(&self) -> usize {
    |            ^^^^^^^^^^^
...
 56 |     pub unsafe fn set_have(&mut self, have: usize) {
    |                   ^^^^^^^^
...
178 |     pub unsafe fn clone_to(&self, ptr: *mut u8, len: usize) -> Self {
    |                   ^^^^^^^^

warning: associated items `new_uninit_raw`, `extend_from_window_back`, and `copy_match_back` are never used
   --> src/inflate/writer.rs:47:19
    |
 13 | impl<'a> Writer<'a> {
    | ------------------- associated items in this implementation
...
 47 |     pub unsafe fn new_uninit_raw(ptr: *mut u8, len: usize, capacity: usize) -> Writer<'a> {
    |                   ^^^^^^^^^^^^^^
...
192 |     pub fn extend_from_window_back(&mut self, window: &super::window::Window, range: Range<usize>) {
    |            ^^^^^^^^^^^^^^^^^^^^^^^
...
293 |     pub fn copy_match_back(&mut self, offset_from_end: usize, length: usize) {
    |            ^^^^^^^^^^^^^^^

warning: method `into_raw_parts` is never used
  --> src/weak_slice.rs:29:19
   |
14 | impl<'a, T> WeakSliceMut<'a, T> {
   | ------------------------------- method in this implementation
...
29 |     pub(crate) fn into_raw_parts(self) -> (*mut T, usize) {
   |                   ^^^^^^^^^^^^^^

warning: method `as_ptr` is never used
  --> src/weak_slice.rs:92:19
   |
73 | impl<'a, T, const N: usize> WeakArrayMut<'a, T, N> {
   | -------------------------------------------------- method in this implementation
...
92 |     pub(crate) fn as_ptr(&self) -> *const [T; N] {
   |                   ^^^^^^

warning: `zlib-rs` (lib) generated 108 warnings (run `cargo fix --lib -p zlib-rs` to apply 1 suggestion)
    Finished `rpm` profile [optimized + debuginfo] target(s) in 5.37s
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.0TvQgu
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.6.0-build
+ '[' 1 -eq 1 ']'
+ '[' /home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.6.0-build/BUILDROOT '!=' / ']'
+ rm -rf /home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.6.0-build/BUILDROOT
++ dirname /home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.6.0-build/BUILDROOT
+ mkdir -p /home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.6.0-build
+ mkdir /home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.6.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.6.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.6.0
+ REG_DIR=/home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.6.0-build/BUILDROOT/usr/share/cargo/registry/zlib-rs-0.6.0
+ /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.6.0-build/BUILDROOT/usr/share/cargo/registry/zlib-rs-0.6.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.6.0-build/BUILDROOT/usr/share/cargo/registry/zlib-rs-0.6.0
warning: no (git) VCS found for `/home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.6.0-build/zlib-rs-0.6.0`
+ /usr/bin/mv Cargo.toml.deps Cargo.toml
+ /usr/bin/cp -a Cargo.toml /home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.6.0-build/BUILDROOT/usr/share/cargo/registry/zlib-rs-0.6.0/Cargo.toml
+ /usr/bin/rm -f /home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.6.0-build/BUILDROOT/usr/share/cargo/registry/zlib-rs-0.6.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.oG6Hqn
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.6.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.6.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.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/lib.rs:98:12
   |
98 | #[cfg_attr(feature = "__internal-fuzz", derive(arbitrary::Arbitrary))]
   |            ^^^^^^^^^^-----------------
   |                      |
   |                      help: there is a expected value with a similar name: `"__internal-api"`
   |
   = note: expected values for `feature` are: `__internal-api`, `avx512`, `c-allocator`, `default`, `rust-allocator`, `std`, and `vpclmulqdq`
   = help: consider adding `__internal-fuzz` as a feature in `Cargo.toml`
   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration
   = note: `#[warn(unexpected_cfgs)]` on by default

warning: unexpected `cfg` condition value: `__internal-fuzz`
   --> src/deflate.rs:149:12
    |
149 | #[cfg_attr(feature = "__internal-fuzz", derive(arbitrary::Arbitrary))]
    |            ^^^^^^^^^^-----------------
    |                      |
    |                      help: there is a expected value with a similar name: `"__internal-api"`
    |
    = note: expected values for `feature` are: `__internal-api`, `avx512`, `c-allocator`, `default`, `rust-allocator`, `std`, and `vpclmulqdq`
    = help: consider adding `__internal-fuzz` as a feature in `Cargo.toml`
    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: unexpected `cfg` condition value: `__internal-fuzz`
   --> src/deflate.rs:178:12
    |
178 | #[cfg_attr(feature = "__internal-fuzz", derive(arbitrary::Arbitrary))]
    |            ^^^^^^^^^^-----------------
    |                      |
    |                      help: there is a expected value with a similar name: `"__internal-api"`
    |
    = note: expected values for `feature` are: `__internal-api`, `avx512`, `c-allocator`, `default`, `rust-allocator`, `std`, and `vpclmulqdq`
    = help: consider adding `__internal-fuzz` as a feature in `Cargo.toml`
    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: unexpected `cfg` condition value: `__internal-fuzz`
    --> src/deflate.rs:1361:12
     |
1361 | #[cfg_attr(feature = "__internal-fuzz", derive(arbitrary::Arbitrary))]
     |            ^^^^^^^^^^-----------------
     |                      |
     |                      help: there is a expected value with a similar name: `"__internal-api"`
     |
     = note: expected values for `feature` are: `__internal-api`, `avx512`, `c-allocator`, `default`, `rust-allocator`, `std`, and `vpclmulqdq`
     = help: consider adding `__internal-fuzz` as a feature in `Cargo.toml`
     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: unexpected `cfg` condition value: `__internal-test`
  --> src/crc32.rs:37:7
   |
37 | #[cfg(feature = "__internal-test")]
   |       ^^^^^^^^^^-----------------
   |                 |
   |                 help: there is a expected value with a similar name: `"__internal-api"`
   |
   = note: expected values for `feature` are: `__internal-api`, `avx512`, `c-allocator`, `default`, `rust-allocator`, `std`, and `vpclmulqdq`
   = help: consider adding `__internal-test` as a feature in `Cargo.toml`
   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: unexpected `cfg` condition value: `__internal-test`
  --> src/crc32.rs:45:11
   |
45 | #[cfg(not(feature = "__internal-test"))]
   |           ^^^^^^^^^^-----------------
   |                     |
   |                     help: there is a expected value with a similar name: `"__internal-api"`
   |
   = note: expected values for `feature` are: `__internal-api`, `avx512`, `c-allocator`, `default`, `rust-allocator`, `std`, and `vpclmulqdq`
   = help: consider adding `__internal-test` as a feature in `Cargo.toml`
   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: unexpected `cfg` condition value: `__internal-test`
   --> src/deflate.rs:187:17
    |
187 | #[cfg(any(test, feature = "__internal-test"))]
    |                 ^^^^^^^^^^-----------------
    |                           |
    |                           help: there is a expected value with a similar name: `"__internal-api"`
    |
    = note: expected values for `feature` are: `__internal-api`, `avx512`, `c-allocator`, `default`, `rust-allocator`, `std`, and `vpclmulqdq`
    = help: consider adding `__internal-test` as a feature in `Cargo.toml`
    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: unexpected `cfg` condition value: `ZLIB_DEBUG`
   --> src/deflate.rs:907:11
    |
907 |     #[cfg(feature = "ZLIB_DEBUG")]
    |           ^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: expected values for `feature` are: `__internal-api`, `avx512`, `c-allocator`, `default`, `rust-allocator`, `std`, and `vpclmulqdq`
    = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml`
    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: unexpected `cfg` condition value: `ZLIB_DEBUG`
   --> src/deflate.rs:910:11
    |
910 |     #[cfg(feature = "ZLIB_DEBUG")]
    |           ^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: expected values for `feature` are: `__internal-api`, `avx512`, `c-allocator`, `default`, `rust-allocator`, `std`, and `vpclmulqdq`
    = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml`
    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: unexpected `cfg` condition value: `ZLIB_DEBUG`
   --> src/deflate.rs:967:19
    |
967 |             #[cfg(feature = "ZLIB_DEBUG")]
    |                   ^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: expected values for `feature` are: `__internal-api`, `avx512`, `c-allocator`, `default`, `rust-allocator`, `std`, and `vpclmulqdq`
    = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml`
    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: unexpected `cfg` condition value: `ZLIB_DEBUG`
   --> src/deflate.rs:969:19
    |
969 |             #[cfg(feature = "ZLIB_DEBUG")]
    |                   ^^^^^^^^^^^^^^^^^^^^^^
    |
    = note: expected values for `feature` are: `__internal-api`, `avx512`, `c-allocator`, `default`, `rust-allocator`, `std`, and `vpclmulqdq`
    = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml`
    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: unexpected `cfg` condition value: `ZLIB_DEBUG`
   --> src/lib.rs:45:15
    |
 45 |         #[cfg(feature = "ZLIB_DEBUG")]
    |               ^^^^^^^^^^^^^^^^^^^^^^
    |
   ::: src/deflate.rs:999:9
    |
999 |         trace!(" l {:>2} v {:>4x} ", _len, _value);
    |         ------------------------------------------ in this macro invocation
    |
    = note: expected values for `feature` are: `__internal-api`, `avx512`, `c-allocator`, `default`, `rust-allocator`, `std`, and `vpclmulqdq`
    = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml`
    = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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:1003:15
     |
1003 |         #[cfg(feature = "ZLIB_DEBUG")]
     |               ^^^^^^^^^^^^^^^^^^^^^^
     |
     = note: expected values for `feature` are: `__internal-api`, `avx512`, `c-allocator`, `default`, `rust-allocator`, `std`, and `vpclmulqdq`
     = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml`
     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: unexpected `cfg` condition value: `ZLIB_DEBUG`
    --> src/deflate.rs:1010:15
     |
1010 |         #[cfg(feature = "ZLIB_DEBUG")]
     |               ^^^^^^^^^^^^^^^^^^^^^^
     |
     = note: expected values for `feature` are: `__internal-api`, `avx512`, `c-allocator`, `default`, `rust-allocator`, `std`, and `vpclmulqdq`
     = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml`
     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: unexpected `cfg` condition value: `ZLIB_DEBUG`
    --> src/deflate.rs:1017:15
     |
1017 |         #[cfg(feature = "ZLIB_DEBUG")]
     |               ^^^^^^^^^^^^^^^^^^^^^^
     |
     = note: expected values for `feature` are: `__internal-api`, `avx512`, `c-allocator`, `default`, `rust-allocator`, `std`, and `vpclmulqdq`
     = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml`
     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: unexpected `cfg` condition value: `ZLIB_DEBUG`
    --> src/deflate.rs:1024:15
     |
1024 |         #[cfg(feature = "ZLIB_DEBUG")]
     |               ^^^^^^^^^^^^^^^^^^^^^^
     |
     = note: expected values for `feature` are: `__internal-api`, `avx512`, `c-allocator`, `default`, `rust-allocator`, `std`, and `vpclmulqdq`
     = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml`
     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: unexpected `cfg` condition value: `ZLIB_DEBUG`
    --> src/lib.rs:45:15
     |
  45 |         #[cfg(feature = "ZLIB_DEBUG")]
     |               ^^^^^^^^^^^^^^^^^^^^^^
     |
    ::: src/deflate.rs:1077:9
     |
1077 |         trace!("\n--- Emit Tree: Last: {}\n", is_last_block as u8);
     |         ---------------------------------------------------------- in this macro invocation
     |
     = note: expected values for `feature` are: `__internal-api`, `avx512`, `c-allocator`, `default`, `rust-allocator`, `std`, and `vpclmulqdq`
     = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml`
     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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:45:15
     |
  45 |           #[cfg(feature = "ZLIB_DEBUG")]
     |                 ^^^^^^^^^^^^^^^^^^^^^^
     |
    ::: src/deflate.rs:1092:9
     |
1092 | /         trace!(
1093 | |             "\n+++ Emit End Block: Last: {} Pending: {} Total Out: {}\n",
1094 | |             _is_last_block as u8,
1095 | |             self.pending.pending().len(),
1096 | |             "<unknown>"
1097 | |         );
     | |_________- in this macro invocation
     |
     = note: expected values for `feature` are: `__internal-api`, `avx512`, `c-allocator`, `default`, `rust-allocator`, `std`, and `vpclmulqdq`
     = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml`
     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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:1103:15
     |
1103 |         #[cfg(feature = "ZLIB_DEBUG")]
     |               ^^^^^^^^^^^^^^^^^^^^^^
     |
     = note: expected values for `feature` are: `__internal-api`, `avx512`, `c-allocator`, `default`, `rust-allocator`, `std`, and `vpclmulqdq`
     = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml`
     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: unexpected `cfg` condition value: `ZLIB_DEBUG`
    --> src/deflate.rs:1595:15
     |
1595 |         #[cfg(feature = "ZLIB_DEBUG")]
     |               ^^^^^^^^^^^^^^^^^^^^^^
     |
     = note: expected values for `feature` are: `__internal-api`, `avx512`, `c-allocator`, `default`, `rust-allocator`, `std`, and `vpclmulqdq`
     = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml`
     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: unexpected `cfg` condition value: `ZLIB_DEBUG`
    --> src/lib.rs:45:15
     |
  45 |         #[cfg(feature = "ZLIB_DEBUG")]
     |               ^^^^^^^^^^^^^^^^^^^^^^
     |
    ::: src/deflate.rs:2111:5
     |
2111 |     trace!("\ngen_codes: max_code {max_code} ");
     |     ------------------------------------------- in this macro invocation
     |
     = note: expected values for `feature` are: `__internal-api`, `avx512`, `c-allocator`, `default`, `rust-allocator`, `std`, and `vpclmulqdq`
     = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml`
     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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:45:15
     |
  45 |           #[cfg(feature = "ZLIB_DEBUG")]
     |                 ^^^^^^^^^^^^^^^^^^^^^^
     |
    ::: src/deflate.rs:2125:13
     |
2125 | /             trace!(
2126 | |                 "\nn {:>3} {} l {:>2} c {:>4x} ({:x}) ",
2127 | |                 n,
2128 | |                 if isgraph(n as u8) {
...    |
2135 | |                 next_code[len as usize] - 1
2136 | |             );
     | |_____________- in this macro invocation
     |
     = note: expected values for `feature` are: `__internal-api`, `avx512`, `c-allocator`, `default`, `rust-allocator`, `std`, and `vpclmulqdq`
     = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml`
     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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:45:15
     |
  45 |         #[cfg(feature = "ZLIB_DEBUG")]
     |               ^^^^^^^^^^^^^^^^^^^^^^
     |
    ::: src/deflate.rs:2238:5
     |
2238 |     trace!("\ndist tree: sent {}", state.bit_writer.bits_sent);
     |     ---------------------------------------------------------- in this macro invocation
     |
     = note: expected values for `feature` are: `__internal-api`, `avx512`, `c-allocator`, `default`, `rust-allocator`, `std`, and `vpclmulqdq`
     = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml`
     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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:45:15
     |
  45 |         #[cfg(feature = "ZLIB_DEBUG")]
     |               ^^^^^^^^^^^^^^^^^^^^^^
     |
    ::: src/deflate.rs:2232:5
     |
2232 |     trace!("\nlit tree: sent {}", state.bit_writer.bits_sent);
     |     --------------------------------------------------------- in this macro invocation
     |
     = note: expected values for `feature` are: `__internal-api`, `avx512`, `c-allocator`, `default`, `rust-allocator`, `std`, and `vpclmulqdq`
     = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml`
     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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:45:15
     |
  45 |         #[cfg(feature = "ZLIB_DEBUG")]
     |               ^^^^^^^^^^^^^^^^^^^^^^
     |
    ::: src/deflate.rs:2226:5
     |
2226 |     trace!("\nbl tree: sent {}", state.bit_writer.bits_sent);
     |     -------------------------------------------------------- in this macro invocation
     |
     = note: expected values for `feature` are: `__internal-api`, `avx512`, `c-allocator`, `default`, `rust-allocator`, `std`, and `vpclmulqdq`
     = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml`
     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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:45:15
     |
  45 |         #[cfg(feature = "ZLIB_DEBUG")]
     |               ^^^^^^^^^^^^^^^^^^^^^^
     |
    ::: src/deflate.rs:2214:5
     |
2214 |     trace!("\nbl counts: ");
     |     ----------------------- in this macro invocation
     |
     = note: expected values for `feature` are: `__internal-api`, `avx512`, `c-allocator`, `default`, `rust-allocator`, `std`, and `vpclmulqdq`
     = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml`
     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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:45:15
     |
  45 |         #[cfg(feature = "ZLIB_DEBUG")]
     |               ^^^^^^^^^^^^^^^^^^^^^^
     |
    ::: src/deflate.rs:2220:9
     |
2220 |         trace!("\nbl code {:>2} ", StaticTreeDesc::BL_ORDER[rank]);
     |         ---------------------------------------------------------- in this macro invocation
     |
     = note: expected values for `feature` are: `__internal-api`, `avx512`, `c-allocator`, `default`, `rust-allocator`, `std`, and `vpclmulqdq`
     = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml`
     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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:45:15
     |
  45 |           #[cfg(feature = "ZLIB_DEBUG")]
     |                 ^^^^^^^^^^^^^^^^^^^^^^
     |
    ::: src/deflate.rs:2286:5
     |
2286 | /     trace!(
2287 | |         "\ndyn trees: dyn {}, stat {}",
2288 | |         state.opt_len,
2289 | |         state.static_len
2290 | |     );
     | |_____- in this macro invocation
     |
     = note: expected values for `feature` are: `__internal-api`, `avx512`, `c-allocator`, `default`, `rust-allocator`, `std`, and `vpclmulqdq`
     = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml`
     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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:45:15
     |
  45 |           #[cfg(feature = "ZLIB_DEBUG")]
     |                 ^^^^^^^^^^^^^^^^^^^^^^
     |
    ::: src/deflate.rs:2355:9
     |
2355 | /         trace!(
2356 | |             "\nopt {}({}) stat {}({}) stored {} lit {} ",
2357 | |             opt_lenb,
2358 | |             state.opt_len,
...    |
2362 | |             state.sym_buf.len() / 3
2363 | |         );
     | |_________- in this macro invocation
     |
     = note: expected values for `feature` are: `__internal-api`, `avx512`, `c-allocator`, `default`, `rust-allocator`, `std`, and `vpclmulqdq`
     = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml`
     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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:45:15
     |
  45 |           #[cfg(feature = "ZLIB_DEBUG")]
     |                 ^^^^^^^^^^^^^^^^^^^^^^
     |
    ::: src/deflate.rs:2327:13
     |
2327 | /             trace!(
2328 | |                 "\nlit data: dyn {}, stat {}",
2329 | |                 state.opt_len,
2330 | |                 state.static_len
2331 | |             );
     | |_____________- in this macro invocation
     |
     = note: expected values for `feature` are: `__internal-api`, `avx512`, `c-allocator`, `default`, `rust-allocator`, `std`, and `vpclmulqdq`
     = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml`
     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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:45:15
     |
  45 |           #[cfg(feature = "ZLIB_DEBUG")]
     |                 ^^^^^^^^^^^^^^^^^^^^^^
     |
    ::: src/deflate.rs:2340:13
     |
2340 | /             trace!(
2341 | |                 "\ndist data: dyn {}, stat {}",
2342 | |                 state.opt_len,
2343 | |                 state.static_len
2344 | |             );
     | |_____________- in this macro invocation
     |
     = note: expected values for `feature` are: `__internal-api`, `avx512`, `c-allocator`, `default`, `rust-allocator`, `std`, and `vpclmulqdq`
     = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml`
     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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:45:15
     |
  45 |         #[cfg(feature = "ZLIB_DEBUG")]
     |               ^^^^^^^^^^^^^^^^^^^^^^
     |
    ::: src/deflate.rs:2796:5
     |
2796 |     trace!("\n[FLUSH {len} bytes]");
     |     ------------------------------- in this macro invocation
     |
     = note: expected values for `feature` are: `__internal-api`, `avx512`, `c-allocator`, `default`, `rust-allocator`, `std`, and `vpclmulqdq`
     = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml`
     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> 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:58:7
   |
58 | #[cfg(feature = "__internal-test")]
   |       ^^^^^^^^^^-----------------
   |                 |
   |                 help: there is a expected value with a similar name: `"__internal-api"`
   |
   = note: expected values for `feature` are: `__internal-api`, `avx512`, `c-allocator`, `default`, `rust-allocator`, `std`, and `vpclmulqdq`
   = help: consider adding `__internal-test` as a feature in `Cargo.toml`
   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: unexpected `cfg` condition value: `__internal-test`
  --> src/inflate.rs:62:7
   |
62 | #[cfg(feature = "__internal-test")]
   |       ^^^^^^^^^^-----------------
   |                 |
   |                 help: there is a expected value with a similar name: `"__internal-api"`
   |
   = note: expected values for `feature` are: `__internal-api`, `avx512`, `c-allocator`, `default`, `rust-allocator`, `std`, and `vpclmulqdq`
   = help: consider adding `__internal-test` as a feature in `Cargo.toml`
   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: unexpected `cfg` condition value: `__internal-test`
  --> src/inflate.rs:70:7
   |
70 | #[cfg(feature = "__internal-test")]
   |       ^^^^^^^^^^-----------------
   |                 |
   |                 help: there is a expected value with a similar name: `"__internal-api"`
   |
   = note: expected values for `feature` are: `__internal-api`, `avx512`, `c-allocator`, `default`, `rust-allocator`, `std`, and `vpclmulqdq`
   = help: consider adding `__internal-test` as a feature in `Cargo.toml`
   = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: unused imports: `back_end`, `back_init`, and `back`
  --> src/inflate.rs:28:25
   |
28 | pub use self::infback::{back, back_end, back_init};
   |                         ^^^^  ^^^^^^^^  ^^^^^^^^^
   |
   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default

warning: unexpected `cfg` condition value: `__internal-fuzz-disable-checksum`
    --> src/inflate.rs:1402:34
     |
1402 |                         if !cfg!(feature = "__internal-fuzz-disable-checksum") && self.wrap != 0 {
     |                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
     |
     = note: expected values for `feature` are: `__internal-api`, `avx512`, `c-allocator`, `default`, `rust-allocator`, `std`, and `vpclmulqdq`
     = help: consider adding `__internal-fuzz-disable-checksum` as a feature in `Cargo.toml`
     = note: see <https://doc.rust-lang.org/nightly/rustc/check-cfg/cargo-specifics.html> for more information about checking conditional configuration

warning: function `zalloc_c_calloc` is never used
  --> src/allocate.rs:71:22
   |
71 | unsafe extern "C" fn zalloc_c_calloc(
   |                      ^^^^^^^^^^^^^^^
   |
   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default

warning: function `zalloc_rust_calloc` is never used
   --> src/allocate.rs:132:22
    |
132 | unsafe extern "C" fn zalloc_rust_calloc(
    |                      ^^^^^^^^^^^^^^^^^^

warning: methods `allocate_layout_zeroed`, `allocate_raw`, `allocate_zeroed_raw`, and `allocate_zeroed_buffer` are never used
   --> src/allocate.rs:320:8
    |
233 | impl Allocator<'_> {
    | ------------------ methods in this implementation
...
320 |     fn allocate_layout_zeroed(&self, layout: Layout) -> *mut c_void {
    |        ^^^^^^^^^^^^^^^^^^^^^^
...
355 |     pub fn allocate_raw<T>(&self) -> Option<NonNull<T>> {
    |            ^^^^^^^^^^^^
...
363 |     pub fn allocate_zeroed_raw<T>(&self) -> Option<NonNull<T>> {
    |            ^^^^^^^^^^^^^^^^^^^
...
367 |     pub fn allocate_zeroed_buffer(&self, len: usize) -> Option<NonNull<u8>> {
    |            ^^^^^^^^^^^^^^^^^^^^^^

warning: function `calloc` is never used
  --> src/allocate.rs:79:12
   |
79 |         fn calloc(nitems: size_t, size: size_t) -> *mut c_void;
   |            ^^^^^^

warning: type alias `in_func` is never used
  --> src/c_api.rs:12:10
   |
12 | pub type in_func = unsafe extern "C" fn(*mut c_void, *mut *const c_uchar) -> c_uint;
   |          ^^^^^^^

warning: type alias `out_func` is never used
  --> src/c_api.rs:13:10
   |
13 | pub type out_func = unsafe extern "C" fn(*mut c_void, *mut c_uchar, c_uint) -> c_int;
   |          ^^^^^^^^

warning: type alias `uLongf` is never used
  --> src/c_api.rs:16:10
   |
16 | pub type uLongf = c_ulong;
   |          ^^^^^^

warning: type alias `voidp` is never used
  --> src/c_api.rs:17:10
   |
17 | pub type voidp = *mut c_void;
   |          ^^^^^

warning: type alias `voidpc` is never used
  --> src/c_api.rs:18:10
   |
18 | pub type voidpc = *const c_void;
   |          ^^^^^^

warning: type alias `z_streamp` is never used
  --> src/c_api.rs:72:10
   |
72 | pub type z_streamp = *mut z_stream;
   |          ^^^^^^^^^

warning: constant `Z_NO_FLUSH` is never used
   --> src/c_api.rs:132:11
    |
132 | pub const Z_NO_FLUSH: c_int = 0;
    |           ^^^^^^^^^^

warning: constant `Z_PARTIAL_FLUSH` is never used
   --> src/c_api.rs:133:11
    |
133 | pub const Z_PARTIAL_FLUSH: c_int = 1;
    |           ^^^^^^^^^^^^^^^

warning: constant `Z_SYNC_FLUSH` is never used
   --> src/c_api.rs:134:11
    |
134 | pub const Z_SYNC_FLUSH: c_int = 2;
    |           ^^^^^^^^^^^^

warning: constant `Z_FULL_FLUSH` is never used
   --> src/c_api.rs:135:11
    |
135 | pub const Z_FULL_FLUSH: c_int = 3;
    |           ^^^^^^^^^^^^

warning: constant `Z_FINISH` is never used
   --> src/c_api.rs:136:11
    |
136 | pub const Z_FINISH: c_int = 4;
    |           ^^^^^^^^

warning: constant `Z_BLOCK` is never used
   --> src/c_api.rs:137:11
    |
137 | pub const Z_BLOCK: c_int = 5;
    |           ^^^^^^^

warning: constant `Z_TREES` is never used
   --> src/c_api.rs:138:11
    |
138 | pub const Z_TREES: c_int = 6;
    |           ^^^^^^^

warning: constant `Z_OK` is never used
   --> src/c_api.rs:140:11
    |
140 | pub const Z_OK: c_int = 0;
    |           ^^^^

warning: constant `Z_STREAM_END` is never used
   --> src/c_api.rs:141:11
    |
141 | pub const Z_STREAM_END: c_int = 1;
    |           ^^^^^^^^^^^^

warning: constant `Z_NEED_DICT` is never used
   --> src/c_api.rs:142:11
    |
142 | pub const Z_NEED_DICT: c_int = 2;
    |           ^^^^^^^^^^^

warning: constant `Z_ERRNO` is never used
   --> src/c_api.rs:143:11
    |
143 | pub const Z_ERRNO: c_int = -1;
    |           ^^^^^^^

warning: constant `Z_STREAM_ERROR` is never used
   --> src/c_api.rs:144:11
    |
144 | pub const Z_STREAM_ERROR: c_int = -2;
    |           ^^^^^^^^^^^^^^

warning: constant `Z_DATA_ERROR` is never used
   --> src/c_api.rs:145:11
    |
145 | pub const Z_DATA_ERROR: c_int = -3;
    |           ^^^^^^^^^^^^

warning: constant `Z_MEM_ERROR` is never used
   --> src/c_api.rs:146:11
    |
146 | pub const Z_MEM_ERROR: c_int = -4;
    |           ^^^^^^^^^^^

warning: constant `Z_BUF_ERROR` is never used
   --> src/c_api.rs:147:11
    |
147 | pub const Z_BUF_ERROR: c_int = -5;
    |           ^^^^^^^^^^^

warning: constant `Z_VERSION_ERROR` is never used
   --> src/c_api.rs:148:11
    |
148 | pub const Z_VERSION_ERROR: c_int = -6;
    |           ^^^^^^^^^^^^^^^

warning: constant `Z_NO_COMPRESSION` is never used
   --> src/c_api.rs:150:11
    |
150 | pub const Z_NO_COMPRESSION: c_int = 0;
    |           ^^^^^^^^^^^^^^^^

warning: constant `Z_BINARY` is never used
   --> src/c_api.rs:157:11
    |
157 | pub const Z_BINARY: c_int = 0;
    |           ^^^^^^^^

warning: constant `Z_TEXT` is never used
   --> src/c_api.rs:158:11
    |
158 | pub const Z_TEXT: c_int = 1;
    |           ^^^^^^

warning: constant `Z_ASCII` is never used
   --> src/c_api.rs:159:11
    |
159 | pub const Z_ASCII: c_int = Z_TEXT; /* for compatibility with 1.2.2 and earlier */
    |           ^^^^^^^

warning: constant `Z_FILTERED` is never used
   --> src/c_api.rs:162:11
    |
162 | pub const Z_FILTERED: c_int = 1;
    |           ^^^^^^^^^^

warning: constant `Z_HUFFMAN_ONLY` is never used
   --> src/c_api.rs:163:11
    |
163 | pub const Z_HUFFMAN_ONLY: c_int = 2;
    |           ^^^^^^^^^^^^^^

warning: constant `Z_RLE` is never used
   --> src/c_api.rs:164:11
    |
164 | pub const Z_RLE: c_int = 3;
    |           ^^^^^

warning: constant `Z_FIXED` is never used
   --> src/c_api.rs:165:11
    |
165 | pub const Z_FIXED: c_int = 4;
    |           ^^^^^^^

warning: constant `Z_DEFAULT_STRATEGY` is never used
   --> src/c_api.rs:166:11
    |
166 | pub const Z_DEFAULT_STRATEGY: c_int = 0;
    |           ^^^^^^^^^^^^^^^^^^

warning: type alias `gz_headerp` is never used
   --> src/c_api.rs:168:10
    |
168 | pub type gz_headerp = *mut gz_header;
    |          ^^^^^^^^^^

warning: associated items `from_stream_ref` and `pending` are never used
   --> src/deflate.rs:98:19
    |
 56 | impl<'a> DeflateStream<'a> {
    | -------------------------- associated items in this implementation
...
 98 |     pub unsafe fn from_stream_ref(strm: *const z_stream) -> Option<&'a Self> {
    |                   ^^^^^^^^^^^^^^^
...
121 |     pub fn pending(&self) -> (usize, u8) {
    |            ^^^^^^^

warning: constant `HASH_BITS` is never used
   --> src/deflate.rs:141:7
    |
141 | const HASH_BITS: usize = 16;
    |       ^^^^^^^^^

warning: function `prime` is never used
   --> src/deflate.rs:561:8
    |
561 | pub fn prime(stream: &mut DeflateStream, mut bits: i32, value: i32) -> ReturnCode {
    |        ^^^^^

warning: function `copy` is never used
   --> src/deflate.rs:602:8
    |
602 | pub fn copy<'a>(
    |        ^^^^

warning: function `tune` is never used
   --> src/deflate.rs:811:8
    |
811 | pub fn tune(
    |        ^^^^

warning: function `compress_slice_with_flush` is never used
    --> src/deflate.rs:2845:8
     |
2845 | pub fn compress_slice_with_flush<'a>(
     |        ^^^^^^^^^^^^^^^^^^^^^^^^^

warning: function `set_header` is never used
    --> src/deflate.rs:3124:15
     |
3124 | pub unsafe fn set_header<'a>(
     |               ^^^^^^^^^^

warning: constant `GZIP_WRAPLEN` is never used
    --> src/deflate.rs:3139:7
     |
3139 | const GZIP_WRAPLEN: usize = 18;
     |       ^^^^^^^^^^^^

warning: function `bound` is never used
    --> src/deflate.rs:3172:8
     |
3172 | pub fn bound(stream: Option<&mut DeflateStream>, source_len: usize) -> usize {
     |        ^^^^^

warning: function `get_dictionary` is never used
    --> src/deflate.rs:3271:15
     |
3271 | pub unsafe fn get_dictionary(stream: &DeflateStream<'_>, dictionary: *mut u8) -> usize {
     |               ^^^^^^^^^^^^^^

warning: method `clone_to` is never used
  --> src/deflate/pending.rs:91:26
   |
16 | impl<'a> Pending<'a> {
   | -------------------- method in this implementation
...
91 |     pub(crate) unsafe fn clone_to(&self, ptr: *mut u8) -> Self {
   |                          ^^^^^^^^

warning: method `clone_to` is never used
  --> src/deflate/sym_buf.rs:69:26
   |
11 | impl<'a> SymBuf<'a> {
   | ------------------- method in this implementation
...
69 |     pub(crate) unsafe fn clone_to(&self, ptr: *mut u8) -> Self {
   |                          ^^^^^^^^

warning: method `as_ptr` is never used
  --> src/deflate/window.rs:20:12
   |
12 | impl<'a> Window<'a> {
   | ------------------- method in this implementation
...
20 |     pub fn as_ptr(&self) -> *const u8 {
   |            ^^^^^^

warning: associated function `from_stream_ref` is never used
  --> src/inflate.rs:93:19
   |
78 | impl<'a> InflateStream<'a> {
   | -------------------------- associated function in this implementation
...
93 |     pub unsafe fn from_stream_ref(strm: *const z_stream) -> Option<&'a Self> {
   |                   ^^^^^^^^^^^^^^^

warning: variants `Sync` and `Mem` are never constructed
   --> src/inflate.rs:298:5
    |
288 | pub enum Mode {
    |          ---- variants in this enum
...
298 |     Sync,
    |     ^^^^
299 |     Mem,
    |     ^^^
    |
    = note: `Mode` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis

warning: function `prime` is never used
    --> src/inflate.rs:2168:8
     |
2168 | pub fn prime(stream: &mut InflateStream, bits: i32, value: i32) -> ReturnCode {
     |        ^^^^^

warning: function `codes_used` is never used
    --> src/inflate.rs:2381:8
     |
2381 | pub fn codes_used(stream: &InflateStream) -> usize {
     |        ^^^^^^^^^^

warning: function `syncsearch` is never used
    --> src/inflate.rs:2468:4
     |
2468 | fn syncsearch(mut got: usize, buf: &[u8]) -> (usize, usize) {
     |    ^^^^^^^^^^

warning: function `sync` is never used
    --> src/inflate.rs:2486:8
     |
2486 | pub fn sync(stream: &mut InflateStream) -> ReturnCode {
     |        ^^^^

warning: function `sync_point` is never used
    --> src/inflate.rs:2546:8
     |
2546 | pub fn sync_point(stream: &mut InflateStream) -> bool {
     |        ^^^^^^^^^^

warning: function `copy` is never used
    --> src/inflate.rs:2550:15
     |
2550 | pub unsafe fn copy<'a>(
     |               ^^^^

warning: function `undermine` is never used
    --> src/inflate.rs:2597:8
     |
2597 | pub fn undermine(stream: &mut InflateStream, subvert: i32) -> ReturnCode {
     |        ^^^^^^^^^

warning: function `validate` is never used
    --> src/inflate.rs:2604:8
     |
2604 | pub fn validate(stream: &mut InflateStream, check: bool) -> ReturnCode {
     |        ^^^^^^^^

warning: function `mark` is never used
    --> src/inflate.rs:2614:8
     |
2614 | pub fn mark(stream: &InflateStream) -> c_long {
     |        ^^^^

warning: function `get_header` is never used
    --> src/inflate.rs:2681:15
     |
2681 | pub unsafe fn get_header<'a>(
     |               ^^^^^^^^^^

warning: function `get_dictionary` is never used
    --> src/inflate.rs:2699:15
     |
2699 | pub unsafe fn get_dictionary(stream: &InflateStream<'_>, dictionary: *mut u8) -> usize {
     |               ^^^^^^^^^^^^^^

warning: methods `start_sync_search` and `prime` are never used
   --> src/inflate/bitreader.rs:151:12
    |
 14 | impl<'a> BitReader<'a> {
    | ---------------------- methods in this implementation
...
151 |     pub fn start_sync_search(&mut self) -> ([u8; 4], usize) {
    |            ^^^^^^^^^^^^^^^^^
...
175 |     pub fn prime(&mut self, bits: u8, value: u64) {
    |            ^^^^^

warning: function `back_init` is never used
  --> src/inflate/infback.rs:26:8
   |
26 | pub fn back_init(stream: &mut z_stream, config: InflateConfig, window: Window) -> ReturnCode {
   |        ^^^^^^^^^

warning: function `back` is never used
  --> src/inflate/infback.rs:90:15
   |
90 | pub unsafe fn back(
   |               ^^^^

warning: function `inflate_fast_back` is never used
   --> src/inflate/infback.rs:735:11
    |
735 | unsafe fn inflate_fast_back(state: &mut State) {
    |           ^^^^^^^^^^^^^^^^^

warning: function `back_end` is never used
   --> src/inflate/infback.rs:968:8
    |
968 | pub fn back_end<'a>(strm: &'a mut InflateStream<'a>) {
    |        ^^^^^^^^

warning: methods `into_raw_parts`, `is_empty`, `buffer_size`, `set_have`, and `clone_to` are never used
   --> src/inflate/window.rs:22:12
    |
 21 | impl<'a> Window<'a> {
    | ------------------- methods in this implementation
 22 |     pub fn into_raw_parts(self) -> (*mut u8, usize) {
    |            ^^^^^^^^^^^^^^
...
 34 |     pub fn is_empty(&self) -> bool {
    |            ^^^^^^^^
...
 40 |     pub fn buffer_size(&self) -> usize {
    |            ^^^^^^^^^^^
...
 56 |     pub unsafe fn set_have(&mut self, have: usize) {
    |                   ^^^^^^^^
...
178 |     pub unsafe fn clone_to(&self, ptr: *mut u8, len: usize) -> Self {
    |                   ^^^^^^^^

warning: associated items `new_uninit_raw`, `extend_from_window_back`, and `copy_match_back` are never used
   --> src/inflate/writer.rs:47:19
    |
 13 | impl<'a> Writer<'a> {
    | ------------------- associated items in this implementation
...
 47 |     pub unsafe fn new_uninit_raw(ptr: *mut u8, len: usize, capacity: usize) -> Writer<'a> {
    |                   ^^^^^^^^^^^^^^
...
192 |     pub fn extend_from_window_back(&mut self, window: &super::window::Window, range: Range<usize>) {
    |            ^^^^^^^^^^^^^^^^^^^^^^^
...
293 |     pub fn copy_match_back(&mut self, offset_from_end: usize, length: usize) {
    |            ^^^^^^^^^^^^^^^

warning: method `into_raw_parts` is never used
  --> src/weak_slice.rs:29:19
   |
14 | impl<'a, T> WeakSliceMut<'a, T> {
   | ------------------------------- method in this implementation
...
29 |     pub(crate) fn into_raw_parts(self) -> (*mut T, usize) {
   |                   ^^^^^^^^^^^^^^

warning: method `as_ptr` is never used
  --> src/weak_slice.rs:92:19
   |
73 | impl<'a, T, const N: usize> WeakArrayMut<'a, T, N> {
   | -------------------------------------------------- method in this implementation
...
92 |     pub(crate) fn as_ptr(&self) -> *const [T; N] {
   |                   ^^^^^^

     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=0c76dd880f904725 -C extra-filename=-4bf3d4d722f7c3e4 --out-dir /home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.6.0-build/zlib-rs-0.6.0/target/rpm/build/libc-4bf3d4d722f7c3e4 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.6.0-build/zlib-rs-0.6.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 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=26a0f5883734a3db -C extra-filename=-15ba5af27169d0b1 --out-dir /home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.6.0-build/zlib-rs-0.6.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.6.0-build/zlib-rs-0.6.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.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=0bf2311128f418ad -C extra-filename=-3d5acddf1215ed12 --out-dir /home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.6.0-build/zlib-rs-0.6.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.6.0-build/zlib-rs-0.6.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 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=d3e63a0a536a629b -C extra-filename=-57cd3fc884521e67 --out-dir /home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.6.0-build/zlib-rs-0.6.0/target/rpm/build/crc32fast-57cd3fc884521e67 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.6.0-build/zlib-rs-0.6.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 108 warnings (run `cargo fix --lib -p zlib-rs` to apply 1 suggestion)
     Running `/home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.6.0-build/zlib-rs-0.6.0/target/rpm/build/crc32fast-57cd3fc884521e67/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=de3ca56b0111c838 -C extra-filename=-a9ecb829ece187e5 --out-dir /home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.6.0-build/zlib-rs-0.6.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.6.0-build/zlib-rs-0.6.0/target/rpm/deps --extern cfg_if=/home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.6.0-build/zlib-rs-0.6.0/target/rpm/deps/libcfg_if-15ba5af27169d0b1.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.6.0-build/zlib-rs-0.6.0/target/rpm/build/libc-4bf3d4d722f7c3e4/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=35457ff052666c53 -C extra-filename=-6ff05e32b2cf667b --out-dir /home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.6.0-build/zlib-rs-0.6.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.6.0-build/zlib-rs-0.6.0/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=3a9d04d96950bcff -C extra-filename=-583b98e4fb9abe69 --out-dir /home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.6.0-build/zlib-rs-0.6.0/target/rpm/build/memoffset-583b98e4fb9abe69 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.6.0-build/zlib-rs-0.6.0/target/rpm/deps --extern autocfg=/home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.6.0-build/zlib-rs-0.6.0/target/rpm/deps/libautocfg-3d5acddf1215ed12.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.6.0-build/zlib-rs-0.6.0/target/rpm/build/memoffset-583b98e4fb9abe69/build-script-build`
   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=5aaad611785db66b -C extra-filename=-a7520d264580c442 --out-dir /home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.6.0-build/zlib-rs-0.6.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.6.0-build/zlib-rs-0.6.0/target/rpm/deps --extern cfg_if=/home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.6.0-build/zlib-rs-0.6.0/target/rpm/deps/libcfg_if-15ba5af27169d0b1.rmeta --extern libc=/home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.6.0-build/zlib-rs-0.6.0/target/rpm/deps/liblibc-6ff05e32b2cf667b.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=f04f1e5405172751 -C extra-filename=-db50be94a94f1fa8 --out-dir /home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.6.0-build/zlib-rs-0.6.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.6.0-build/zlib-rs-0.6.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 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=a04b57a13fbc5434 -C extra-filename=-ec238f7dc4ee206c --out-dir /home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.6.0-build/zlib-rs-0.6.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.6.0-build/zlib-rs-0.6.0/target/rpm/deps --extern getrandom=/home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.6.0-build/zlib-rs-0.6.0/target/rpm/deps/libgetrandom-a7520d264580c442.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=11240425eaf8312f -C extra-filename=-454d837492e6a9a2 --out-dir /home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.6.0-build/zlib-rs-0.6.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.6.0-build/zlib-rs-0.6.0/target/rpm/deps --extern rand_core=/home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.6.0-build/zlib-rs-0.6.0/target/rpm/deps/librand_core-ec238f7dc4ee206c.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=89ee8c7c1e77b9ac -C extra-filename=-e8b4ace546e36008 --out-dir /home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.6.0-build/zlib-rs-0.6.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.6.0-build/zlib-rs-0.6.0/target/rpm/deps --extern rand=/home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.6.0-build/zlib-rs-0.6.0/target/rpm/deps/librand-454d837492e6a9a2.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn`
   Compiling zlib-rs v0.6.0 (/home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.6.0-build/zlib-rs-0.6.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 --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("__internal-api", "avx512", "c-allocator", "default", "rust-allocator", "std", "vpclmulqdq"))' -C metadata=afdd7b5f80635b96 -C extra-filename=-080bc3d15b69479d --out-dir /home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.6.0-build/zlib-rs-0.6.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.6.0-build/zlib-rs-0.6.0/target/rpm/deps --extern crc32fast=/home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.6.0-build/zlib-rs-0.6.0/target/rpm/deps/libcrc32fast-a9ecb829ece187e5.rlib --extern memoffset=/home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.6.0-build/zlib-rs-0.6.0/target/rpm/deps/libmemoffset-db50be94a94f1fa8.rlib --extern quickcheck=/home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.6.0-build/zlib-rs-0.6.0/target/rpm/deps/libquickcheck-e8b4ace546e36008.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn`
warning: method `allocate_zeroed_raw` is never used
   --> src/allocate.rs:363:12
    |
233 | impl Allocator<'_> {
    | ------------------ method in this implementation
...
363 |     pub fn allocate_zeroed_raw<T>(&self) -> Option<NonNull<T>> {
    |            ^^^^^^^^^^^^^^^^^^^
    |
    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default

warning: methods `buffer_size`, `set_have`, and `clone_to` are never used
   --> src/inflate/window.rs:40:12
    |
 21 | impl<'a> Window<'a> {
    | ------------------- methods in this implementation
...
 40 |     pub fn buffer_size(&self) -> usize {
    |            ^^^^^^^^^^^
...
 56 |     pub unsafe fn set_have(&mut self, have: usize) {
    |                   ^^^^^^^^
...
178 |     pub unsafe fn clone_to(&self, ptr: *mut u8, len: usize) -> Self {
    |                   ^^^^^^^^

warning: `zlib-rs` (lib test) generated 96 warnings (94 duplicates)
    Finished `rpm` profile [optimized + debuginfo] target(s) in 18.86s
     Running `/home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.6.0-build/zlib-rs-0.6.0/target/rpm/deps/zlib_rs-080bc3d15b69479d`

running 74 tests
test adler32::test::naive_is_fancy_small_inputs ... ok
test allocate::tests::test_allocate_zero_size ... ok
test allocate::tests::test_allocate_buffer_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_16 ... ok
test allocate::tests::test_allocate_zeroed ... ok
test allocate::tests::unaligned_allocator_2 ... ok
test allocate::tests::unaligned_allocator_1 ... 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::test::nasty_alignment ... ok
test crc32::braid::test::braid_6_is_crc32fast ... ok
test crc32::braid::test::naive_is_crc32fast ... ok
test crc32::test::test_crc32_fold ... ok
test crc32::test::test_crc32_fold_align ... ok
test crc32::braid::test::words_is_crc32fast ... ok
test deflate::compare256::avx2::test_compare256 ... ok
test crc32::combine::test::test_crc32_combine ... ok
test deflate::compare256::rust::test_compare256 ... 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 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 ... 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::gzip_header_pending_flush ... ok
test deflate::test::gzip_no_header ... ok
test deflate::test::gzip_stored_block_checksum ... ok
test deflate::test::full_flush ... ok
test deflate::test::gzip_with_header ... ok
test deflate::test::hello_world_quick_random ... ok
test deflate::test::hash_calc_difference ... ok
test deflate::test::inflate_window_copy_slice ... ok
test deflate::test::hello_world_huffman_only ... ok
test deflate::test::hello_world_quick ... ok
test deflate::test::invalid_deflate_config::window_bits_too_high ... ok
test deflate::test::invalid_deflate_config::window_bits_too_low ... ok
test deflate::test::partial_flush ... ok
test deflate::test::sync_flush ... ok
test deflate::test::split_deflate ... ok
test inflate::inftrees::test::not_enough_errors ... ok
test deflate::test::invalid_deflate_config::sanity_check ... ok
test inflate::window::test::window_init ... ok
test inflate::writer::test::copy_chunk_unchecked ... ok
test deflate::test::insufficient_compress_space ... ok
test inflate::writer::test::copy_match_insufficient_space_for_simd ... ok
test deflate::test::init_invalid_allocator ... ok
test inflate::inftrees::test::generate_fixed_distance_table ... ok
test deflate::test::test_reset_keep ... ok
test inflate::window::test::extend_in_bounds ... ok
test inflate::tests::uncompress_buffer_overflow ... ok
test deflate::test::simple_rle ... ok
test inflate::window::test::extend_crosses_bounds ... ok
test deflate::test::invalid_deflate_config::window_bits_correction ... ok
test inflate::writer::test::copy_match ... ok
test inflate::inftrees::test::generate_fixed_length_table ... ok
test inflate::window::test::extend_out_of_bounds ... 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.6.0-build/zlib-rs-0.6.0 --deny=unsafe_op_in_unsafe_fn --extern crc32fast=/home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.6.0-build/zlib-rs-0.6.0/target/rpm/deps/libcrc32fast-a9ecb829ece187e5.rlib --extern memoffset=/home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.6.0-build/zlib-rs-0.6.0/target/rpm/deps/libmemoffset-db50be94a94f1fa8.rlib --extern quickcheck=/home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.6.0-build/zlib-rs-0.6.0/target/rpm/deps/libquickcheck-e8b4ace546e36008.rlib --extern zlib_rs=/home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.6.0-build/zlib-rs-0.6.0/target/rpm/deps/libzlib_rs-515bde4d3d90120e.rlib -L dependency=/home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.6.0-build/zlib-rs-0.6.0/target/rpm/deps -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("__internal-api", "avx512", "c-allocator", "default", "rust-allocator", "std", "vpclmulqdq"))' --error-format human`

running 4 tests
test src/deflate.rs - deflate::compress_slice (line 2817) ... ok
test src/inflate.rs - inflate::decompress_slice (line 164) ... ok
test src/deflate.rs - deflate::compress_bound (line 2942) ... ok
test src/lib.rs - (line 9) ... ok

test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.21s

+ RPM_EC=0
++ jobs -p
+ exit 0
Processing files: rust-zlib-rs-devel-0.6.0-1.mga10.noarch
warning: File listed twice: /usr/share/cargo/registry/zlib-rs-0.6.0/LICENSE
warning: File listed twice: /usr/share/cargo/registry/zlib-rs-0.6.0/README.md
Provides: crate(zlib-rs) = 0.6.0 rust-zlib-rs-devel = 0.6.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.6.0-1.mga10.noarch
Provides: crate(zlib-rs/default) = 0.6.0 rust-zlib-rs+default-devel = 0.6.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.6.0 crate(zlib-rs/c-allocator) = 0.6.0 crate(zlib-rs/std) = 0.6.0
Processing files: rust-zlib-rs+__internal-api-devel-0.6.0-1.mga10.noarch
Provides: crate(zlib-rs/__internal-api) = 0.6.0 rust-zlib-rs+__internal-api-devel = 0.6.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.6.0
Processing files: rust-zlib-rs+avx512-devel-0.6.0-1.mga10.noarch
Provides: crate(zlib-rs/avx512) = 0.6.0 rust-zlib-rs+avx512-devel = 0.6.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.6.0 crate(zlib-rs/vpclmulqdq) = 0.6.0
Processing files: rust-zlib-rs+c-allocator-devel-0.6.0-1.mga10.noarch
Provides: crate(zlib-rs/c-allocator) = 0.6.0 rust-zlib-rs+c-allocator-devel = 0.6.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.6.0
Processing files: rust-zlib-rs+rust-allocator-devel-0.6.0-1.mga10.noarch
Provides: crate(zlib-rs/rust-allocator) = 0.6.0 rust-zlib-rs+rust-allocator-devel = 0.6.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.6.0
Processing files: rust-zlib-rs+std-devel-0.6.0-1.mga10.noarch
Provides: crate(zlib-rs/std) = 0.6.0 rust-zlib-rs+std-devel = 0.6.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.6.0 crate(zlib-rs/rust-allocator) = 0.6.0
Processing files: rust-zlib-rs+vpclmulqdq-devel-0.6.0-1.mga10.noarch
Provides: crate(zlib-rs/vpclmulqdq) = 0.6.0 rust-zlib-rs+vpclmulqdq-devel = 0.6.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.6.0
Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.6.0-build/BUILDROOT
Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-zlib-rs+default-devel-0.6.0-1.mga10.noarch.rpm
Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-zlib-rs+rust-allocator-devel-0.6.0-1.mga10.noarch.rpm
Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-zlib-rs+c-allocator-devel-0.6.0-1.mga10.noarch.rpm
Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-zlib-rs+std-devel-0.6.0-1.mga10.noarch.rpm
Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-zlib-rs+vpclmulqdq-devel-0.6.0-1.mga10.noarch.rpm
Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-zlib-rs+avx512-devel-0.6.0-1.mga10.noarch.rpm
Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-zlib-rs+__internal-api-devel-0.6.0-1.mga10.noarch.rpm
Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-zlib-rs-devel-0.6.0-1.mga10.noarch.rpm
Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.0ZnxWZ
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.6.0-build
+ test -d /home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.6.0-build
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.6.0-build
+ rm -rf /home/pterjan/rpmbuild/BUILD/rust-zlib-rs-0.6.0-build
+ RPM_EC=0
++ jobs -p
+ exit 0

RPM build warnings:
    File listed twice: /usr/share/cargo/registry/zlib-rs-0.6.0/LICENSE
    File listed twice: /usr/share/cargo/registry/zlib-rs-0.6.0/README.md
D: [iurt_root_command] Success!
