Mock Version: 3.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target x86_64 --nodeps /builddir/build/SPECS/rust-lzw.spec'], chrootPath='/var/lib/mock/rhel+epel-9-x86_64-1655800749.611851/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=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.i1kt1hsu:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.i1kt1hsu:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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', '5995826574044690820572542a9cda17', '-D', '/var/lib/mock/rhel+epel-9-x86_64-1655800749.611851/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.i1kt1hsu:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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 --target x86_64 --nodeps /builddir/build/SPECS/rust-lzw.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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1642723200 Wrote: /builddir/build/SRPMS/rust-lzw-0.10.0-8.el9.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --target x86_64 --nodeps /builddir/build/SPECS/rust-lzw.spec'], chrootPath='/var/lib/mock/rhel+epel-9-x86_64-1655800749.611851/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=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.i1kt1hsu:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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=FalseraiseExc=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.i1kt1hsu:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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', 'ab8938cb63a94e76bf35c89a8815e584', '-D', '/var/lib/mock/rhel+epel-9-x86_64-1655800749.611851/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.i1kt1hsu:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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 --target x86_64 --nodeps /builddir/build/SPECS/rust-lzw.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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1642723200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.VpE7zh + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf lzw-0.10.0 + /usr/bin/gzip -dc /builddir/build/SOURCES/lzw-0.10.0.crate + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd lzw-0.10.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + set -eu + /usr/bin/mkdir -p .cargo + cat + /usr/bin/rm -f Cargo.lock + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.cLtFVu + umask 022 + cd /builddir/build/BUILD + cd lzw-0.10.0 + /usr/bin/cargo-inspector -BR Cargo.toml + /usr/bin/cargo-inspector -TR Cargo.toml + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-lzw-0.10.0-8.el9.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 --target x86_64 --nodeps /builddir/build/SPECS/rust-lzw.spec'], chrootPath='/var/lib/mock/rhel+epel-9-x86_64-1655800749.611851/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=0uid=1000gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.i1kt1hsu:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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=FalseprintOutput=True) Using nspawn with args ['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.i1kt1hsu:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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', '9ecb1514128144ffb9b27fdbc06148c4', '-D', '/var/lib/mock/rhel+epel-9-x86_64-1655800749.611851/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.i1kt1hsu:/etc/resolv.conf', '--bind=/dev/btrfs-control', '--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 --target x86_64 --nodeps /builddir/build/SPECS/rust-lzw.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: x86_64 Building for target x86_64 setting SOURCE_DATE_EPOCH=1642723200 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.1Df9KU + umask 022 + cd /builddir/build/BUILD + cd lzw-0.10.0 + /usr/bin/cargo-inspector -BR Cargo.toml + /usr/bin/cargo-inspector -TR Cargo.toml + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.TFyH8H + umask 022 + cd /builddir/build/BUILD + cd lzw-0.10.0 + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' /usr/bin/cargo build -j2 -Z avoid-dev-deps --release Compiling lzw v0.10.0 (/builddir/build/BUILD/lzw-0.10.0) Running `/usr/bin/rustc --crate-name lzw src/lib.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="raii_no_panic"' -C metadata=d7cb0fa189f0227c -C extra-filename=-d7cb0fa189f0227c --out-dir /builddir/build/BUILD/lzw-0.10.0/target/release/deps -L dependency=/builddir/build/BUILD/lzw-0.10.0/target/release/deps -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn` warning: use of deprecated macro `try`: use the `?` operator instead --> src/lzw.rs:183:29 | 183 | try!(self.table.reconstruct(Some(code))) | ^^^ ... 214 | / define_decoder_struct!{ 215 | | Decoder, 0, #[doc = "Decoder for a LZW compressed stream (this algorithm is used for GIF files)."]; 216 | | DecoderEarlyChange, 1, #[doc = "Decoder for a LZW compressed stream using an “early change” algorithm (used in TIFF files)."]; 217 | | } | |_- in this macro invocation | = note: `#[warn(deprecated)]` on by default = note: this warning originates in the macro `define_decoder_struct` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/lzw.rs:181:39 | 181 | let cha = try!(self.table.reconstruct(prev))[0]; | ^^^ ... 214 | / define_decoder_struct!{ 215 | | Decoder, 0, #[doc = "Decoder for a LZW compressed stream (this algorithm is used for GIF files)."]; 216 | | DecoderEarlyChange, 1, #[doc = "Decoder for a LZW compressed stream using an “early change” algorithm (used in TIFF files)."]; 217 | | } | |_- in this macro invocation | = note: this warning originates in the macro `define_decoder_struct` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/lzw.rs:185:39 | 185 | let cha = try!(self.table.reconstruct(Some(code)))[0]; | ^^^ ... 214 | / define_decoder_struct!{ 215 | | Decoder, 0, #[doc = "Decoder for a LZW compressed stream (this algorithm is used for GIF files)."]; 216 | | DecoderEarlyChange, 1, #[doc = "Decoder for a LZW compressed stream using an “early change” algorithm (used in TIFF files)."]; 217 | | } | |_- in this macro invocation | = note: this warning originates in the macro `define_decoder_struct` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/lzw.rs:330:5 | 330 | try!(w.write_bits(dict.clear_code(), code_size)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lzw.rs:359:5 | 359 | try!(w.write_bits(dict.end_code(), code_size)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lzw.rs:360:5 | 360 | try!(w.flush()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lzw.rs:337:17 | 337 | try!(w.write_bits(code, code_size)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lzw.rs:351:13 | 351 | try!(w.write_bits(dict.clear_code(), code_size)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lzw.rs:357:9 | 357 | try!(w.write_bits(code, code_size)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lzw.rs:383:9 | 383 | try!(w.write_bits(dict.clear_code(), code_size)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lzw.rs:409:21 | 409 | try!(w.write_bits(code, *code_size)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lzw.rs:423:17 | 423 | try!(w.write_bits(dict.clear_code(), *code_size)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/bitstream.rs:154:17 | 154 | try!(self.write_bits(byte as u16, 8)) | ^^^ ... 174 | / define_bit_writers!{ 175 | | LsbWriter, #[doc = "Writes bits to a byte stream, LSB first."]; 176 | | MsbWriter, #[doc = "Writes bits to a byte stream, MSB first."]; 177 | | } | |_- in this macro invocation | = note: this warning originates in the macro `define_bit_writers` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/bitstream.rs:163:13 | 163 | try!(self.write_bits(0, missing)); | ^^^ ... 174 | / define_bit_writers!{ 175 | | LsbWriter, #[doc = "Writes bits to a byte stream, LSB first."]; 176 | | MsbWriter, #[doc = "Writes bits to a byte stream, MSB first."]; 177 | | } | |_- in this macro invocation | = note: this warning originates in the macro `define_bit_writers` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/bitstream.rs:185:13 | 185 | try!(self.w.write_all(&[self.acc as u8])); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/bitstream.rs:201:13 | 201 | try!(self.w.write_all(&[(self.acc >> 24) as u8])); | ^^^ warning: unused import: `Write` --> src/lzw.rs:8:21 | 8 | use std::io::{Read, Write}; | ^^^^^ | = note: `#[warn(unused_imports)]` on by default warning: `lzw` (lib) generated 17 warnings Finished release [optimized] target(s) in 0.60s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.AvDDTs + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rust-lzw-0.10.0-8.el9.x86_64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rust-lzw-0.10.0-8.el9.x86_64 ++ dirname /builddir/build/BUILDROOT/rust-lzw-0.10.0-8.el9.x86_64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rust-lzw-0.10.0-8.el9.x86_64 + cd lzw-0.10.0 + set -eu + /usr/bin/cargo-inspector --target-kinds Cargo.toml ++ printf 'lib\nrlib\nproc-macro' + grep -q -F -x 'lib rlib proc-macro' ++ /usr/bin/cargo-inspector --name Cargo.toml + CRATE_NAME=lzw ++ /usr/bin/cargo-inspector --version Cargo.toml + CRATE_VERSION=0.10.0 + REG_DIR=/builddir/build/BUILDROOT/rust-lzw-0.10.0-8.el9.x86_64/usr/share/cargo/registry/lzw-0.10.0 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-lzw-0.10.0-8.el9.x86_64/usr/share/cargo/registry/lzw-0.10.0 + gawk -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 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' /usr/bin/cargo package -l + xargs -d '\n' /usr/bin/cp --parents -a -t /builddir/build/BUILDROOT/rust-lzw-0.10.0-8.el9.x86_64/usr/share/cargo/registry/lzw-0.10.0 + grep -w -E -v 'Cargo.(lock|toml.orig)' warning: No (git) VCS found for `/builddir/build/BUILD/lzw-0.10.0` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /builddir/build/BUILDROOT/rust-lzw-0.10.0-8.el9.x86_64/usr/share/cargo/registry/lzw-0.10.0/Cargo.toml + /usr/bin/rm -f /builddir/build/BUILDROOT/rust-lzw-0.10.0-8.el9.x86_64/usr/share/cargo/registry/lzw-0.10.0/Cargo.toml.deps + echo '{"files":{},"package":""}' + /usr/bin/cargo-inspector --target-kinds Cargo.toml + grep -q -F -x bin + /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/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/brp-python-hardlink + /usr/lib/rpm/redhat/brp-mangle-shebangs Executing(%check): /bin/sh -e /var/tmp/rpm-tmp.55FBb4 + umask 022 + cd /builddir/build/BUILD + cd lzw-0.10.0 + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' /usr/bin/cargo test -j2 -Z avoid-dev-deps --release --no-fail-fast warning: use of deprecated macro `try`: use the `?` operator instead --> src/lzw.rs:183:29 | 183 | try!(self.table.reconstruct(Some(code))) | ^^^ ... 214 | / define_decoder_struct!{ 215 | | Decoder, 0, #[doc = "Decoder for a LZW compressed stream (this algorithm is used for GIF files)."]; 216 | | DecoderEarlyChange, 1, #[doc = "Decoder for a LZW compressed stream using an “early change” algorithm (used in TIFF files)."]; 217 | | } | |_- in this macro invocation | = note: `#[warn(deprecated)]` on by default = note: this warning originates in the macro `define_decoder_struct` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/lzw.rs:181:39 | 181 | let cha = try!(self.table.reconstruct(prev))[0]; | ^^^ ... 214 | / define_decoder_struct!{ 215 | | Decoder, 0, #[doc = "Decoder for a LZW compressed stream (this algorithm is used for GIF files)."]; 216 | | DecoderEarlyChange, 1, #[doc = "Decoder for a LZW compressed stream using an “early change” algorithm (used in TIFF files)."]; 217 | | } | |_- in this macro invocation | = note: this warning originates in the macro `define_decoder_struct` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/lzw.rs:185:39 | 185 | let cha = try!(self.table.reconstruct(Some(code)))[0]; | ^^^ ... 214 | / define_decoder_struct!{ 215 | | Decoder, 0, #[doc = "Decoder for a LZW compressed stream (this algorithm is used for GIF files)."]; 216 | | DecoderEarlyChange, 1, #[doc = "Decoder for a LZW compressed stream using an “early change” algorithm (used in TIFF files)."]; 217 | | } | |_- in this macro invocation | = note: this warning originates in the macro `define_decoder_struct` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/lzw.rs:330:5 | 330 | try!(w.write_bits(dict.clear_code(), code_size)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lzw.rs:359:5 | 359 | try!(w.write_bits(dict.end_code(), code_size)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lzw.rs:360:5 | 360 | try!(w.flush()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lzw.rs:337:17 | 337 | try!(w.write_bits(code, code_size)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lzw.rs:351:13 | 351 | try!(w.write_bits(dict.clear_code(), code_size)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lzw.rs:357:9 | 357 | try!(w.write_bits(code, code_size)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lzw.rs:383:9 | 383 | try!(w.write_bits(dict.clear_code(), code_size)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lzw.rs:409:21 | 409 | try!(w.write_bits(code, *code_size)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lzw.rs:423:17 | 423 | try!(w.write_bits(dict.clear_code(), *code_size)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/bitstream.rs:154:17 | 154 | try!(self.write_bits(byte as u16, 8)) | ^^^ ... 174 | / define_bit_writers!{ 175 | | LsbWriter, #[doc = "Writes bits to a byte stream, LSB first."]; 176 | | MsbWriter, #[doc = "Writes bits to a byte stream, MSB first."]; 177 | | } | |_- in this macro invocation | = note: this warning originates in the macro `define_bit_writers` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/bitstream.rs:163:13 | 163 | try!(self.write_bits(0, missing)); | ^^^ ... 174 | / define_bit_writers!{ 175 | | LsbWriter, #[doc = "Writes bits to a byte stream, LSB first."]; 176 | | MsbWriter, #[doc = "Writes bits to a byte stream, MSB first."]; 177 | | } | |_- in this macro invocation | = note: this warning originates in the macro `define_bit_writers` (in Nightly builds, run with -Z macro-backtrace for more info) warning: use of deprecated macro `try`: use the `?` operator instead --> src/bitstream.rs:185:13 | 185 | try!(self.w.write_all(&[self.acc as u8])); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/bitstream.rs:201:13 | 201 | try!(self.w.write_all(&[(self.acc >> 24) as u8])); | ^^^ warning: unused import: `Write` --> src/lzw.rs:8:21 | 8 | use std::io::{Read, Write}; | ^^^^^ | = note: `#[warn(unused_imports)]` on by default warning: `lzw` (lib) generated 17 warnings Compiling lzw v0.10.0 (/builddir/build/BUILD/lzw-0.10.0) Running `/usr/bin/rustc --crate-name lzw src/lib.rs --error-format=json --json=diagnostic-rendered-ansi --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no --test --cfg 'feature="default"' --cfg 'feature="raii_no_panic"' -C metadata=56f5fb72bc79afe3 -C extra-filename=-56f5fb72bc79afe3 --out-dir /builddir/build/BUILD/lzw-0.10.0/target/release/deps -L dependency=/builddir/build/BUILD/lzw-0.10.0/target/release/deps -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn` Running `/usr/bin/rustc --crate-name lzw_compress examples/lzw-compress.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="raii_no_panic"' -C metadata=a6846ce95fa40aaa -C extra-filename=-a6846ce95fa40aaa --out-dir /builddir/build/BUILD/lzw-0.10.0/target/release/examples -L dependency=/builddir/build/BUILD/lzw-0.10.0/target/release/deps --extern lzw=/builddir/build/BUILD/lzw-0.10.0/target/release/deps/liblzw-d7cb0fa189f0227c.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn` warning: use of deprecated macro `try`: use the `?` operator instead --> examples/lzw-compress.rs:9:27 | 9 | let mut encoder = try!( | ^^^ | = note: `#[warn(deprecated)]` on by default warning: use of deprecated macro `try`: use the `?` operator instead --> examples/lzw-compress.rs:17:17 | 17 | try!(encoder.encode_bytes(buf)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> examples/lzw-compress.rs:16:27 | 16 | let buf = try!(stdin.fill_buf()); | ^^^ warning: `lzw` (example "lzw-compress") generated 3 warnings Running `/usr/bin/rustc --crate-name lzw_decompress examples/lzw-decompress.rs --error-format=json --json=diagnostic-rendered-ansi --crate-type bin --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="raii_no_panic"' -C metadata=56f08341b0f7fc38 -C extra-filename=-56f08341b0f7fc38 --out-dir /builddir/build/BUILD/lzw-0.10.0/target/release/examples -L dependency=/builddir/build/BUILD/lzw-0.10.0/target/release/deps --extern lzw=/builddir/build/BUILD/lzw-0.10.0/target/release/deps/liblzw-d7cb0fa189f0227c.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn` warning: use of deprecated macro `try`: use the `?` operator instead --> examples/lzw-decompress.rs:23:17 | 23 | try!(stdout.write_all(bytes)); | ^^^ | = note: `#[warn(deprecated)]` on by default warning: use of deprecated macro `try`: use the `?` operator instead --> examples/lzw-decompress.rs:18:27 | 18 | let buf = try!(stdin.fill_buf()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> examples/lzw-decompress.rs:22:36 | 22 | let (len, bytes) = try!(decoder.decode_bytes(buf)); | ^^^ warning: `lzw` (example "lzw-decompress") generated 3 warnings warning: `lzw` (lib test) generated 17 warnings (17 duplicates) Finished release [optimized] target(s) in 0.98s Running `/builddir/build/BUILD/lzw-0.10.0/target/release/deps/lzw-56f5fb72bc79afe3` running 2 tests test bitstream::test::reader_writer ... ok test lzw::round_trip ... ok test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests lzw Running `/usr/bin/rustdoc --crate-type lib --crate-name lzw --test /builddir/build/BUILD/lzw-0.10.0/src/lib.rs -L dependency=/builddir/build/BUILD/lzw-0.10.0/target/release/deps -L dependency=/builddir/build/BUILD/lzw-0.10.0/target/release/deps --extern lzw=/builddir/build/BUILD/lzw-0.10.0/target/release/deps/liblzw-d7cb0fa189f0227c.rlib -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="raii_no_panic"' --error-format human` running 1 test test src/lib.rs - (line 16) ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.17s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rust-lzw-devel-0.10.0-8.el9.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.wHJejP + umask 022 + cd /builddir/build/BUILD + cd lzw-0.10.0 + DOCDIR=/builddir/build/BUILDROOT/rust-lzw-0.10.0-8.el9.x86_64/usr/share/doc/rust-lzw-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-lzw-0.10.0-8.el9.x86_64/usr/share/doc/rust-lzw-devel + cp -pr README.md /builddir/build/BUILDROOT/rust-lzw-0.10.0-8.el9.x86_64/usr/share/doc/rust-lzw-devel + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.1J23qN + umask 022 + cd /builddir/build/BUILD + cd lzw-0.10.0 + LICENSEDIR=/builddir/build/BUILDROOT/rust-lzw-0.10.0-8.el9.x86_64/usr/share/licenses/rust-lzw-devel + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-lzw-0.10.0-8.el9.x86_64/usr/share/licenses/rust-lzw-devel + cp -pr LICENSE-MIT /builddir/build/BUILDROOT/rust-lzw-0.10.0-8.el9.x86_64/usr/share/licenses/rust-lzw-devel + cp -pr LICENSE-APACHE /builddir/build/BUILDROOT/rust-lzw-0.10.0-8.el9.x86_64/usr/share/licenses/rust-lzw-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: crate(lzw) = 0.10.0 rust-lzw-devel = 0.10.0-8.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo Processing files: rust-lzw+default-devel-0.10.0-8.el9.noarch Provides: crate(lzw/default) = 0.10.0 rust-lzw+default-devel = 0.10.0-8.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(lzw) = 0.10.0 crate(lzw/raii_no_panic) = 0.10.0 Processing files: rust-lzw+raii_no_panic-devel-0.10.0-8.el9.noarch Provides: crate(lzw/raii_no_panic) = 0.10.0 rust-lzw+raii_no_panic-devel = 0.10.0-8.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(lzw) = 0.10.0 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rust-lzw-0.10.0-8.el9.x86_64 Wrote: /builddir/build/SRPMS/rust-lzw-0.10.0-8.el9.src.rpm Wrote: /builddir/build/RPMS/rust-lzw+default-devel-0.10.0-8.el9.noarch.rpm Wrote: /builddir/build/RPMS/rust-lzw-devel-0.10.0-8.el9.noarch.rpm Wrote: /builddir/build/RPMS/rust-lzw+raii_no_panic-devel-0.10.0-8.el9.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.4MFl9C + umask 022 + cd /builddir/build/BUILD + cd lzw-0.10.0 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rust-lzw-0.10.0-8.el9.x86_64 + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0