Mock Version: 5.9 Mock Version: 5.9 Mock Version: 5.9 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-terminal_size.spec'], chrootPath='/var/lib/mock/epel9-build-55623717-6536934/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.uorjkrph:/etc/resolv.conf']) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-terminal_size.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'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1733011200 Wrote: /builddir/build/SRPMS/rust-terminal_size-0.4.1-1.el9.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-terminal_size.spec'], chrootPath='/var/lib/mock/epel9-build-55623717-6536934/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'unshare_net=TrueraiseExc=FalseprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.uorjkrph:/etc/resolv.conf']) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-terminal_size.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'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1733011200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.5eJUOp + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf terminal_size-0.4.1 + /usr/bin/gzip -dc /builddir/build/SOURCES/terminal_size-0.4.1.crate + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd terminal_size-0.4.1 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/terminal_size-fix-metadata-auto.diff + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch + 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.nDxEjb + umask 022 + cd /builddir/build/BUILD + cd terminal_size-0.4.1 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-terminal_size-0.4.1-1.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 -br --noprep --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-terminal_size.spec'], chrootPath='/var/lib/mock/epel9-build-55623717-6536934/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'unshare_net=TrueraiseExc=FalseprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.uorjkrph:/etc/resolv.conf']) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noprep --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-terminal_size.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'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1733011200 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.w3lFcR + umask 022 + cd /builddir/build/BUILD + cd terminal_size-0.4.1 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-terminal_size-0.4.1-1.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 --noclean --target aarch64 /builddir/build/SPECS/rust-terminal_size.spec'], chrootPath='/var/lib/mock/epel9-build-55623717-6536934/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=201600uid=1000gid=425user='mockbuild'unshare_net=TrueprintOutput=Falsenspawn_args=['--capability=cap_ipc_lock', '--bind=/tmp/mock-resolv.uorjkrph:/etc/resolv.conf']) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target aarch64 /builddir/build/SPECS/rust-terminal_size.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'} and shell False Building target platforms: aarch64 Building for target aarch64 setting SOURCE_DATE_EPOCH=1733011200 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.zmIUzA + umask 022 + cd /builddir/build/BUILD + cd terminal_size-0.4.1 + /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.Zv1rHc + umask 022 + cd /builddir/build/BUILD + cd terminal_size-0.4.1 + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' /usr/bin/cargo build -j12 -Z avoid-dev-deps --profile rpm warning: unused manifest key: package.autolib Compiling rustix v0.38.41 Compiling linux-raw-sys v0.4.14 Compiling bitflags v2.6.0 Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/rustix-0.38.41/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no --warn=unexpected_cfgs -C debug-assertions=off --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="libc-extra-traits"' --cfg 'feature="std"' --cfg 'feature="termios"' --cfg 'feature="use-libc-auxv"' -C metadata=353cffebfc68ddea -C extra-filename=-353cffebfc68ddea --out-dir /builddir/build/BUILD/terminal_size-0.4.1/target/rpm/build/rustix-353cffebfc68ddea -L dependency=/builddir/build/BUILD/terminal_size-0.4.1/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name linux_raw_sys --edition=2021 /usr/share/cargo/registry/linux-raw-sys-0.4.14/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="elf"' --cfg 'feature="errno"' --cfg 'feature="general"' --cfg 'feature="ioctl"' --cfg 'feature="no_std"' -C metadata=70afa3a3a6da6533 -C extra-filename=-70afa3a3a6da6533 --out-dir /builddir/build/BUILD/terminal_size-0.4.1/target/rpm/deps -L dependency=/builddir/build/BUILD/terminal_size-0.4.1/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name bitflags --edition=2021 /usr/share/cargo/registry/bitflags-2.6.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="std"' -C metadata=e4373996584a532f -C extra-filename=-e4373996584a532f --out-dir /builddir/build/BUILD/terminal_size-0.4.1/target/rpm/deps -L dependency=/builddir/build/BUILD/terminal_size-0.4.1/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/builddir/build/BUILD/terminal_size-0.4.1/target/rpm/build/rustix-353cffebfc68ddea/build-script-build` Running `/usr/bin/rustc --crate-name rustix --edition=2021 /usr/share/cargo/registry/rustix-0.38.41/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 --warn=unexpected_cfgs --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="libc-extra-traits"' --cfg 'feature="std"' --cfg 'feature="termios"' --cfg 'feature="use-libc-auxv"' -C metadata=8ee7c535139174d0 -C extra-filename=-8ee7c535139174d0 --out-dir /builddir/build/BUILD/terminal_size-0.4.1/target/rpm/deps -L dependency=/builddir/build/BUILD/terminal_size-0.4.1/target/rpm/deps --extern bitflags=/builddir/build/BUILD/terminal_size-0.4.1/target/rpm/deps/libbitflags-e4373996584a532f.rmeta --extern linux_raw_sys=/builddir/build/BUILD/terminal_size-0.4.1/target/rpm/deps/liblinux_raw_sys-70afa3a3a6da6533.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg linux_raw --cfg linux_like --cfg linux_kernel` Compiling terminal_size v0.4.1 (/builddir/build/BUILD/terminal_size-0.4.1) Running `/usr/bin/rustc --crate-name terminal_size --edition=2021 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 -C metadata=d294ff5806b3b53f -C extra-filename=-d294ff5806b3b53f --out-dir /builddir/build/BUILD/terminal_size-0.4.1/target/rpm/deps -L dependency=/builddir/build/BUILD/terminal_size-0.4.1/target/rpm/deps --extern rustix=/builddir/build/BUILD/terminal_size-0.4.1/target/rpm/deps/librustix-8ee7c535139174d0.rmeta -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Finished `rpm` profile [optimized + debuginfo] target(s) in 3.54s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.fNrW5g + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rust-terminal_size-0.4.1-1.el9.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rust-terminal_size-0.4.1-1.el9.aarch64 ++ dirname /builddir/build/BUILDROOT/rust-terminal_size-0.4.1-1.el9.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rust-terminal_size-0.4.1-1.el9.aarch64 + cd terminal_size-0.4.1 + set -euo pipefail ++ /usr/bin/cargo2rpm --path Cargo.toml is-lib + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' ++ /usr/bin/cargo2rpm --path Cargo.toml name + CRATE_NAME=terminal_size ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=0.4.1 + REG_DIR=/builddir/build/BUILDROOT/rust-terminal_size-0.4.1-1.el9.aarch64/usr/share/cargo/registry/terminal_size-0.4.1 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-terminal_size-0.4.1-1.el9.aarch64/usr/share/cargo/registry/terminal_size-0.4.1 + 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 -Cstrip=none --cap-lints=warn' /usr/bin/cargo package -l + grep -w -E -v 'Cargo.(lock|toml.orig)' + xargs -d '\n' /usr/bin/cp --parents -a -t /builddir/build/BUILDROOT/rust-terminal_size-0.4.1-1.el9.aarch64/usr/share/cargo/registry/terminal_size-0.4.1 warning: no (git) VCS found for `/builddir/build/BUILD/terminal_size-0.4.1` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /builddir/build/BUILDROOT/rust-terminal_size-0.4.1-1.el9.aarch64/usr/share/cargo/registry/terminal_size-0.4.1/Cargo.toml + /usr/bin/rm -f /builddir/build/BUILDROOT/rust-terminal_size-0.4.1-1.el9.aarch64/usr/share/cargo/registry/terminal_size-0.4.1/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/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.GboGnh + umask 022 + cd /builddir/build/BUILD + cd terminal_size-0.4.1 + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' /usr/bin/cargo test -j12 -Z avoid-dev-deps --profile rpm --no-fail-fast -- --skip unix::compare_with_stty warning: unused manifest key: package.autolib Fresh bitflags v2.6.0 Fresh linux-raw-sys v0.4.14 Fresh rustix v0.38.41 Compiling terminal_size v0.4.1 (/builddir/build/BUILD/terminal_size-0.4.1) Running `/usr/bin/rustc --crate-name terminal_size --edition=2021 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --test -C metadata=d3e3350715c4176d -C extra-filename=-d3e3350715c4176d --out-dir /builddir/build/BUILD/terminal_size-0.4.1/target/rpm/deps -L dependency=/builddir/build/BUILD/terminal_size-0.4.1/target/rpm/deps --extern rustix=/builddir/build/BUILD/terminal_size-0.4.1/target/rpm/deps/librustix-8ee7c535139174d0.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name get_size --edition=2021 examples/get_size.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 -C metadata=777bfb9c88bbd84f -C extra-filename=-777bfb9c88bbd84f --out-dir /builddir/build/BUILD/terminal_size-0.4.1/target/rpm/examples -L dependency=/builddir/build/BUILD/terminal_size-0.4.1/target/rpm/deps --extern rustix=/builddir/build/BUILD/terminal_size-0.4.1/target/rpm/deps/librustix-8ee7c535139174d0.rlib --extern terminal_size=/builddir/build/BUILD/terminal_size-0.4.1/target/rpm/deps/libterminal_size-d294ff5806b3b53f.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Finished `rpm` profile [optimized + debuginfo] target(s) in 0.89s Running `/builddir/build/BUILD/terminal_size-0.4.1/target/rpm/deps/terminal_size-d3e3350715c4176d --skip 'unix::compare_with_stty'` running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 1 filtered out; finished in 0.00s Doc-tests terminal_size Running `/usr/bin/rustdoc --edition=2021 --crate-type lib --crate-name terminal_size --test src/lib.rs --test-run-directory /builddir/build/BUILD/terminal_size-0.4.1 -L dependency=/builddir/build/BUILD/terminal_size-0.4.1/target/rpm/deps -L dependency=/builddir/build/BUILD/terminal_size-0.4.1/target/rpm/deps --test-args --skip --test-args 'unix::compare_with_stty' --extern rustix=/builddir/build/BUILD/terminal_size-0.4.1/target/rpm/deps/librustix-8ee7c535139174d0.rlib --extern terminal_size=/builddir/build/BUILD/terminal_size-0.4.1/target/rpm/deps/libterminal_size-d294ff5806b3b53f.rlib -C embed-bitcode=no --error-format human` running 1 test test src/lib.rs - (line 9) ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.28s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rust-terminal_size-devel-0.4.1-1.el9.noarch warning: File listed twice: /usr/share/cargo/registry/terminal_size-0.4.1/LICENSE-APACHE warning: File listed twice: /usr/share/cargo/registry/terminal_size-0.4.1/LICENSE-MIT warning: File listed twice: /usr/share/cargo/registry/terminal_size-0.4.1/README.md Provides: crate(terminal_size) = 0.4.1 rust-terminal_size-devel = 0.4.1-1.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (crate(rustix/default) >= 0.38.0 with crate(rustix/default) < 0.39.0~) (crate(rustix/termios) >= 0.38.0 with crate(rustix/termios) < 0.39.0~) cargo rust >= 1.63 Processing files: rust-terminal_size+default-devel-0.4.1-1.el9.noarch Provides: crate(terminal_size/default) = 0.4.1 rust-terminal_size+default-devel = 0.4.1-1.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(terminal_size) = 0.4.1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rust-terminal_size-0.4.1-1.el9.aarch64 Wrote: /builddir/build/SRPMS/rust-terminal_size-0.4.1-1.el9.src.rpm Wrote: /builddir/build/RPMS/rust-terminal_size+default-devel-0.4.1-1.el9.noarch.rpm Wrote: /builddir/build/RPMS/rust-terminal_size-devel-0.4.1-1.el9.noarch.rpm Child return code was: 0