D: [iurt_root_command] chroot Building target platforms: noarch Building for target noarch Installing /home/pterjan/rpmbuild/SRPMS/rust-ref-cast-1.0.20-1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.wLZFIZ + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-ref-cast-1.0.20-build + test -d /home/pterjan/rpmbuild/BUILD/rust-ref-cast-1.0.20-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/rust-ref-cast-1.0.20-build + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/rust-ref-cast-1.0.20-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-ref-cast-1.0.20-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-ref-cast-1.0.20-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.NN0BdU + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-ref-cast-1.0.20-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/rust-ref-cast-1.0.20-build + rm -rf ref-cast-1.0.20 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/ref-cast-1.0.20.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd ref-cast-1.0.20 + /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(%generate_buildrequires): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.lYZHs3 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-ref-cast-1.0.20-build + cd ref-cast-1.0.20 + /usr/bin/cargo2rpm --path Cargo.toml buildrequires + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.6pzUec + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-ref-cast-1.0.20-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 ref-cast-1.0.20 + '[' 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 proc-macro2 v1.0.93 Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/proc-macro2-1.0.93/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="proc-macro"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("default", "nightly", "proc-macro", "span-locations"))' -C metadata=528fd867250b02c3 -C extra-filename=-528fd867250b02c3 --out-dir /home/pterjan/rpmbuild/BUILD/rust-ref-cast-1.0.20-build/ref-cast-1.0.20/target/rpm/build/proc-macro2-528fd867250b02c3 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-ref-cast-1.0.20-build/ref-cast-1.0.20/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling unicode-ident v1.0.12 Compiling ref-cast v1.0.20 (/home/pterjan/rpmbuild/BUILD/rust-ref-cast-1.0.20-build/ref-cast-1.0.20) Running `/usr/bin/rustc --crate-name unicode_ident --edition=2018 /usr/share/cargo/registry/unicode-ident-1.0.12/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' -C metadata=12eb5c3affab2e98 -C extra-filename=-12eb5c3affab2e98 --out-dir /home/pterjan/rpmbuild/BUILD/rust-ref-cast-1.0.20-build/ref-cast-1.0.20/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-ref-cast-1.0.20-build/ref-cast-1.0.20/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 build_script_build --edition=2021 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 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' -C metadata=6b42bb8851c5354d -C extra-filename=-6b42bb8851c5354d --out-dir /home/pterjan/rpmbuild/BUILD/rust-ref-cast-1.0.20-build/ref-cast-1.0.20/target/rpm/build/ref-cast-6b42bb8851c5354d -L dependency=/home/pterjan/rpmbuild/BUILD/rust-ref-cast-1.0.20-build/ref-cast-1.0.20/target/rpm/deps -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/home/pterjan/rpmbuild/BUILD/rust-ref-cast-1.0.20-build/ref-cast-1.0.20/target/rpm/build/ref-cast-6b42bb8851c5354d/build-script-build` Running `/home/pterjan/rpmbuild/BUILD/rust-ref-cast-1.0.20-build/ref-cast-1.0.20/target/rpm/build/proc-macro2-528fd867250b02c3/build-script-build` Running `/usr/bin/rustc --crate-name proc_macro2 --edition=2021 /usr/share/cargo/registry/proc-macro2-1.0.93/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="proc-macro"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("default", "nightly", "proc-macro", "span-locations"))' -C metadata=7e31b323094b2c6a -C extra-filename=-7e31b323094b2c6a --out-dir /home/pterjan/rpmbuild/BUILD/rust-ref-cast-1.0.20-build/ref-cast-1.0.20/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-ref-cast-1.0.20-build/ref-cast-1.0.20/target/rpm/deps --extern unicode_ident=/home/pterjan/rpmbuild/BUILD/rust-ref-cast-1.0.20-build/ref-cast-1.0.20/target/rpm/deps/libunicode_ident-12eb5c3affab2e98.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg wrap_proc_macro --cfg proc_macro_span --check-cfg 'cfg(fuzzing)' --check-cfg 'cfg(no_is_available)' --check-cfg 'cfg(no_literal_byte_character)' --check-cfg 'cfg(no_literal_c_string)' --check-cfg 'cfg(no_source_text)' --check-cfg 'cfg(proc_macro_span)' --check-cfg 'cfg(procmacro2_backtrace)' --check-cfg 'cfg(procmacro2_nightly_testing)' --check-cfg 'cfg(procmacro2_semver_exempt)' --check-cfg 'cfg(randomize_layout)' --check-cfg 'cfg(span_locations)' --check-cfg 'cfg(super_unstable)' --check-cfg 'cfg(wrap_proc_macro)'` Compiling quote v1.0.37 Running `/usr/bin/rustc --crate-name quote --edition=2018 /usr/share/cargo/registry/quote-1.0.37/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="proc-macro"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("default", "proc-macro"))' -C metadata=8c790c6e8876f6de -C extra-filename=-8c790c6e8876f6de --out-dir /home/pterjan/rpmbuild/BUILD/rust-ref-cast-1.0.20-build/ref-cast-1.0.20/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-ref-cast-1.0.20-build/ref-cast-1.0.20/target/rpm/deps --extern proc_macro2=/home/pterjan/rpmbuild/BUILD/rust-ref-cast-1.0.20-build/ref-cast-1.0.20/target/rpm/deps/libproc_macro2-7e31b323094b2c6a.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling syn v2.0.96 Running `/usr/bin/rustc --crate-name syn --edition=2021 /usr/share/cargo/registry/syn-2.0.96/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="clone-impls"' --cfg 'feature="default"' --cfg 'feature="derive"' --cfg 'feature="parsing"' --cfg 'feature="printing"' --cfg 'feature="proc-macro"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("clone-impls", "default", "derive", "extra-traits", "fold", "full", "parsing", "printing", "proc-macro", "test", "visit", "visit-mut"))' -C metadata=18aaac8e8ebdc625 -C extra-filename=-18aaac8e8ebdc625 --out-dir /home/pterjan/rpmbuild/BUILD/rust-ref-cast-1.0.20-build/ref-cast-1.0.20/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-ref-cast-1.0.20-build/ref-cast-1.0.20/target/rpm/deps --extern proc_macro2=/home/pterjan/rpmbuild/BUILD/rust-ref-cast-1.0.20-build/ref-cast-1.0.20/target/rpm/deps/libproc_macro2-7e31b323094b2c6a.rmeta --extern quote=/home/pterjan/rpmbuild/BUILD/rust-ref-cast-1.0.20-build/ref-cast-1.0.20/target/rpm/deps/libquote-8c790c6e8876f6de.rmeta --extern unicode_ident=/home/pterjan/rpmbuild/BUILD/rust-ref-cast-1.0.20-build/ref-cast-1.0.20/target/rpm/deps/libunicode_ident-12eb5c3affab2e98.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling ref-cast-impl v1.0.20 Running `/usr/bin/rustc --crate-name ref_cast_impl --edition=2021 /usr/share/cargo/registry/ref-cast-impl-1.0.20/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type proc-macro --emit=dep-info,link -C prefer-dynamic -C embed-bitcode=no -C debug-assertions=off --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' -C metadata=7bcb812d8456156d -C extra-filename=-7bcb812d8456156d --out-dir /home/pterjan/rpmbuild/BUILD/rust-ref-cast-1.0.20-build/ref-cast-1.0.20/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-ref-cast-1.0.20-build/ref-cast-1.0.20/target/rpm/deps --extern proc_macro2=/home/pterjan/rpmbuild/BUILD/rust-ref-cast-1.0.20-build/ref-cast-1.0.20/target/rpm/deps/libproc_macro2-7e31b323094b2c6a.rlib --extern quote=/home/pterjan/rpmbuild/BUILD/rust-ref-cast-1.0.20-build/ref-cast-1.0.20/target/rpm/deps/libquote-8c790c6e8876f6de.rlib --extern syn=/home/pterjan/rpmbuild/BUILD/rust-ref-cast-1.0.20-build/ref-cast-1.0.20/target/rpm/deps/libsyn-18aaac8e8ebdc625.rlib --extern proc_macro --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name ref_cast --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 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' -C metadata=0a3b63ee274b45ec -C extra-filename=-0a3b63ee274b45ec --out-dir /home/pterjan/rpmbuild/BUILD/rust-ref-cast-1.0.20-build/ref-cast-1.0.20/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-ref-cast-1.0.20-build/ref-cast-1.0.20/target/rpm/deps --extern ref_cast_impl=/home/pterjan/rpmbuild/BUILD/rust-ref-cast-1.0.20-build/ref-cast-1.0.20/target/rpm/deps/libref_cast_impl-7bcb812d8456156d.so -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: unexpected `cfg` condition name: `no_intrinsic_type_name` --> src/layout.rs:58:15 | 58 | #[cfg(not(no_intrinsic_type_name))] | ^^^^^^^^^^^^^^^^^^^^^^ | = 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(no_intrinsic_type_name)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(no_intrinsic_type_name)");` 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: `no_intrinsic_type_name` --> src/layout.rs:29:15 | 29 | #[cfg(no_intrinsic_type_name)] | ^^^^^^^^^^^^^^^^^^^^^^ | = 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(no_intrinsic_type_name)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(no_intrinsic_type_name)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `no_intrinsic_type_name` --> src/layout.rs:34:19 | 34 | #[cfg(not(no_intrinsic_type_name))] | ^^^^^^^^^^^^^^^^^^^^^^ | = 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(no_intrinsic_type_name)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(no_intrinsic_type_name)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `no_intrinsic_type_name` --> src/layout.rs:44:15 | 44 | #[cfg(no_intrinsic_type_name)] | ^^^^^^^^^^^^^^^^^^^^^^ | = 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(no_intrinsic_type_name)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(no_intrinsic_type_name)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `no_intrinsic_type_name` --> src/layout.rs:49:19 | 49 | #[cfg(not(no_intrinsic_type_name))] | ^^^^^^^^^^^^^^^^^^^^^^ | = 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(no_intrinsic_type_name)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(no_intrinsic_type_name)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `no_phantom_pinned` --> src/trivial.rs:2:11 | 2 | #[cfg(not(no_phantom_pinned))] | ^^^^^^^^^^^^^^^^^ | = 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(no_phantom_pinned)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(no_phantom_pinned)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: unexpected `cfg` condition name: `no_phantom_pinned` --> src/trivial.rs:11:11 | 11 | #[cfg(not(no_phantom_pinned))] | ^^^^^^^^^^^^^^^^^ | = 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(no_phantom_pinned)'] } = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(no_phantom_pinned)");` to the top of the `build.rs` = note: see for more information about checking conditional configuration warning: `ref-cast` (lib) generated 7 warnings Finished `rpm` profile [optimized + debuginfo] target(s) in 19.10s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Muz0Pb + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-ref-cast-1.0.20-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/rust-ref-cast-1.0.20-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/rust-ref-cast-1.0.20-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/rust-ref-cast-1.0.20-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/rust-ref-cast-1.0.20-build + mkdir /home/pterjan/rpmbuild/BUILD/rust-ref-cast-1.0.20-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 ref-cast-1.0.20 + '[' 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=ref-cast ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=1.0.20 + REG_DIR=/home/pterjan/rpmbuild/BUILD/rust-ref-cast-1.0.20-build/BUILDROOT/usr/share/cargo/registry/ref-cast-1.0.20 + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-ref-cast-1.0.20-build/BUILDROOT/usr/share/cargo/registry/ref-cast-1.0.20 + /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-ref-cast-1.0.20-build/BUILDROOT/usr/share/cargo/registry/ref-cast-1.0.20 warning: no (git) VCS found for `/home/pterjan/rpmbuild/BUILD/rust-ref-cast-1.0.20-build/ref-cast-1.0.20` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /home/pterjan/rpmbuild/BUILD/rust-ref-cast-1.0.20-build/BUILDROOT/usr/share/cargo/registry/ref-cast-1.0.20/Cargo.toml + /usr/bin/rm -f /home/pterjan/rpmbuild/BUILD/rust-ref-cast-1.0.20-build/BUILDROOT/usr/share/cargo/registry/ref-cast-1.0.20/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 Processing files: rust-ref-cast-devel-1.0.20-1.mga10.noarch warning: File listed twice: /usr/share/cargo/registry/ref-cast-1.0.20/LICENSE-APACHE warning: File listed twice: /usr/share/cargo/registry/ref-cast-1.0.20/LICENSE-MIT warning: File listed twice: /usr/share/cargo/registry/ref-cast-1.0.20/README.md Provides: crate(ref-cast) = 1.0.20 rust-ref-cast-devel = 1.0.20-1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(ref-cast-impl/default) = 1.0.20 rust >= 1.56 Processing files: rust-ref-cast+default-devel-1.0.20-1.mga10.noarch Provides: crate(ref-cast/default) = 1.0.20 rust-ref-cast+default-devel = 1.0.20-1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(ref-cast) = 1.0.20 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/rust-ref-cast-1.0.20-build/BUILDROOT Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-ref-cast+default-devel-1.0.20-1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-ref-cast-devel-1.0.20-1.mga10.noarch.rpm Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.xPmMH7 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-ref-cast-1.0.20-build + test -d /home/pterjan/rpmbuild/BUILD/rust-ref-cast-1.0.20-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/rust-ref-cast-1.0.20-build + rm -rf /home/pterjan/rpmbuild/BUILD/rust-ref-cast-1.0.20-build + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: File listed twice: /usr/share/cargo/registry/ref-cast-1.0.20/LICENSE-APACHE File listed twice: /usr/share/cargo/registry/ref-cast-1.0.20/LICENSE-MIT File listed twice: /usr/share/cargo/registry/ref-cast-1.0.20/README.md D: [iurt_root_command] Success!