Mock Version: 6.0 Mock Version: 6.0 Mock Version: 6.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-zlib-rs.spec'], chrootPath='/var/lib/mock/f43-build-57589422-6555392/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.asyiea2o:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.asyiea2o:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '963c9752476f4f32977217efffc6561d', '-D', '/var/lib/mock/f43-build-57589422-6555392/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.asyiea2o:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-zlib-rs.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1740096000 Wrote: /builddir/build/SRPMS/rust-zlib-rs-0.4.2-1.fc43.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-zlib-rs.spec'], chrootPath='/var/lib/mock/f43-build-57589422-6555392/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'unshare_net=TrueraiseExc=FalseprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.asyiea2o:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.asyiea2o:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '0b7136e52b0f419a83055e13ec458cd9', '-D', '/var/lib/mock/f43-build-57589422-6555392/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.asyiea2o:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-zlib-rs.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1740096000 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.foa8QL Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.ph9zIK + umask 022 + cd /builddir/build/BUILD/rust-zlib-rs-0.4.2-build + cd /builddir/build/BUILD/rust-zlib-rs-0.4.2-build + rm -rf zlib-rs-0.4.2 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/zlib-rs-0.4.2.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd zlib-rs-0.4.2 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /builddir/build/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 /var/tmp/rpm-tmp.pgfvjk + umask 022 + cd /builddir/build/BUILD/rust-zlib-rs-0.4.2-build + cd zlib-rs-0.4.2 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-zlib-rs-0.4.2-1.fc43.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noprep --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-zlib-rs.spec'], chrootPath='/var/lib/mock/f43-build-57589422-6555392/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'unshare_net=TrueraiseExc=FalseprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.asyiea2o:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.asyiea2o:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', 'dfcf55a3b2fc47eb90322b7de26c58ac', '-D', '/var/lib/mock/f43-build-57589422-6555392/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.asyiea2o:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -br --noprep --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-zlib-rs.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1740096000 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.2tpAtU + umask 022 + cd /builddir/build/BUILD/rust-zlib-rs-0.4.2-build + cd zlib-rs-0.4.2 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-zlib-rs-0.4.2-1.fc43.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target aarch64 /builddir/build/SPECS/rust-zlib-rs.spec'], chrootPath='/var/lib/mock/f43-build-57589422-6555392/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.asyiea2o:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11']) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.asyiea2o:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11'] Executing command: ['/usr/bin/systemd-nspawn', '-q', '-M', '7e09bf3a397e4f8383430379ceb369c9', '-D', '/var/lib/mock/f43-build-57589422-6555392/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.asyiea2o:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--bind=/dev/mapper/control', '--bind=/dev/fuse', '--bind=/dev/loop-control', '--bind=/dev/loop0', '--bind=/dev/loop1', '--bind=/dev/loop2', '--bind=/dev/loop3', '--bind=/dev/loop4', '--bind=/dev/loop5', '--bind=/dev/loop6', '--bind=/dev/loop7', '--bind=/dev/loop8', '--bind=/dev/loop9', '--bind=/dev/loop10', '--bind=/dev/loop11', '--console=pipe', '--setenv=TERM=vt100', '--setenv=SHELL=/bin/bash', '--setenv=HOME=/builddir', '--setenv=HOSTNAME=mock', '--setenv=PATH=/usr/bin:/bin:/usr/sbin:/sbin', '--setenv=PROMPT_COMMAND=printf "\\033]0;\\007"', '--setenv=PS1= \\s-\\v\\$ ', '--setenv=LANG=C.UTF-8', '--resolv-conf=off', 'bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target aarch64 /builddir/build/SPECS/rust-zlib-rs.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8', 'SYSTEMD_NSPAWN_TMPFS_TMP': '0', 'SYSTEMD_SECCOMP': '0'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1740096000 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.iUFDY6 + umask 022 + cd /builddir/build/BUILD/rust-zlib-rs-0.4.2-build + cd zlib-rs-0.4.2 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.Qdq3CR + umask 022 + cd /builddir/build/BUILD/rust-zlib-rs-0.4.2-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd zlib-rs-0.4.2 + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' /usr/bin/cargo build -j12 -Z avoid-dev-deps --profile rpm Compiling zlib-rs v0.4.2 (/builddir/build/BUILD/rust-zlib-rs-0.4.2-build/zlib-rs-0.4.2) Running `/usr/bin/rustc --crate-name zlib_rs --edition=2021 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="c-allocator"' --cfg 'feature="default"' --cfg 'feature="rust-allocator"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("c-allocator", "default", "rust-allocator", "std"))' -C metadata=29c05fb10ba8ab34 -C extra-filename=-9ada85190cd55b3d --out-dir /builddir/build/BUILD/rust-zlib-rs-0.4.2-build/zlib-rs-0.4.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-zlib-rs-0.4.2-build/zlib-rs-0.4.2/target/rpm/deps -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` warning: unexpected `cfg` condition value: `__internal-fuzz` --> src/deflate.rs:110:12 | 110 | #[cfg_attr(feature = "__internal-fuzz", derive(arbitrary::Arbitrary))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `__internal-fuzz` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition value: `__internal-fuzz` --> src/deflate.rs:128:12 | 128 | #[cfg_attr(feature = "__internal-fuzz", derive(arbitrary::Arbitrary))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `__internal-fuzz` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `__internal-test` --> src/deflate.rs:137:17 | 137 | #[cfg(any(test, feature = "__internal-test"))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `__internal-test` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `__internal-fuzz` --> src/deflate.rs:1354:12 | 1354 | #[cfg_attr(feature = "__internal-fuzz", derive(arbitrary::Arbitrary))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `__internal-fuzz` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `ZLIB_DEBUG` --> src/deflate.rs:900:11 | 900 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `ZLIB_DEBUG` --> src/deflate.rs:903:11 | 903 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `ZLIB_DEBUG` --> src/deflate.rs:960:19 | 960 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `ZLIB_DEBUG` --> src/deflate.rs:962:19 | 962 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `ZLIB_DEBUG` --> src/lib.rs:23:15 | 23 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | ::: src/deflate.rs:992:9 | 992 | trace!(" l {:>2} v {:>4x} ", _len, _value); | ------------------------------------------ in this macro invocation | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `trace` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition value: `ZLIB_DEBUG` --> src/deflate.rs:996:15 | 996 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `ZLIB_DEBUG` --> src/deflate.rs:1003:15 | 1003 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `ZLIB_DEBUG` --> src/deflate.rs:1010:15 | 1010 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `ZLIB_DEBUG` --> src/deflate.rs:1017:15 | 1017 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `ZLIB_DEBUG` --> src/lib.rs:23:15 | 23 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | ::: src/deflate.rs:1070:9 | 1070 | trace!("\n--- Emit Tree: Last: {}\n", is_last_block as u8); | ---------------------------------------------------------- in this macro invocation | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `trace` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition value: `ZLIB_DEBUG` --> src/lib.rs:23:15 | 23 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | ::: src/deflate.rs:1085:9 | 1085 | / trace!( 1086 | | "\n+++ Emit End Block: Last: {} Pending: {} Total Out: {}\n", 1087 | | _is_last_block as u8, 1088 | | self.pending.pending().len(), 1089 | | "" 1090 | | ); | |_________- in this macro invocation | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `trace` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition value: `ZLIB_DEBUG` --> src/deflate.rs:1096:15 | 1096 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `ZLIB_DEBUG` --> src/deflate.rs:1577:15 | 1577 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `ZLIB_DEBUG` --> src/lib.rs:23:15 | 23 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | ::: src/deflate.rs:2091:5 | 2091 | trace!("\ngen_codes: max_code {max_code} "); | ------------------------------------------- in this macro invocation | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `trace` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition value: `ZLIB_DEBUG` --> src/lib.rs:23:15 | 23 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | ::: src/deflate.rs:2105:13 | 2105 | / trace!( 2106 | | "\nn {:>3} {} l {:>2} c {:>4x} ({:x}) ", 2107 | | n, 2108 | | if isgraph(n as u8) { ... | 2115 | | next_code[len as usize] - 1 2116 | | ); | |_____________- in this macro invocation | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `trace` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition value: `ZLIB_DEBUG` --> src/lib.rs:23:15 | 23 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | ::: src/deflate.rs:2194:5 | 2194 | trace!("\nbl counts: "); | ----------------------- in this macro invocation | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `trace` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition value: `ZLIB_DEBUG` --> src/lib.rs:23:15 | 23 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | ::: src/deflate.rs:2206:5 | 2206 | trace!("\nbl tree: sent {}", state.bit_writer.bits_sent); | -------------------------------------------------------- in this macro invocation | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `trace` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition value: `ZLIB_DEBUG` --> src/lib.rs:23:15 | 23 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | ::: src/deflate.rs:2212:5 | 2212 | trace!("\nlit tree: sent {}", state.bit_writer.bits_sent); | --------------------------------------------------------- in this macro invocation | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `trace` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition value: `ZLIB_DEBUG` --> src/lib.rs:23:15 | 23 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | ::: src/deflate.rs:2218:5 | 2218 | trace!("\ndist tree: sent {}", state.bit_writer.bits_sent); | ---------------------------------------------------------- in this macro invocation | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `trace` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition value: `ZLIB_DEBUG` --> src/lib.rs:23:15 | 23 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | ::: src/deflate.rs:2200:9 | 2200 | trace!("\nbl code {:>2} ", StaticTreeDesc::BL_ORDER[rank]); | ---------------------------------------------------------- in this macro invocation | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `trace` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition value: `ZLIB_DEBUG` --> src/lib.rs:23:15 | 23 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | ::: src/deflate.rs:2266:5 | 2266 | / trace!( 2267 | | "\ndyn trees: dyn {}, stat {}", 2268 | | state.opt_len, 2269 | | state.static_len 2270 | | ); | |_____- in this macro invocation | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `trace` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition value: `ZLIB_DEBUG` --> src/lib.rs:23:15 | 23 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | ::: src/deflate.rs:2335:9 | 2335 | / trace!( 2336 | | "\nopt {}({}) stat {}({}) stored {} lit {} ", 2337 | | opt_lenb, 2338 | | state.opt_len, ... | 2342 | | state.sym_buf.len() / 3 2343 | | ); | |_________- in this macro invocation | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `trace` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition value: `ZLIB_DEBUG` --> src/lib.rs:23:15 | 23 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | ::: src/deflate.rs:2307:13 | 2307 | / trace!( 2308 | | "\nlit data: dyn {}, stat {}", 2309 | | state.opt_len, 2310 | | state.static_len 2311 | | ); | |_____________- in this macro invocation | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `trace` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition value: `ZLIB_DEBUG` --> src/lib.rs:23:15 | 23 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | ::: src/deflate.rs:2320:13 | 2320 | / trace!( 2321 | | "\ndist data: dyn {}, stat {}", 2322 | | state.opt_len, 2323 | | state.static_len 2324 | | ); | |_____________- in this macro invocation | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `trace` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition value: `ZLIB_DEBUG` --> src/lib.rs:23:15 | 23 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | ::: src/deflate.rs:2776:5 | 2776 | trace!("\n[FLUSH {len} bytes]"); | ------------------------------- in this macro invocation | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `trace` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition value: `__internal-test` --> src/inflate.rs:53:7 | 53 | #[cfg(feature = "__internal-test")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `__internal-test` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `__internal-test` --> src/inflate.rs:57:7 | 57 | #[cfg(feature = "__internal-test")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `__internal-test` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `__internal-fuzz-disable-checksum` --> src/inflate.rs:1368:30 | 1368 | if !cfg!(feature = "__internal-fuzz-disable-checksum") && self.wrap != 0 { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `__internal-fuzz-disable-checksum` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning[E0133]: call to unsafe function `crc32::acle::remainder` is unsafe and requires unsafe block --> src/crc32/acle.rs:13:9 | 13 | c = remainder(c, before); | ^^^^^^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> src/crc32/acle.rs:7:1 | 7 | pub unsafe fn crc32_acle_aarch64(crc: u32, buf: &[u8]) -> u32 { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ note: the lint level is defined here --> src/crc32.rs:1:9 | 1 | #![warn(unsafe_op_in_unsafe_fn)] | ^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `crc32::acle::remainder` is unsafe and requires unsafe block --> src/crc32/acle.rs:23:9 | 23 | c = remainder(c, after); | ^^^^^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique --> src/allocate.rs:168:12 | 168 | if self.zalloc == Allocator::RUST.zalloc { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: the address of the same function can vary between different codegen units = note: furthermore, different functions could have the same address after being merged together = note: for more information visit = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint | 168 | if std::ptr::fn_addr_eq(self.zalloc, Allocator::RUST.zalloc) { | +++++++++++++++++++++ ~ + warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique --> src/allocate.rs:259:12 | 259 | if self.zalloc == Allocator::RUST.zalloc { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: the address of the same function can vary between different codegen units = note: furthermore, different functions could have the same address after being merged together = note: for more information visit help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint | 259 | if std::ptr::fn_addr_eq(self.zalloc, Allocator::RUST.zalloc) { | +++++++++++++++++++++ ~ + warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique --> src/allocate.rs:267:12 | 267 | if self.zalloc == Allocator::C.zalloc { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: the address of the same function can vary between different codegen units = note: furthermore, different functions could have the same address after being merged together = note: for more information visit help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint | 267 | if std::ptr::fn_addr_eq(self.zalloc, Allocator::C.zalloc) { | +++++++++++++++++++++ ~ + warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique --> src/allocate.rs:304:16 | 304 | if self.zfree == Allocator::RUST.zfree { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: the address of the same function can vary between different codegen units = note: furthermore, different functions could have the same address after being merged together = note: for more information visit help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint | 304 | if std::ptr::fn_addr_eq(self.zfree, Allocator::RUST.zfree) { | +++++++++++++++++++++ ~ + warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique --> src/deflate.rs:411:39 | 411 | if (strategy != state.strategy || func != CONFIGURATION_TABLE[level as usize].func) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: the address of the same function can vary between different codegen units = note: furthermore, different functions could have the same address after being merged together = note: for more information visit help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint | 411 | if (strategy != state.strategy || !std::ptr::fn_addr_eq(func, CONFIGURATION_TABLE[level as usize].func)) | ++++++++++++++++++++++ ~ + For more information about this error, try `rustc --explain E0133`. warning: `zlib-rs` (lib) generated 39 warnings (run `cargo fix --lib -p zlib-rs` to apply 1 suggestion) Finished `rpm` profile [optimized + debuginfo] target(s) in 6.93s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.hgBAsp + umask 022 + cd /builddir/build/BUILD/rust-zlib-rs-0.4.2-build + '[' /builddir/build/BUILD/rust-zlib-rs-0.4.2-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/rust-zlib-rs-0.4.2-build/BUILDROOT ++ dirname /builddir/build/BUILD/rust-zlib-rs-0.4.2-build/BUILDROOT + mkdir -p /builddir/build/BUILD/rust-zlib-rs-0.4.2-build + mkdir /builddir/build/BUILD/rust-zlib-rs-0.4.2-build/BUILDROOT + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd zlib-rs-0.4.2 + 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.4.2 + REG_DIR=/builddir/build/BUILD/rust-zlib-rs-0.4.2-build/BUILDROOT/usr/share/cargo/registry/zlib-rs-0.4.2 + /usr/bin/mkdir -p /builddir/build/BUILD/rust-zlib-rs-0.4.2-build/BUILDROOT/usr/share/cargo/registry/zlib-rs-0.4.2 + /usr/bin/awk -i inplace -v INPLACE_SUFFIX=.deps '/^\[((.+\.)?((dev|build)-)?dependencies|features)/{f=1;next} /^\[/{f=0}; !f' Cargo.toml + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --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 /builddir/build/BUILD/rust-zlib-rs-0.4.2-build/BUILDROOT/usr/share/cargo/registry/zlib-rs-0.4.2 warning: no (git) VCS found for `/builddir/build/BUILD/rust-zlib-rs-0.4.2-build/zlib-rs-0.4.2` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /builddir/build/BUILD/rust-zlib-rs-0.4.2-build/BUILDROOT/usr/share/cargo/registry/zlib-rs-0.4.2/Cargo.toml + /usr/bin/rm -f /builddir/build/BUILD/rust-zlib-rs-0.4.2-build/BUILDROOT/usr/share/cargo/registry/zlib-rs-0.4.2/Cargo.toml.deps + echo '{"files":{},"package":""}' ++ /usr/bin/cargo2rpm --path Cargo.toml is-bin + '[' 0 -eq 1 ']' + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + env /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j12 + /usr/lib/rpm/redhat/brp-python-hardlink + /usr/bin/add-determinism --brp -j12 /builddir/build/BUILD/rust-zlib-rs-0.4.2-build/BUILDROOT Scanned 13 directories and 44 files, processed 0 inodes, 0 modified (0 replaced + 0 rewritten), 0 unsupported format, 0 errors Reading /builddir/build/BUILD/rust-zlib-rs-0.4.2-build/SPECPARTS/rpm-debuginfo.specpart Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.GOV8Xk + umask 022 + cd /builddir/build/BUILD/rust-zlib-rs-0.4.2-build + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer ' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -mbranch-protection=standard -fasynchronous-unwind-tables -fstack-clash-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -I/usr/lib64/gfortran/modules ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,pack-relative-relocs -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes ' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd zlib-rs-0.4.2 + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' /usr/bin/cargo test -j12 -Z avoid-dev-deps --profile rpm --no-fail-fast Compiling libc v0.2.170 Compiling cfg-if v1.0.0 Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/libc-0.2.170/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 --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=7f791f2d32db0ce9 -C extra-filename=-a32b14cb35a997c8 --out-dir /builddir/build/BUILD/rust-zlib-rs-0.4.2-build/zlib-rs-0.4.2/target/rpm/build/libc-a32b14cb35a997c8 -L dependency=/builddir/build/BUILD/rust-zlib-rs-0.4.2-build/zlib-rs-0.4.2/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling autocfg v1.4.0 warning: unexpected `cfg` condition value: `__internal-fuzz` --> src/deflate.rs:110:12 | 110 | #[cfg_attr(feature = "__internal-fuzz", derive(arbitrary::Arbitrary))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `__internal-fuzz` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition value: `__internal-fuzz` --> src/deflate.rs:128:12 | 128 | #[cfg_attr(feature = "__internal-fuzz", derive(arbitrary::Arbitrary))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `__internal-fuzz` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `__internal-test` --> src/deflate.rs:137:17 | 137 | #[cfg(any(test, feature = "__internal-test"))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `__internal-test` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `__internal-fuzz` --> src/deflate.rs:1354:12 | 1354 | #[cfg_attr(feature = "__internal-fuzz", derive(arbitrary::Arbitrary))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `__internal-fuzz` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `ZLIB_DEBUG` --> src/deflate.rs:900:11 | 900 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `ZLIB_DEBUG` --> src/deflate.rs:903:11 | 903 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `ZLIB_DEBUG` --> src/deflate.rs:960:19 | 960 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `ZLIB_DEBUG` --> src/deflate.rs:962:19 | 962 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `ZLIB_DEBUG` --> src/lib.rs:23:15 | 23 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | ::: src/deflate.rs:992:9 | 992 | trace!(" l {:>2} v {:>4x} ", _len, _value); | ------------------------------------------ in this macro invocation | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `trace` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition value: `ZLIB_DEBUG` --> src/deflate.rs:996:15 | 996 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `ZLIB_DEBUG` --> src/deflate.rs:1003:15 | 1003 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `ZLIB_DEBUG` --> src/deflate.rs:1010:15 | 1010 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `ZLIB_DEBUG` --> src/deflate.rs:1017:15 | 1017 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `ZLIB_DEBUG` --> src/lib.rs:23:15 | 23 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | ::: src/deflate.rs:1070:9 | 1070 | trace!("\n--- Emit Tree: Last: {}\n", is_last_block as u8); | ---------------------------------------------------------- in this macro invocation | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `trace` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition value: `ZLIB_DEBUG` --> src/lib.rs:23:15 | 23 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | ::: src/deflate.rs:1085:9 | 1085 | / trace!( 1086 | | "\n+++ Emit End Block: Last: {} Pending: {} Total Out: {}\n", 1087 | | _is_last_block as u8, 1088 | | self.pending.pending().len(), 1089 | | "" 1090 | | ); | |_________- in this macro invocation | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `trace` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition value: `ZLIB_DEBUG` --> src/deflate.rs:1096:15 | 1096 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `ZLIB_DEBUG` --> src/deflate.rs:1577:15 | 1577 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `ZLIB_DEBUG` --> src/lib.rs:23:15 | 23 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | ::: src/deflate.rs:2091:5 | 2091 | trace!("\ngen_codes: max_code {max_code} "); | ------------------------------------------- in this macro invocation | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `trace` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition value: `ZLIB_DEBUG` --> src/lib.rs:23:15 | 23 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | ::: src/deflate.rs:2105:13 | 2105 | / trace!( 2106 | | "\nn {:>3} {} l {:>2} c {:>4x} ({:x}) ", 2107 | | n, 2108 | | if isgraph(n as u8) { ... | 2115 | | next_code[len as usize] - 1 2116 | | ); | |_____________- in this macro invocation | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `trace` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition value: `ZLIB_DEBUG` --> src/lib.rs:23:15 | 23 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | ::: src/deflate.rs:2194:5 | 2194 | trace!("\nbl counts: "); | ----------------------- in this macro invocation | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `trace` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition value: `ZLIB_DEBUG` --> src/lib.rs:23:15 | 23 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | ::: src/deflate.rs:2206:5 | 2206 | trace!("\nbl tree: sent {}", state.bit_writer.bits_sent); | -------------------------------------------------------- in this macro invocation | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `trace` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition value: `ZLIB_DEBUG` --> src/lib.rs:23:15 | 23 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | ::: src/deflate.rs:2212:5 | 2212 | trace!("\nlit tree: sent {}", state.bit_writer.bits_sent); | --------------------------------------------------------- in this macro invocation | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `trace` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition value: `ZLIB_DEBUG` --> src/lib.rs:23:15 | 23 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | ::: src/deflate.rs:2218:5 | 2218 | trace!("\ndist tree: sent {}", state.bit_writer.bits_sent); | ---------------------------------------------------------- in this macro invocation | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `trace` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition value: `ZLIB_DEBUG` --> src/lib.rs:23:15 | 23 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | ::: src/deflate.rs:2200:9 | 2200 | trace!("\nbl code {:>2} ", StaticTreeDesc::BL_ORDER[rank]); | ---------------------------------------------------------- in this macro invocation | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `trace` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition value: `ZLIB_DEBUG` --> src/lib.rs:23:15 | 23 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | ::: src/deflate.rs:2266:5 | 2266 | / trace!( 2267 | | "\ndyn trees: dyn {}, stat {}", 2268 | | state.opt_len, 2269 | | state.static_len 2270 | | ); | |_____- in this macro invocation | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `trace` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition value: `ZLIB_DEBUG` --> src/lib.rs:23:15 | 23 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | ::: src/deflate.rs:2335:9 | 2335 | / trace!( 2336 | | "\nopt {}({}) stat {}({}) stored {} lit {} ", 2337 | | opt_lenb, 2338 | | state.opt_len, ... | 2342 | | state.sym_buf.len() / 3 2343 | | ); | |_________- in this macro invocation | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `trace` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition value: `ZLIB_DEBUG` --> src/lib.rs:23:15 | 23 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | ::: src/deflate.rs:2307:13 | 2307 | / trace!( 2308 | | "\nlit data: dyn {}, stat {}", 2309 | | state.opt_len, 2310 | | state.static_len 2311 | | ); | |_____________- in this macro invocation | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `trace` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition value: `ZLIB_DEBUG` --> src/lib.rs:23:15 | 23 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | ::: src/deflate.rs:2320:13 | 2320 | / trace!( 2321 | | "\ndist data: dyn {}, stat {}", 2322 | | state.opt_len, 2323 | | state.static_len 2324 | | ); | |_____________- in this macro invocation | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `trace` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition value: `ZLIB_DEBUG` --> src/lib.rs:23:15 | 23 | #[cfg(feature = "ZLIB_DEBUG")] | ^^^^^^^^^^^^^^^^^^^^^^ | ::: src/deflate.rs:2776:5 | 2776 | trace!("\n[FLUSH {len} bytes]"); | ------------------------------- in this macro invocation | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `ZLIB_DEBUG` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration = note: this warning originates in the macro `trace` (in Nightly builds, run with -Z macro-backtrace for more info) warning: unexpected `cfg` condition value: `__internal-test` --> src/inflate.rs:53:7 | 53 | #[cfg(feature = "__internal-test")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `__internal-test` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `__internal-test` --> src/inflate.rs:57:7 | 57 | #[cfg(feature = "__internal-test")] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `__internal-test` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `__internal-fuzz-disable-checksum` --> src/inflate.rs:1368:30 | 1368 | if !cfg!(feature = "__internal-fuzz-disable-checksum") && self.wrap != 0 { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `c-allocator`, `default`, `rust-allocator`, and `std` = help: consider adding `__internal-fuzz-disable-checksum` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning[E0133]: call to unsafe function `crc32::acle::remainder` is unsafe and requires unsafe block --> src/crc32/acle.rs:13:9 | 13 | c = remainder(c, before); | ^^^^^^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior note: an unsafe function restricts its caller, but its body is safe by default --> src/crc32/acle.rs:7:1 | 7 | pub unsafe fn crc32_acle_aarch64(crc: u32, buf: &[u8]) -> u32 { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ note: the lint level is defined here --> src/crc32.rs:1:9 | 1 | #![warn(unsafe_op_in_unsafe_fn)] | ^^^^^^^^^^^^^^^^^^^^^^ warning[E0133]: call to unsafe function `crc32::acle::remainder` is unsafe and requires unsafe block --> src/crc32/acle.rs:23:9 | 23 | c = remainder(c, after); | ^^^^^^^^^^^^^^^^^^^ call to unsafe function | = note: for more information, see = note: consult the function's documentation for information on how to avoid undefined behavior warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique --> src/allocate.rs:168:12 | 168 | if self.zalloc == Allocator::RUST.zalloc { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: the address of the same function can vary between different codegen units = note: furthermore, different functions could have the same address after being merged together = note: for more information visit = note: `#[warn(unpredictable_function_pointer_comparisons)]` on by default help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint | 168 | if std::ptr::fn_addr_eq(self.zalloc, Allocator::RUST.zalloc) { | +++++++++++++++++++++ ~ + warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique --> src/allocate.rs:259:12 | 259 | if self.zalloc == Allocator::RUST.zalloc { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: the address of the same function can vary between different codegen units = note: furthermore, different functions could have the same address after being merged together = note: for more information visit help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint | 259 | if std::ptr::fn_addr_eq(self.zalloc, Allocator::RUST.zalloc) { | +++++++++++++++++++++ ~ + warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique --> src/allocate.rs:267:12 | 267 | if self.zalloc == Allocator::C.zalloc { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: the address of the same function can vary between different codegen units = note: furthermore, different functions could have the same address after being merged together = note: for more information visit help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint | 267 | if std::ptr::fn_addr_eq(self.zalloc, Allocator::C.zalloc) { | +++++++++++++++++++++ ~ + warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique --> src/allocate.rs:304:16 | 304 | if self.zfree == Allocator::RUST.zfree { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: the address of the same function can vary between different codegen units = note: furthermore, different functions could have the same address after being merged together = note: for more information visit help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint | 304 | if std::ptr::fn_addr_eq(self.zfree, Allocator::RUST.zfree) { | +++++++++++++++++++++ ~ + warning: function pointer comparisons do not produce meaningful results since their addresses are not guaranteed to be unique --> src/deflate.rs:411:39 | 411 | if (strategy != state.strategy || func != CONFIGURATION_TABLE[level as usize].func) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: the address of the same function can vary between different codegen units = note: furthermore, different functions could have the same address after being merged together = note: for more information visit help: refactor your code, or use `std::ptr::fn_addr_eq` to suppress the lint | 411 | if (strategy != state.strategy || !std::ptr::fn_addr_eq(func, CONFIGURATION_TABLE[level as usize].func)) | ++++++++++++++++++++++ ~ + For more information about this error, try `rustc --explain E0133`. Running `/usr/bin/rustc --crate-name cfg_if --edition=2018 /usr/share/cargo/registry/cfg-if-1.0.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 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("compiler_builtins", "core", "rustc-dep-of-std"))' -C metadata=ec77a83c9db011d1 -C extra-filename=-f0f105095b9794ce --out-dir /builddir/build/BUILD/rust-zlib-rs-0.4.2-build/zlib-rs-0.4.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-zlib-rs-0.4.2-build/zlib-rs-0.4.2/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/usr/bin/rustc --crate-name autocfg --edition=2015 /usr/share/cargo/registry/autocfg-1.4.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=f7ec776a2f213428 -C extra-filename=-4210950e68a07c7a --out-dir /builddir/build/BUILD/rust-zlib-rs-0.4.2-build/zlib-rs-0.4.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-zlib-rs-0.4.2-build/zlib-rs-0.4.2/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` warning: `zlib-rs` (lib) generated 39 warnings (run `cargo fix --lib -p zlib-rs` to apply 1 suggestion) Compiling crc32fast v1.4.2 Running `/usr/bin/rustc --crate-name crc32fast --edition=2015 /usr/share/cargo/registry/crc32fast-1.4.2/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "nightly", "std"))' -C metadata=81ca7aabb92ba44f -C extra-filename=-0b89f800e25fac96 --out-dir /builddir/build/BUILD/rust-zlib-rs-0.4.2-build/zlib-rs-0.4.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-zlib-rs-0.4.2-build/zlib-rs-0.4.2/target/rpm/deps --extern cfg_if=/builddir/build/BUILD/rust-zlib-rs-0.4.2-build/zlib-rs-0.4.2/target/rpm/deps/libcfg_if-f0f105095b9794ce.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/builddir/build/BUILD/rust-zlib-rs-0.4.2-build/zlib-rs-0.4.2/target/rpm/build/libc-a32b14cb35a997c8/build-script-build` Running `/usr/bin/rustc --crate-name libc --edition=2021 /usr/share/cargo/registry/libc-0.2.170/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("align", "const-extern-fn", "default", "extra_traits", "rustc-dep-of-std", "rustc-std-workspace-core", "std", "use_std"))' -C metadata=db3c62d51bc7e1d8 -C extra-filename=-5bce2ef9045fb788 --out-dir /builddir/build/BUILD/rust-zlib-rs-0.4.2-build/zlib-rs-0.4.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-zlib-rs-0.4.2-build/zlib-rs-0.4.2/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn --cfg freebsd11 --cfg libc_const_extern_fn --check-cfg 'cfg(emscripten_old_stat_abi)' --check-cfg 'cfg(espidf_time32)' --check-cfg 'cfg(freebsd10)' --check-cfg 'cfg(freebsd11)' --check-cfg 'cfg(freebsd12)' --check-cfg 'cfg(freebsd13)' --check-cfg 'cfg(freebsd14)' --check-cfg 'cfg(freebsd15)' --check-cfg 'cfg(libc_const_extern_fn)' --check-cfg 'cfg(libc_deny_warnings)' --check-cfg 'cfg(libc_thread_local)' --check-cfg 'cfg(libc_ctest)' --check-cfg 'cfg(linux_time_bits64)' --check-cfg 'cfg(target_os,values("switch","aix","ohos","hurd","rtems","visionos","nuttx"))' --check-cfg 'cfg(target_env,values("illumos","wasi","aix","ohos"))' --check-cfg 'cfg(target_arch,values("loongarch64","mips32r6","mips64r6","csky"))'` 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=b5042a0c6a8edccb -C extra-filename=-e6d472d340067cb0 --out-dir /builddir/build/BUILD/rust-zlib-rs-0.4.2-build/zlib-rs-0.4.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-zlib-rs-0.4.2-build/zlib-rs-0.4.2/target/rpm/deps --extern cfg_if=/builddir/build/BUILD/rust-zlib-rs-0.4.2-build/zlib-rs-0.4.2/target/rpm/deps/libcfg_if-f0f105095b9794ce.rmeta --extern libc=/builddir/build/BUILD/rust-zlib-rs-0.4.2-build/zlib-rs-0.4.2/target/rpm/deps/liblibc-5bce2ef9045fb788.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` 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=1f239cdde76b6db8 -C extra-filename=-bc078960d1373d96 --out-dir /builddir/build/BUILD/rust-zlib-rs-0.4.2-build/zlib-rs-0.4.2/target/rpm/build/memoffset-bc078960d1373d96 -L dependency=/builddir/build/BUILD/rust-zlib-rs-0.4.2-build/zlib-rs-0.4.2/target/rpm/deps --extern autocfg=/builddir/build/BUILD/rust-zlib-rs-0.4.2-build/zlib-rs-0.4.2/target/rpm/deps/libautocfg-4210950e68a07c7a.rlib --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling rand_core v0.6.4 Running `/usr/bin/rustc --crate-name rand_core --edition=2018 /usr/share/cargo/registry/rand_core-0.6.4/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="getrandom"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "getrandom", "serde", "serde1", "std"))' -C metadata=ad9de9480d1490c6 -C extra-filename=-c530aa301d7605f2 --out-dir /builddir/build/BUILD/rust-zlib-rs-0.4.2-build/zlib-rs-0.4.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-zlib-rs-0.4.2-build/zlib-rs-0.4.2/target/rpm/deps --extern getrandom=/builddir/build/BUILD/rust-zlib-rs-0.4.2-build/zlib-rs-0.4.2/target/rpm/deps/libgetrandom-e6d472d340067cb0.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --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=2ca70baa3c647387 -C extra-filename=-ec276b33f2a1a184 --out-dir /builddir/build/BUILD/rust-zlib-rs-0.4.2-build/zlib-rs-0.4.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-zlib-rs-0.4.2-build/zlib-rs-0.4.2/target/rpm/deps --extern rand_core=/builddir/build/BUILD/rust-zlib-rs-0.4.2-build/zlib-rs-0.4.2/target/rpm/deps/librand_core-c530aa301d7605f2.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Running `/builddir/build/BUILD/rust-zlib-rs-0.4.2-build/zlib-rs-0.4.2/target/rpm/build/memoffset-bc078960d1373d96/build-script-build` Running `/usr/bin/rustc --crate-name memoffset --edition=2015 /usr/share/cargo/registry/memoffset-0.9.1/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="default"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "unstable_const", "unstable_offset_of"))' -C metadata=a6970b13391f0f3e -C extra-filename=-1df421c34e0307e6 --out-dir /builddir/build/BUILD/rust-zlib-rs-0.4.2-build/zlib-rs-0.4.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-zlib-rs-0.4.2-build/zlib-rs-0.4.2/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn --cfg tuple_ty --cfg allow_clippy --cfg maybe_uninit --cfg doctests --cfg raw_ref_macros --cfg stable_const --cfg stable_offset_of` Compiling quickcheck v1.0.3 Running `/usr/bin/rustc --crate-name quickcheck --edition=2018 /usr/share/cargo/registry/quickcheck-1.0.3/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "env_logger", "log", "regex", "use_logging"))' -C metadata=c87c887d6924a0d7 -C extra-filename=-0279bfecf410bf0b --out-dir /builddir/build/BUILD/rust-zlib-rs-0.4.2-build/zlib-rs-0.4.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-zlib-rs-0.4.2-build/zlib-rs-0.4.2/target/rpm/deps --extern rand=/builddir/build/BUILD/rust-zlib-rs-0.4.2-build/zlib-rs-0.4.2/target/rpm/deps/librand-ec276b33f2a1a184.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` Compiling zlib-rs v0.4.2 (/builddir/build/BUILD/rust-zlib-rs-0.4.2-build/zlib-rs-0.4.2) Running `/usr/bin/rustc --crate-name zlib_rs --edition=2021 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --test --cfg 'feature="c-allocator"' --cfg 'feature="default"' --cfg 'feature="rust-allocator"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("c-allocator", "default", "rust-allocator", "std"))' -C metadata=ec0055b454ed9d13 -C extra-filename=-6c21a0a56515c119 --out-dir /builddir/build/BUILD/rust-zlib-rs-0.4.2-build/zlib-rs-0.4.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-zlib-rs-0.4.2-build/zlib-rs-0.4.2/target/rpm/deps --extern crc32fast=/builddir/build/BUILD/rust-zlib-rs-0.4.2-build/zlib-rs-0.4.2/target/rpm/deps/libcrc32fast-0b89f800e25fac96.rlib --extern memoffset=/builddir/build/BUILD/rust-zlib-rs-0.4.2-build/zlib-rs-0.4.2/target/rpm/deps/libmemoffset-1df421c34e0307e6.rlib --extern quickcheck=/builddir/build/BUILD/rust-zlib-rs-0.4.2-build/zlib-rs-0.4.2/target/rpm/deps/libquickcheck-0279bfecf410bf0b.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none -Cforce-frame-pointers=yes -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` warning: `zlib-rs` (lib test) generated 39 warnings (39 duplicates) Finished `rpm` profile [optimized + debuginfo] target(s) in 24.72s Running `/builddir/build/BUILD/rust-zlib-rs-0.4.2-build/zlib-rs-0.4.2/target/rpm/deps/zlib_rs-6c21a0a56515c119` running 81 tests test adler32::neon::tests::start_alignment ... ok test adler32::test::naive_is_fancy_small_inputs ... ok test allocate::tests::test_allocate_zeroed ... ok test allocate::tests::test_deallocate_null ... ok test adler32::neon::tests::large_input ... ok test allocate::tests::unaligned_allocator_0 ... ok test allocate::tests::unaligned_allocator_1 ... ok test allocate::tests::unaligned_allocator_16 ... ok test allocate::tests::unaligned_allocator_2 ... ok test allocate::tests::unaligned_allocator_32 ... ok test allocate::tests::unaligned_allocator_4 ... ok test allocate::tests::unaligned_allocator_64 ... ok test adler32::neon::tests::adler32_neon_is_adler32_rust ... ok test adler32::test::test_adler32_combine ... ok test allocate::tests::unaligned_allocator_8 ... ok test crc32::acle::tests::test_crc32b ... ok test crc32::acle::tests::test_crc32h ... ok test crc32::acle::tests::crc32_acle_aarch64_is_crc32fast ... ok test crc32::acle::tests::test_crc32d ... ok test crc32::acle::tests::test_crc32w ... 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::test::chunked ... ok test crc32::test::test_crc32_fold ... ok test crc32::test::test_crc32_fold_align ... ok test deflate::compare256::neon::test_compare256 ... ok test deflate::compare256::rust::test_compare256_rle ... ok test deflate::hash_calc::tests::roll_hash_calc ... ok test crc32::test::nasty_alignment ... ok test crc32::braid::test::braid_6_is_crc32fast ... ok test deflate::compare256::rust::test_compare256 ... ok test crc32::braid::test::braid_4_is_crc32fast ... ok test deflate::hash_calc::tests::standard_hash_calc ... ok test crc32::braid::test::naive_is_crc32fast ... ok test deflate::slide_hash::tests::test_slide_hash_neon ... ok test crc32::braid::test::words_is_crc32fast ... ok test deflate::slide_hash::tests::test_slide_hash_rust ... ok test deflate::test::detect_data_type_basic ... ok test deflate::test::block_flush ... ok test crc32::braid::test::braid_5_is_crc32fast ... ok test crc32::combine::test::test_crc32_combine ... ok test deflate::test::fill_window_out_of_bounds ... ok test deflate::slide_hash::tests::slide_is_rust_slide ... ok test deflate::test::full_flush ... ok test deflate::test::copy_invalid_allocator::fail_0 ... ok test crc32::test::crc_fold_is_crc32fast ... ok test deflate::test::copy_invalid_allocator::fail_5 ... ok test deflate::test::copy_invalid_allocator::fail_3 ... ok test deflate::test::end_data_error ... ok test deflate::test::from_stream_mut ... ok test deflate::test::hash_calc_difference ... ok test deflate::test::gzip_with_header ... ok test deflate::test::gzip_stored_block_checksum ... ok test deflate::test::gzip_header_pending_flush ... ok test deflate::test::inflate_window_copy_slice ... ok test deflate::test::gzip_no_header ... ok test deflate::test::init_invalid_allocator ... ok test deflate::test::insufficient_compress_space ... ok test deflate::test::hello_world_quick_random ... ok test deflate::test::hello_world_quick ... ok test deflate::test::hello_world_huffman_only ... ok test deflate::test::invalid_deflate_config::window_bits_too_low ... ok test deflate::test::invalid_deflate_config::window_bits_too_high ... ok test deflate::test::invalid_deflate_config::window_bits_correction ... ok test deflate::test::simple_rle ... ok test deflate::test::partial_flush ... ok test deflate::test::invalid_deflate_config::sanity_check ... ok test inflate::inftrees::test::generate_fixed_distance_table ... ok test inflate::inftrees::test::not_enough_errors ... ok test inflate::tests::uncompress_buffer_overflow ... ok test inflate::window::test::extend_crosses_bounds ... ok test deflate::test::test_reset_keep ... ok test inflate::inftrees::test::generate_fixed_length_table ... ok test inflate::window::test::extend_in_bounds ... ok test deflate::test::split_deflate ... ok test deflate::test::sync_flush ... ok test inflate::window::test::extend_out_of_bounds ... ok test inflate::writer::test::copy_match_insufficient_space_for_simd ... ok test inflate::writer::test::copy_chunk_unchecked ... ok test inflate::writer::test::copy_match ... ok test result: ok. 81 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s 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 /builddir/build/BUILD/rust-zlib-rs-0.4.2-build/zlib-rs-0.4.2 -L dependency=/builddir/build/BUILD/rust-zlib-rs-0.4.2-build/zlib-rs-0.4.2/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-zlib-rs-0.4.2-build/zlib-rs-0.4.2/target/rpm/deps --extern crc32fast=/builddir/build/BUILD/rust-zlib-rs-0.4.2-build/zlib-rs-0.4.2/target/rpm/deps/libcrc32fast-0b89f800e25fac96.rlib --extern memoffset=/builddir/build/BUILD/rust-zlib-rs-0.4.2-build/zlib-rs-0.4.2/target/rpm/deps/libmemoffset-1df421c34e0307e6.rlib --extern quickcheck=/builddir/build/BUILD/rust-zlib-rs-0.4.2-build/zlib-rs-0.4.2/target/rpm/deps/libquickcheck-0279bfecf410bf0b.rlib --extern zlib_rs=/builddir/build/BUILD/rust-zlib-rs-0.4.2-build/zlib-rs-0.4.2/target/rpm/deps/libzlib_rs-9ada85190cd55b3d.rlib -C embed-bitcode=no --cfg 'feature="c-allocator"' --cfg 'feature="default"' --cfg 'feature="rust-allocator"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("c-allocator", "default", "rust-allocator", "std"))' --error-format human` running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rust-zlib-rs-devel-0.4.2-1.fc43.noarch warning: File listed twice: /usr/share/cargo/registry/zlib-rs-0.4.2/LICENSE warning: File listed twice: /usr/share/cargo/registry/zlib-rs-0.4.2/README.md Provides: crate(zlib-rs) = 0.4.2 rust-zlib-rs-devel = 0.4.2-1.fc43 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.4.2-1.fc43.noarch Provides: crate(zlib-rs/default) = 0.4.2 rust-zlib-rs+default-devel = 0.4.2-1.fc43 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.4.2 crate(zlib-rs/c-allocator) = 0.4.2 crate(zlib-rs/std) = 0.4.2 Processing files: rust-zlib-rs+c-allocator-devel-0.4.2-1.fc43.noarch Provides: crate(zlib-rs/c-allocator) = 0.4.2 rust-zlib-rs+c-allocator-devel = 0.4.2-1.fc43 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.4.2 Processing files: rust-zlib-rs+rust-allocator-devel-0.4.2-1.fc43.noarch Provides: crate(zlib-rs/rust-allocator) = 0.4.2 rust-zlib-rs+rust-allocator-devel = 0.4.2-1.fc43 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.4.2 Processing files: rust-zlib-rs+std-devel-0.4.2-1.fc43.noarch Provides: crate(zlib-rs/std) = 0.4.2 rust-zlib-rs+std-devel = 0.4.2-1.fc43 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.4.2 crate(zlib-rs/rust-allocator) = 0.4.2 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILD/rust-zlib-rs-0.4.2-build/BUILDROOT Wrote: /builddir/build/SRPMS/rust-zlib-rs-0.4.2-1.fc43.src.rpm Wrote: /builddir/build/RPMS/rust-zlib-rs+default-devel-0.4.2-1.fc43.noarch.rpm Wrote: /builddir/build/RPMS/rust-zlib-rs+rust-allocator-devel-0.4.2-1.fc43.noarch.rpm Wrote: /builddir/build/RPMS/rust-zlib-rs+std-devel-0.4.2-1.fc43.noarch.rpm Wrote: /builddir/build/RPMS/rust-zlib-rs+c-allocator-devel-0.4.2-1.fc43.noarch.rpm Wrote: /builddir/build/RPMS/rust-zlib-rs-devel-0.4.2-1.fc43.noarch.rpm RPM build warnings: File listed twice: /usr/share/cargo/registry/zlib-rs-0.4.2/LICENSE File listed twice: /usr/share/cargo/registry/zlib-rs-0.4.2/README.md Child return code was: 0