D: [iurt_root_command] chroot Building target platforms: noarch Building for target noarch Installing /home/pterjan/rpmbuild/SRPMS/rust-cfg-if0.1-0.1.10-3.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.gS3Tjp + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-cfg-if0.1-0.1.10-build + test -d /home/pterjan/rpmbuild/BUILD/rust-cfg-if0.1-0.1.10-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/rust-cfg-if0.1-0.1.10-build + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/rust-cfg-if0.1-0.1.10-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-cfg-if0.1-0.1.10-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-cfg-if0.1-0.1.10-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.8BJOiB + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-cfg-if0.1-0.1.10-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/rust-cfg-if0.1-0.1.10-build + rm -rf cfg-if-0.1.10 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/cfg-if-0.1.10.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd cfg-if-0.1.10 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + 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(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.WjQz7E + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-cfg-if0.1-0.1.10-build + cd cfg-if-0.1.10 + '[' 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 cfg-if v0.1.10 (/home/pterjan/rpmbuild/BUILD/rust-cfg-if0.1-0.1.10-build/cfg-if-0.1.10) Running `/usr/bin/rustc --crate-name cfg_if --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 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("compiler_builtins", "core", "rustc-dep-of-std"))' -C metadata=6745c97c90073526 -C extra-filename=-6745c97c90073526 --out-dir /home/pterjan/rpmbuild/BUILD/rust-cfg-if0.1-0.1.10-build/cfg-if-0.1.10/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-cfg-if0.1-0.1.10-build/cfg-if-0.1.10/target/rpm/deps -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Finished `rpm` profile [optimized + debuginfo] target(s) in 0.10s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.wyVWTR + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-cfg-if0.1-0.1.10-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/rust-cfg-if0.1-0.1.10-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/rust-cfg-if0.1-0.1.10-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/rust-cfg-if0.1-0.1.10-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/rust-cfg-if0.1-0.1.10-build + mkdir /home/pterjan/rpmbuild/BUILD/rust-cfg-if0.1-0.1.10-build/BUILDROOT + cd cfg-if-0.1.10 + '[' 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=cfg-if ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=0.1.10 + REG_DIR=/home/pterjan/rpmbuild/BUILD/rust-cfg-if0.1-0.1.10-build/BUILDROOT/usr/share/cargo/registry/cfg-if-0.1.10 + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-cfg-if0.1-0.1.10-build/BUILDROOT/usr/share/cargo/registry/cfg-if-0.1.10 + /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-cfg-if0.1-0.1.10-build/BUILDROOT/usr/share/cargo/registry/cfg-if-0.1.10 warning: no (git) VCS found for `/home/pterjan/rpmbuild/BUILD/rust-cfg-if0.1-0.1.10-build/cfg-if-0.1.10` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /home/pterjan/rpmbuild/BUILD/rust-cfg-if0.1-0.1.10-build/BUILDROOT/usr/share/cargo/registry/cfg-if-0.1.10/Cargo.toml + /usr/bin/rm -f /home/pterjan/rpmbuild/BUILD/rust-cfg-if0.1-0.1.10-build/BUILDROOT/usr/share/cargo/registry/cfg-if-0.1.10/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.B0rMk4 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-cfg-if0.1-0.1.10-build + cd cfg-if-0.1.10 + '[' 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 Compiling cfg-if v0.1.10 (/home/pterjan/rpmbuild/BUILD/rust-cfg-if0.1-0.1.10-build/cfg-if-0.1.10) Running `/usr/bin/rustc --crate-name xcrate --edition=2018 tests/xcrate.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 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("compiler_builtins", "core", "rustc-dep-of-std"))' -C metadata=815e24326da96be3 -C extra-filename=-815e24326da96be3 --out-dir /home/pterjan/rpmbuild/BUILD/rust-cfg-if0.1-0.1.10-build/cfg-if-0.1.10/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-cfg-if0.1-0.1.10-build/cfg-if-0.1.10/target/rpm/deps --extern cfg_if=/home/pterjan/rpmbuild/BUILD/rust-cfg-if0.1-0.1.10-build/cfg-if-0.1.10/target/rpm/deps/libcfg_if-6745c97c90073526.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name cfg_if --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 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("compiler_builtins", "core", "rustc-dep-of-std"))' -C metadata=526b3ede7306c7fe -C extra-filename=-526b3ede7306c7fe --out-dir /home/pterjan/rpmbuild/BUILD/rust-cfg-if0.1-0.1.10-build/cfg-if-0.1.10/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-cfg-if0.1-0.1.10-build/cfg-if-0.1.10/target/rpm/deps -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: unexpected `cfg` condition name: `foo` --> tests/xcrate.rs:2:14 | 2 | if #[cfg(foo)] { | ^^^ | = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` = 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(foo)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(foo)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration = note: `#[warn(unexpected_cfgs)]` on by default warning: unexpected `cfg` condition name: `foo` --> src/lib.rs:101:18 | 101 | if #[cfg(foo)] { | ^^^ | = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `fmt_debug`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` = 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(foo)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(foo)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration note: the lint level is defined here --> src/lib.rs:29:24 | 29 | #![cfg_attr(test, deny(warnings))] | ^^^^^^^^ = note: `#[warn(unexpected_cfgs)]` implied by `#[warn(warnings)]` warning: unexpected `cfg` condition name: `foo` --> src/lib.rs:111:18 | 111 | if #[cfg(foo)] { | ^^^ | = 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(foo)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(foo)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `foo` --> src/lib.rs:126:18 | 126 | if #[cfg(foo)] { | ^^^ | = 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(foo)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(foo)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `blah` --> src/lib.rs:165:22 | 165 | if #[cfg(feature = "blah")] { | ^^^^^^^ | = note: expected values for `feature` are: `compiler_builtins`, `core`, and `rustc-dep-of-std` = help: consider adding `blah` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: trait `Trait` is never used --> src/lib.rs:156:11 | 156 | trait Trait { | ^^^^^ | = note: `#[warn(dead_code)]` implied by `#[warn(warnings)]` warning: `cfg-if` (test "xcrate") generated 1 warning warning: `cfg-if` (lib test) generated 5 warnings Finished `rpm` profile [optimized + debuginfo] target(s) in 0.33s Running `/home/pterjan/rpmbuild/BUILD/rust-cfg-if0.1-0.1.10-build/cfg-if-0.1.10/target/rpm/deps/cfg_if-526b3ede7306c7fe` running 2 tests test tests::it_works ... ok test tests::test_usage_within_a_function ... ok test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running `/home/pterjan/rpmbuild/BUILD/rust-cfg-if0.1-0.1.10-build/cfg-if-0.1.10/target/rpm/deps/xcrate-815e24326da96be3` running 1 test test smoke ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests cfg_if Running `/usr/bin/rustdoc --edition=2018 --crate-type lib --color auto --crate-name cfg_if --test src/lib.rs --test-run-directory /home/pterjan/rpmbuild/BUILD/rust-cfg-if0.1-0.1.10-build/cfg-if-0.1.10 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-cfg-if0.1-0.1.10-build/cfg-if-0.1.10/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-cfg-if0.1-0.1.10-build/cfg-if-0.1.10/target/rpm/deps --extern cfg_if=/home/pterjan/rpmbuild/BUILD/rust-cfg-if0.1-0.1.10-build/cfg-if-0.1.10/target/rpm/deps/libcfg_if-6745c97c90073526.rlib -C embed-bitcode=no --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("compiler_builtins", "core", "rustc-dep-of-std"))' --error-format human` running 1 test test src/lib.rs - (line 12) ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.16s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rust-cfg-if0.1-devel-0.1.10-3.mga10.noarch warning: File listed twice: /usr/share/cargo/registry/cfg-if-0.1.10/LICENSE-APACHE warning: File listed twice: /usr/share/cargo/registry/cfg-if-0.1.10/LICENSE-MIT warning: File listed twice: /usr/share/cargo/registry/cfg-if-0.1.10/README.md Provides: crate(cfg-if) = 0.1.10 rust-cfg-if0.1-devel = 0.1.10-3.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo Processing files: rust-cfg-if0.1+default-devel-0.1.10-3.mga10.noarch Provides: crate(cfg-if/default) = 0.1.10 rust-cfg-if0.1+default-devel = 0.1.10-3.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(cfg-if) = 0.1.10 Processing files: rust-cfg-if0.1+compiler_builtins-devel-0.1.10-3.mga10.noarch Provides: crate(cfg-if/compiler_builtins) = 0.1.10 rust-cfg-if0.1+compiler_builtins-devel = 0.1.10-3.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(cfg-if) = 0.1.10 crate(compiler_builtins/default) >= 0.1.2 Processing files: rust-cfg-if0.1+core-devel-0.1.10-3.mga10.noarch Provides: crate(cfg-if/core) = 0.1.10 rust-cfg-if0.1+core-devel = 0.1.10-3.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(cfg-if) = 0.1.10 crate(rustc-std-workspace-core/default) >= 1.0.0 Processing files: rust-cfg-if0.1+rustc-dep-of-std-devel-0.1.10-3.mga10.noarch Provides: crate(cfg-if/rustc-dep-of-std) = 0.1.10 rust-cfg-if0.1+rustc-dep-of-std-devel = 0.1.10-3.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(cfg-if) = 0.1.10 crate(cfg-if/compiler_builtins) = 0.1.10 crate(cfg-if/core) = 0.1.10 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/rust-cfg-if0.1-0.1.10-build/BUILDROOT Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-cfg-if0.1+compiler_builtins-devel-0.1.10-3.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-cfg-if0.1+core-devel-0.1.10-3.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-cfg-if0.1+default-devel-0.1.10-3.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-cfg-if0.1+rustc-dep-of-std-devel-0.1.10-3.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-cfg-if0.1-devel-0.1.10-3.mga10.noarch.rpm Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.So7fEr + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-cfg-if0.1-0.1.10-build + test -d /home/pterjan/rpmbuild/BUILD/rust-cfg-if0.1-0.1.10-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/rust-cfg-if0.1-0.1.10-build + rm -rf /home/pterjan/rpmbuild/BUILD/rust-cfg-if0.1-0.1.10-build + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: File listed twice: /usr/share/cargo/registry/cfg-if-0.1.10/LICENSE-APACHE File listed twice: /usr/share/cargo/registry/cfg-if-0.1.10/LICENSE-MIT File listed twice: /usr/share/cargo/registry/cfg-if-0.1.10/README.md D: [iurt_root_command] Success!