D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 Installing /home/pterjan/rpmbuild/SRPMS/rust-which-4.4.0-1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.VYtLIG + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-which-4.4.0-build + test -d /home/pterjan/rpmbuild/BUILD/rust-which-4.4.0-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/rust-which-4.4.0-build + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/rust-which-4.4.0-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-which-4.4.0-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-which-4.4.0-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.VcYadM + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-which-4.4.0-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/rust-which-4.4.0-build + rm -rf which-4.4.0 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/which-4.4.0.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd which-4.4.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/which-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.7Q4Cwm + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-which-4.4.0-build + cd which-4.4.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.mJWZbr + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-which-4.4.0-build + cd which-4.4.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 Compiling libc v0.2.168 Compiling either v1.9.0 Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/libc-0.2.168/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --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=f42b49d70ff2f22b -C extra-filename=-f42b49d70ff2f22b --out-dir /home/pterjan/rpmbuild/BUILD/rust-which-4.4.0-build/which-4.4.0/target/rpm/build/libc-f42b49d70ff2f22b -L dependency=/home/pterjan/rpmbuild/BUILD/rust-which-4.4.0-build/which-4.4.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 either --edition=2018 /usr/share/cargo/registry/either-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="default"' --cfg 'feature="use_std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("default", "serde", "use_std"))' -C metadata=23381e9053828140 -C extra-filename=-23381e9053828140 --out-dir /home/pterjan/rpmbuild/BUILD/rust-which-4.4.0-build/which-4.4.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-which-4.4.0-build/which-4.4.0/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-which-4.4.0-build/which-4.4.0/target/rpm/build/libc-f42b49d70ff2f22b/build-script-build` Running `/usr/bin/rustc --crate-name libc --edition=2021 /usr/share/cargo/registry/libc-0.2.168/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)' --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=823392d1629734b9 -C extra-filename=-823392d1629734b9 --out-dir /home/pterjan/rpmbuild/BUILD/rust-which-4.4.0-build/which-4.4.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-which-4.4.0-build/which-4.4.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg freebsd11 --cfg libc_const_extern_fn --check-cfg 'cfg(emscripten_new_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(libc_const_extern_fn)' --check-cfg 'cfg(libc_deny_warnings)' --check-cfg 'cfg(libc_thread_local)' --check-cfg 'cfg(libc_ctest)' --check-cfg 'cfg(target_os,values("switch","aix","ohos","hurd","rtems","visionos","nuttx"))' --check-cfg 'cfg(target_env,values("illumos","wasi","aix","ohos"))' --check-cfg 'cfg(target_arch,values("loongarch64","mips32r6","mips64r6","csky"))'` Compiling which v4.4.0 (/home/pterjan/rpmbuild/BUILD/rust-which-4.4.0-build/which-4.4.0) Running `/usr/bin/rustc --crate-name which --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 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("regex"))' -C metadata=c32d57aaa9b5080b -C extra-filename=-c32d57aaa9b5080b --out-dir /home/pterjan/rpmbuild/BUILD/rust-which-4.4.0-build/which-4.4.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-which-4.4.0-build/which-4.4.0/target/rpm/deps --extern either=/home/pterjan/rpmbuild/BUILD/rust-which-4.4.0-build/which-4.4.0/target/rpm/deps/libeither-23381e9053828140.rmeta --extern libc=/home/pterjan/rpmbuild/BUILD/rust-which-4.4.0-build/which-4.4.0/target/rpm/deps/liblibc-823392d1629734b9.rmeta -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: variable does not need to be mutable --> src/lib.rs:308:18 | 308 | pub fn regex(mut self, regex: Regex) -> Self { | ----^^^^ | | | help: remove this `mut` | = note: `#[warn(unused_mut)]` on by default warning: `which` (lib) generated 1 warning (run `cargo fix --lib -p which` to apply 1 suggestion) Finished `rpm` profile [optimized + debuginfo] target(s) in 1.86s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.kN01qh + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-which-4.4.0-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/rust-which-4.4.0-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/rust-which-4.4.0-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/rust-which-4.4.0-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/rust-which-4.4.0-build + mkdir /home/pterjan/rpmbuild/BUILD/rust-which-4.4.0-build/BUILDROOT + cd which-4.4.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=which ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=4.4.0 + REG_DIR=/home/pterjan/rpmbuild/BUILD/rust-which-4.4.0-build/BUILDROOT/usr/share/cargo/registry/which-4.4.0 + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-which-4.4.0-build/BUILDROOT/usr/share/cargo/registry/which-4.4.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-which-4.4.0-build/BUILDROOT/usr/share/cargo/registry/which-4.4.0 warning: no (git) VCS found for `/home/pterjan/rpmbuild/BUILD/rust-which-4.4.0-build/which-4.4.0` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /home/pterjan/rpmbuild/BUILD/rust-which-4.4.0-build/BUILDROOT/usr/share/cargo/registry/which-4.4.0/Cargo.toml + /usr/bin/rm -f /home/pterjan/rpmbuild/BUILD/rust-which-4.4.0-build/BUILDROOT/usr/share/cargo/registry/which-4.4.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 Reading /home/pterjan/rpmbuild/BUILD/rust-which-4.4.0-build/SPECPARTS/rpm-debuginfo.specpart Executing(%check): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.IyFGYR + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-which-4.4.0-build + cd which-4.4.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 Compiling rustix v0.38.42 Compiling libc v0.2.168 Compiling bitflags v2.6.0 Compiling linux-raw-sys v0.4.14 Compiling cfg-if v1.0.0 Compiling once_cell v1.20.0 Compiling fastrand v2.1.1 Fresh either v1.9.0 Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/libc-0.2.168/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debug-assertions=off --cfg 'feature="default"' --cfg 'feature="extra_traits"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --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=ccb0c802555344cc -C extra-filename=-ccb0c802555344cc --out-dir /home/pterjan/rpmbuild/BUILD/rust-which-4.4.0-build/which-4.4.0/target/rpm/build/libc-ccb0c802555344cc -L dependency=/home/pterjan/rpmbuild/BUILD/rust-which-4.4.0-build/which-4.4.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 build_script_build --edition=2021 /usr/share/cargo/registry/rustix-0.38.42/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no --warn=unexpected_cfgs -C debug-assertions=off --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="fs"' --cfg 'feature="libc-extra-traits"' --cfg 'feature="std"' --cfg 'feature="use-libc-auxv"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("all-apis", "alloc", "cc", "default", "event", "fs", "io_uring", "itoa", "libc", "libc-extra-traits", "libc_errno", "linux_4_11", "linux_latest", "mm", "mount", "net", "once_cell", "param", "pipe", "process", "procfs", "pty", "rand", "runtime", "shm", "std", "stdio", "system", "termios", "thread", "time", "try_close", "use-explicitly-provided-auxv", "use-libc", "use-libc-auxv"))' --check-cfg 'cfg(alloc_c_string)' --check-cfg 'cfg(alloc_ffi)' --check-cfg 'cfg(apple)' --check-cfg 'cfg(asm_experimental_arch)' --check-cfg 'cfg(bsd)' --check-cfg 'cfg(core_c_str)' --check-cfg 'cfg(core_ffi_c)' --check-cfg 'cfg(core_intrinsics)' --check-cfg 'cfg(criterion)' --check-cfg 'cfg(document_experimental_runtime_api)' --check-cfg 'cfg(fix_y2038)' --check-cfg 'cfg(freebsdlike)' --check-cfg 'cfg(libc)' --check-cfg 'cfg(linux_kernel)' --check-cfg 'cfg(linux_like)' --check-cfg 'cfg(linux_raw)' --check-cfg 'cfg(netbsdlike)' --check-cfg 'cfg(rustc_attrs)' --check-cfg 'cfg(solarish)' --check-cfg 'cfg(staged_api)' --check-cfg 'cfg(static_assertions)' --check-cfg 'cfg(thumb_mode)' --check-cfg 'cfg(wasi)' --check-cfg 'cfg(wasi_ext)' --check-cfg 'cfg(target_arch, values("xtensa"))' -C metadata=5ecafac38c2ccf9a -C extra-filename=-5ecafac38c2ccf9a --out-dir /home/pterjan/rpmbuild/BUILD/rust-which-4.4.0-build/which-4.4.0/target/rpm/build/rustix-5ecafac38c2ccf9a -L dependency=/home/pterjan/rpmbuild/BUILD/rust-which-4.4.0-build/which-4.4.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 cfg_if --edition=2018 /usr/share/cargo/registry/cfg-if-1.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)' --check-cfg 'cfg(feature, values("compiler_builtins", "core", "rustc-dep-of-std"))' -C metadata=25316131be321185 -C extra-filename=-25316131be321185 --out-dir /home/pterjan/rpmbuild/BUILD/rust-which-4.4.0-build/which-4.4.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-which-4.4.0-build/which-4.4.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 bitflags --edition=2021 /usr/share/cargo/registry/bitflags-2.6.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="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("arbitrary", "bytemuck", "compiler_builtins", "core", "example_generated", "rustc-dep-of-std", "serde", "std"))' -C metadata=828c9d64620d0755 -C extra-filename=-828c9d64620d0755 --out-dir /home/pterjan/rpmbuild/BUILD/rust-which-4.4.0-build/which-4.4.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-which-4.4.0-build/which-4.4.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 linux_raw_sys --edition=2021 /usr/share/cargo/registry/linux-raw-sys-0.4.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="elf"' --cfg 'feature="errno"' --cfg 'feature="general"' --cfg 'feature="ioctl"' --cfg 'feature="no_std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("bootparam", "compiler_builtins", "core", "default", "elf", "errno", "general", "if_arp", "if_ether", "if_packet", "io_uring", "ioctl", "loop_device", "mempolicy", "net", "netlink", "no_std", "prctl", "rustc-dep-of-std", "std", "system", "xdp"))' -C metadata=4263be15172e7768 -C extra-filename=-4263be15172e7768 --out-dir /home/pterjan/rpmbuild/BUILD/rust-which-4.4.0-build/which-4.4.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-which-4.4.0-build/which-4.4.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 once_cell --edition=2021 /usr/share/cargo/registry/once_cell-1.20.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="race"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("alloc", "atomic-polyfill", "critical-section", "default", "parking_lot", "portable-atomic", "race", "std", "unstable"))' -C metadata=39e389c246c20d2d -C extra-filename=-39e389c246c20d2d --out-dir /home/pterjan/rpmbuild/BUILD/rust-which-4.4.0-build/which-4.4.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-which-4.4.0-build/which-4.4.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 fastrand --edition=2018 /usr/share/cargo/registry/fastrand-2.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 --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("alloc", "default", "std"))' -C metadata=3ccc5fb0d47dfdef -C extra-filename=-3ccc5fb0d47dfdef --out-dir /home/pterjan/rpmbuild/BUILD/rust-which-4.4.0-build/which-4.4.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-which-4.4.0-build/which-4.4.0/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-which-4.4.0-build/which-4.4.0/target/rpm/build/libc-ccb0c802555344cc/build-script-build` Running `/usr/bin/rustc --crate-name libc --edition=2021 /usr/share/cargo/registry/libc-0.2.168/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="extra_traits"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --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=67aeb72cecf38daa -C extra-filename=-67aeb72cecf38daa --out-dir /home/pterjan/rpmbuild/BUILD/rust-which-4.4.0-build/which-4.4.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-which-4.4.0-build/which-4.4.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg freebsd11 --cfg libc_const_extern_fn --check-cfg 'cfg(emscripten_new_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(libc_const_extern_fn)' --check-cfg 'cfg(libc_deny_warnings)' --check-cfg 'cfg(libc_thread_local)' --check-cfg 'cfg(libc_ctest)' --check-cfg 'cfg(target_os,values("switch","aix","ohos","hurd","rtems","visionos","nuttx"))' --check-cfg 'cfg(target_env,values("illumos","wasi","aix","ohos"))' --check-cfg 'cfg(target_arch,values("loongarch64","mips32r6","mips64r6","csky"))'` Running `/home/pterjan/rpmbuild/BUILD/rust-which-4.4.0-build/which-4.4.0/target/rpm/build/rustix-5ecafac38c2ccf9a/build-script-build` Running `/usr/bin/rustc --crate-name rustix --edition=2021 /usr/share/cargo/registry/rustix-0.38.42/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 --warn=unexpected_cfgs --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="fs"' --cfg 'feature="libc-extra-traits"' --cfg 'feature="std"' --cfg 'feature="use-libc-auxv"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("all-apis", "alloc", "cc", "default", "event", "fs", "io_uring", "itoa", "libc", "libc-extra-traits", "libc_errno", "linux_4_11", "linux_latest", "mm", "mount", "net", "once_cell", "param", "pipe", "process", "procfs", "pty", "rand", "runtime", "shm", "std", "stdio", "system", "termios", "thread", "time", "try_close", "use-explicitly-provided-auxv", "use-libc", "use-libc-auxv"))' --check-cfg 'cfg(alloc_c_string)' --check-cfg 'cfg(alloc_ffi)' --check-cfg 'cfg(apple)' --check-cfg 'cfg(asm_experimental_arch)' --check-cfg 'cfg(bsd)' --check-cfg 'cfg(core_c_str)' --check-cfg 'cfg(core_ffi_c)' --check-cfg 'cfg(core_intrinsics)' --check-cfg 'cfg(criterion)' --check-cfg 'cfg(document_experimental_runtime_api)' --check-cfg 'cfg(fix_y2038)' --check-cfg 'cfg(freebsdlike)' --check-cfg 'cfg(libc)' --check-cfg 'cfg(linux_kernel)' --check-cfg 'cfg(linux_like)' --check-cfg 'cfg(linux_raw)' --check-cfg 'cfg(netbsdlike)' --check-cfg 'cfg(rustc_attrs)' --check-cfg 'cfg(solarish)' --check-cfg 'cfg(staged_api)' --check-cfg 'cfg(static_assertions)' --check-cfg 'cfg(thumb_mode)' --check-cfg 'cfg(wasi)' --check-cfg 'cfg(wasi_ext)' --check-cfg 'cfg(target_arch, values("xtensa"))' -C metadata=0eea66e780b50b76 -C extra-filename=-0eea66e780b50b76 --out-dir /home/pterjan/rpmbuild/BUILD/rust-which-4.4.0-build/which-4.4.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-which-4.4.0-build/which-4.4.0/target/rpm/deps --extern bitflags=/home/pterjan/rpmbuild/BUILD/rust-which-4.4.0-build/which-4.4.0/target/rpm/deps/libbitflags-828c9d64620d0755.rmeta --extern linux_raw_sys=/home/pterjan/rpmbuild/BUILD/rust-which-4.4.0-build/which-4.4.0/target/rpm/deps/liblinux_raw_sys-4263be15172e7768.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg linux_raw --cfg linux_like --cfg linux_kernel` Compiling which v4.4.0 (/home/pterjan/rpmbuild/BUILD/rust-which-4.4.0-build/which-4.4.0) Running `/usr/bin/rustc --crate-name which --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 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("regex"))' -C metadata=c85069da62112216 -C extra-filename=-c85069da62112216 --out-dir /home/pterjan/rpmbuild/BUILD/rust-which-4.4.0-build/which-4.4.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-which-4.4.0-build/which-4.4.0/target/rpm/deps --extern either=/home/pterjan/rpmbuild/BUILD/rust-which-4.4.0-build/which-4.4.0/target/rpm/deps/libeither-23381e9053828140.rmeta --extern libc=/home/pterjan/rpmbuild/BUILD/rust-which-4.4.0-build/which-4.4.0/target/rpm/deps/liblibc-67aeb72cecf38daa.rmeta -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: variable does not need to be mutable --> src/lib.rs:308:18 | 308 | pub fn regex(mut self, regex: Regex) -> Self { | ----^^^^ | | | help: remove this `mut` | = note: `#[warn(unused_mut)]` on by default Compiling tempfile v3.14.0 Running `/usr/bin/rustc --crate-name tempfile --edition=2021 /usr/share/cargo/registry/tempfile-3.14.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)' --check-cfg 'cfg(feature, values("nightly"))' -C metadata=e12b085a979ee1a4 -C extra-filename=-e12b085a979ee1a4 --out-dir /home/pterjan/rpmbuild/BUILD/rust-which-4.4.0-build/which-4.4.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-which-4.4.0-build/which-4.4.0/target/rpm/deps --extern cfg_if=/home/pterjan/rpmbuild/BUILD/rust-which-4.4.0-build/which-4.4.0/target/rpm/deps/libcfg_if-25316131be321185.rmeta --extern fastrand=/home/pterjan/rpmbuild/BUILD/rust-which-4.4.0-build/which-4.4.0/target/rpm/deps/libfastrand-3ccc5fb0d47dfdef.rmeta --extern once_cell=/home/pterjan/rpmbuild/BUILD/rust-which-4.4.0-build/which-4.4.0/target/rpm/deps/libonce_cell-39e389c246c20d2d.rmeta --extern rustix=/home/pterjan/rpmbuild/BUILD/rust-which-4.4.0-build/which-4.4.0/target/rpm/deps/librustix-0eea66e780b50b76.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: `which` (lib) generated 1 warning (run `cargo fix --lib -p which` to apply 1 suggestion) Running `/usr/bin/rustc --crate-name which --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 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("regex"))' -C metadata=c3c8adc5d72ccf28 -C extra-filename=-c3c8adc5d72ccf28 --out-dir /home/pterjan/rpmbuild/BUILD/rust-which-4.4.0-build/which-4.4.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-which-4.4.0-build/which-4.4.0/target/rpm/deps --extern either=/home/pterjan/rpmbuild/BUILD/rust-which-4.4.0-build/which-4.4.0/target/rpm/deps/libeither-23381e9053828140.rlib --extern libc=/home/pterjan/rpmbuild/BUILD/rust-which-4.4.0-build/which-4.4.0/target/rpm/deps/liblibc-67aeb72cecf38daa.rlib --extern tempfile=/home/pterjan/rpmbuild/BUILD/rust-which-4.4.0-build/which-4.4.0/target/rpm/deps/libtempfile-e12b085a979ee1a4.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name basic --edition=2018 tests/basic.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)' --check-cfg 'cfg(feature, values("regex"))' -C metadata=da2e73fcc5fc9c6d -C extra-filename=-da2e73fcc5fc9c6d --out-dir /home/pterjan/rpmbuild/BUILD/rust-which-4.4.0-build/which-4.4.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-which-4.4.0-build/which-4.4.0/target/rpm/deps --extern either=/home/pterjan/rpmbuild/BUILD/rust-which-4.4.0-build/which-4.4.0/target/rpm/deps/libeither-23381e9053828140.rlib --extern libc=/home/pterjan/rpmbuild/BUILD/rust-which-4.4.0-build/which-4.4.0/target/rpm/deps/liblibc-67aeb72cecf38daa.rlib --extern tempfile=/home/pterjan/rpmbuild/BUILD/rust-which-4.4.0-build/which-4.4.0/target/rpm/deps/libtempfile-e12b085a979ee1a4.rlib --extern which=/home/pterjan/rpmbuild/BUILD/rust-which-4.4.0-build/which-4.4.0/target/rpm/deps/libwhich-c85069da62112216.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: `which` (lib test) generated 1 warning (1 duplicate) Finished `rpm` profile [optimized + debuginfo] target(s) in 5.95s Running `/home/pterjan/rpmbuild/BUILD/rust-which-4.4.0-build/which-4.4.0/target/rpm/deps/which-c3c8adc5d72ccf28` running 0 tests test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running `/home/pterjan/rpmbuild/BUILD/rust-which-4.4.0-build/which-4.4.0/target/rpm/deps/basic-da2e73fcc5fc9c6d` running 15 tests test test_failure ... ok test it_works ... ok test test_which_absolute_extension ... ok test test_which ... ok test test_which_absolute_non_executable ... ok test test_which_all ... ok test test_which_extension ... ok test test_which_absolute ... ok test test_which_non_executable ... ok test test_which_relative_leading_dot ... ok test test_which_not_found ... ok test test_which_relative_non_executable ... ok test test_which_relative_extension ... ok test test_which_relative ... ok test test_which_second ... ok test result: ok. 15 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Doc-tests which Running `/usr/bin/rustdoc --edition=2018 --crate-type lib --color auto --crate-name which --test src/lib.rs --test-run-directory /home/pterjan/rpmbuild/BUILD/rust-which-4.4.0-build/which-4.4.0 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-which-4.4.0-build/which-4.4.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-which-4.4.0-build/which-4.4.0/target/rpm/deps --extern either=/home/pterjan/rpmbuild/BUILD/rust-which-4.4.0-build/which-4.4.0/target/rpm/deps/libeither-23381e9053828140.rlib --extern libc=/home/pterjan/rpmbuild/BUILD/rust-which-4.4.0-build/which-4.4.0/target/rpm/deps/liblibc-67aeb72cecf38daa.rlib --extern tempfile=/home/pterjan/rpmbuild/BUILD/rust-which-4.4.0-build/which-4.4.0/target/rpm/deps/libtempfile-e12b085a979ee1a4.rlib --extern which=/home/pterjan/rpmbuild/BUILD/rust-which-4.4.0-build/which-4.4.0/target/rpm/deps/libwhich-c85069da62112216.rlib -C embed-bitcode=no --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("regex"))' --error-format human` running 3 tests test src/lib.rs - which_global (line 72) - compile ... ok test src/lib.rs - (line 8) - compile ... ok test src/lib.rs - which (line 48) - compile ... ok test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rust-which-devel-4.4.0-1.mga10.noarch warning: File listed twice: /usr/share/cargo/registry/which-4.4.0/LICENSE.txt warning: File listed twice: /usr/share/cargo/registry/which-4.4.0/README.md Provides: crate(which) = 4.4.0 rust-which-devel = 4.4.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(either/default) >= 1.6.1 crate(libc/default) >= 0.2.121 Processing files: rust-which+default-devel-4.4.0-1.mga10.noarch Provides: crate(which/default) = 4.4.0 rust-which+default-devel = 4.4.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(which) = 4.4.0 Processing files: rust-which+regex-devel-4.4.0-1.mga10.noarch Provides: crate(which/regex) = 4.4.0 rust-which+regex-devel = 4.4.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(regex/default) >= 1.5.5 crate(which) = 4.4.0 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/rust-which-4.4.0-build/BUILDROOT Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-which+default-devel-4.4.0-1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-which+regex-devel-4.4.0-1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-which-devel-4.4.0-1.mga10.noarch.rpm Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.XfuLih + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-which-4.4.0-build + test -d /home/pterjan/rpmbuild/BUILD/rust-which-4.4.0-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/rust-which-4.4.0-build + rm -rf /home/pterjan/rpmbuild/BUILD/rust-which-4.4.0-build + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: File listed twice: /usr/share/cargo/registry/which-4.4.0/LICENSE.txt File listed twice: /usr/share/cargo/registry/which-4.4.0/README.md D: [iurt_root_command] Success!