Mock Version: 3.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target s390x --nodeps /builddir/build/SPECS/rust-lzw.spec'], chrootPath='/var/lib/mock/rhel+epel-9-s390x-1655800775.255167/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=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.mn5tsqrm:/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.mn5tsqrm:/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', '82d272729fa24585956a5d6ca4cd91ae', '-D', '/var/lib/mock/rhel+epel-9-s390x-1655800775.255167/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.mn5tsqrm:/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 s390x --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: s390x Building for target s390x 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 s390x --nodeps /builddir/build/SPECS/rust-lzw.spec'], chrootPath='/var/lib/mock/rhel+epel-9-s390x-1655800775.255167/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=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.mn5tsqrm:/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.mn5tsqrm:/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', '9eb2246034664a3582f534e4402c263d', '-D', '/var/lib/mock/rhel+epel-9-s390x-1655800775.255167/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.mn5tsqrm:/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 s390x --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: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1642723200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.j3BLPz + 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.EWCwsm + 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 s390x --nodeps /builddir/build/SPECS/rust-lzw.spec'], chrootPath='/var/lib/mock/rhel+epel-9-s390x-1655800775.255167/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=1001gid=135user='mockbuild'nspawn_args=['--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.mn5tsqrm:/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.mn5tsqrm:/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', '2e53979fb7894bfdb9f1205d71e037b3', '-D', '/var/lib/mock/rhel+epel-9-s390x-1655800775.255167/root', '-a', '-u', 'mockbuild', '--capability=cap_ipc_lock', '--rlimit=RLIMIT_NOFILE=10240', '--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.mn5tsqrm:/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 s390x --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: s390x Building for target s390x setting SOURCE_DATE_EPOCH=1642723200 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.3kwzQm + 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.dUo84d + 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=f2f5c25758682896 -C extra-filename=-f2f5c25758682896 --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.54s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.6G5GLp + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rust-lzw-0.10.0-8.el9.s390x '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rust-lzw-0.10.0-8.el9.s390x ++ dirname /builddir/build/BUILDROOT/rust-lzw-0.10.0-8.el9.s390x + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rust-lzw-0.10.0-8.el9.s390x + 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.s390x/usr/share/cargo/registry/lzw-0.10.0 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-lzw-0.10.0-8.el9.s390x/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.s390x/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.s390x/usr/share/cargo/registry/lzw-0.10.0/Cargo.toml + /usr/bin/rm -f /builddir/build/BUILDROOT/rust-lzw-0.10.0-8.el9.s390x/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.8CDsga + 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=72d27011fa8ade4b -C extra-filename=-72d27011fa8ade4b --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_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=26446aba8fd0bbe9 -C extra-filename=-26446aba8fd0bbe9 --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-f2f5c25758682896.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 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=0abd6fb35cf74e95 -C extra-filename=-0abd6fb35cf74e95 --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-f2f5c25758682896.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 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-72d27011fa8ade4b` 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-f2f5c25758682896.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.20s + 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.zjdRb4 + umask 022 + cd /builddir/build/BUILD + cd lzw-0.10.0 + DOCDIR=/builddir/build/BUILDROOT/rust-lzw-0.10.0-8.el9.s390x/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.s390x/usr/share/doc/rust-lzw-devel + cp -pr README.md /builddir/build/BUILDROOT/rust-lzw-0.10.0-8.el9.s390x/usr/share/doc/rust-lzw-devel + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.3QVFdf + umask 022 + cd /builddir/build/BUILD + cd lzw-0.10.0 + LICENSEDIR=/builddir/build/BUILDROOT/rust-lzw-0.10.0-8.el9.s390x/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.s390x/usr/share/licenses/rust-lzw-devel + cp -pr LICENSE-MIT /builddir/build/BUILDROOT/rust-lzw-0.10.0-8.el9.s390x/usr/share/licenses/rust-lzw-devel + cp -pr LICENSE-APACHE /builddir/build/BUILDROOT/rust-lzw-0.10.0-8.el9.s390x/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.s390x 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.RmjCJF + 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.s390x + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0