D: [iurt_root_command] chroot Building target platforms: noarch Building for target noarch Installing /home/pterjan/rpmbuild/SRPMS/rust-idna0.1-0.1.5-0.1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.i0XJP2 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.uEKWW5 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-idna0.1-0.1.5-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/rust-idna0.1-0.1.5-build + rm -rf idna-0.1.5 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/idna-0.1.5.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd idna-0.1.5 + /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.OMMvxS + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-idna0.1-0.1.5-build + cd idna-0.1.5 + /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.IryfGZ + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-idna0.1-0.1.5-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 idna-0.1.5 + '[' 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 warning: An explicit [[test]] section is specified in Cargo.toml which currently disables Cargo from automatically inferring other test targets. This inference behavior will change in the Rust 2018 edition and the following files will be included as a test target: * tests/uts46.rs * tests/punycode.rs This is likely to break cargo build or cargo test as these files may not be ready to be compiled as a test target today. You can future-proof yourself and disable this warning by adding `autotests = false` to your [package] section. You may also move the files to a location where Cargo would not automatically infer them to be a target, such as in subfolders. For more information on this warning you can consult https://github.com/rust-lang/cargo/issues/5330 warning: no edition set: defaulting to the 2015 edition while the latest is 2024 Compiling tinyvec_macros v0.1.1 Compiling matches v0.1.10 Running `/usr/bin/rustc --crate-name tinyvec_macros --edition=2018 /usr/share/cargo/registry/tinyvec_macros-0.1.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 -C codegen-units=1 -C debuginfo=2 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=e6dbec16e6d786ef -C extra-filename=-5b8d801044de3c96 --out-dir /home/pterjan/rpmbuild/BUILD/rust-idna0.1-0.1.5-build/idna-0.1.5/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-idna0.1-0.1.5-build/idna-0.1.5/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling unicode-bidi v0.3.18 Running `/usr/bin/rustc --crate-name matches --edition=2015 /usr/share/cargo/registry/matches-0.1.10/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,test)' --check-cfg 'cfg(feature, values())' -C metadata=cc04168c51b388d2 -C extra-filename=-ef0c616b2b23a9c5 --out-dir /home/pterjan/rpmbuild/BUILD/rust-idna0.1-0.1.5-build/idna-0.1.5/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-idna0.1-0.1.5-build/idna-0.1.5/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 unicode_bidi --edition=2018 /usr/share/cargo/registry/unicode-bidi-0.3.18/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="hardcoded-data"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("bench_it", "default", "hardcoded-data", "serde", "smallvec", "std", "unstable", "with_serde"))' -C metadata=1754a0813b749fed -C extra-filename=-9a57ec1e8d29b938 --out-dir /home/pterjan/rpmbuild/BUILD/rust-idna0.1-0.1.5-build/idna-0.1.5/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-idna0.1-0.1.5-build/idna-0.1.5/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling tinyvec v1.9.0 Running `/usr/bin/rustc --crate-name tinyvec --edition=2018 /usr/share/cargo/registry/tinyvec-1.9.0/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="tinyvec_macros"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "arbitrary", "default", "experimental_write_impl", "grab_spare_slice", "latest_stable_rust", "nightly_slice_partition_dedup", "rustc_1_40", "rustc_1_55", "rustc_1_57", "rustc_1_61", "serde", "std", "tinyvec_macros"))' -C metadata=ce4b3636546e5efa -C extra-filename=-d8083aa739f7245a --out-dir /home/pterjan/rpmbuild/BUILD/rust-idna0.1-0.1.5-build/idna-0.1.5/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-idna0.1-0.1.5-build/idna-0.1.5/target/rpm/deps --extern tinyvec_macros=/home/pterjan/rpmbuild/BUILD/rust-idna0.1-0.1.5-build/idna-0.1.5/target/rpm/deps/libtinyvec_macros-5b8d801044de3c96.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling unicode-normalization v0.1.22 Running `/usr/bin/rustc --crate-name unicode_normalization --edition=2018 /usr/share/cargo/registry/unicode-normalization-0.1.22/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "std"))' -C metadata=dd55bc32c00424f9 -C extra-filename=-b5905cd08963a055 --out-dir /home/pterjan/rpmbuild/BUILD/rust-idna0.1-0.1.5-build/idna-0.1.5/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-idna0.1-0.1.5-build/idna-0.1.5/target/rpm/deps --extern tinyvec=/home/pterjan/rpmbuild/BUILD/rust-idna0.1-0.1.5-build/idna-0.1.5/target/rpm/deps/libtinyvec-d8083aa739f7245a.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling idna v0.1.5 (/home/pterjan/rpmbuild/BUILD/rust-idna0.1-0.1.5-build/idna-0.1.5) Running `/usr/bin/rustc --crate-name idna --edition=2015 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,test)' --check-cfg 'cfg(feature, values())' -C metadata=70195746fd699114 -C extra-filename=-11ccc52bf8a0ca05 --out-dir /home/pterjan/rpmbuild/BUILD/rust-idna0.1-0.1.5-build/idna-0.1.5/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-idna0.1-0.1.5-build/idna-0.1.5/target/rpm/deps --extern matches=/home/pterjan/rpmbuild/BUILD/rust-idna0.1-0.1.5-build/idna-0.1.5/target/rpm/deps/libmatches-ef0c616b2b23a9c5.rmeta --extern unicode_bidi=/home/pterjan/rpmbuild/BUILD/rust-idna0.1-0.1.5-build/idna-0.1.5/target/rpm/deps/libunicode_bidi-9a57ec1e8d29b938.rmeta --extern unicode_normalization=/home/pterjan/rpmbuild/BUILD/rust-idna0.1-0.1.5-build/idna-0.1.5/target/rpm/deps/libunicode_normalization-b5905cd08963a055.rmeta -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: `...` range patterns are deprecated --> src/punycode.rs:85:29 | 85 | byte @ b'0' ... b'9' => byte - b'0' + 26, | ^^^ help: use `..=` for an inclusive range | = 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(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default warning: `...` range patterns are deprecated --> src/punycode.rs:86:29 | 86 | byte @ b'A' ... b'Z' => byte - b'A', | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/punycode.rs:87:29 | 87 | byte @ b'a' ... b'z' => byte - b'a', | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/punycode.rs:209:11 | 209 | 0 ... 25 => (value as u8 + 'a' as u8) as char, // a..z | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/punycode.rs:210:12 | 210 | 26 ... 35 => (value as u8 - 26 + '0' as u8) as char, // 0..9 | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: field `0` is never read --> src/uts46.rs:379:19 | 379 | pub struct Errors(Vec); | ------ ^^^^^^^^^^ | | | field in this struct | = help: consider removing this field = note: `Errors` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default warning: `idna` (lib) generated 6 warnings (run `cargo fix --lib -p idna` to apply 5 suggestions) Finished `rpm` profile [optimized + debuginfo] target(s) in 3.26s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.3SMiFa + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-idna0.1-0.1.5-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/rust-idna0.1-0.1.5-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/rust-idna0.1-0.1.5-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/rust-idna0.1-0.1.5-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/rust-idna0.1-0.1.5-build + mkdir /home/pterjan/rpmbuild/BUILD/rust-idna0.1-0.1.5-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 idna-0.1.5 + '[' 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=idna ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=0.1.5 + REG_DIR=/home/pterjan/rpmbuild/BUILD/rust-idna0.1-0.1.5-build/BUILDROOT/usr/share/cargo/registry/idna-0.1.5 + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-idna0.1-0.1.5-build/BUILDROOT/usr/share/cargo/registry/idna-0.1.5 + /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-idna0.1-0.1.5-build/BUILDROOT/usr/share/cargo/registry/idna-0.1.5 warning: no (git) VCS found for `/home/pterjan/rpmbuild/BUILD/rust-idna0.1-0.1.5-build/idna-0.1.5` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /home/pterjan/rpmbuild/BUILD/rust-idna0.1-0.1.5-build/BUILDROOT/usr/share/cargo/registry/idna-0.1.5/Cargo.toml + /usr/bin/rm -f /home/pterjan/rpmbuild/BUILD/rust-idna0.1-0.1.5-build/BUILDROOT/usr/share/cargo/registry/idna-0.1.5/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.FJwROX + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-idna0.1-0.1.5-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 idna-0.1.5 + '[' 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 warning: An explicit [[test]] section is specified in Cargo.toml which currently disables Cargo from automatically inferring other test targets. This inference behavior will change in the Rust 2018 edition and the following files will be included as a test target: * tests/uts46.rs * tests/punycode.rs This is likely to break cargo build or cargo test as these files may not be ready to be compiled as a test target today. You can future-proof yourself and disable this warning by adding `autotests = false` to your [package] section. You may also move the files to a location where Cargo would not automatically infer them to be a target, such as in subfolders. For more information on this warning you can consult https://github.com/rust-lang/cargo/issues/5330 warning: no edition set: defaulting to the 2015 edition while the latest is 2024 Compiling ucd-trie v0.1.5 Compiling memchr v2.7.6 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"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "std"))' -C metadata=b843808107758df8 -C extra-filename=-64183f9f405933f9 --out-dir /home/pterjan/rpmbuild/BUILD/rust-idna0.1-0.1.5-build/idna-0.1.5/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-idna0.1-0.1.5-build/idna-0.1.5/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling libc v0.2.177 Compiling option-ext v0.2.0 Fresh tinyvec_macros v0.1.1 Compiling unicode-width v0.1.14 Compiling rustc-serialize v0.3.24 Fresh matches v0.1.10 Fresh unicode-bidi v0.3.18 Running `/usr/bin/rustc --crate-name memchr --edition=2021 /usr/share/cargo/registry/memchr-2.7.6/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="alloc"' --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "core", "default", "libc", "logging", "rustc-dep-of-std", "std", "use_std"))' -C metadata=3f7caa178721fa9f -C extra-filename=-9a9d14fecad5f90b --out-dir /home/pterjan/rpmbuild/BUILD/rust-idna0.1-0.1.5-build/idna-0.1.5/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-idna0.1-0.1.5-build/idna-0.1.5/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 option_ext --edition=2015 /usr/share/cargo/registry/option-ext-0.2.0/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,test)' --check-cfg 'cfg(feature, values())' -C metadata=3a7df3029c17b095 -C extra-filename=-7fc76cc3c5b3f12a --out-dir /home/pterjan/rpmbuild/BUILD/rust-idna0.1-0.1.5-build/idna-0.1.5/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-idna0.1-0.1.5-build/idna-0.1.5/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 unicode_width --edition=2021 /usr/share/cargo/registry/unicode-width-0.1.14/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="cjk"' --cfg 'feature="default"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("cjk", "compiler_builtins", "core", "default", "no_std", "rustc-dep-of-std", "std"))' -C metadata=b5a6211782c79c90 -C extra-filename=-b836d470878ded3b --out-dir /home/pterjan/rpmbuild/BUILD/rust-idna0.1-0.1.5-build/idna-0.1.5/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-idna0.1-0.1.5-build/idna-0.1.5/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 /usr/share/cargo/registry/libc-0.2.177/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no '--allow=clippy::used_underscore_binding' --allow=unused_qualifications '--warn=clippy::unnecessary_semicolon' '--allow=clippy::unnecessary_cast' '--allow=clippy::uninlined_format_args' '--warn=clippy::ptr_as_ptr' '--allow=clippy::non_minimal_cfg' '--allow=clippy::missing_safety_doc' '--warn=clippy::map_unwrap_or' '--warn=clippy::manual_assert' '--allow=clippy::identity_op' '--warn=clippy::explicit_iter_loop' '--allow=clippy::expl_impl_clone_on_copy' -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("align", "const-extern-fn", "default", "extra_traits", "rustc-dep-of-std", "rustc-std-workspace-core", "std", "use_std"))' -C metadata=6c53a61b680a75b4 -C extra-filename=-247bd7b76ee2d7cf --out-dir /home/pterjan/rpmbuild/BUILD/rust-idna0.1-0.1.5-build/idna-0.1.5/target/rpm/build/libc-247bd7b76ee2d7cf -L dependency=/home/pterjan/rpmbuild/BUILD/rust-idna0.1-0.1.5-build/idna-0.1.5/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 rustc_serialize --edition=2015 /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 codegen-units=1 -C debuginfo=2 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=e7875e8b3f8ee856 -C extra-filename=-fda953b00c178905 --out-dir /home/pterjan/rpmbuild/BUILD/rust-idna0.1-0.1.5-build/idna-0.1.5/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-idna0.1-0.1.5-build/idna-0.1.5/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Fresh tinyvec v1.9.0 Fresh unicode-normalization v0.1.22 warning: `...` range patterns are deprecated --> src/punycode.rs:85:29 | 85 | byte @ b'0' ... b'9' => byte - b'0' + 26, | ^^^ help: use `..=` for an inclusive range | = 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(ellipsis_inclusive_range_patterns)]` (part of `#[warn(rust_2021_compatibility)]`) on by default warning: `...` range patterns are deprecated --> src/punycode.rs:86:29 | 86 | byte @ b'A' ... b'Z' => byte - b'A', | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/punycode.rs:87:29 | 87 | byte @ b'a' ... b'z' => byte - b'a', | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/punycode.rs:209:11 | 209 | 0 ... 25 => (value as u8 + 'a' as u8) as char, // a..z | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: `...` range patterns are deprecated --> src/punycode.rs:210:12 | 210 | 26 ... 35 => (value as u8 - 26 + '0' as u8) as char, // 0..9 | ^^^ help: use `..=` for an inclusive range | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see warning: field `0` is never read --> src/uts46.rs:379:19 | 379 | pub struct Errors(Vec); | ------ ^^^^^^^^^^ | | | field in this struct | = help: consider removing this field = note: `Errors` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default warning: `idna` (lib) generated 6 warnings (run `cargo fix --lib -p idna` to apply 5 suggestions) error[E0310]: the parameter type `T` may not live long enough --> /usr/share/cargo/registry/rustc-serialize-0.3.24/src/serialize.rs:1155:5 | 1155 | fn decode(d: &mut D) -> Result, D::Error> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | | | the parameter type `T` must be valid for the static lifetime... | ...so that the type `T` will meet its required lifetime bounds... | note: ...that is required by this bound --> /home/iurt/rpmbuild/BUILD/rust-1.91.0-build/rustc-1.91.0-src/library/alloc/src/borrow.rs:182:30 help: consider adding an explicit lifetime bound | 1151 | impl<'a, T: ?Sized + 'static> Decodable for Cow<'a, T> | +++++++++ Compiling getopts v0.2.21 Running `/usr/bin/rustc --crate-name getopts --edition=2015 /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 codegen-units=1 -C debuginfo=2 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("core", "rustc-dep-of-std", "std"))' -C metadata=9eeb85f965035512 -C extra-filename=-a4b56dad8da9126a --out-dir /home/pterjan/rpmbuild/BUILD/rust-idna0.1-0.1.5-build/idna-0.1.5/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-idna0.1-0.1.5-build/idna-0.1.5/target/rpm/deps --extern unicode_width=/home/pterjan/rpmbuild/BUILD/rust-idna0.1-0.1.5-build/idna-0.1.5/target/rpm/deps/libunicode_width-b836d470878ded3b.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling pest v2.8.3 Running `/usr/bin/rustc --crate-name pest --edition=2021 /usr/share/cargo/registry/pest-2.8.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 --cfg 'feature="default"' --cfg 'feature="memchr"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("const_prec_climber", "default", "memchr", "miette-error", "pretty-print", "std"))' -C metadata=c5ac8e9c738eaa96 -C extra-filename=-a2ec34a691235708 --out-dir /home/pterjan/rpmbuild/BUILD/rust-idna0.1-0.1.5-build/idna-0.1.5/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-idna0.1-0.1.5-build/idna-0.1.5/target/rpm/deps --extern memchr=/home/pterjan/rpmbuild/BUILD/rust-idna0.1-0.1.5-build/idna-0.1.5/target/rpm/deps/libmemchr-9a9d14fecad5f90b.rmeta --extern ucd_trie=/home/pterjan/rpmbuild/BUILD/rust-idna0.1-0.1.5-build/idna-0.1.5/target/rpm/deps/libucd_trie-64183f9f405933f9.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` For more information about this error, try `rustc --explain E0310`. error: could not compile `rustc-serialize` (lib) due to 1 previous error Caused by: process didn't exit successfully: `/usr/bin/rustc --crate-name rustc_serialize --edition=2015 /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 codegen-units=1 -C debuginfo=2 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=e7875e8b3f8ee856 -C extra-filename=-fda953b00c178905 --out-dir /home/pterjan/rpmbuild/BUILD/rust-idna0.1-0.1.5-build/idna-0.1.5/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-idna0.1-0.1.5-build/idna-0.1.5/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` (exit status: 1) warning: build failed, waiting for other jobs to finish... error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.FJwROX (%check) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.FJwROX (%check) I: [iurt_root_command] ERROR: chroot