D: [iurt_root_command] chroot Building target platforms: noarch Building for target noarch Installing /home/pterjan/rpmbuild/SRPMS/rust-locale_config-0.3.0-1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.Y24JRm Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.sRtksd + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-locale_config-0.3.0-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/rust-locale_config-0.3.0-build + rm -rf locale_config-0.3.0 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/locale_config-0.3.0.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd locale_config-0.3.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/locale_config-fix-metadata-auto.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.Wg350y + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-locale_config-0.3.0-build + cd locale_config-0.3.0 + /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.mZpOMg + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-locale_config-0.3.0-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 locale_config-0.3.0 + '[' 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: no edition set: defaulting to the 2015 edition while the latest is 2024 Compiling memchr v2.7.4 Compiling regex-syntax v0.8.5 Running `/usr/bin/rustc --crate-name memchr --edition=2021 /usr/share/cargo/registry/memchr-2.7.4/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="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "compiler_builtins", "core", "default", "libc", "logging", "rustc-dep-of-std", "std", "use_std"))' -C metadata=9228fa86758e8c03 -C extra-filename=-3b1147e61686bb87 --out-dir /home/pterjan/rpmbuild/BUILD/rust-locale_config-0.3.0-build/locale_config-0.3.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-locale_config-0.3.0-build/locale_config-0.3.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling lazy_static v1.5.0 Running `/usr/bin/rustc --crate-name regex_syntax --edition=2021 /usr/share/cargo/registry/regex-syntax-0.8.5/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"' --cfg 'feature="unicode"' --cfg 'feature="unicode-age"' --cfg 'feature="unicode-bool"' --cfg 'feature="unicode-case"' --cfg 'feature="unicode-gencat"' --cfg 'feature="unicode-perl"' --cfg 'feature="unicode-script"' --cfg 'feature="unicode-segment"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("arbitrary", "default", "std", "unicode", "unicode-age", "unicode-bool", "unicode-case", "unicode-gencat", "unicode-perl", "unicode-script", "unicode-segment"))' -C metadata=7fada060eb077420 -C extra-filename=-1570020434bc9df2 --out-dir /home/pterjan/rpmbuild/BUILD/rust-locale_config-0.3.0-build/locale_config-0.3.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-locale_config-0.3.0-build/locale_config-0.3.0/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 lazy_static --edition=2015 /usr/share/cargo/registry/lazy_static-1.5.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("spin", "spin_no_std"))' -C metadata=2e788d234a69074e -C extra-filename=-74cabfed94616a3a --out-dir /home/pterjan/rpmbuild/BUILD/rust-locale_config-0.3.0-build/locale_config-0.3.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-locale_config-0.3.0-build/locale_config-0.3.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling aho-corasick v1.1.3 Running `/usr/bin/rustc --crate-name aho_corasick --edition=2021 /usr/share/cargo/registry/aho-corasick-1.1.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="perf-literal"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "logging", "perf-literal", "std"))' -C metadata=156a830d116d5bd9 -C extra-filename=-9249320532705819 --out-dir /home/pterjan/rpmbuild/BUILD/rust-locale_config-0.3.0-build/locale_config-0.3.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-locale_config-0.3.0-build/locale_config-0.3.0/target/rpm/deps --extern memchr=/home/pterjan/rpmbuild/BUILD/rust-locale_config-0.3.0-build/locale_config-0.3.0/target/rpm/deps/libmemchr-3b1147e61686bb87.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling regex-automata v0.4.9 Running `/usr/bin/rustc --crate-name regex_automata --edition=2021 /usr/share/cargo/registry/regex-automata-0.4.9/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="dfa-onepass"' --cfg 'feature="hybrid"' --cfg 'feature="meta"' --cfg 'feature="nfa-backtrack"' --cfg 'feature="nfa-pikevm"' --cfg 'feature="nfa-thompson"' --cfg 'feature="perf-inline"' --cfg 'feature="perf-literal"' --cfg 'feature="perf-literal-multisubstring"' --cfg 'feature="perf-literal-substring"' --cfg 'feature="std"' --cfg 'feature="syntax"' --cfg 'feature="unicode"' --cfg 'feature="unicode-age"' --cfg 'feature="unicode-bool"' --cfg 'feature="unicode-case"' --cfg 'feature="unicode-gencat"' --cfg 'feature="unicode-perl"' --cfg 'feature="unicode-script"' --cfg 'feature="unicode-segment"' --cfg 'feature="unicode-word-boundary"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "default", "dfa", "dfa-build", "dfa-onepass", "dfa-search", "hybrid", "internal-instrument", "internal-instrument-pikevm", "logging", "meta", "nfa", "nfa-backtrack", "nfa-pikevm", "nfa-thompson", "perf", "perf-inline", "perf-literal", "perf-literal-multisubstring", "perf-literal-substring", "std", "syntax", "unicode", "unicode-age", "unicode-bool", "unicode-case", "unicode-gencat", "unicode-perl", "unicode-script", "unicode-segment", "unicode-word-boundary"))' -C metadata=1d06f71640ada769 -C extra-filename=-e605e61d4ae5dfad --out-dir /home/pterjan/rpmbuild/BUILD/rust-locale_config-0.3.0-build/locale_config-0.3.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-locale_config-0.3.0-build/locale_config-0.3.0/target/rpm/deps --extern aho_corasick=/home/pterjan/rpmbuild/BUILD/rust-locale_config-0.3.0-build/locale_config-0.3.0/target/rpm/deps/libaho_corasick-9249320532705819.rmeta --extern memchr=/home/pterjan/rpmbuild/BUILD/rust-locale_config-0.3.0-build/locale_config-0.3.0/target/rpm/deps/libmemchr-3b1147e61686bb87.rmeta --extern regex_syntax=/home/pterjan/rpmbuild/BUILD/rust-locale_config-0.3.0-build/locale_config-0.3.0/target/rpm/deps/libregex_syntax-1570020434bc9df2.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling regex v1.11.1 Running `/usr/bin/rustc --crate-name regex --edition=2021 /usr/share/cargo/registry/regex-1.11.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 --cfg 'feature="default"' --cfg 'feature="perf"' --cfg 'feature="perf-backtrack"' --cfg 'feature="perf-cache"' --cfg 'feature="perf-dfa"' --cfg 'feature="perf-inline"' --cfg 'feature="perf-literal"' --cfg 'feature="perf-onepass"' --cfg 'feature="std"' --cfg 'feature="unicode"' --cfg 'feature="unicode-age"' --cfg 'feature="unicode-bool"' --cfg 'feature="unicode-case"' --cfg 'feature="unicode-gencat"' --cfg 'feature="unicode-perl"' --cfg 'feature="unicode-script"' --cfg 'feature="unicode-segment"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "logging", "pattern", "perf", "perf-backtrack", "perf-cache", "perf-dfa", "perf-dfa-full", "perf-inline", "perf-literal", "perf-onepass", "std", "unicode", "unicode-age", "unicode-bool", "unicode-case", "unicode-gencat", "unicode-perl", "unicode-script", "unicode-segment", "unstable", "use_std"))' -C metadata=fa50f593d6a7b081 -C extra-filename=-c75f1f31ce46b663 --out-dir /home/pterjan/rpmbuild/BUILD/rust-locale_config-0.3.0-build/locale_config-0.3.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-locale_config-0.3.0-build/locale_config-0.3.0/target/rpm/deps --extern aho_corasick=/home/pterjan/rpmbuild/BUILD/rust-locale_config-0.3.0-build/locale_config-0.3.0/target/rpm/deps/libaho_corasick-9249320532705819.rmeta --extern memchr=/home/pterjan/rpmbuild/BUILD/rust-locale_config-0.3.0-build/locale_config-0.3.0/target/rpm/deps/libmemchr-3b1147e61686bb87.rmeta --extern regex_automata=/home/pterjan/rpmbuild/BUILD/rust-locale_config-0.3.0-build/locale_config-0.3.0/target/rpm/deps/libregex_automata-e605e61d4ae5dfad.rmeta --extern regex_syntax=/home/pterjan/rpmbuild/BUILD/rust-locale_config-0.3.0-build/locale_config-0.3.0/target/rpm/deps/libregex_syntax-1570020434bc9df2.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling locale_config v0.3.0 (/home/pterjan/rpmbuild/BUILD/rust-locale_config-0.3.0-build/locale_config-0.3.0) Running `/usr/bin/rustc --crate-name locale_config --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=8d5f12babb749120 -C extra-filename=-a1fb0a94e7c1690d --out-dir /home/pterjan/rpmbuild/BUILD/rust-locale_config-0.3.0-build/locale_config-0.3.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-locale_config-0.3.0-build/locale_config-0.3.0/target/rpm/deps --extern lazy_static=/home/pterjan/rpmbuild/BUILD/rust-locale_config-0.3.0-build/locale_config-0.3.0/target/rpm/deps/liblazy_static-74cabfed94616a3a.rmeta --extern regex=/home/pterjan/rpmbuild/BUILD/rust-locale_config-0.3.0-build/locale_config-0.3.0/target/rpm/deps/libregex-c75f1f31ce46b663.rmeta -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: elided lifetime has a name --> src/lib.rs:241:39 | 228 | impl<'a> LanguageRange<'a> { | -- lifetime `'a` declared here ... 241 | pub fn new(lt: &'a str) -> Result<LanguageRange> { | ^^^^^^^^^^^^^ this elided lifetime gets resolved as `'a` | = note: `#[warn(elided_named_lifetimes)]` on by default warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:501:13 | 501 | try!(LanguageRange::new( | ^^^ | = note: `#[warn(deprecated)]` on by default warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:505:27 | 505 | let tag = try!(LanguageRange::new( | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:506:25 | 506 | try!(caps.name("tag").map(|m| m.as_str()).ok_or(Error::NotWellFormed)))); | ^^^ warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() --> src/lib.rs:756:28 | 756 | out.write_str(self.description()) | ^^^^^^^^^^^ warning: `locale_config` (lib) generated 5 warnings Finished `rpm` profile [optimized + debuginfo] target(s) in 19.06s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.bfBivx + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-locale_config-0.3.0-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/rust-locale_config-0.3.0-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/rust-locale_config-0.3.0-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/rust-locale_config-0.3.0-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/rust-locale_config-0.3.0-build + mkdir /home/pterjan/rpmbuild/BUILD/rust-locale_config-0.3.0-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 locale_config-0.3.0 + '[' 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=locale_config ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=0.3.0 + REG_DIR=/home/pterjan/rpmbuild/BUILD/rust-locale_config-0.3.0-build/BUILDROOT/usr/share/cargo/registry/locale_config-0.3.0 + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-locale_config-0.3.0-build/BUILDROOT/usr/share/cargo/registry/locale_config-0.3.0 + /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-locale_config-0.3.0-build/BUILDROOT/usr/share/cargo/registry/locale_config-0.3.0 warning: no (git) VCS found for `/home/pterjan/rpmbuild/BUILD/rust-locale_config-0.3.0-build/locale_config-0.3.0` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /home/pterjan/rpmbuild/BUILD/rust-locale_config-0.3.0-build/BUILDROOT/usr/share/cargo/registry/locale_config-0.3.0/Cargo.toml + /usr/bin/rm -f /home/pterjan/rpmbuild/BUILD/rust-locale_config-0.3.0-build/BUILDROOT/usr/share/cargo/registry/locale_config-0.3.0/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.O2ZMef + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-locale_config-0.3.0-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 locale_config-0.3.0 + '[' 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: no edition set: defaulting to the 2015 edition while the latest is 2024 Fresh memchr v2.7.4 Fresh aho-corasick v1.1.3 Fresh regex-syntax v0.8.5 Fresh regex-automata v0.4.9 Fresh regex v1.11.1 Fresh lazy_static v1.5.0 warning: elided lifetime has a name --> src/lib.rs:241:39 | 228 | impl<'a> LanguageRange<'a> { | -- lifetime `'a` declared here ... 241 | pub fn new(lt: &'a str) -> Result<LanguageRange> { | ^^^^^^^^^^^^^ this elided lifetime gets resolved as `'a` | = note: `#[warn(elided_named_lifetimes)]` on by default warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:501:13 | 501 | try!(LanguageRange::new( | ^^^ | = note: `#[warn(deprecated)]` on by default warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:505:27 | 505 | let tag = try!(LanguageRange::new( | ^^^ warning: use of deprecated macro `try`: use the `?` operator instead --> src/lib.rs:506:25 | 506 | try!(caps.name("tag").map(|m| m.as_str()).ok_or(Error::NotWellFormed)))); | ^^^ warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() --> src/lib.rs:756:28 | 756 | out.write_str(self.description()) | ^^^^^^^^^^^ Compiling locale_config v0.3.0 (/home/pterjan/rpmbuild/BUILD/rust-locale_config-0.3.0-build/locale_config-0.3.0) warning: `locale_config` (lib) generated 5 warnings Running `/usr/bin/rustc --crate-name locale_config --edition=2015 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --test --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=fe32ed00dc690135 -C extra-filename=-79e09785ef21bbc9 --out-dir /home/pterjan/rpmbuild/BUILD/rust-locale_config-0.3.0-build/locale_config-0.3.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-locale_config-0.3.0-build/locale_config-0.3.0/target/rpm/deps --extern lazy_static=/home/pterjan/rpmbuild/BUILD/rust-locale_config-0.3.0-build/locale_config-0.3.0/target/rpm/deps/liblazy_static-74cabfed94616a3a.rlib --extern regex=/home/pterjan/rpmbuild/BUILD/rust-locale_config-0.3.0-build/locale_config-0.3.0/target/rpm/deps/libregex-c75f1f31ce46b663.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name show_user_locale --edition=2015 examples/show-user-locale.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,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=e6324d4a7bd8a00c -C extra-filename=-7927865ba5d201ad --out-dir /home/pterjan/rpmbuild/BUILD/rust-locale_config-0.3.0-build/locale_config-0.3.0/target/rpm/examples -L dependency=/home/pterjan/rpmbuild/BUILD/rust-locale_config-0.3.0-build/locale_config-0.3.0/target/rpm/deps --extern lazy_static=/home/pterjan/rpmbuild/BUILD/rust-locale_config-0.3.0-build/locale_config-0.3.0/target/rpm/deps/liblazy_static-74cabfed94616a3a.rlib --extern locale_config=/home/pterjan/rpmbuild/BUILD/rust-locale_config-0.3.0-build/locale_config-0.3.0/target/rpm/deps/liblocale_config-a1fb0a94e7c1690d.rlib --extern regex=/home/pterjan/rpmbuild/BUILD/rust-locale_config-0.3.0-build/locale_config-0.3.0/target/rpm/deps/libregex-c75f1f31ce46b663.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: `locale_config` (lib test) generated 5 warnings (5 duplicates) Finished `rpm` profile [optimized + debuginfo] target(s) in 2.60s Running `/home/pterjan/rpmbuild/BUILD/rust-locale_config-0.3.0-build/locale_config-0.3.0/target/rpm/deps/locale_config-79e09785ef21bbc9` running 16 tests test test::complex_valid_lang_ranges ... ok test test::invalid_lang_range_leading_number ... ok test test::invalid_lang_range_bad_asterisk ... ok test test::invalid_lang_range_invalid_char ... ok test test::invalid_lang_range_long_element ... ok test test::locale_simple ... ok test test::normal_lang_range ... ok test test::simple_valid_lang_ranges ... ok test test::category_tag_list ... ok test test::locale_dups ... ok test test::locale_category ... ok test test::locale_category_dups ... ok test test::locale_list ... ok test test::wildcard_lang_ranges ... ok test test::tag_list_for ... ok test test::unix_tags ... ok test result: ok. 16 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests locale_config Running `/usr/bin/rustdoc --edition=2015 --crate-type lib --color auto --crate-name locale_config --test src/lib.rs --test-run-directory /home/pterjan/rpmbuild/BUILD/rust-locale_config-0.3.0-build/locale_config-0.3.0 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-locale_config-0.3.0-build/locale_config-0.3.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-locale_config-0.3.0-build/locale_config-0.3.0/target/rpm/deps --extern lazy_static=/home/pterjan/rpmbuild/BUILD/rust-locale_config-0.3.0-build/locale_config-0.3.0/target/rpm/deps/liblazy_static-74cabfed94616a3a.rlib --extern locale_config=/home/pterjan/rpmbuild/BUILD/rust-locale_config-0.3.0-build/locale_config-0.3.0/target/rpm/deps/liblocale_config-a1fb0a94e7c1690d.rlib --extern regex=/home/pterjan/rpmbuild/BUILD/rust-locale_config-0.3.0-build/locale_config-0.3.0/target/rpm/deps/libregex-c75f1f31ce46b663.rlib -C embed-bitcode=no --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' --error-format human` running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rust-locale_config-devel-0.3.0-1.mga10.noarch warning: File listed twice: /usr/share/cargo/registry/locale_config-0.3.0/LICENSE warning: File listed twice: /usr/share/cargo/registry/locale_config-0.3.0/README.md Provides: crate(locale_config) = 0.3.0 rust-locale_config-devel = 0.3.0-1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(lazy_static/default) >= 1.0.0 crate(regex/default) >= 1.0.0 Processing files: rust-locale_config+default-devel-0.3.0-1.mga10.noarch Provides: crate(locale_config/default) = 0.3.0 rust-locale_config+default-devel = 0.3.0-1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(locale_config) = 0.3.0 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/rust-locale_config-0.3.0-build/BUILDROOT Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-locale_config+default-devel-0.3.0-1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-locale_config-devel-0.3.0-1.mga10.noarch.rpm Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.81HL0z + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-locale_config-0.3.0-build + test -d /home/pterjan/rpmbuild/BUILD/rust-locale_config-0.3.0-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/rust-locale_config-0.3.0-build + rm -rf /home/pterjan/rpmbuild/BUILD/rust-locale_config-0.3.0-build + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: File listed twice: /usr/share/cargo/registry/locale_config-0.3.0/LICENSE File listed twice: /usr/share/cargo/registry/locale_config-0.3.0/README.md D: [iurt_root_command] Success!