D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/rust-rustc-test-0.3.1-1.mga10.src.rpm Building target platforms: noarch Building for target noarch Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.89Hzih + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf rustc-test-0.3.1 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/rustc-test-0.3.1.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd rustc-test-0.3.1 + rm -rf /home/pterjan/rpmbuild/BUILD/rustc-test-0.3.1-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rustc-test-0.3.1-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/rustc-test-fix-metadata.diff + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + set -eu + /usr/bin/mkdir -p .cargo + 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.wLZK1d + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd rustc-test-0.3.1 + /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.UQGxLW + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd rustc-test-0.3.1 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' /usr/bin/cargo build -j16 -Z avoid-dev-deps --release Compiling proc-macro2 v1.0.71 Compiling unicode-ident v1.0.12 Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/proc-macro2-1.0.71/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"' -C metadata=ef7683692a65f301 -C extra-filename=-ef7683692a65f301 --out-dir /home/pterjan/rpmbuild/BUILD/rustc-test-0.3.1/target/release/build/proc-macro2-ef7683692a65f301 -L dependency=/home/pterjan/rpmbuild/BUILD/rustc-test-0.3.1/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn` Compiling thiserror v1.0.49 Compiling ucd-trie v0.1.5 Compiling libc v0.2.151 Compiling cfg-if v0.1.10 Compiling unicode-width v0.1.11 Compiling rustc-serialize v0.3.24 Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/thiserror-1.0.49/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 -C metadata=af8b0201e2f50a6e -C extra-filename=-af8b0201e2f50a6e --out-dir /home/pterjan/rpmbuild/BUILD/rustc-test-0.3.1/target/release/build/thiserror-af8b0201e2f50a6e -L dependency=/home/pterjan/rpmbuild/BUILD/rustc-test-0.3.1/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn` 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 -C metadata=221d7cd32cf94c53 -C extra-filename=-221d7cd32cf94c53 --out-dir /home/pterjan/rpmbuild/BUILD/rustc-test-0.3.1/target/release/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rustc-test-0.3.1/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn` Running `/usr/bin/rustc --crate-name ucd_trie --edition=2018 /usr/share/cargo/registry/ucd-trie-0.1.5/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="std"' -C metadata=87380f5dbcb415f0 -C extra-filename=-87380f5dbcb415f0 --out-dir /home/pterjan/rpmbuild/BUILD/rustc-test-0.3.1/target/release/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rustc-test-0.3.1/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn` Running `/usr/bin/rustc --crate-name build_script_build /usr/share/cargo/registry/libc-0.2.151/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=b921f33ca62637ca -C extra-filename=-b921f33ca62637ca --out-dir /home/pterjan/rpmbuild/BUILD/rustc-test-0.3.1/target/release/build/libc-b921f33ca62637ca -L dependency=/home/pterjan/rpmbuild/BUILD/rustc-test-0.3.1/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn` Running `/usr/bin/rustc --crate-name cfg_if --edition=2018 /usr/share/cargo/registry/cfg-if-0.1.10/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 metadata=62b5b4f2f74828e6 -C extra-filename=-62b5b4f2f74828e6 --out-dir /home/pterjan/rpmbuild/BUILD/rustc-test-0.3.1/target/release/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rustc-test-0.3.1/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn` Running `/usr/bin/rustc --crate-name unicode_width /usr/share/cargo/registry/unicode-width-0.1.11/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 --cfg 'feature="default"' -C metadata=323acb743df373c7 -C extra-filename=-323acb743df373c7 --out-dir /home/pterjan/rpmbuild/BUILD/rustc-test-0.3.1/target/release/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rustc-test-0.3.1/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn` Running `/usr/bin/rustc --crate-name rustc_serialize /usr/share/cargo/registry/rustc-serialize-0.3.24/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 metadata=d0ed3c02603834ff -C extra-filename=-d0ed3c02603834ff --out-dir /home/pterjan/rpmbuild/BUILD/rustc-test-0.3.1/target/release/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rustc-test-0.3.1/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn` Compiling getopts v0.2.21 Running `/usr/bin/rustc --crate-name getopts /usr/share/cargo/registry/getopts-0.2.21/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 metadata=d8c6edff019990c6 -C extra-filename=-d8c6edff019990c6 --out-dir /home/pterjan/rpmbuild/BUILD/rustc-test-0.3.1/target/release/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rustc-test-0.3.1/target/release/deps --extern unicode_width=/home/pterjan/rpmbuild/BUILD/rustc-test-0.3.1/target/release/deps/libunicode_width-323acb743df373c7.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn` Running `/home/pterjan/rpmbuild/BUILD/rustc-test-0.3.1/target/release/build/thiserror-af8b0201e2f50a6e/build-script-build` Running `/home/pterjan/rpmbuild/BUILD/rustc-test-0.3.1/target/release/build/proc-macro2-ef7683692a65f301/build-script-build` Running `/usr/bin/rustc --crate-name proc_macro2 --edition=2021 /usr/share/cargo/registry/proc-macro2-1.0.71/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"' -C metadata=b0d7560bfbc4ad1b -C extra-filename=-b0d7560bfbc4ad1b --out-dir /home/pterjan/rpmbuild/BUILD/rustc-test-0.3.1/target/release/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rustc-test-0.3.1/target/release/deps --extern unicode_ident=/home/pterjan/rpmbuild/BUILD/rustc-test-0.3.1/target/release/deps/libunicode_ident-221d7cd32cf94c53.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn --cfg wrap_proc_macro` Running `/home/pterjan/rpmbuild/BUILD/rustc-test-0.3.1/target/release/build/libc-b921f33ca62637ca/build-script-build` Running `/usr/bin/rustc --crate-name libc /usr/share/cargo/registry/libc-0.2.151/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 --cfg 'feature="default"' --cfg 'feature="std"' -C metadata=3d9df2c11ceb3cfe -C extra-filename=-3d9df2c11ceb3cfe --out-dir /home/pterjan/rpmbuild/BUILD/rustc-test-0.3.1/target/release/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rustc-test-0.3.1/target/release/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --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` Compiling quote v1.0.33 Running `/usr/bin/rustc --crate-name quote --edition=2018 /usr/share/cargo/registry/quote-1.0.33/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"' -C metadata=30f0ab9bced1f465 -C extra-filename=-30f0ab9bced1f465 --out-dir /home/pterjan/rpmbuild/BUILD/rustc-test-0.3.1/target/release/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rustc-test-0.3.1/target/release/deps --extern proc_macro2=/home/pterjan/rpmbuild/BUILD/rustc-test-0.3.1/target/release/deps/libproc_macro2-b0d7560bfbc4ad1b.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn` Compiling syn v2.0.43 Running `/usr/bin/rustc --crate-name syn --edition=2021 /usr/share/cargo/registry/syn-2.0.43/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"' --cfg 'feature="quote"' -C metadata=5185c282bbe37ba9 -C extra-filename=-5185c282bbe37ba9 --out-dir /home/pterjan/rpmbuild/BUILD/rustc-test-0.3.1/target/release/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rustc-test-0.3.1/target/release/deps --extern proc_macro2=/home/pterjan/rpmbuild/BUILD/rustc-test-0.3.1/target/release/deps/libproc_macro2-b0d7560bfbc4ad1b.rmeta --extern quote=/home/pterjan/rpmbuild/BUILD/rustc-test-0.3.1/target/release/deps/libquote-30f0ab9bced1f465.rmeta --extern unicode_ident=/home/pterjan/rpmbuild/BUILD/rustc-test-0.3.1/target/release/deps/libunicode_ident-221d7cd32cf94c53.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn` Compiling dirs-sys v0.3.7 Compiling time v0.1.44 Running `/usr/bin/rustc --crate-name dirs_sys /usr/share/cargo/registry/dirs-sys-0.3.7/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 metadata=6c1c0715c5a5ee28 -C extra-filename=-6c1c0715c5a5ee28 --out-dir /home/pterjan/rpmbuild/BUILD/rustc-test-0.3.1/target/release/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rustc-test-0.3.1/target/release/deps --extern libc=/home/pterjan/rpmbuild/BUILD/rustc-test-0.3.1/target/release/deps/liblibc-3d9df2c11ceb3cfe.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn` Running `/usr/bin/rustc --crate-name time /usr/share/cargo/registry/time-0.1.44/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 metadata=36bb8a6d0f5873e7 -C extra-filename=-36bb8a6d0f5873e7 --out-dir /home/pterjan/rpmbuild/BUILD/rustc-test-0.3.1/target/release/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rustc-test-0.3.1/target/release/deps --extern libc=/home/pterjan/rpmbuild/BUILD/rustc-test-0.3.1/target/release/deps/liblibc-3d9df2c11ceb3cfe.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn` Compiling dirs v2.0.2 Running `/usr/bin/rustc --crate-name dirs /usr/share/cargo/registry/dirs-2.0.2/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 metadata=de8c61fb41475205 -C extra-filename=-de8c61fb41475205 --out-dir /home/pterjan/rpmbuild/BUILD/rustc-test-0.3.1/target/release/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rustc-test-0.3.1/target/release/deps --extern cfg_if=/home/pterjan/rpmbuild/BUILD/rustc-test-0.3.1/target/release/deps/libcfg_if-62b5b4f2f74828e6.rmeta --extern dirs_sys=/home/pterjan/rpmbuild/BUILD/rustc-test-0.3.1/target/release/deps/libdirs_sys-6c1c0715c5a5ee28.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn` Compiling term v0.6.1 Running `/usr/bin/rustc --crate-name term --edition=2018 /usr/share/cargo/registry/term-0.6.1/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 --cfg 'feature="default"' -C metadata=6f1fb1c4219a66eb -C extra-filename=-6f1fb1c4219a66eb --out-dir /home/pterjan/rpmbuild/BUILD/rustc-test-0.3.1/target/release/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rustc-test-0.3.1/target/release/deps --extern dirs=/home/pterjan/rpmbuild/BUILD/rustc-test-0.3.1/target/release/deps/libdirs-de8c61fb41475205.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn` Compiling thiserror-impl v1.0.49 Running `/usr/bin/rustc --crate-name thiserror_impl --edition=2021 /usr/share/cargo/registry/thiserror-impl-1.0.49/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 -C metadata=f069081ef5061aec -C extra-filename=-f069081ef5061aec --out-dir /home/pterjan/rpmbuild/BUILD/rustc-test-0.3.1/target/release/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rustc-test-0.3.1/target/release/deps --extern proc_macro2=/home/pterjan/rpmbuild/BUILD/rustc-test-0.3.1/target/release/deps/libproc_macro2-b0d7560bfbc4ad1b.rlib --extern quote=/home/pterjan/rpmbuild/BUILD/rustc-test-0.3.1/target/release/deps/libquote-30f0ab9bced1f465.rlib --extern syn=/home/pterjan/rpmbuild/BUILD/rustc-test-0.3.1/target/release/deps/libsyn-5185c282bbe37ba9.rlib --extern proc_macro --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn` Running `/usr/bin/rustc --crate-name thiserror --edition=2021 /usr/share/cargo/registry/thiserror-1.0.49/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 -C metadata=1d826d9265870863 -C extra-filename=-1d826d9265870863 --out-dir /home/pterjan/rpmbuild/BUILD/rustc-test-0.3.1/target/release/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rustc-test-0.3.1/target/release/deps --extern thiserror_impl=/home/pterjan/rpmbuild/BUILD/rustc-test-0.3.1/target/release/deps/libthiserror_impl-f069081ef5061aec.so --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn --cfg error_generic_member_access` Compiling pest v2.5.4 Running `/usr/bin/rustc --crate-name pest --edition=2021 /usr/share/cargo/registry/pest-2.5.4/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="std"' --cfg 'feature="thiserror"' -C metadata=449c60bf8410db7d -C extra-filename=-449c60bf8410db7d --out-dir /home/pterjan/rpmbuild/BUILD/rustc-test-0.3.1/target/release/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rustc-test-0.3.1/target/release/deps --extern thiserror=/home/pterjan/rpmbuild/BUILD/rustc-test-0.3.1/target/release/deps/libthiserror-1d826d9265870863.rmeta --extern ucd_trie=/home/pterjan/rpmbuild/BUILD/rustc-test-0.3.1/target/release/deps/libucd_trie-87380f5dbcb415f0.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn` Compiling semver-parser v0.10.2 Running `/usr/bin/rustc --crate-name semver_parser --edition=2018 /usr/share/cargo/registry/semver-parser-0.10.2/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 -C metadata=d5e15b4b44f147e1 -C extra-filename=-d5e15b4b44f147e1 --out-dir /home/pterjan/rpmbuild/BUILD/rustc-test-0.3.1/target/release/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rustc-test-0.3.1/target/release/deps --extern pest=/home/pterjan/rpmbuild/BUILD/rustc-test-0.3.1/target/release/deps/libpest-449c60bf8410db7d.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn` Compiling semver v0.11.0 Running `/usr/bin/rustc --crate-name semver /usr/share/cargo/registry/semver-0.11.0/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"' -C metadata=a4d4cbfad481c08b -C extra-filename=-a4d4cbfad481c08b --out-dir /home/pterjan/rpmbuild/BUILD/rustc-test-0.3.1/target/release/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rustc-test-0.3.1/target/release/deps --extern semver_parser=/home/pterjan/rpmbuild/BUILD/rustc-test-0.3.1/target/release/deps/libsemver_parser-d5e15b4b44f147e1.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn` Compiling rustc_version v0.3.3 Running `/usr/bin/rustc --crate-name rustc_version --edition=2018 /usr/share/cargo/registry/rustc_version-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 embed-bitcode=no -C debug-assertions=off -C metadata=e6999391e43f9c67 -C extra-filename=-e6999391e43f9c67 --out-dir /home/pterjan/rpmbuild/BUILD/rustc-test-0.3.1/target/release/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rustc-test-0.3.1/target/release/deps --extern semver=/home/pterjan/rpmbuild/BUILD/rustc-test-0.3.1/target/release/deps/libsemver-a4d4cbfad481c08b.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn` Compiling rustc-test v0.3.1 (/home/pterjan/rpmbuild/BUILD/rustc-test-0.3.1) Running `/usr/bin/rustc --crate-name build_script_build 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 -C metadata=dc48a810f42b9817 -C extra-filename=-dc48a810f42b9817 --out-dir /home/pterjan/rpmbuild/BUILD/rustc-test-0.3.1/target/release/build/rustc-test-dc48a810f42b9817 -L dependency=/home/pterjan/rpmbuild/BUILD/rustc-test-0.3.1/target/release/deps --extern rustc_version=/home/pterjan/rpmbuild/BUILD/rustc-test-0.3.1/target/release/deps/librustc_version-e6999391e43f9c67.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn` Running `/home/pterjan/rpmbuild/BUILD/rustc-test-0.3.1/target/release/build/rustc-test-dc48a810f42b9817/build-script-build` Running `/usr/bin/rustc --crate-name rustc_test 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 metadata=057c3c854e5f7c55 -C extra-filename=-057c3c854e5f7c55 --out-dir /home/pterjan/rpmbuild/BUILD/rustc-test-0.3.1/target/release/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rustc-test-0.3.1/target/release/deps --extern getopts=/home/pterjan/rpmbuild/BUILD/rustc-test-0.3.1/target/release/deps/libgetopts-d8c6edff019990c6.rmeta --extern libc=/home/pterjan/rpmbuild/BUILD/rustc-test-0.3.1/target/release/deps/liblibc-3d9df2c11ceb3cfe.rmeta --extern rustc_serialize=/home/pterjan/rpmbuild/BUILD/rustc-test-0.3.1/target/release/deps/librustc_serialize-d0ed3c02603834ff.rmeta --extern term=/home/pterjan/rpmbuild/BUILD/rustc-test-0.3.1/target/release/deps/libterm-6f1fb1c4219a66eb.rmeta --extern time=/home/pterjan/rpmbuild/BUILD/rustc-test-0.3.1/target/release/deps/libtime-36bb8a6d0f5873e7.rmeta -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn --cfg rustc_emits_allow_fail` warning: use of deprecated macro `RustcEncodable`: rustc-serialize is deprecated and no longer supported --> src/lib.rs:227:17 | 227 | #[derive(Clone, RustcEncodable, RustcDecodable, PartialEq, Debug, Copy)] | ^^^^^^^^^^^^^^ | = note: `#[warn(deprecated)]` on by default warning: use of deprecated macro `RustcDecodable`: rustc-serialize is deprecated and no longer supported --> src/lib.rs:227:33 | 227 | #[derive(Clone, RustcEncodable, RustcDecodable, PartialEq, Debug, Copy)] | ^^^^^^^^^^^^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:492:36 | 492 | Some(ref path) => Some(try!(File::create(path))), | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:539:13 | 539 | try!(self.write_pretty(verbose, color)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:552:17 | 552 | try!(term.write_all(word.as_bytes())); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:550:21 | 550 | try!(term.fg(color)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:554:21 | 554 | try!(term.reset()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:559:17 | 559 | try!(stdout.write_all(word.as_bytes())); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:568:17 | 568 | try!(term.write_all(s.as_bytes())); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:572:17 | 572 | try!(stdout.write_all(s.as_bytes())); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:603:17 | 603 | try!(self.write_metric()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:607:17 | 607 | try!(self.write_bench()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:632:9 | 632 | try!(self.write_plain("\nfailures:\n")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:649:9 | 649 | try!(self.write_plain("\nfailures:\n")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:645:13 | 645 | try!(self.write_plain("\n")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:646:13 | 646 | try!(self.write_plain(&fail_out)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:652:13 | 652 | try!(self.write_plain(&format!(" {}\n", name))); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:665:9 | 665 | try!(self.write_plain("\ntest result: ")); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:677:9 | 677 | try!(self.write_plain(&s)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:662:13 | 662 | try!(self.write_failures()); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:668:13 | 668 | try!(self.write_pretty("ok", term::color::GREEN)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:670:13 | 670 | try!(self.write_pretty("FAILED", term::color::RED)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:775:5 | 775 | try!(run_tests(opts, tests, |x| callback(&x, &mut st))); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:731:17 | 731 | try!(st.write_log(&test, &result)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:732:17 | 732 | try!(st.write_result(&result)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:761:18 | 761 | let mut st = try!(ConsoleTestState::new(opts, None::)); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:895:5 | 895 | try!(callback(TeFiltered(filtered_descs))); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:932:9 | 932 | try!(callback(TeResult(desc, result, stdout))); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:922:17 | 922 | try!(callback(TeWait(test.desc.clone(), test.testfn.padding()))); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:930:13 | 930 | try!(callback(TeWait(desc.clone(), PadNone))); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:940:13 | 940 | try!(callback(TeWait(b.desc.clone(), b.testfn.padding()))); | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:943:13 | 943 | try!(callback(TeResult(test, result, stdout))); | ^^^ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:146:19 | 146 | DynTestFn(Box), | ^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see = note: `#[warn(bare_trait_objects)]` on by default help: use `dyn` | 146 | DynTestFn(Box), | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:147:21 | 147 | DynMetricFn(Box), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 147 | DynMetricFn(Box), | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:148:20 | 148 | DynBenchFn(Box), | ^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 148 | DynBenchFn(Box), | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:1128:39 | 1128 | mut testfn: Box) { | ^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 1128 | mut testfn: Box) { | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/lib.rs:1185:61 | 1185 | fn calc_result(desc: &TestDesc, task_result: Result<(), Box>) -> TestResult { | ^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 1185 | fn calc_result(desc: &TestDesc, task_result: Result<(), Box>) -> TestResult { | +++ warning: `rustc-test` (lib) generated 37 warnings (run `cargo fix --lib -p rustc-test` to apply 5 suggestions) Finished release [optimized] target(s) in 33.25s warning: the following packages contain code that will be rejected by a future version of Rust: rustc-serialize v0.3.24 note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.6kiwPQ + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILDROOT/rust-rustc-test-0.3.1-1.mga10.noarch '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILDROOT/rust-rustc-test-0.3.1-1.mga10.noarch ++ dirname /home/pterjan/rpmbuild/BUILDROOT/rust-rustc-test-0.3.1-1.mga10.noarch + mkdir -p /home/pterjan/rpmbuild/BUILDROOT + mkdir /home/pterjan/rpmbuild/BUILDROOT/rust-rustc-test-0.3.1-1.mga10.noarch + cd rustc-test-0.3.1 + '[' 1 -eq 1 ']' + set -eu ++ /usr/bin/cargo2rpm --path Cargo.toml is-lib + '[' 1 -eq 1 ']' ++ /usr/bin/cargo2rpm --path Cargo.toml name + CRATE_NAME=rustc-test ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=0.3.1 + REG_DIR=/home/pterjan/rpmbuild/BUILDROOT/rust-rustc-test-0.3.1-1.mga10.noarch/usr/share/cargo/registry/rustc-test-0.3.1 + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILDROOT/rust-rustc-test-0.3.1-1.mga10.noarch/usr/share/cargo/registry/rustc-test-0.3.1 + /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 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --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/BUILDROOT/rust-rustc-test-0.3.1-1.mga10.noarch/usr/share/cargo/registry/rustc-test-0.3.1 warning: No (git) VCS found for `/home/pterjan/rpmbuild/BUILD/rustc-test-0.3.1` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /home/pterjan/rpmbuild/BUILDROOT/rust-rustc-test-0.3.1-1.mga10.noarch/usr/share/cargo/registry/rustc-test-0.3.1/Cargo.toml + /usr/bin/rm -f /home/pterjan/rpmbuild/BUILDROOT/rust-rustc-test-0.3.1-1.mga10.noarch/usr/share/cargo/registry/rustc-test-0.3.1/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-rustc-test-devel-0.3.1-1.mga10.noarch Provides: crate(rustc-test) = 0.3.1 rust-rustc-test-devel = 0.3.1-1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(getopts/default) >= 0.2.0 crate(libc/default) >= 0.2.0 crate(rustc-serialize/default) >= 0.3.0 crate(rustc_version/default) >= 0.3.0 crate(term/default) >= 0.6.0 crate(time/default) >= 0.1.0 Processing files: rust-rustc-test+default-devel-0.3.1-1.mga10.noarch Provides: crate(rustc-test/default) = 0.3.1 rust-rustc-test+default-devel = 0.3.1-1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(rustc-test) = 0.3.1 Processing files: rust-rustc-test+asm_black_box-devel-0.3.1-1.mga10.noarch Provides: crate(rustc-test/asm_black_box) = 0.3.1 rust-rustc-test+asm_black_box-devel = 0.3.1-1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(rustc-test) = 0.3.1 Processing files: rust-rustc-test+capture-devel-0.3.1-1.mga10.noarch Provides: crate(rustc-test/capture) = 0.3.1 rust-rustc-test+capture-devel = 0.3.1-1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(rustc-test) = 0.3.1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILDROOT/rust-rustc-test-0.3.1-1.mga10.noarch Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-rustc-test+capture-devel-0.3.1-1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-rustc-test+default-devel-0.3.1-1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-rustc-test+asm_black_box-devel-0.3.1-1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-rustc-test-devel-0.3.1-1.mga10.noarch.rpm Executing(%clean): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.McVhCq + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd rustc-test-0.3.1 + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILDROOT/rust-rustc-test-0.3.1-1.mga10.noarch + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.bdsfmN + umask 022 + cd /home/pterjan/rpmbuild/BUILD + rm -rf /home/pterjan/rpmbuild/BUILD/rustc-test-0.3.1-SPECPARTS + rm -rf rustc-test-0.3.1 rustc-test-0.3.1.gemspec + RPM_EC=0 ++ jobs -p + exit 0 D: [iurt_root_command] Success!