D: [iurt_root_command] chroot Building target platforms: noarch Building for target noarch Installing /home/pterjan/rpmbuild/SRPMS/rust-eyre-0.6.12-1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.PpMdO2 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.2tcoKK + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-eyre-0.6.12-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/rust-eyre-0.6.12-build + rm -rf eyre-0.6.12 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/eyre-0.6.12.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd eyre-0.6.12 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/eyre-fix-metadata.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.9Ir81i + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-eyre-0.6.12-build + cd eyre-0.6.12 + /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.3lCP5k + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-eyre-0.6.12-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd eyre-0.6.12 + '[' 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 eyre v0.6.12 (/home/pterjan/rpmbuild/BUILD/rust-eyre-0.6.12-build/eyre-0.6.12) Compiling indenter v0.3.3 Compiling once_cell v1.21.3 Running `/usr/bin/rustc --crate-name build_script_build --edition=2018 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="auto-install"' --cfg 'feature="default"' --cfg 'feature="track-caller"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("auto-install", "default", "track-caller"))' -C metadata=e6d371e9fa073d0d -C extra-filename=-84afbfcbbb201b7d --out-dir /home/pterjan/rpmbuild/BUILD/rust-eyre-0.6.12-build/eyre-0.6.12/target/rpm/build/eyre-84afbfcbbb201b7d -L dependency=/home/pterjan/rpmbuild/BUILD/rust-eyre-0.6.12-build/eyre-0.6.12/target/rpm/deps -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name indenter --edition=2018 /usr/share/cargo/registry/indenter-0.3.3/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"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "std"))' -C metadata=f66046ec14b86cb6 -C extra-filename=-13320424422bbb4e --out-dir /home/pterjan/rpmbuild/BUILD/rust-eyre-0.6.12-build/eyre-0.6.12/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-eyre-0.6.12-build/eyre-0.6.12/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 once_cell --edition=2021 /usr/share/cargo/registry/once_cell-1.21.3/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="alloc"' --cfg 'feature="default"' --cfg 'feature="race"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "atomic-polyfill", "critical-section", "default", "parking_lot", "portable-atomic", "race", "std", "unstable"))' -C metadata=7ae7dff4bb114fe0 -C extra-filename=-8df09a6388f86b7d --out-dir /home/pterjan/rpmbuild/BUILD/rust-eyre-0.6.12-build/eyre-0.6.12/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-eyre-0.6.12-build/eyre-0.6.12/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-eyre-0.6.12-build/eyre-0.6.12/target/rpm/build/eyre-84afbfcbbb201b7d/build-script-build` Running `/usr/bin/rustc --crate-name eyre --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="auto-install"' --cfg 'feature="default"' --cfg 'feature="track-caller"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("auto-install", "default", "track-caller"))' -C metadata=a9b1711f35b2137d -C extra-filename=-b216a23662ca57c3 --out-dir /home/pterjan/rpmbuild/BUILD/rust-eyre-0.6.12-build/eyre-0.6.12/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-eyre-0.6.12-build/eyre-0.6.12/target/rpm/deps --extern indenter=/home/pterjan/rpmbuild/BUILD/rust-eyre-0.6.12-build/eyre-0.6.12/target/rpm/deps/libindenter-13320424422bbb4e.rmeta --extern once_cell=/home/pterjan/rpmbuild/BUILD/rust-eyre-0.6.12-build/eyre-0.6.12/target/rpm/deps/libonce_cell-8df09a6388f86b7d.rmeta -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg track_caller --cfg stable` warning: unexpected `cfg` condition name: `nightly` --> src/lib.rs:323:5 | 323 | nightly, | ^^^^^^^ | = help: expected names are: `docsrs`, `feature`, and `test` and 31 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(nightly)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(nightly)");` 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: `backtrace` --> src/lib.rs:348:13 | 348 | #![cfg_attr(backtrace, feature(backtrace))] | ^^^^^^^^^ | = 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(backtrace)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(backtrace)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `doc_cfg` --> src/lib.rs:349:13 | 349 | #![cfg_attr(doc_cfg, feature(doc_cfg))] | ^^^^^^^ | = 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(doc_cfg)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(doc_cfg)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `track_caller` --> src/lib.rs:587:12 | 587 | #[cfg_attr(track_caller, track_caller)] | ^^^^^^^^^^^^ | = 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(track_caller)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `track_caller` --> src/lib.rs:588:16 | 588 | #[cfg_attr(not(track_caller), allow(unused_mut))] | ^^^^^^^^^^^^ | = 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(track_caller)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `backtrace` --> src/backtrace.rs:1:7 | 1 | #[cfg(backtrace)] | ^^^^^^^^^ | = 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(backtrace)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(backtrace)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `backtrace` --> src/backtrace.rs:4:11 | 4 | #[cfg(not(backtrace))] | ^^^^^^^^^ | = 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(backtrace)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(backtrace)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `backtrace` --> src/backtrace.rs:7:7 | 7 | #[cfg(backtrace)] | ^^^^^^^^^ | = 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(backtrace)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(backtrace)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `backtrace` --> src/backtrace.rs:17:11 | 17 | #[cfg(not(backtrace))] | ^^^^^^^^^ | = 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(backtrace)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(backtrace)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `backtrace` --> src/context.rs:5:7 | 5 | #[cfg(backtrace)] | ^^^^^^^^^ | = 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(backtrace)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(backtrace)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `track_caller` --> src/context.rs:12:20 | 12 | #[cfg_attr(track_caller, track_caller)] | ^^^^^^^^^^^^ | = 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(track_caller)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `backtrace` --> src/context.rs:146:11 | 146 | #[cfg(backtrace)] | ^^^^^^^^^ | = 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(backtrace)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(backtrace)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition value: `pyo3` --> src/error.rs:911:7 | 911 | #[cfg(feature = "pyo3")] | ^^^^^^^^^^^^^^^^ | = note: expected values for `feature` are: `auto-install`, `default`, and `track-caller` = help: consider adding `pyo3` as a feature in `Cargo.toml` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `track_caller` --> src/error.rs:20:16 | 20 | #[cfg_attr(track_caller, track_caller)] | ^^^^^^^^^^^^ | = 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(track_caller)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `track_caller` --> src/error.rs:65:16 | 65 | #[cfg_attr(track_caller, track_caller)] | ^^^^^^^^^^^^ | = 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(track_caller)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `track_caller` --> src/error.rs:73:16 | 73 | #[cfg_attr(track_caller, track_caller)] | ^^^^^^^^^^^^ | = 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(track_caller)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `track_caller` --> src/error.rs:95:16 | 95 | #[cfg_attr(track_caller, track_caller)] | ^^^^^^^^^^^^ | = 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(track_caller)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `track_caller` --> src/error.rs:119:16 | 119 | #[cfg_attr(track_caller, track_caller)] | ^^^^^^^^^^^^ | = 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(track_caller)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `track_caller` --> src/error.rs:143:16 | 143 | #[cfg_attr(track_caller, track_caller)] | ^^^^^^^^^^^^ | = 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(track_caller)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `track_caller` --> src/error.rs:167:16 | 167 | #[cfg_attr(track_caller, track_caller)] | ^^^^^^^^^^^^ | = 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(track_caller)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `track_caller` --> src/error.rs:494:16 | 494 | #[cfg_attr(track_caller, track_caller)] | ^^^^^^^^^^^^ | = 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(track_caller)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `track_caller` --> src/kind.rs:65:16 | 65 | #[cfg_attr(track_caller, track_caller)] | ^^^^^^^^^^^^ | = 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(track_caller)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `track_caller` --> src/kind.rs:86:16 | 86 | #[cfg_attr(track_caller, track_caller)] | ^^^^^^^^^^^^ | = 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(track_caller)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `track_caller` --> src/kind.rs:107:16 | 107 | #[cfg_attr(track_caller, track_caller)] | ^^^^^^^^^^^^ | = 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(track_caller)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `backtrace` --> src/wrapper.rs:85:11 | 85 | #[cfg(backtrace)] | ^^^^^^^^^ | = 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(backtrace)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(backtrace)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `track_caller` --> src/lib.rs:603:11 | 603 | #[cfg(track_caller)] | ^^^^^^^^^^^^ | = 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(track_caller)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `track_caller` --> src/lib.rs:732:11 | 732 | #[cfg(track_caller)] | ^^^^^^^^^^^^ | = 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(track_caller)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `track_caller` --> src/lib.rs:770:19 | 770 | #[cfg(track_caller)] | ^^^^^^^^^^^^ | = 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(track_caller)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `track_caller` --> src/lib.rs:842:11 | 842 | #[cfg(track_caller)] | ^^^^^^^^^^^^ | = 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(track_caller)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `track_caller` --> src/lib.rs:817:19 | 817 | #[cfg(all(track_caller, feature = "track-caller"))] | ^^^^^^^^^^^^ | = 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(track_caller)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `backtrace` --> src/lib.rs:825:15 | 825 | #[cfg(backtrace)] | ^^^^^^^^^ | = 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(backtrace)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(backtrace)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `track_caller` --> src/lib.rs:1101:16 | 1101 | #[cfg_attr(track_caller, track_caller)] | ^^^^^^^^^^^^ | = 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(track_caller)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `track_caller` --> src/lib.rs:1108:16 | 1108 | #[cfg_attr(track_caller, track_caller)] | ^^^^^^^^^^^^ | = 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(track_caller)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `track_caller` --> src/lib.rs:1115:16 | 1115 | #[cfg_attr(track_caller, track_caller)] | ^^^^^^^^^^^^ | = 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(track_caller)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `track_caller` --> src/lib.rs:1121:16 | 1121 | #[cfg_attr(track_caller, track_caller)] | ^^^^^^^^^^^^ | = 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(track_caller)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `track_caller` --> src/lib.rs:1229:16 | 1229 | #[cfg_attr(track_caller, track_caller)] | ^^^^^^^^^^^^ | = 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(track_caller)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `track_caller` --> src/lib.rs:1236:16 | 1236 | #[cfg_attr(track_caller, track_caller)] | ^^^^^^^^^^^^ | = 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(track_caller)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `track_caller` --> src/lib.rs:1243:16 | 1243 | #[cfg_attr(track_caller, track_caller)] | ^^^^^^^^^^^^ | = 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(track_caller)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `track_caller` --> src/lib.rs:1249:16 | 1249 | #[cfg_attr(track_caller, track_caller)] | ^^^^^^^^^^^^ | = 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(track_caller)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `track_caller` --> src/lib.rs:1297:16 | 1297 | #[cfg_attr(track_caller, track_caller)] | ^^^^^^^^^^^^ | = 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(track_caller)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `track_caller` --> src/lib.rs:1307:16 | 1307 | #[cfg_attr(track_caller, track_caller)] | ^^^^^^^^^^^^ | = 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(track_caller)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(track_caller)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `eyre_no_fmt_arguments_as_str` --> src/lib.rs:1309:15 | 1309 | #[cfg(eyre_no_fmt_arguments_as_str)] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = 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(eyre_no_fmt_arguments_as_str)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(eyre_no_fmt_arguments_as_str)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `eyre_no_fmt_arguments_as_str` --> src/lib.rs:1311:19 | 1311 | #[cfg(not(eyre_no_fmt_arguments_as_str))] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = 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(eyre_no_fmt_arguments_as_str)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(eyre_no_fmt_arguments_as_str)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: `eyre` (lib) generated 43 warnings Finished `rpm` profile [optimized + debuginfo] target(s) in 1.79s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.TKVaZ9 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-eyre-0.6.12-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/rust-eyre-0.6.12-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/rust-eyre-0.6.12-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/rust-eyre-0.6.12-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/rust-eyre-0.6.12-build + mkdir /home/pterjan/rpmbuild/BUILD/rust-eyre-0.6.12-build/BUILDROOT + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd eyre-0.6.12 + '[' 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=eyre ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=0.6.12 + REG_DIR=/home/pterjan/rpmbuild/BUILD/rust-eyre-0.6.12-build/BUILDROOT/usr/share/cargo/registry/eyre-0.6.12 + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-eyre-0.6.12-build/BUILDROOT/usr/share/cargo/registry/eyre-0.6.12 + /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-eyre-0.6.12-build/BUILDROOT/usr/share/cargo/registry/eyre-0.6.12 warning: no (git) VCS found for `/home/pterjan/rpmbuild/BUILD/rust-eyre-0.6.12-build/eyre-0.6.12` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /home/pterjan/rpmbuild/BUILD/rust-eyre-0.6.12-build/BUILDROOT/usr/share/cargo/registry/eyre-0.6.12/Cargo.toml + /usr/bin/rm -f /home/pterjan/rpmbuild/BUILD/rust-eyre-0.6.12-build/BUILDROOT/usr/share/cargo/registry/eyre-0.6.12/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.TnmECH + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-eyre-0.6.12-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd eyre-0.6.12 + '[' 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 error: failed to select a version for the requirement `addr2line = "^0.24.0"` candidate versions found which didn't match: 0.25.1 location searched: directory source `/usr/share/cargo/registry` (which is replacing registry `crates-io`) required by package `backtrace v0.3.74` ... which satisfies dependency `backtrace = "^0.3.46"` of package `eyre v0.6.12 (/home/pterjan/rpmbuild/BUILD/rust-eyre-0.6.12-build/eyre-0.6.12)` perhaps a crate was updated and forgotten to be re-vendored? As a reminder, you're using offline mode (--offline) which can sometimes cause surprising resolution failures, if this error is too confusing you may wish to retry without `--offline`. error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.TnmECH (%check) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.TnmECH (%check) I: [iurt_root_command] ERROR: chroot