Mock Version: 5.6 Mock Version: 5.6 Mock Version: 5.6 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-inflate.spec'], chrootPath='/var/lib/mock/f42-build-54947587-6531343/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'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ba_rdws7:/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']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ba_rdws7:/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', '9503f3f9ba554c218b70546925926766', '-D', '/var/lib/mock/f42-build-54947587-6531343/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ba_rdws7:/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-inflate.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=1729123200 Wrote: /builddir/build/SRPMS/rust-inflate-0.4.5-19.fc42.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-inflate.spec'], chrootPath='/var/lib/mock/f42-build-54947587-6531343/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'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ba_rdws7:/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']unshare_net=TrueraiseExc=FalseprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ba_rdws7:/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', 'b980ef6effe94b57b51e11807fac77db', '-D', '/var/lib/mock/f42-build-54947587-6531343/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ba_rdws7:/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-inflate.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=1729123200 Executing(%mkbuilddir): /bin/sh -e /var/tmp/rpm-tmp.tDMyk1 + umask 022 + cd /builddir/build/BUILD/rust-inflate-0.4.5-build + test -d /builddir/build/BUILD/rust-inflate-0.4.5-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /builddir/build/BUILD/rust-inflate-0.4.5-build + /usr/bin/rm -rf /builddir/build/BUILD/rust-inflate-0.4.5-build + /usr/bin/mkdir -p /builddir/build/BUILD/rust-inflate-0.4.5-build + /usr/bin/mkdir -p /builddir/build/BUILD/rust-inflate-0.4.5-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.6G3ria + umask 022 + cd /builddir/build/BUILD/rust-inflate-0.4.5-build + cd /builddir/build/BUILD/rust-inflate-0.4.5-build + rm -rf inflate-0.4.5 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/inflate-0.4.5.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd inflate-0.4.5 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + 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.tsjHIK + umask 022 + cd /builddir/build/BUILD/rust-inflate-0.4.5-build + cd inflate-0.4.5 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-inflate-0.4.5-19.fc42.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-inflate.spec'], chrootPath='/var/lib/mock/f42-build-54947587-6531343/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'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ba_rdws7:/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']unshare_net=TrueraiseExc=FalseprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ba_rdws7:/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', '27d791b69846495c9bd253fba5426f12', '-D', '/var/lib/mock/f42-build-54947587-6531343/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ba_rdws7:/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-inflate.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=1729123200 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.hRymVE + umask 022 + cd /builddir/build/BUILD/rust-inflate-0.4.5-build + cd inflate-0.4.5 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-inflate-0.4.5-19.fc42.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-inflate.spec'], chrootPath='/var/lib/mock/f42-build-54947587-6531343/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'nspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ba_rdws7:/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']unshare_net=TrueprintOutput=False) Using nspawn with args ['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ba_rdws7:/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', 'a41b66405e6a47ec98759b064756c528', '-D', '/var/lib/mock/f42-build-54947587-6531343/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.ba_rdws7:/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-inflate.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=1729123200 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.y71N2Q + umask 022 + cd /builddir/build/BUILD/rust-inflate-0.4.5-build + cd inflate-0.4.5 + /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.4IaA4v + umask 022 + cd /builddir/build/BUILD/rust-inflate-0.4.5-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 inflate-0.4.5 + /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 warning: no edition set: defaulting to the 2015 edition while the latest is 2021 Compiling adler32 v1.2.0 Running `/usr/bin/rustc --crate-name adler32 --edition=2018 /usr/share/cargo/registry/adler32-1.2.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)' --check-cfg 'cfg(feature, values("default", "std"))' -C metadata=26e84ea6df6b1029 -C extra-filename=-26e84ea6df6b1029 --out-dir /builddir/build/BUILD/rust-inflate-0.4.5-build/inflate-0.4.5/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-inflate-0.4.5-build/inflate-0.4.5/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 inflate v0.4.5 (/builddir/build/BUILD/rust-inflate-0.4.5-build/inflate-0.4.5) Running `/usr/bin/rustc --crate-name inflate --edition=2015 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)' --check-cfg 'cfg(feature, values("default", "unstable"))' -C metadata=ce7cfdbc0da47fd5 -C extra-filename=-ce7cfdbc0da47fd5 --out-dir /builddir/build/BUILD/rust-inflate-0.4.5-build/inflate-0.4.5/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-inflate-0.4.5-build/inflate-0.4.5/target/rpm/deps --extern adler32=/builddir/build/BUILD/rust-inflate-0.4.5-build/inflate-0.4.5/target/rpm/deps/libadler32-26e84ea6df6b1029.rmeta -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 name: `debug` --> src/lib.rs:183:7 | 183 | #[cfg(debug)] | ^^^^^ | = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition name: `debug` --> src/lib.rs:185:11 | 185 | #[cfg(not(debug))] | ^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: use of deprecated macro `try`: use the `?` operator instead --> src/writer.rs:37:9 | 37 | try!(self.flush()); | ^^^ | = note: `#[warn(deprecated)]` on by default warning: use of deprecated macro `try`: use the `?` operator instead --> src/writer.rs:54:13 | 54 | try!(self.writer.write(result)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/writer.rs:52:44 | 52 | let (num_bytes_read, result) = try!(update(&mut self.inflater, &buf[n..])); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/writer.rs:61:9 | 61 | try!(self.writer.write(result)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/writer.rs:60:27 | 60 | let (_, result) = try!(update(&mut self.inflater, &[])); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/utils.rs:20:39 | 20 | let (num_bytes_read, bytes) = try!(inflater.update(&data[n..])); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/reader.rs:180:25 | 180 | let input = try!(self.reader.fill_buf()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:289:16 | 289 | code = try!( | ^^^ ... 327 | / with_codes!(clens, 7 => u8, |i: u8, code: u8, bits| -> _ { 328 | | /*let base = match BIT_REV_U8.get((code << (8 - bits)) as usize) { 329 | | Some(&base) => base, 330 | | None => return Err("invalid length code".to_owned()) ... | 336 | | Ok(()) 337 | | }); | |__________- in this macro invocation | = note: this warning originates in the macro `with_codes` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:302:28 | 302 | let new_code = try!( | ^^^ ... 327 | / with_codes!(clens, 7 => u8, |i: u8, code: u8, bits| -> _ { 328 | | /*let base = match BIT_REV_U8.get((code << (8 - bits)) as usize) { 329 | | Some(&base) => base, 330 | | None => return Err("invalid length code".to_owned()) ... | 336 | | Ok(()) 337 | | }); | |__________- in this macro invocation | = note: this warning originates in the macro `with_codes` (in Nightly builds, run with -Z macro-backtrace for more info) warning: `...` range patterns are deprecated --> src/lib.rs:368:18 | 368 | 0...15 => self.result.push(code), | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:397:19 | 397 | let lit = try!(DynHuffman16::new(&self.result[..num_lit])); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:398:20 | 398 | let dist = try!(DynHuffman16::new(&self.result[num_lit..])); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:289:16 | 289 | code = try!( | ^^^ ... 419 | / with_codes!(clens, 15 => u16, |i: u16, code: u16, bits: u8| -> _ { 420 | | let entry = i | ((bits as u16) << 12); 421 | | if bits <= 8 { 422 | | let base = match BIT_REV_U8.get((code << (8 - bits)) as usize) { ... | 471 | | Ok(()) 472 | | }); | |__________- in this macro invocation | = note: this warning originates in the macro `with_codes` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:302:28 | 302 | let new_code = try!( | ^^^ ... 419 | / with_codes!(clens, 15 => u16, |i: u16, code: u16, bits: u8| -> _ { 420 | | let entry = i | ((bits as u16) << 12); 421 | | if bits <= 8 { 422 | | let base = match BIT_REV_U8.get((code << (8 - bits)) as usize) { ... | 471 | | Ok(()) 472 | | }); | |__________- in this macro invocation | = note: this warning originates in the macro `with_codes` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:855:53 | 855 | ... ok!(BlockDynCodeLengths(try!(CodeLengthReader::new(clens, hlit as u16 + 256, hdist)))) | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:859:40 | 859 | let finished = try!(reader.read(&mut stream)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:861:47 | 861 | ... let (lit, dist) = try!(reader.to_lit_and_dist()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:875:60 | 875 | ... let (save, code16) = match try!(huff_lit_len.read(&mut stream)) { | ^^^ warning: `...` range patterns are deprecated --> src/lib.rs:882:38 | 882 | ... 0...255 => { | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/lib.rs:886:40 | 886 | ... 256...285 => {} | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/lib.rs:910:38 | 910 | ... 1...8 => len!(code, 0), | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/lib.rs:911:38 | 911 | ... 9...12 => len!(code, 1), | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/lib.rs:912:39 | 912 | ... 13...16 => len!(code, 2), | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/lib.rs:913:39 | 913 | ... 17...20 => len!(code, 3), | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/lib.rs:914:39 | 914 | ... 21...24 => len!(code, 4), | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/lib.rs:915:39 | 915 | ... 25...28 => len!(code, 5), | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:921:59 | 921 | ... let (save, dist_code) = match try!(huff_dist.read(&mut stream)) { | ^^^ warning: `...` range patterns are deprecated --> src/lib.rs:930:34 | 930 | ... 0...3 => len_dist_case!(0), | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:690:24 | 690 | let left = try!(self.run_len_dist($len, dist)); | ^^^ ... 930 | 0...3 => len_dist_case!(0), | ----------------- in this macro invocation | = note: this warning originates in the macro `run_len_dist` which comes from the expansion of the macro `len_dist_case` (in Nightly builds, run with -Z macro-backtrace for more info) warning: `...` range patterns are deprecated --> src/lib.rs:931:34 | 931 | ... 4...5 => len_dist_case!(1), | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:690:24 | 690 | let left = try!(self.run_len_dist($len, dist)); | ^^^ ... 931 | 4...5 => len_dist_case!(1), | ----------------- in this macro invocation | = note: this warning originates in the macro `run_len_dist` which comes from the expansion of the macro `len_dist_case` (in Nightly builds, run with -Z macro-backtrace for more info) warning: `...` range patterns are deprecated --> src/lib.rs:932:34 | 932 | ... 6...7 => len_dist_case!(2), | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:690:24 | 690 | let left = try!(self.run_len_dist($len, dist)); | ^^^ ... 932 | 6...7 => len_dist_case!(2), | ----------------- in this macro invocation | = note: this warning originates in the macro `run_len_dist` which comes from the expansion of the macro `len_dist_case` (in Nightly builds, run with -Z macro-backtrace for more info) warning: `...` range patterns are deprecated --> src/lib.rs:933:34 | 933 | ... 8...9 => len_dist_case!(3), | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:690:24 | 690 | let left = try!(self.run_len_dist($len, dist)); | ^^^ ... 933 | 8...9 => len_dist_case!(3), | ----------------- in this macro invocation | = note: this warning originates in the macro `run_len_dist` which comes from the expansion of the macro `len_dist_case` (in Nightly builds, run with -Z macro-backtrace for more info) warning: `...` range patterns are deprecated --> src/lib.rs:934:35 | 934 | ... 10...11 => len_dist_case!(4), | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:690:24 | 690 | let left = try!(self.run_len_dist($len, dist)); | ^^^ ... 934 | 10...11 => len_dist_case!(4), | ----------------- in this macro invocation | = note: this warning originates in the macro `run_len_dist` which comes from the expansion of the macro `len_dist_case` (in Nightly builds, run with -Z macro-backtrace for more info) warning: `...` range patterns are deprecated --> src/lib.rs:935:35 | 935 | ... 12...13 => len_dist_case!(5), | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:690:24 | 690 | let left = try!(self.run_len_dist($len, dist)); | ^^^ ... 935 | 12...13 => len_dist_case!(5), | ----------------- in this macro invocation | = note: this warning originates in the macro `run_len_dist` which comes from the expansion of the macro `len_dist_case` (in Nightly builds, run with -Z macro-backtrace for more info) warning: `...` range patterns are deprecated --> src/lib.rs:936:35 | 936 | ... 14...15 => len_dist_case!(6), | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:690:24 | 690 | let left = try!(self.run_len_dist($len, dist)); | ^^^ ... 936 | 14...15 => len_dist_case!(6), | ----------------- in this macro invocation | = note: this warning originates in the macro `run_len_dist` which comes from the expansion of the macro `len_dist_case` (in Nightly builds, run with -Z macro-backtrace for more info) warning: `...` range patterns are deprecated --> src/lib.rs:937:35 | 937 | ... 16...17 => len_dist_case!(7), | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:690:24 | 690 | let left = try!(self.run_len_dist($len, dist)); | ^^^ ... 937 | 16...17 => len_dist_case!(7), | ----------------- in this macro invocation | = note: this warning originates in the macro `run_len_dist` which comes from the expansion of the macro `len_dist_case` (in Nightly builds, run with -Z macro-backtrace for more info) warning: `...` range patterns are deprecated --> src/lib.rs:938:35 | 938 | ... 18...19 => len_dist_case!(8), | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:690:24 | 690 | let left = try!(self.run_len_dist($len, dist)); | ^^^ ... 938 | 18...19 => len_dist_case!(8), | ----------------- in this macro invocation | = note: this warning originates in the macro `run_len_dist` which comes from the expansion of the macro `len_dist_case` (in Nightly builds, run with -Z macro-backtrace for more info) warning: `...` range patterns are deprecated --> src/lib.rs:939:35 | 939 | ... 20...21 => len_dist_case!(9), | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:690:24 | 690 | let left = try!(self.run_len_dist($len, dist)); | ^^^ ... 939 | 20...21 => len_dist_case!(9), | ----------------- in this macro invocation | = note: this warning originates in the macro `run_len_dist` which comes from the expansion of the macro `len_dist_case` (in Nightly builds, run with -Z macro-backtrace for more info) warning: `...` range patterns are deprecated --> src/lib.rs:940:35 | 940 | ... 22...23 => len_dist_case!(10), | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:690:24 | 690 | let left = try!(self.run_len_dist($len, dist)); | ^^^ ... 940 | 22...23 => len_dist_case!(10), | ------------------ in this macro invocation | = note: this warning originates in the macro `run_len_dist` which comes from the expansion of the macro `len_dist_case` (in Nightly builds, run with -Z macro-backtrace for more info) warning: `...` range patterns are deprecated --> src/lib.rs:941:35 | 941 | ... 24...25 => len_dist_case!(11), | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:690:24 | 690 | let left = try!(self.run_len_dist($len, dist)); | ^^^ ... 941 | 24...25 => len_dist_case!(11), | ------------------ in this macro invocation | = note: this warning originates in the macro `run_len_dist` which comes from the expansion of the macro `len_dist_case` (in Nightly builds, run with -Z macro-backtrace for more info) warning: `...` range patterns are deprecated --> src/lib.rs:942:35 | 942 | ... 26...27 => len_dist_case!(12), | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:690:24 | 690 | let left = try!(self.run_len_dist($len, dist)); | ^^^ ... 942 | 26...27 => len_dist_case!(12), | ------------------ in this macro invocation | = note: this warning originates in the macro `run_len_dist` which comes from the expansion of the macro `len_dist_case` (in Nightly builds, run with -Z macro-backtrace for more info) warning: `...` range patterns are deprecated --> src/lib.rs:943:35 | 943 | ... 28...29 => len_dist_case!(13), | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:690:24 | 690 | let left = try!(self.run_len_dist($len, dist)); | ^^^ ... 943 | 28...29 => len_dist_case!(13), | ------------------ in this macro invocation | = note: this warning originates in the macro `run_len_dist` which comes from the expansion of the macro `len_dist_case` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:690:24 | 690 | let left = try!(self.run_len_dist($len, dist)); | ^^^ ... 951 | run_len_dist!(len, dist => (0, next, state)); | -------------------------------------------- in this macro invocation | = note: this warning originates in the macro `run_len_dist` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:1027:13 | 1027 | try!(self.checksum.check(c)); | ^^^ warning: `inflate` (lib) generated 59 warnings (run `cargo fix --lib -p inflate` to apply 23 suggestions) Finished `rpm` profile [optimized + debuginfo] target(s) in 1.27s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.NdA4iK + umask 022 + cd /builddir/build/BUILD/rust-inflate-0.4.5-build + '[' /builddir/build/BUILD/rust-inflate-0.4.5-build/BUILDROOT '!=' / ']' + rm -rf /builddir/build/BUILD/rust-inflate-0.4.5-build/BUILDROOT ++ dirname /builddir/build/BUILD/rust-inflate-0.4.5-build/BUILDROOT + mkdir -p /builddir/build/BUILD/rust-inflate-0.4.5-build + mkdir /builddir/build/BUILD/rust-inflate-0.4.5-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 inflate-0.4.5 + 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=inflate ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=0.4.5 + REG_DIR=/builddir/build/BUILD/rust-inflate-0.4.5-build/BUILDROOT/usr/share/cargo/registry/inflate-0.4.5 + /usr/bin/mkdir -p /builddir/build/BUILD/rust-inflate-0.4.5-build/BUILDROOT/usr/share/cargo/registry/inflate-0.4.5 + /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-inflate-0.4.5-build/BUILDROOT/usr/share/cargo/registry/inflate-0.4.5 warning: no (git) VCS found for `/builddir/build/BUILD/rust-inflate-0.4.5-build/inflate-0.4.5` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /builddir/build/BUILD/rust-inflate-0.4.5-build/BUILDROOT/usr/share/cargo/registry/inflate-0.4.5/Cargo.toml + /usr/bin/rm -f /builddir/build/BUILD/rust-inflate-0.4.5-build/BUILDROOT/usr/share/cargo/registry/inflate-0.4.5/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-inflate-0.4.5-build/BUILDROOT Scanned 8 directories and 11 files, processed 0 inodes, 0 modified (0 replaced + 0 rewritten), 0 unsupported format, 0 errors Reading /builddir/build/BUILD/rust-inflate-0.4.5-build/SPECPARTS/rpm-debuginfo.specpart Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.xwcjlN + umask 022 + cd /builddir/build/BUILD/rust-inflate-0.4.5-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 inflate-0.4.5 + /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 warning: no edition set: defaulting to the 2015 edition while the latest is 2021 Fresh adler32 v1.2.0 warning: unexpected `cfg` condition name: `debug` --> src/lib.rs:183:7 | 183 | #[cfg(debug)] | ^^^^^ | = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition name: `debug` --> src/lib.rs:185:11 | 185 | #[cfg(not(debug))] | ^^^^^ | = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(debug)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(debug)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: use of deprecated macro `try`: use the `?` operator instead --> src/writer.rs:37:9 | 37 | try!(self.flush()); | ^^^ | = note: `#[warn(deprecated)]` on by default warning: use of deprecated macro `try`: use the `?` operator instead --> src/writer.rs:54:13 | 54 | try!(self.writer.write(result)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/writer.rs:52:44 | 52 | let (num_bytes_read, result) = try!(update(&mut self.inflater, &buf[n..])); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/writer.rs:61:9 | 61 | try!(self.writer.write(result)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/writer.rs:60:27 | 60 | let (_, result) = try!(update(&mut self.inflater, &[])); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/utils.rs:20:39 | 20 | let (num_bytes_read, bytes) = try!(inflater.update(&data[n..])); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/reader.rs:180:25 | 180 | let input = try!(self.reader.fill_buf()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:289:16 | 289 | code = try!( | ^^^ ... 327 | / with_codes!(clens, 7 => u8, |i: u8, code: u8, bits| -> _ { 328 | | /*let base = match BIT_REV_U8.get((code << (8 - bits)) as usize) { 329 | | Some(&base) => base, 330 | | None => return Err("invalid length code".to_owned()) ... | 336 | | Ok(()) 337 | | }); | |__________- in this macro invocation | = note: this warning originates in the macro `with_codes` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:302:28 | 302 | let new_code = try!( | ^^^ ... 327 | / with_codes!(clens, 7 => u8, |i: u8, code: u8, bits| -> _ { 328 | | /*let base = match BIT_REV_U8.get((code << (8 - bits)) as usize) { 329 | | Some(&base) => base, 330 | | None => return Err("invalid length code".to_owned()) ... | 336 | | Ok(()) 337 | | }); | |__________- in this macro invocation | = note: this warning originates in the macro `with_codes` (in Nightly builds, run with -Z macro-backtrace for more info) warning: `...` range patterns are deprecated --> src/lib.rs:368:18 | 368 | 0...15 => self.result.push(code), | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:397:19 | 397 | let lit = try!(DynHuffman16::new(&self.result[..num_lit])); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:398:20 | 398 | let dist = try!(DynHuffman16::new(&self.result[num_lit..])); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:289:16 | 289 | code = try!( | ^^^ ... 419 | / with_codes!(clens, 15 => u16, |i: u16, code: u16, bits: u8| -> _ { 420 | | let entry = i | ((bits as u16) << 12); 421 | | if bits <= 8 { 422 | | let base = match BIT_REV_U8.get((code << (8 - bits)) as usize) { ... | 471 | | Ok(()) 472 | | }); | |__________- in this macro invocation | = note: this warning originates in the macro `with_codes` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:302:28 | 302 | let new_code = try!( | ^^^ ... 419 | / with_codes!(clens, 15 => u16, |i: u16, code: u16, bits: u8| -> _ { 420 | | let entry = i | ((bits as u16) << 12); 421 | | if bits <= 8 { 422 | | let base = match BIT_REV_U8.get((code << (8 - bits)) as usize) { ... | 471 | | Ok(()) 472 | | }); | |__________- in this macro invocation | = note: this warning originates in the macro `with_codes` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:855:53 | 855 | ... ok!(BlockDynCodeLengths(try!(CodeLengthReader::new(clens, hlit as u16 + 256, hdist)))) | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:859:40 | 859 | let finished = try!(reader.read(&mut stream)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:861:47 | 861 | ... let (lit, dist) = try!(reader.to_lit_and_dist()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:875:60 | 875 | ... let (save, code16) = match try!(huff_lit_len.read(&mut stream)) { | ^^^ warning: `...` range patterns are deprecated --> src/lib.rs:882:38 | 882 | ... 0...255 => { | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/lib.rs:886:40 | 886 | ... 256...285 => {} | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/lib.rs:910:38 | 910 | ... 1...8 => len!(code, 0), | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/lib.rs:911:38 | 911 | ... 9...12 => len!(code, 1), | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/lib.rs:912:39 | 912 | ... 13...16 => len!(code, 2), | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/lib.rs:913:39 | 913 | ... 17...20 => len!(code, 3), | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/lib.rs:914:39 | 914 | ... 21...24 => len!(code, 4), | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/lib.rs:915:39 | 915 | ... 25...28 => len!(code, 5), | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:921:59 | 921 | ... let (save, dist_code) = match try!(huff_dist.read(&mut stream)) { | ^^^ warning: `...` range patterns are deprecated --> src/lib.rs:930:34 | 930 | ... 0...3 => len_dist_case!(0), | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:690:24 | 690 | let left = try!(self.run_len_dist($len, dist)); | ^^^ ... 930 | 0...3 => len_dist_case!(0), | ----------------- in this macro invocation | = note: this warning originates in the macro `run_len_dist` which comes from the expansion of the macro `len_dist_case` (in Nightly builds, run with -Z macro-backtrace for more info) warning: `...` range patterns are deprecated --> src/lib.rs:931:34 | 931 | ... 4...5 => len_dist_case!(1), | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:690:24 | 690 | let left = try!(self.run_len_dist($len, dist)); | ^^^ ... 931 | 4...5 => len_dist_case!(1), | ----------------- in this macro invocation | = note: this warning originates in the macro `run_len_dist` which comes from the expansion of the macro `len_dist_case` (in Nightly builds, run with -Z macro-backtrace for more info) warning: `...` range patterns are deprecated --> src/lib.rs:932:34 | 932 | ... 6...7 => len_dist_case!(2), | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:690:24 | 690 | let left = try!(self.run_len_dist($len, dist)); | ^^^ ... 932 | 6...7 => len_dist_case!(2), | ----------------- in this macro invocation | = note: this warning originates in the macro `run_len_dist` which comes from the expansion of the macro `len_dist_case` (in Nightly builds, run with -Z macro-backtrace for more info) warning: `...` range patterns are deprecated --> src/lib.rs:933:34 | 933 | ... 8...9 => len_dist_case!(3), | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:690:24 | 690 | let left = try!(self.run_len_dist($len, dist)); | ^^^ ... 933 | 8...9 => len_dist_case!(3), | ----------------- in this macro invocation | = note: this warning originates in the macro `run_len_dist` which comes from the expansion of the macro `len_dist_case` (in Nightly builds, run with -Z macro-backtrace for more info) warning: `...` range patterns are deprecated --> src/lib.rs:934:35 | 934 | ... 10...11 => len_dist_case!(4), | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:690:24 | 690 | let left = try!(self.run_len_dist($len, dist)); | ^^^ ... 934 | 10...11 => len_dist_case!(4), | ----------------- in this macro invocation | = note: this warning originates in the macro `run_len_dist` which comes from the expansion of the macro `len_dist_case` (in Nightly builds, run with -Z macro-backtrace for more info) warning: `...` range patterns are deprecated --> src/lib.rs:935:35 | 935 | ... 12...13 => len_dist_case!(5), | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:690:24 | 690 | let left = try!(self.run_len_dist($len, dist)); | ^^^ ... 935 | 12...13 => len_dist_case!(5), | ----------------- in this macro invocation | = note: this warning originates in the macro `run_len_dist` which comes from the expansion of the macro `len_dist_case` (in Nightly builds, run with -Z macro-backtrace for more info) warning: `...` range patterns are deprecated --> src/lib.rs:936:35 | 936 | ... 14...15 => len_dist_case!(6), | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:690:24 | 690 | let left = try!(self.run_len_dist($len, dist)); | ^^^ ... 936 | 14...15 => len_dist_case!(6), | ----------------- in this macro invocation | = note: this warning originates in the macro `run_len_dist` which comes from the expansion of the macro `len_dist_case` (in Nightly builds, run with -Z macro-backtrace for more info) warning: `...` range patterns are deprecated --> src/lib.rs:937:35 | 937 | ... 16...17 => len_dist_case!(7), | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:690:24 | 690 | let left = try!(self.run_len_dist($len, dist)); | ^^^ ... 937 | 16...17 => len_dist_case!(7), | ----------------- in this macro invocation | = note: this warning originates in the macro `run_len_dist` which comes from the expansion of the macro `len_dist_case` (in Nightly builds, run with -Z macro-backtrace for more info) warning: `...` range patterns are deprecated --> src/lib.rs:938:35 | 938 | ... 18...19 => len_dist_case!(8), | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:690:24 | 690 | let left = try!(self.run_len_dist($len, dist)); | ^^^ ... 938 | 18...19 => len_dist_case!(8), | ----------------- in this macro invocation | = note: this warning originates in the macro `run_len_dist` which comes from the expansion of the macro `len_dist_case` (in Nightly builds, run with -Z macro-backtrace for more info) warning: `...` range patterns are deprecated --> src/lib.rs:939:35 | 939 | ... 20...21 => len_dist_case!(9), | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:690:24 | 690 | let left = try!(self.run_len_dist($len, dist)); | ^^^ ... 939 | 20...21 => len_dist_case!(9), | ----------------- in this macro invocation | = note: this warning originates in the macro `run_len_dist` which comes from the expansion of the macro `len_dist_case` (in Nightly builds, run with -Z macro-backtrace for more info) warning: `...` range patterns are deprecated --> src/lib.rs:940:35 | 940 | ... 22...23 => len_dist_case!(10), | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:690:24 | 690 | let left = try!(self.run_len_dist($len, dist)); | ^^^ ... 940 | 22...23 => len_dist_case!(10), | ------------------ in this macro invocation | = note: this warning originates in the macro `run_len_dist` which comes from the expansion of the macro `len_dist_case` (in Nightly builds, run with -Z macro-backtrace for more info) warning: `...` range patterns are deprecated --> src/lib.rs:941:35 | 941 | ... 24...25 => len_dist_case!(11), | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:690:24 | 690 | let left = try!(self.run_len_dist($len, dist)); | ^^^ ... 941 | 24...25 => len_dist_case!(11), | ------------------ in this macro invocation | = note: this warning originates in the macro `run_len_dist` which comes from the expansion of the macro `len_dist_case` (in Nightly builds, run with -Z macro-backtrace for more info) warning: `...` range patterns are deprecated --> src/lib.rs:942:35 | 942 | ... 26...27 => len_dist_case!(12), | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:690:24 | 690 | let left = try!(self.run_len_dist($len, dist)); | ^^^ ... 942 | 26...27 => len_dist_case!(12), | ------------------ in this macro invocation | = note: this warning originates in the macro `run_len_dist` which comes from the expansion of the macro `len_dist_case` (in Nightly builds, run with -Z macro-backtrace for more info) warning: `...` range patterns are deprecated --> src/lib.rs:943:35 | 943 | ... 28...29 => len_dist_case!(13), | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:690:24 | 690 | let left = try!(self.run_len_dist($len, dist)); | ^^^ ... 943 | 28...29 => len_dist_case!(13), | ------------------ in this macro invocation | = note: this warning originates in the macro `run_len_dist` which comes from the expansion of the macro `len_dist_case` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:690:24 | 690 | let left = try!(self.run_len_dist($len, dist)); | ^^^ ... 951 | run_len_dist!(len, dist => (0, next, state)); | -------------------------------------------- in this macro invocation | = note: this warning originates in the macro `run_len_dist` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:1027:13 | 1027 | try!(self.checksum.check(c)); | ^^^ warning: `inflate` (lib) generated 59 warnings (run `cargo fix --lib -p inflate` to apply 23 suggestions) Compiling inflate v0.4.5 (/builddir/build/BUILD/rust-inflate-0.4.5-build/inflate-0.4.5) Running `/usr/bin/rustc --crate-name test --edition=2015 tests/test.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="default"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("default", "unstable"))' -C metadata=0aed395180812e8b -C extra-filename=-0aed395180812e8b --out-dir /builddir/build/BUILD/rust-inflate-0.4.5-build/inflate-0.4.5/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-inflate-0.4.5-build/inflate-0.4.5/target/rpm/deps --extern adler32=/builddir/build/BUILD/rust-inflate-0.4.5-build/inflate-0.4.5/target/rpm/deps/libadler32-26e84ea6df6b1029.rlib --extern inflate=/builddir/build/BUILD/rust-inflate-0.4.5-build/inflate-0.4.5/target/rpm/deps/libinflate-ce7cfdbc0da47fd5.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` Running `/usr/bin/rustc --crate-name inflate --edition=2015 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="default"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("default", "unstable"))' -C metadata=fe2a5ea94d28d28a -C extra-filename=-fe2a5ea94d28d28a --out-dir /builddir/build/BUILD/rust-inflate-0.4.5-build/inflate-0.4.5/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-inflate-0.4.5-build/inflate-0.4.5/target/rpm/deps --extern adler32=/builddir/build/BUILD/rust-inflate-0.4.5-build/inflate-0.4.5/target/rpm/deps/libadler32-26e84ea6df6b1029.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: unused `Result` that must be used --> tests/test.rs:60:5 | 60 | inflate::inflate_bytes_zlib(data); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: this `Result` may be an `Err` variant, which should be handled = note: `#[warn(unused_must_use)]` on by default help: use `let _ = ...` to ignore the resulting value | 60 | let _ = inflate::inflate_bytes_zlib(data); | +++++++ warning: unused `Result` that must be used --> tests/test.rs:68:5 | 68 | inflate::inflate_bytes_zlib(data); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: this `Result` may be an `Err` variant, which should be handled help: use `let _ = ...` to ignore the resulting value | 68 | let _ = inflate::inflate_bytes_zlib(data); | +++++++ warning: `inflate` (test "test") generated 2 warnings warning: `inflate` (lib test) generated 59 warnings (59 duplicates) Finished `rpm` profile [optimized + debuginfo] target(s) in 1.72s Running `/builddir/build/BUILD/rust-inflate-0.4.5-build/inflate-0.4.5/target/rpm/deps/inflate-fe2a5ea94d28d28a` running 8 tests test checksum::test::adler32 ... ok test reader::test::deflate_reader ... ok test utils::test::inflate_bytes_with_zlib ... ok test reader::test::zlib_reader ... ok test utils::test::inflate_bytes_with_zlib_checksum_fail ... ok test utils::test::inflate_bytes_with_zlib_trailing ... ok test writer::test::inflate_writer ... ok test writer::test::inflate_writer_from_zlib ... ok test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running `/builddir/build/BUILD/rust-inflate-0.4.5-build/inflate-0.4.5/target/rpm/deps/test-0aed395180812e8b` running 12 tests test issue_16 ... ok test issue_14 ... ok test issue_17 ... ok test issue_26 ... ok test issue_30_realworld ... ok test issue_30_small ... ok test issue_38_update_bits ... ok test issue_38_update_no_progress ... ok test issue_47_uncompressed ... ok test no_checksum ... ok test issue_38_inflate ... ok test issue_38_update_lendist ... ok test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests inflate Running `/usr/bin/rustdoc --edition=2015 --crate-type lib --color auto --crate-name inflate --test src/lib.rs --test-run-directory /builddir/build/BUILD/rust-inflate-0.4.5-build/inflate-0.4.5 -L dependency=/builddir/build/BUILD/rust-inflate-0.4.5-build/inflate-0.4.5/target/rpm/deps -L dependency=/builddir/build/BUILD/rust-inflate-0.4.5-build/inflate-0.4.5/target/rpm/deps --extern adler32=/builddir/build/BUILD/rust-inflate-0.4.5-build/inflate-0.4.5/target/rpm/deps/libadler32-26e84ea6df6b1029.rlib --extern inflate=/builddir/build/BUILD/rust-inflate-0.4.5-build/inflate-0.4.5/target/rpm/deps/libinflate-ce7cfdbc0da47fd5.rlib -C embed-bitcode=no --cfg 'feature="default"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("default", "unstable"))' --error-format human` warning: `...` range patterns are deprecated --> src/lib.rs:368:18 | 368 | 0...15 => self.result.push(code), | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default warning: `...` range patterns are deprecated --> src/lib.rs:882:38 | 882 | ... 0...255 => { | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/lib.rs:886:40 | 886 | ... 256...285 => {} | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/lib.rs:910:38 | 910 | ... 1...8 => len!(code, 0), | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/lib.rs:911:38 | 911 | ... 9...12 => len!(code, 1), | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/lib.rs:912:39 | 912 | ... 13...16 => len!(code, 2), | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/lib.rs:913:39 | 913 | ... 17...20 => len!(code, 3), | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/lib.rs:914:39 | 914 | ... 21...24 => len!(code, 4), | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/lib.rs:915:39 | 915 | ... 25...28 => len!(code, 5), | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/lib.rs:930:34 | 930 | ... 0...3 => len_dist_case!(0), | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/lib.rs:931:34 | 931 | ... 4...5 => len_dist_case!(1), | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/lib.rs:932:34 | 932 | ... 6...7 => len_dist_case!(2), | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/lib.rs:933:34 | 933 | ... 8...9 => len_dist_case!(3), | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/lib.rs:934:35 | 934 | ... 10...11 => len_dist_case!(4), | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/lib.rs:935:35 | 935 | ... 12...13 => len_dist_case!(5), | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/lib.rs:936:35 | 936 | ... 14...15 => len_dist_case!(6), | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/lib.rs:937:35 | 937 | ... 16...17 => len_dist_case!(7), | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/lib.rs:938:35 | 938 | ... 18...19 => len_dist_case!(8), | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/lib.rs:939:35 | 939 | ... 20...21 => len_dist_case!(9), | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/lib.rs:940:35 | 940 | ... 22...23 => len_dist_case!(10), | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/lib.rs:941:35 | 941 | ... 24...25 => len_dist_case!(11), | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/lib.rs:942:35 | 942 | ... 26...27 => len_dist_case!(12), | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/lib.rs:943:35 | 943 | ... 28...29 => len_dist_case!(13), | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: 23 warnings emitted running 7 tests test src/utils.rs - utils::InflateStream (line 4) ... ok test src/lib.rs - (line 21) ... ok test src/writer.rs - writer::InflateWriter (line 12) ... ok test src/lib.rs - (line 34) ... ok test src/lib.rs - (line 50) ... ok test src/reader.rs - reader::DeflateDecoderBuf (line 20) ... ok test src/reader.rs - reader::DeflateDecoder (line 222) ... ok test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.31s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rust-inflate-devel-0.4.5-19.fc42.noarch warning: File listed twice: /usr/share/cargo/registry/inflate-0.4.5/LICENSE warning: File listed twice: /usr/share/cargo/registry/inflate-0.4.5/README.md Provides: crate(inflate) = 0.4.5 rust-inflate-devel = 0.4.5-19.fc42 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (crate(adler32/default) >= 1.0.2 with crate(adler32/default) < 2.0.0~) cargo Processing files: rust-inflate+default-devel-0.4.5-19.fc42.noarch Provides: crate(inflate/default) = 0.4.5 rust-inflate+default-devel = 0.4.5-19.fc42 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(inflate) = 0.4.5 Processing files: rust-inflate+unstable-devel-0.4.5-19.fc42.noarch Provides: crate(inflate/unstable) = 0.4.5 rust-inflate+unstable-devel = 0.4.5-19.fc42 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(inflate) = 0.4.5 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILD/rust-inflate-0.4.5-build/BUILDROOT Wrote: /builddir/build/SRPMS/rust-inflate-0.4.5-19.fc42.src.rpm Wrote: /builddir/build/RPMS/rust-inflate+default-devel-0.4.5-19.fc42.noarch.rpm Wrote: /builddir/build/RPMS/rust-inflate+unstable-devel-0.4.5-19.fc42.noarch.rpm Wrote: /builddir/build/RPMS/rust-inflate-devel-0.4.5-19.fc42.noarch.rpm RPM build warnings: File listed twice: /usr/share/cargo/registry/inflate-0.4.5/LICENSE File listed twice: /usr/share/cargo/registry/inflate-0.4.5/README.md Child return code was: 0