D: [iurt_root_command] chroot Building target platforms: noarch Building for target noarch Installing /home/pterjan/rpmbuild/SRPMS/rust-shellexpand-3.1.1-1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.9kYind Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.ttEsP0 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-shellexpand-3.1.1-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/rust-shellexpand-3.1.1-build + rm -rf shellexpand-3.1.1 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/shellexpand-3.1.1.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd shellexpand-3.1.1 + /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.1gevaL + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-shellexpand-3.1.1-build + cd shellexpand-3.1.1 + /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.khgcE2 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-shellexpand-3.1.1-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 shellexpand-3.1.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 -Cstrip=none --cap-lints=warn' /usr/bin/cargo build -j16 -Z avoid-dev-deps --profile rpm Compiling libc v0.2.180 Compiling option-ext v0.2.0 Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/libc-0.2.180/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=5847cfa6a656dc4c -C extra-filename=-5e3842ffd01dceae --out-dir /home/pterjan/rpmbuild/BUILD/rust-shellexpand-3.1.1-build/shellexpand-3.1.1/target/rpm/build/libc-5e3842ffd01dceae -L dependency=/home/pterjan/rpmbuild/BUILD/rust-shellexpand-3.1.1-build/shellexpand-3.1.1/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=5c44c8d578ac507e -C extra-filename=-1ba4736fc627f59d --out-dir /home/pterjan/rpmbuild/BUILD/rust-shellexpand-3.1.1-build/shellexpand-3.1.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-shellexpand-3.1.1-build/shellexpand-3.1.1/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/home/pterjan/rpmbuild/BUILD/rust-shellexpand-3.1.1-build/shellexpand-3.1.1/target/rpm/build/libc-5e3842ffd01dceae/build-script-build` Running `/usr/bin/rustc --crate-name libc --edition=2021 /usr/share/cargo/registry/libc-0.2.180/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 '--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' --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=a90c244e0b1f6725 -C extra-filename=-3c016273de920cf5 --out-dir /home/pterjan/rpmbuild/BUILD/rust-shellexpand-3.1.1-build/shellexpand-3.1.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-shellexpand-3.1.1-build/shellexpand-3.1.1/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg freebsd12 --check-cfg 'cfg(emscripten_old_stat_abi)' --check-cfg 'cfg(espidf_time32)' --check-cfg 'cfg(freebsd10)' --check-cfg 'cfg(freebsd11)' --check-cfg 'cfg(freebsd12)' --check-cfg 'cfg(freebsd13)' --check-cfg 'cfg(freebsd14)' --check-cfg 'cfg(freebsd15)' --check-cfg 'cfg(gnu_file_offset_bits64)' --check-cfg 'cfg(gnu_time_bits64)' --check-cfg 'cfg(libc_deny_warnings)' --check-cfg 'cfg(linux_time_bits64)' --check-cfg 'cfg(musl_v1_2_3)' --check-cfg 'cfg(musl32_time64)' --check-cfg 'cfg(vxworks_lt_25_09)' --check-cfg 'cfg(target_os,values("switch","aix","ohos","hurd","rtems","visionos","nuttx","cygwin","qurt"))' --check-cfg 'cfg(target_env,values("illumos","wasi","aix","ohos","nto71_iosock","nto80"))' --check-cfg 'cfg(target_arch,values("loongarch64","mips32r6","mips64r6","csky"))'` Compiling dirs-sys v0.5.0 Running `/usr/bin/rustc --crate-name dirs_sys --edition=2015 /usr/share/cargo/registry/dirs-sys-0.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())' -C metadata=b71283dee8722db7 -C extra-filename=-5c6c91674d34ef99 --out-dir /home/pterjan/rpmbuild/BUILD/rust-shellexpand-3.1.1-build/shellexpand-3.1.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-shellexpand-3.1.1-build/shellexpand-3.1.1/target/rpm/deps --extern libc=/home/pterjan/rpmbuild/BUILD/rust-shellexpand-3.1.1-build/shellexpand-3.1.1/target/rpm/deps/liblibc-3c016273de920cf5.rmeta --extern option_ext=/home/pterjan/rpmbuild/BUILD/rust-shellexpand-3.1.1-build/shellexpand-3.1.1/target/rpm/deps/liboption_ext-1ba4736fc627f59d.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling dirs v6.0.0 Running `/usr/bin/rustc --crate-name dirs --edition=2015 /usr/share/cargo/registry/dirs-6.0.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=4092154e2f39eba3 -C extra-filename=-14fd4293707ea63f --out-dir /home/pterjan/rpmbuild/BUILD/rust-shellexpand-3.1.1-build/shellexpand-3.1.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-shellexpand-3.1.1-build/shellexpand-3.1.1/target/rpm/deps --extern dirs_sys=/home/pterjan/rpmbuild/BUILD/rust-shellexpand-3.1.1-build/shellexpand-3.1.1/target/rpm/deps/libdirs_sys-5c6c91674d34ef99.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling shellexpand v3.1.1 (/home/pterjan/rpmbuild/BUILD/rust-shellexpand-3.1.1-build/shellexpand-3.1.1) Running `/usr/bin/rustc --crate-name shellexpand --edition=2018 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="base-0"' --cfg 'feature="default"' --cfg 'feature="dirs"' --cfg 'feature="tilde"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("base-0", "bstr", "default", "dirs", "full", "full-msrv-1-31", "full-msrv-1-51", "os_str_bytes", "path", "tilde"))' -C metadata=f68eb1186e89d38c -C extra-filename=-731131e6f050f5b5 --out-dir /home/pterjan/rpmbuild/BUILD/rust-shellexpand-3.1.1-build/shellexpand-3.1.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-shellexpand-3.1.1-build/shellexpand-3.1.1/target/rpm/deps --extern dirs=/home/pterjan/rpmbuild/BUILD/rust-shellexpand-3.1.1-build/shellexpand-3.1.1/target/rpm/deps/libdirs-14fd4293707ea63f.rmeta -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: a method with this name may be added to the standard library in the future --> src/funcs.rs:394:47 | 394 | let var_name = match var_name.as_str() { | ^^^^^^ | = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! = note: for more information, see issue #48919 = help: call with fully qualified syntax `wtraits::WstrExt::as_str(...)` to keep using the current method = note: `#[warn(unstable_name_collisions)]` (part of `#[warn(future_incompatible)]`) on by default help: add `#![feature(str_as_str)]` to the crate attributes to enable `core::str::::as_str` --> src/lib.rs:93:1 | 93 + #![feature(str_as_str)] | warning: hiding a lifetime that's elided elsewhere is confusing --> src/wtraits.rs:89:20 | 89 | fn into_winput(&self) -> WInput; | ^^^^^ ^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default help: use `'_` for type paths | 89 | fn into_winput(&self) -> WInput<'_>; | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/funcs.rs:89:12 | 89 | input: &SI, | ^^^ the lifetime is elided here ... 92 | ) -> Result, LookupError> | ^^^^^^^^^ the same lifetime is hidden here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 92 | ) -> Result, LookupError> | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/funcs.rs:169:12 | 169 | input: &SI, | ^^^ the lifetime is elided here ... 172 | ) -> Cow | ^^^^^^^^^ the same lifetime is hidden here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 172 | ) -> Cow<'_, Xstr> | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/funcs.rs:228:32 | 228 | pub fn full(input: &SI) -> Result, LookupError> | ^^^ ^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 228 | pub fn full(input: &SI) -> Result, LookupError> | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/funcs.rs:368:12 | 368 | input: &SI, | ^^^ the lifetime is elided here 369 | mut context: C, 370 | ) -> Result, LookupError> | ^^^^^^^^^ the same lifetime is hidden here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 370 | ) -> Result, LookupError> | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/funcs.rs:534:61 | 534 | pub fn env_with_context_no_errors(input: &SI, mut context: C) -> Cow | ^^^ ^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 534 | pub fn env_with_context_no_errors(input: &SI, mut context: C) -> Cow<'_, Xstr> | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/funcs.rs:581:31 | 581 | pub fn env(input: &SI) -> Result, LookupError> | ^^^ ^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 581 | pub fn env(input: &SI) -> Result, LookupError> | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/funcs.rs:622:53 | 622 | pub fn tilde_with_context(input: &SI, home_dir: HD) -> Cow | ^^^ ^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 622 | pub fn tilde_with_context(input: &SI, home_dir: HD) -> Cow<'_, Xstr> | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/funcs.rs:673:33 | 673 | pub fn tilde(input: &SI) -> Cow | ^^^ ^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 673 | pub fn tilde(input: &SI) -> Cow<'_, Xstr> | +++ warning: `shellexpand` (lib) generated 10 warnings (run `cargo fix --lib -p shellexpand` to apply 9 suggestions) Finished `rpm` profile [optimized + debuginfo] target(s) in 4.70s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.BZcnf7 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-shellexpand-3.1.1-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/rust-shellexpand-3.1.1-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/rust-shellexpand-3.1.1-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/rust-shellexpand-3.1.1-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/rust-shellexpand-3.1.1-build + mkdir /home/pterjan/rpmbuild/BUILD/rust-shellexpand-3.1.1-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 shellexpand-3.1.1 + '[' 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=shellexpand ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=3.1.1 + REG_DIR=/home/pterjan/rpmbuild/BUILD/rust-shellexpand-3.1.1-build/BUILDROOT/usr/share/cargo/registry/shellexpand-3.1.1 + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-shellexpand-3.1.1-build/BUILDROOT/usr/share/cargo/registry/shellexpand-3.1.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 -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-shellexpand-3.1.1-build/BUILDROOT/usr/share/cargo/registry/shellexpand-3.1.1 warning: no (git) VCS found for `/home/pterjan/rpmbuild/BUILD/rust-shellexpand-3.1.1-build/shellexpand-3.1.1` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /home/pterjan/rpmbuild/BUILD/rust-shellexpand-3.1.1-build/BUILDROOT/usr/share/cargo/registry/shellexpand-3.1.1/Cargo.toml + /usr/bin/rm -f /home/pterjan/rpmbuild/BUILD/rust-shellexpand-3.1.1-build/BUILDROOT/usr/share/cargo/registry/shellexpand-3.1.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 mangling shebang in /usr/share/cargo/registry/shellexpand-3.1.1/maint/update-minimal-versions from /bin/bash to #!/usr/bin/bash + 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.Hx79Zk + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-shellexpand-3.1.1-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 shellexpand-3.1.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 test -j16 -Z avoid-dev-deps --profile rpm --no-fail-fast Fresh libc v0.2.180 Fresh option-ext v0.2.0 Fresh dirs-sys v0.5.0 Fresh dirs v6.0.0 warning: a method with this name may be added to the standard library in the future --> src/funcs.rs:394:47 | 394 | let var_name = match var_name.as_str() { | ^^^^^^ | = warning: once this associated item is added to the standard library, the ambiguity may cause an error or change in behavior! = note: for more information, see issue #48919 = help: call with fully qualified syntax `wtraits::WstrExt::as_str(...)` to keep using the current method = note: `#[warn(unstable_name_collisions)]` (part of `#[warn(future_incompatible)]`) on by default help: add `#![feature(str_as_str)]` to the crate attributes to enable `core::str::::as_str` --> src/lib.rs:93:1 | 93 + #![feature(str_as_str)] | warning: hiding a lifetime that's elided elsewhere is confusing --> src/wtraits.rs:89:20 | 89 | fn into_winput(&self) -> WInput; | ^^^^^ ^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default help: use `'_` for type paths | 89 | fn into_winput(&self) -> WInput<'_>; | ++++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/funcs.rs:89:12 | 89 | input: &SI, | ^^^ the lifetime is elided here ... 92 | ) -> Result, LookupError> | ^^^^^^^^^ the same lifetime is hidden here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 92 | ) -> Result, LookupError> | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/funcs.rs:169:12 | 169 | input: &SI, | ^^^ the lifetime is elided here ... 172 | ) -> Cow | ^^^^^^^^^ the same lifetime is hidden here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 172 | ) -> Cow<'_, Xstr> | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/funcs.rs:228:32 | 228 | pub fn full(input: &SI) -> Result, LookupError> | ^^^ ^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 228 | pub fn full(input: &SI) -> Result, LookupError> | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/funcs.rs:368:12 | 368 | input: &SI, | ^^^ the lifetime is elided here 369 | mut context: C, 370 | ) -> Result, LookupError> | ^^^^^^^^^ the same lifetime is hidden here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 370 | ) -> Result, LookupError> | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/funcs.rs:534:61 | 534 | pub fn env_with_context_no_errors(input: &SI, mut context: C) -> Cow | ^^^ ^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 534 | pub fn env_with_context_no_errors(input: &SI, mut context: C) -> Cow<'_, Xstr> | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/funcs.rs:581:31 | 581 | pub fn env(input: &SI) -> Result, LookupError> | ^^^ ^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 581 | pub fn env(input: &SI) -> Result, LookupError> | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/funcs.rs:622:53 | 622 | pub fn tilde_with_context(input: &SI, home_dir: HD) -> Cow | ^^^ ^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 622 | pub fn tilde_with_context(input: &SI, home_dir: HD) -> Cow<'_, Xstr> | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/funcs.rs:673:33 | 673 | pub fn tilde(input: &SI) -> Cow | ^^^ ^^^^^^^^^ the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 673 | pub fn tilde(input: &SI) -> Cow<'_, Xstr> | +++ warning: `shellexpand` (lib) generated 10 warnings (run `cargo fix --lib -p shellexpand` to apply 9 suggestions) Compiling shellexpand v3.1.1 (/home/pterjan/rpmbuild/BUILD/rust-shellexpand-3.1.1-build/shellexpand-3.1.1) Running `/usr/bin/rustc --crate-name shellexpand --edition=2018 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 --cfg 'feature="base-0"' --cfg 'feature="default"' --cfg 'feature="dirs"' --cfg 'feature="tilde"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("base-0", "bstr", "default", "dirs", "full", "full-msrv-1-31", "full-msrv-1-51", "os_str_bytes", "path", "tilde"))' -C metadata=13dfbc236b4348ab -C extra-filename=-45549195d8a15adb --out-dir /home/pterjan/rpmbuild/BUILD/rust-shellexpand-3.1.1-build/shellexpand-3.1.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-shellexpand-3.1.1-build/shellexpand-3.1.1/target/rpm/deps --extern dirs=/home/pterjan/rpmbuild/BUILD/rust-shellexpand-3.1.1-build/shellexpand-3.1.1/target/rpm/deps/libdirs-14fd4293707ea63f.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: `shellexpand` (lib test) generated 10 warnings (10 duplicates) Finished `rpm` profile [optimized + debuginfo] target(s) in 2.68s Running `/home/pterjan/rpmbuild/BUILD/rust-shellexpand-3.1.1-build/shellexpand-3.1.1/target/rpm/deps/shellexpand-45549195d8a15adb` running 10 tests test strings::funcs::test::env_test::test_empty_env ... ok test strings::funcs::test::env_test::test_unicode ... ok test strings::funcs::test::full_tests::test_quirks ... ok test strings::funcs::test::tilde_tests::test_with_tilde ... ok test strings::funcs::test::tilde_tests::test_global_tilde ... ok test strings::funcs::test::env_test::test_global_env ... ok test strings::funcs::test::env_test::test_error_env ... ok test strings::funcs::test::tilde_tests::test_with_tilde_no_hd ... ok test strings::funcs::test::full_tests::test_tilde_expansion ... ok test strings::funcs::test::env_test::test_regular_env ... ok test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s Doc-tests shellexpand Running `/usr/bin/rustdoc --edition=2018 --crate-type lib --color auto --crate-name shellexpand --test src/lib.rs --test-run-directory /home/pterjan/rpmbuild/BUILD/rust-shellexpand-3.1.1-build/shellexpand-3.1.1 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-shellexpand-3.1.1-build/shellexpand-3.1.1/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-shellexpand-3.1.1-build/shellexpand-3.1.1/target/rpm/deps --extern dirs=/home/pterjan/rpmbuild/BUILD/rust-shellexpand-3.1.1-build/shellexpand-3.1.1/target/rpm/deps/libdirs-14fd4293707ea63f.rlib --extern shellexpand=/home/pterjan/rpmbuild/BUILD/rust-shellexpand-3.1.1-build/shellexpand-3.1.1/target/rpm/deps/libshellexpand-731131e6f050f5b5.rlib -C embed-bitcode=no --cfg 'feature="base-0"' --cfg 'feature="default"' --cfg 'feature="dirs"' --cfg 'feature="tilde"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("base-0", "bstr", "default", "dirs", "full", "full-msrv-1-31", "full-msrv-1-51", "os_str_bytes", "path", "tilde"))' --error-format human` running 11 tests test src/funcs.rs - strings::funcs::tilde_with_context (line 612) ... ok test src/funcs.rs - strings::funcs::full_with_context (line 43) ... ok test src/funcs.rs - strings::funcs::env_with_context_no_errors (line 512) ... ok test src/funcs.rs - strings::funcs::full_with_context_no_errors (line 132) ... ok test src/funcs.rs - strings::funcs::tilde (line 661) ... ok test src/lib.rs - (line 67) ... ok test src/lib.rs - (line 33) ... ok test src/lib.rs - (line 48) ... ok test src/funcs.rs - strings::funcs::env (line 558) ... ok test src/funcs.rs - strings::funcs::env_with_context (line 330) ... ok test src/funcs.rs - strings::funcs::full (line 201) ... ok test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.69s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rust-shellexpand-devel-3.1.1-1.mga10.noarch warning: File listed twice: /usr/share/cargo/registry/shellexpand-3.1.1/LICENSE-APACHE warning: File listed twice: /usr/share/cargo/registry/shellexpand-3.1.1/LICENSE-MIT warning: File listed twice: /usr/share/cargo/registry/shellexpand-3.1.1/README.md Provides: crate(shellexpand) = 3.1.1 rust-shellexpand-devel = 3.1.1-1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo rust >= 1.31 Processing files: rust-shellexpand+default-devel-3.1.1-1.mga10.noarch Provides: crate(shellexpand/default) = 3.1.1 rust-shellexpand+default-devel = 3.1.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(shellexpand) = 3.1.1 crate(shellexpand/base-0) = 3.1.1 crate(shellexpand/tilde) = 3.1.1 Processing files: rust-shellexpand+base-0-devel-3.1.1-1.mga10.noarch Provides: crate(shellexpand/base-0) = 3.1.1 rust-shellexpand+base-0-devel = 3.1.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(shellexpand) = 3.1.1 Processing files: rust-shellexpand+bstr-devel-3.1.1-1.mga10.noarch Provides: crate(shellexpand/bstr) = 3.1.1 rust-shellexpand+bstr-devel = 3.1.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(bstr/default) >= 1.0.0~pre.2 crate(shellexpand) = 3.1.1 Processing files: rust-shellexpand+dirs-devel-3.1.1-1.mga10.noarch Provides: crate(shellexpand/dirs) = 3.1.1 rust-shellexpand+dirs-devel = 3.1.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(dirs/default) >= 4.0.0 crate(shellexpand) = 3.1.1 Processing files: rust-shellexpand+full-devel-3.1.1-1.mga10.noarch Provides: crate(shellexpand/full) = 3.1.1 rust-shellexpand+full-devel = 3.1.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(shellexpand) = 3.1.1 crate(shellexpand/full-msrv-1-51) = 3.1.1 Processing files: rust-shellexpand+full-msrv-1-31-devel-3.1.1-1.mga10.noarch Provides: crate(shellexpand/full-msrv-1-31) = 3.1.1 rust-shellexpand+full-msrv-1-31-devel = 3.1.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(shellexpand) = 3.1.1 crate(shellexpand/base-0) = 3.1.1 crate(shellexpand/tilde) = 3.1.1 Processing files: rust-shellexpand+full-msrv-1-51-devel-3.1.1-1.mga10.noarch Provides: crate(shellexpand/full-msrv-1-51) = 3.1.1 rust-shellexpand+full-msrv-1-51-devel = 3.1.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(shellexpand) = 3.1.1 crate(shellexpand/full-msrv-1-31) = 3.1.1 crate(shellexpand/path) = 3.1.1 Processing files: rust-shellexpand+os_str_bytes-devel-3.1.1-1.mga10.noarch Provides: crate(shellexpand/os_str_bytes) = 3.1.1 rust-shellexpand+os_str_bytes-devel = 3.1.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(os_str_bytes/default) >= 5.0.0 crate(shellexpand) = 3.1.1 Processing files: rust-shellexpand+path-devel-3.1.1-1.mga10.noarch Provides: crate(shellexpand/path) = 3.1.1 rust-shellexpand+path-devel = 3.1.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(shellexpand) = 3.1.1 crate(shellexpand/bstr) = 3.1.1 crate(shellexpand/os_str_bytes) = 3.1.1 Processing files: rust-shellexpand+tilde-devel-3.1.1-1.mga10.noarch Provides: crate(shellexpand/tilde) = 3.1.1 rust-shellexpand+tilde-devel = 3.1.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(shellexpand) = 3.1.1 crate(shellexpand/dirs) = 3.1.1 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/rust-shellexpand-3.1.1-build/BUILDROOT Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-shellexpand+os_str_bytes-devel-3.1.1-1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-shellexpand+bstr-devel-3.1.1-1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-shellexpand+full-msrv-1-31-devel-3.1.1-1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-shellexpand+full-devel-3.1.1-1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-shellexpand+full-msrv-1-51-devel-3.1.1-1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-shellexpand+path-devel-3.1.1-1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-shellexpand-devel-3.1.1-1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-shellexpand+dirs-devel-3.1.1-1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-shellexpand+default-devel-3.1.1-1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-shellexpand+base-0-devel-3.1.1-1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-shellexpand+tilde-devel-3.1.1-1.mga10.noarch.rpm Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.le5R8k + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-shellexpand-3.1.1-build + test -d /home/pterjan/rpmbuild/BUILD/rust-shellexpand-3.1.1-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/rust-shellexpand-3.1.1-build + rm -rf /home/pterjan/rpmbuild/BUILD/rust-shellexpand-3.1.1-build + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: File listed twice: /usr/share/cargo/registry/shellexpand-3.1.1/LICENSE-APACHE File listed twice: /usr/share/cargo/registry/shellexpand-3.1.1/LICENSE-MIT File listed twice: /usr/share/cargo/registry/shellexpand-3.1.1/README.md D: [iurt_root_command] Success!