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-dns-lookup.spec'], chrootPath='/var/lib/mock/epel9-build-55713750-6538112/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.3smag1q3:/etc/resolv.conf']) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-dns-lookup.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=1704499200 Wrote: /builddir/build/SRPMS/rust-dns-lookup-2.0.4-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-dns-lookup.spec'], chrootPath='/var/lib/mock/epel9-build-55713750-6538112/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.3smag1q3:/etc/resolv.conf']) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-dns-lookup.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=1704499200 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.x41URV + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf dns-lookup-2.0.4 + /usr/bin/gzip -dc /builddir/build/SOURCES/dns-lookup-2.0.4.crate + /usr/bin/tar -xof - + STATUS=0 + '[' 0 -ne 0 ']' + cd dns-lookup-2.0.4 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/bin/cat /builddir/build/SOURCES/dns-lookup-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.txTRqh + umask 022 + cd /builddir/build/BUILD + cd dns-lookup-2.0.4 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-dns-lookup-2.0.4-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-dns-lookup.spec'], chrootPath='/var/lib/mock/epel9-build-55713750-6538112/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.3smag1q3:/etc/resolv.conf']) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --noprep --noclean --target aarch64 --nodeps /builddir/build/SPECS/rust-dns-lookup.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=1704499200 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.4st4bA + umask 022 + cd /builddir/build/BUILD + cd dns-lookup-2.0.4 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-dns-lookup-2.0.4-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-dns-lookup.spec'], chrootPath='/var/lib/mock/epel9-build-55713750-6538112/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.3smag1q3:/etc/resolv.conf']) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --noclean --target aarch64 /builddir/build/SPECS/rust-dns-lookup.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=1704499200 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.7wP3Mz + umask 022 + cd /builddir/build/BUILD + cd dns-lookup-2.0.4 + /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.7iqAtg + umask 022 + cd /builddir/build/BUILD + cd dns-lookup-2.0.4 + /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 Compiling libc v0.2.166 Compiling cfg-if v1.0.0 Running `/usr/bin/rustc --crate-name build_script_build --edition=2015 /usr/share/cargo/registry/libc-0.2.166/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=a6eef532cdc83095 -C extra-filename=-a6eef532cdc83095 --out-dir /builddir/build/BUILD/dns-lookup-2.0.4/target/rpm/build/libc-a6eef532cdc83095 -L dependency=/builddir/build/BUILD/dns-lookup-2.0.4/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 cfg_if --edition=2018 /usr/share/cargo/registry/cfg-if-1.0.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 -C metadata=a78e0a90ce2fd3a0 -C extra-filename=-a78e0a90ce2fd3a0 --out-dir /builddir/build/BUILD/dns-lookup-2.0.4/target/rpm/deps -L dependency=/builddir/build/BUILD/dns-lookup-2.0.4/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/builddir/build/BUILD/dns-lookup-2.0.4/target/rpm/build/libc-a6eef532cdc83095/build-script-build` Running `/usr/bin/rustc --crate-name libc --edition=2015 /usr/share/cargo/registry/libc-0.2.166/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"' -C metadata=6de933e83b41b850 -C extra-filename=-6de933e83b41b850 --out-dir /builddir/build/BUILD/dns-lookup-2.0.4/target/rpm/deps -L dependency=/builddir/build/BUILD/dns-lookup-2.0.4/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg freebsd11 --cfg libc_const_extern_fn` Compiling socket2 v0.5.8 Running `/usr/bin/rustc --crate-name socket2 --edition=2021 /usr/share/cargo/registry/socket2-0.5.8/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=8629120062f854fd -C extra-filename=-8629120062f854fd --out-dir /builddir/build/BUILD/dns-lookup-2.0.4/target/rpm/deps -L dependency=/builddir/build/BUILD/dns-lookup-2.0.4/target/rpm/deps --extern libc=/builddir/build/BUILD/dns-lookup-2.0.4/target/rpm/deps/liblibc-6de933e83b41b850.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling dns-lookup v2.0.4 (/builddir/build/BUILD/dns-lookup-2.0.4) Running `/usr/bin/rustc --crate-name dns_lookup --edition=2018 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=20deb78c031572aa -C extra-filename=-20deb78c031572aa --out-dir /builddir/build/BUILD/dns-lookup-2.0.4/target/rpm/deps -L dependency=/builddir/build/BUILD/dns-lookup-2.0.4/target/rpm/deps --extern cfg_if=/builddir/build/BUILD/dns-lookup-2.0.4/target/rpm/deps/libcfg_if-a78e0a90ce2fd3a0.rmeta --extern libc=/builddir/build/BUILD/dns-lookup-2.0.4/target/rpm/deps/liblibc-6de933e83b41b850.rmeta --extern socket2=/builddir/build/BUILD/dns-lookup-2.0.4/target/rpm/deps/libsocket2-8629120062f854fd.rmeta -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Finished `rpm` profile [optimized + debuginfo] target(s) in 3.87s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.o5tTyE + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rust-dns-lookup-2.0.4-1.el9.aarch64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rust-dns-lookup-2.0.4-1.el9.aarch64 ++ dirname /builddir/build/BUILDROOT/rust-dns-lookup-2.0.4-1.el9.aarch64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rust-dns-lookup-2.0.4-1.el9.aarch64 + cd dns-lookup-2.0.4 + 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=dns-lookup ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=2.0.4 + REG_DIR=/builddir/build/BUILDROOT/rust-dns-lookup-2.0.4-1.el9.aarch64/usr/share/cargo/registry/dns-lookup-2.0.4 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-dns-lookup-2.0.4-1.el9.aarch64/usr/share/cargo/registry/dns-lookup-2.0.4 + 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-dns-lookup-2.0.4-1.el9.aarch64/usr/share/cargo/registry/dns-lookup-2.0.4 warning: no (git) VCS found for `/builddir/build/BUILD/dns-lookup-2.0.4` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /builddir/build/BUILDROOT/rust-dns-lookup-2.0.4-1.el9.aarch64/usr/share/cargo/registry/dns-lookup-2.0.4/Cargo.toml + /usr/bin/rm -f /builddir/build/BUILDROOT/rust-dns-lookup-2.0.4-1.el9.aarch64/usr/share/cargo/registry/dns-lookup-2.0.4/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.9Mop4g + umask 022 + cd /builddir/build/BUILD + cd dns-lookup-2.0.4 + /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 Fresh libc v0.2.166 Fresh socket2 v0.5.8 Fresh cfg-if v1.0.0 Compiling dns-lookup v2.0.4 (/builddir/build/BUILD/dns-lookup-2.0.4) Running `/usr/bin/rustc --crate-name dns_lookup --edition=2018 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=1c01d346c9cae723 -C extra-filename=-1c01d346c9cae723 --out-dir /builddir/build/BUILD/dns-lookup-2.0.4/target/rpm/deps -L dependency=/builddir/build/BUILD/dns-lookup-2.0.4/target/rpm/deps --extern cfg_if=/builddir/build/BUILD/dns-lookup-2.0.4/target/rpm/deps/libcfg_if-a78e0a90ce2fd3a0.rlib --extern libc=/builddir/build/BUILD/dns-lookup-2.0.4/target/rpm/deps/liblibc-6de933e83b41b850.rlib --extern socket2=/builddir/build/BUILD/dns-lookup-2.0.4/target/rpm/deps/libsocket2-8629120062f854fd.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Finished `rpm` profile [optimized + debuginfo] target(s) in 1.22s Running `/builddir/build/BUILD/dns-lookup-2.0.4/target/rpm/deps/dns_lookup-1c01d346c9cae723` running 5 tests test addrinfo::test_addrinfohints ... ok test hostname::test_get_hostname ... ok test lookup::test_rev_localhost ... ok test nameinfo::test_getnameinfo ... ok test lookup::test_localhost ... ok test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests dns_lookup Running `/usr/bin/rustdoc --edition=2018 --crate-type lib --crate-name dns_lookup --test src/lib.rs --test-run-directory /builddir/build/BUILD/dns-lookup-2.0.4 -L dependency=/builddir/build/BUILD/dns-lookup-2.0.4/target/rpm/deps -L dependency=/builddir/build/BUILD/dns-lookup-2.0.4/target/rpm/deps --extern cfg_if=/builddir/build/BUILD/dns-lookup-2.0.4/target/rpm/deps/libcfg_if-a78e0a90ce2fd3a0.rlib --extern dns_lookup=/builddir/build/BUILD/dns-lookup-2.0.4/target/rpm/deps/libdns_lookup-20deb78c031572aa.rlib --extern libc=/builddir/build/BUILD/dns-lookup-2.0.4/target/rpm/deps/liblibc-6de933e83b41b850.rlib --extern socket2=/builddir/build/BUILD/dns-lookup-2.0.4/target/rpm/deps/libsocket2-8629120062f854fd.rlib -C embed-bitcode=no --error-format human` running 4 tests test src/lib.rs - (line 26) ... ok test src/lib.rs - (line 13) ... ok test src/lib.rs - (line 60) ... ok test src/lib.rs - (line 36) ... ok test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.40s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rust-dns-lookup-devel-2.0.4-1.el9.noarch warning: File listed twice: /usr/share/cargo/registry/dns-lookup-2.0.4/LICENSE-APACHE warning: File listed twice: /usr/share/cargo/registry/dns-lookup-2.0.4/LICENSE-MIT warning: File listed twice: /usr/share/cargo/registry/dns-lookup-2.0.4/README.md Provides: crate(dns-lookup) = 2.0.4 rust-dns-lookup-devel = 2.0.4-1.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: (crate(cfg-if/default) >= 1.0.0 with crate(cfg-if/default) < 2.0.0~) (crate(libc/default) >= 0.2.0 with crate(libc/default) < 0.3.0~) (crate(socket2/default) >= 0.5.2 with crate(socket2/default) < 0.6.0~) cargo Processing files: rust-dns-lookup+default-devel-2.0.4-1.el9.noarch Provides: crate(dns-lookup/default) = 2.0.4 rust-dns-lookup+default-devel = 2.0.4-1.el9 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(dns-lookup) = 2.0.4 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rust-dns-lookup-2.0.4-1.el9.aarch64 Wrote: /builddir/build/SRPMS/rust-dns-lookup-2.0.4-1.el9.src.rpm Wrote: /builddir/build/RPMS/rust-dns-lookup+default-devel-2.0.4-1.el9.noarch.rpm Wrote: /builddir/build/RPMS/rust-dns-lookup-devel-2.0.4-1.el9.noarch.rpm Child return code was: 0