D: [iurt_root_command] chroot Building target platforms: noarch Building for target noarch Installing /home/pterjan/rpmbuild/SRPMS/rust-errno-0.3.8-1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.rCjukK + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-errno-0.3.8-build + test -d /home/pterjan/rpmbuild/BUILD/rust-errno-0.3.8-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/rust-errno-0.3.8-build + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/rust-errno-0.3.8-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-errno-0.3.8-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-errno-0.3.8-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.aKGH1a + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-errno-0.3.8-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/rust-errno-0.3.8-build + rm -rf errno-0.3.8 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/errno-0.3.8.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd errno-0.3.8 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/errno-fix-metadata-auto.diff + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + 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 /home/pterjan/rpmbuild/tmp/rpm-tmp.ccd4sx + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-errno-0.3.8-build + cd errno-0.3.8 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires --with-check + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.bVFP3V + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-errno-0.3.8-build + cd errno-0.3.8 + '[' 1 -eq 1 ']' + '[' 1 -eq 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 -j16 -Z avoid-dev-deps --profile rpm Compiling libc v0.2.155 Running `/usr/bin/rustc --crate-name build_script_build --edition=2015 /usr/share/cargo/registry/libc-0.2.155/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="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("align", "const-extern-fn", "default", "extra_traits", "rustc-dep-of-std", "rustc-std-workspace-core", "std", "use_std"))' -C metadata=f47b6d61271eb7dd -C extra-filename=-f47b6d61271eb7dd --out-dir /home/pterjan/rpmbuild/BUILD/rust-errno-0.3.8-build/errno-0.3.8/target/rpm/build/libc-f47b6d61271eb7dd -L dependency=/home/pterjan/rpmbuild/BUILD/rust-errno-0.3.8-build/errno-0.3.8/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/home/pterjan/rpmbuild/BUILD/rust-errno-0.3.8-build/errno-0.3.8/target/rpm/build/libc-f47b6d61271eb7dd/build-script-build` Running `/usr/bin/rustc --crate-name libc --edition=2015 /usr/share/cargo/registry/libc-0.2.155/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"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("align", "const-extern-fn", "default", "extra_traits", "rustc-dep-of-std", "rustc-std-workspace-core", "std", "use_std"))' -C metadata=e97d4d27fd90b142 -C extra-filename=-e97d4d27fd90b142 --out-dir /home/pterjan/rpmbuild/BUILD/rust-errno-0.3.8-build/errno-0.3.8/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-errno-0.3.8-build/errno-0.3.8/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg freebsd11 --cfg libc_priv_mod_use --cfg libc_union --cfg libc_const_size_of --cfg libc_align --cfg libc_int128 --cfg libc_core_cvoid --cfg libc_packedN --cfg libc_cfg_target_vendor --cfg libc_non_exhaustive --cfg libc_long_array --cfg libc_ptr_addr_of --cfg libc_underscore_const_names --cfg libc_const_extern_fn --check-cfg 'cfg(emscripten_new_stat_abi)' --check-cfg 'cfg(espidf_time64)' --check-cfg 'cfg(freebsd10)' --check-cfg 'cfg(freebsd11)' --check-cfg 'cfg(freebsd12)' --check-cfg 'cfg(freebsd13)' --check-cfg 'cfg(freebsd14)' --check-cfg 'cfg(freebsd15)' --check-cfg 'cfg(libc_align)' --check-cfg 'cfg(libc_cfg_target_vendor)' --check-cfg 'cfg(libc_const_extern_fn)' --check-cfg 'cfg(libc_const_extern_fn_unstable)' --check-cfg 'cfg(libc_const_size_of)' --check-cfg 'cfg(libc_core_cvoid)' --check-cfg 'cfg(libc_deny_warnings)' --check-cfg 'cfg(libc_int128)' --check-cfg 'cfg(libc_long_array)' --check-cfg 'cfg(libc_non_exhaustive)' --check-cfg 'cfg(libc_packedN)' --check-cfg 'cfg(libc_priv_mod_use)' --check-cfg 'cfg(libc_ptr_addr_of)' --check-cfg 'cfg(libc_thread_local)' --check-cfg 'cfg(libc_underscore_const_names)' --check-cfg 'cfg(libc_union)' --check-cfg 'cfg(target_os,values("switch","aix","ohos","hurd","visionos"))' --check-cfg 'cfg(target_env,values("illumos","wasi","aix","ohos"))' --check-cfg 'cfg(target_arch,values("loongarch64","mips32r6","mips64r6","csky"))'` Compiling errno v0.3.8 (/home/pterjan/rpmbuild/BUILD/rust-errno-0.3.8-build/errno-0.3.8) Running `/usr/bin/rustc --crate-name errno --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 --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("default", "std"))' -C metadata=c93657e4e88b02d3 -C extra-filename=-c93657e4e88b02d3 --out-dir /home/pterjan/rpmbuild/BUILD/rust-errno-0.3.8-build/errno-0.3.8/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-errno-0.3.8-build/errno-0.3.8/target/rpm/deps --extern libc=/home/pterjan/rpmbuild/BUILD/rust-errno-0.3.8-build/errno-0.3.8/target/rpm/deps/liblibc-e97d4d27fd90b142.rmeta -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: unexpected `cfg` condition value: `bitrig` --> src/unix.rs:77:13 | 77 | target_os = "bitrig", | ^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `redox`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, `vita`, `vxworks`, and `wasi` and 4 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("bitrig"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"bitrig\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: `errno` (lib) generated 1 warning Finished `rpm` profile [optimized + debuginfo] target(s) in 1.70s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.vPygyP + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-errno-0.3.8-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/rust-errno-0.3.8-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/rust-errno-0.3.8-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/rust-errno-0.3.8-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/rust-errno-0.3.8-build + mkdir /home/pterjan/rpmbuild/BUILD/rust-errno-0.3.8-build/BUILDROOT + cd errno-0.3.8 + '[' 1 -eq 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=errno ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=0.3.8 + REG_DIR=/home/pterjan/rpmbuild/BUILD/rust-errno-0.3.8-build/BUILDROOT/usr/share/cargo/registry/errno-0.3.8 + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-errno-0.3.8-build/BUILDROOT/usr/share/cargo/registry/errno-0.3.8 + /usr/bin/awk -i inplace -v INPLACE_SUFFIX=.deps '/^\[((.+\.)?((dev|build)-)?dependencies|features)/{f=1;next} /^\[/{f=0}; !f' Cargo.toml + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --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 /home/pterjan/rpmbuild/BUILD/rust-errno-0.3.8-build/BUILDROOT/usr/share/cargo/registry/errno-0.3.8 warning: no (git) VCS found for `/home/pterjan/rpmbuild/BUILD/rust-errno-0.3.8-build/errno-0.3.8` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /home/pterjan/rpmbuild/BUILD/rust-errno-0.3.8-build/BUILDROOT/usr/share/cargo/registry/errno-0.3.8/Cargo.toml + /usr/bin/rm -f /home/pterjan/rpmbuild/BUILD/rust-errno-0.3.8-build/BUILDROOT/usr/share/cargo/registry/errno-0.3.8/Cargo.toml.deps + echo '{"files":{},"package":""}' ++ /usr/bin/cargo2rpm --path Cargo.toml is-bin + '[' 0 -eq 1 ']' + /usr/lib/rpm/check-buildroot + '[' -n '' ']' + /usr/share/spec-helper/clean_files + '[' -n '' ']' + /usr/share/spec-helper/compress_files .xz + '[' -n '' ']' + /usr/share/spec-helper/relink_symlinks + '[' -n '' ']' + /usr/share/spec-helper/clean_perl + '[' -n '' ']' + /usr/share/spec-helper/lib_symlinks + '[' -n '' ']' + /usr/share/spec-helper/gprintify + '[' -n '' ']' + /usr/share/spec-helper/fix_mo + '[' -n '' ']' + /usr/share/spec-helper/fix_pamd + '[' -n '' ']' + /usr/share/spec-helper/remove_info_dir + '[' -n '' ']' + /usr/share/spec-helper/fix_eol + '[' -n '' ']' + /usr/share/spec-helper/check_desktop_files + '[' -n '' ']' + /usr/share/spec-helper/check_elf_files + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-mangle-shebangs + env -u SOURCE_DATE_EPOCH /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 -j16 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.WiGr1y + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-errno-0.3.8-build + cd errno-0.3.8 + '[' 1 -eq 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 -j16 -Z avoid-dev-deps --profile rpm --no-fail-fast Fresh libc v0.2.155 warning: unexpected `cfg` condition value: `bitrig` --> src/unix.rs:77:13 | 77 | target_os = "bitrig", | ^^^^^^^^^^^^^^^^^^^^ | = note: expected values for `target_os` are: `aix`, `android`, `cuda`, `dragonfly`, `emscripten`, `espidf`, `freebsd`, `fuchsia`, `haiku`, `hermit`, `horizon`, `hurd`, `illumos`, `ios`, `l4re`, `linux`, `macos`, `netbsd`, `none`, `nto`, `nuttx`, `openbsd`, `psp`, `redox`, `solaris`, `solid_asp3`, `teeos`, `trusty`, `tvos`, `uefi`, `unknown`, `visionos`, `vita`, `vxworks`, and `wasi` and 4 more = help: consider using a Cargo feature instead = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [lints.rust] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(target_os, values("bitrig"))'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(target_os, values(\"bitrig\"))");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: `errno` (lib) generated 1 warning Compiling errno v0.3.8 (/home/pterjan/rpmbuild/BUILD/rust-errno-0.3.8-build/errno-0.3.8) Running `/usr/bin/rustc --crate-name errno --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 --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("default", "std"))' -C metadata=6b46e3ea00739731 -C extra-filename=-6b46e3ea00739731 --out-dir /home/pterjan/rpmbuild/BUILD/rust-errno-0.3.8-build/errno-0.3.8/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-errno-0.3.8-build/errno-0.3.8/target/rpm/deps --extern libc=/home/pterjan/rpmbuild/BUILD/rust-errno-0.3.8-build/errno-0.3.8/target/rpm/deps/liblibc-e97d4d27fd90b142.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: `errno` (lib test) generated 1 warning (1 duplicate) Finished `rpm` profile [optimized + debuginfo] target(s) in 0.50s Running `/home/pterjan/rpmbuild/BUILD/rust-errno-0.3.8-build/errno-0.3.8/target/rpm/deps/errno-6b46e3ea00739731` running 4 tests test check_description ... ok test it_works ... ok test check_error_into_errno ... ok test it_works_with_to_string ... ok test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests errno Running `/usr/bin/rustdoc --edition=2018 --crate-type lib --color auto --crate-name errno --test src/lib.rs --test-run-directory /home/pterjan/rpmbuild/BUILD/rust-errno-0.3.8-build/errno-0.3.8 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-errno-0.3.8-build/errno-0.3.8/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-errno-0.3.8-build/errno-0.3.8/target/rpm/deps --extern errno=/home/pterjan/rpmbuild/BUILD/rust-errno-0.3.8-build/errno-0.3.8/target/rpm/deps/liberrno-c93657e4e88b02d3.rlib --extern libc=/home/pterjan/rpmbuild/BUILD/rust-errno-0.3.8-build/errno-0.3.8/target/rpm/deps/liblibc-e97d4d27fd90b142.rlib -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("default", "std"))' --error-format human` running 1 test test src/lib.rs - (line 4) ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.18s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rust-errno-devel-0.3.8-1.mga10.noarch warning: File listed twice: /usr/share/cargo/registry/errno-0.3.8/CHANGELOG.md warning: File listed twice: /usr/share/cargo/registry/errno-0.3.8/LICENSE-APACHE warning: File listed twice: /usr/share/cargo/registry/errno-0.3.8/LICENSE-MIT warning: File listed twice: /usr/share/cargo/registry/errno-0.3.8/README.md Provides: crate(errno) = 0.3.8 rust-errno-devel = 0.3.8-1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(libc) >= 0.2.0 rust >= 1.56 Processing files: rust-errno+default-devel-0.3.8-1.mga10.noarch Provides: crate(errno/default) = 0.3.8 rust-errno+default-devel = 0.3.8-1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(errno) = 0.3.8 crate(errno/std) = 0.3.8 Processing files: rust-errno+std-devel-0.3.8-1.mga10.noarch Provides: crate(errno/std) = 0.3.8 rust-errno+std-devel = 0.3.8-1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(errno) = 0.3.8 crate(libc/std) >= 0.2.0 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/rust-errno-0.3.8-build/BUILDROOT Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-errno+std-devel-0.3.8-1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-errno+default-devel-0.3.8-1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-errno-devel-0.3.8-1.mga10.noarch.rpm Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.d27VHe + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-errno-0.3.8-build + test -d /home/pterjan/rpmbuild/BUILD/rust-errno-0.3.8-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/rust-errno-0.3.8-build + rm -rf /home/pterjan/rpmbuild/BUILD/rust-errno-0.3.8-build + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: File listed twice: /usr/share/cargo/registry/errno-0.3.8/CHANGELOG.md File listed twice: /usr/share/cargo/registry/errno-0.3.8/LICENSE-APACHE File listed twice: /usr/share/cargo/registry/errno-0.3.8/LICENSE-MIT File listed twice: /usr/share/cargo/registry/errno-0.3.8/README.md D: [iurt_root_command] Success!