D: [iurt_root_command] chroot Building target platforms: noarch Building for target noarch Installing /home/pterjan/rpmbuild/SRPMS/rust-flume-0.11.0-1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.vQTzQ1 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.4fctPA + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-flume-0.11.0-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/rust-flume-0.11.0-build + rm -rf flume-0.11.0 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/flume-0.11.0.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd flume-0.11.0 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/flume-fix-metadata.diff + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/149.patch + /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.mvvho1 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-flume-0.11.0-build + cd flume-0.11.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.PX1BDB + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-flume-0.11.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 flume-0.11.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: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition (in the `futures-core` dependency) warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition (in the `futures-sink` dependency) Compiling libc v0.2.177 Compiling scopeguard v1.2.0 Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/libc-0.2.177/build.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no '--allow=clippy::used_underscore_binding' --allow=unused_qualifications '--warn=clippy::unnecessary_semicolon' '--allow=clippy::unnecessary_cast' '--allow=clippy::uninlined_format_args' '--warn=clippy::ptr_as_ptr' '--allow=clippy::non_minimal_cfg' '--allow=clippy::missing_safety_doc' '--warn=clippy::map_unwrap_or' '--warn=clippy::manual_assert' '--allow=clippy::identity_op' '--warn=clippy::explicit_iter_loop' '--allow=clippy::expl_impl_clone_on_copy' -C debug-assertions=off --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=01e973ac36cb0d74 -C extra-filename=-d012eaf11d056d91 --out-dir /home/pterjan/rpmbuild/BUILD/rust-flume-0.11.0-build/flume-0.11.0/target/rpm/build/libc-d012eaf11d056d91 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-flume-0.11.0-build/flume-0.11.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling cfg-if v1.0.4 Compiling futures-sink v0.3.31 Compiling futures-core v0.3.31 Running `/usr/bin/rustc --crate-name scopeguard --edition=2015 /usr/share/cargo/registry/scopeguard-1.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("default", "use_std"))' -C metadata=5334a1ec7f47a07c -C extra-filename=-0bbb4f785750f174 --out-dir /home/pterjan/rpmbuild/BUILD/rust-flume-0.11.0-build/flume-0.11.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-flume-0.11.0-build/flume-0.11.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.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 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("core", "rustc-dep-of-std"))' -C metadata=557655ab03dec7b9 -C extra-filename=-e398f09b4be48fa3 --out-dir /home/pterjan/rpmbuild/BUILD/rust-flume-0.11.0-build/flume-0.11.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-flume-0.11.0-build/flume-0.11.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 futures_sink --edition=2018 /usr/share/cargo/registry/futures-sink-0.3.31/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=unreachable_pub --warn=unexpected_cfgs --warn=single_use_lifetimes --warn=rust_2018_idioms --warn=missing_debug_implementations --check-cfg 'cfg(futures_sanitizer)' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "default", "std"))' -C metadata=94e7ada73d562928 -C extra-filename=-6de3914920423c0a --out-dir /home/pterjan/rpmbuild/BUILD/rust-flume-0.11.0-build/flume-0.11.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-flume-0.11.0-build/flume-0.11.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 futures_core --edition=2018 /usr/share/cargo/registry/futures-core-0.3.31/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=unreachable_pub --warn=unexpected_cfgs --warn=single_use_lifetimes --warn=rust_2018_idioms --warn=missing_debug_implementations --check-cfg 'cfg(futures_sanitizer)' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "cfg-target-has-atomic", "default", "portable-atomic", "std", "unstable"))' -C metadata=45c405747018d421 -C extra-filename=-33a21a7c0f0551f4 --out-dir /home/pterjan/rpmbuild/BUILD/rust-flume-0.11.0-build/flume-0.11.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-flume-0.11.0-build/flume-0.11.0/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling lock_api v0.4.14 Running `/usr/bin/rustc --crate-name lock_api --edition=2021 /usr/share/cargo/registry/lock_api-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="atomic_usize"' --cfg 'feature="default"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("arc_lock", "atomic_usize", "default", "nightly", "owning_ref", "serde"))' -C metadata=a0534dbfc96f0a45 -C extra-filename=-779a5fced294d951 --out-dir /home/pterjan/rpmbuild/BUILD/rust-flume-0.11.0-build/flume-0.11.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-flume-0.11.0-build/flume-0.11.0/target/rpm/deps --extern scopeguard=/home/pterjan/rpmbuild/BUILD/rust-flume-0.11.0-build/flume-0.11.0/target/rpm/deps/libscopeguard-0bbb4f785750f174.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling spin v0.9.8 Running `/usr/bin/rustc --crate-name spin --edition=2015 /usr/share/cargo/registry/spin-0.9.8/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="barrier"' --cfg 'feature="default"' --cfg 'feature="lazy"' --cfg 'feature="lock_api"' --cfg 'feature="lock_api_crate"' --cfg 'feature="mutex"' --cfg 'feature="once"' --cfg 'feature="rwlock"' --cfg 'feature="spin_mutex"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("barrier", "default", "fair_mutex", "lazy", "lock_api", "lock_api_crate", "mutex", "once", "portable-atomic", "portable_atomic", "rwlock", "spin_mutex", "std", "ticket_mutex", "use_ticket_mutex"))' -C metadata=c9d377251f2ca69c -C extra-filename=-c920963a90f00071 --out-dir /home/pterjan/rpmbuild/BUILD/rust-flume-0.11.0-build/flume-0.11.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-flume-0.11.0-build/flume-0.11.0/target/rpm/deps --extern lock_api_crate=/home/pterjan/rpmbuild/BUILD/rust-flume-0.11.0-build/flume-0.11.0/target/rpm/deps/liblock_api-779a5fced294d951.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/home/pterjan/rpmbuild/BUILD/rust-flume-0.11.0-build/flume-0.11.0/target/rpm/build/libc-d012eaf11d056d91/build-script-build` Running `/usr/bin/rustc --crate-name libc --edition=2021 /usr/share/cargo/registry/libc-0.2.177/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' --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=963ee9aceb2054c8 -C extra-filename=-ade3caa9162a943f --out-dir /home/pterjan/rpmbuild/BUILD/rust-flume-0.11.0-build/flume-0.11.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-flume-0.11.0-build/flume-0.11.0/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(libc_thread_local)' --check-cfg 'cfg(linux_time_bits64)' --check-cfg 'cfg(musl_v1_2_3)' --check-cfg 'cfg(target_os,values("switch","aix","ohos","hurd","rtems","visionos","nuttx","cygwin"))' --check-cfg 'cfg(target_env,values("illumos","wasi","aix","ohos","nto71_iosock","nto80"))' --check-cfg 'cfg(target_arch,values("loongarch64","mips32r6","mips64r6","csky"))'` Compiling getrandom v0.2.15 Running `/usr/bin/rustc --crate-name getrandom --edition=2018 /usr/share/cargo/registry/getrandom-0.2.15/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="rdrand"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("custom", "linux_disable_fallback", "rdrand", "std"))' -C metadata=62140f51c1c4f66f -C extra-filename=-93ad458bc150b820 --out-dir /home/pterjan/rpmbuild/BUILD/rust-flume-0.11.0-build/flume-0.11.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-flume-0.11.0-build/flume-0.11.0/target/rpm/deps --extern cfg_if=/home/pterjan/rpmbuild/BUILD/rust-flume-0.11.0-build/flume-0.11.0/target/rpm/deps/libcfg_if-e398f09b4be48fa3.rmeta --extern libc=/home/pterjan/rpmbuild/BUILD/rust-flume-0.11.0-build/flume-0.11.0/target/rpm/deps/liblibc-ade3caa9162a943f.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling nanorand v0.7.0 Running `/usr/bin/rustc --crate-name nanorand --edition=2021 /usr/share/cargo/registry/nanorand-0.7.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="chacha"' --cfg 'feature="default"' --cfg 'feature="getrandom"' --cfg 'feature="pcg64"' --cfg 'feature="std"' --cfg 'feature="tls"' --cfg 'feature="wyrand"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("alloc", "chacha", "default", "getrandom", "pcg64", "rdseed", "std", "tls", "wyrand", "zeroize"))' -C metadata=b23f488172e24564 -C extra-filename=-1efb99e76bb7d0b1 --out-dir /home/pterjan/rpmbuild/BUILD/rust-flume-0.11.0-build/flume-0.11.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-flume-0.11.0-build/flume-0.11.0/target/rpm/deps --extern getrandom=/home/pterjan/rpmbuild/BUILD/rust-flume-0.11.0-build/flume-0.11.0/target/rpm/deps/libgetrandom-93ad458bc150b820.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling flume v0.11.0 (/home/pterjan/rpmbuild/BUILD/rust-flume-0.11.0-build/flume-0.11.0) Running `/usr/bin/rustc --crate-name flume --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="async"' --cfg 'feature="default"' --cfg 'feature="eventual-fairness"' --cfg 'feature="futures-core"' --cfg 'feature="futures-sink"' --cfg 'feature="nanorand"' --cfg 'feature="select"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("async", "default", "eventual-fairness", "futures-core", "futures-sink", "nanorand", "select", "spin"))' -C metadata=0ef331ad066cf767 -C extra-filename=-750da280936ee548 --out-dir /home/pterjan/rpmbuild/BUILD/rust-flume-0.11.0-build/flume-0.11.0/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-flume-0.11.0-build/flume-0.11.0/target/rpm/deps --extern futures_core=/home/pterjan/rpmbuild/BUILD/rust-flume-0.11.0-build/flume-0.11.0/target/rpm/deps/libfutures_core-33a21a7c0f0551f4.rmeta --extern futures_sink=/home/pterjan/rpmbuild/BUILD/rust-flume-0.11.0-build/flume-0.11.0/target/rpm/deps/libfutures_sink-6de3914920423c0a.rmeta --extern nanorand=/home/pterjan/rpmbuild/BUILD/rust-flume-0.11.0-build/flume-0.11.0/target/rpm/deps/libnanorand-1efb99e76bb7d0b1.rmeta --extern spin1=/home/pterjan/rpmbuild/BUILD/rust-flume-0.11.0-build/flume-0.11.0/target/rpm/deps/libspin-c920963a90f00071.rmeta -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: hiding a lifetime that's elided elsewhere is confusing --> src/lib.rs:910:17 | 910 | pub fn iter(&self) -> Iter { | ^^^^^ ^^^^^^^ 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 | 910 | pub fn iter(&self) -> Iter<'_, T> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/lib.rs:916:21 | 916 | pub fn try_iter(&self) -> TryIter { | ^^^^^ ^^^^^^^^^^ 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 | 916 | pub fn try_iter(&self) -> TryIter<'_, T> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/lib.rs:923:18 | 923 | pub fn drain(&self) -> Drain { | ^^^^^ ^^^^^^^^ 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 | 923 | pub fn drain(&self) -> Drain<'_, T> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/async.rs:85:23 | 85 | pub fn send_async(&self, item: T) -> SendFut { | ^^^^^ ^^^^^^^^^^ 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 | 85 | pub fn send_async(&self, item: T) -> SendFut<'_, T> { | +++ warning: `flume` (lib) generated 4 warnings (run `cargo fix --lib -p flume` to apply 4 suggestions) Finished `rpm` profile [optimized + debuginfo] target(s) in 3.49s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.MqnT46 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-flume-0.11.0-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/rust-flume-0.11.0-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/rust-flume-0.11.0-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/rust-flume-0.11.0-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/rust-flume-0.11.0-build + mkdir /home/pterjan/rpmbuild/BUILD/rust-flume-0.11.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 flume-0.11.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=flume ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=0.11.0 + REG_DIR=/home/pterjan/rpmbuild/BUILD/rust-flume-0.11.0-build/BUILDROOT/usr/share/cargo/registry/flume-0.11.0 + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-flume-0.11.0-build/BUILDROOT/usr/share/cargo/registry/flume-0.11.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-flume-0.11.0-build/BUILDROOT/usr/share/cargo/registry/flume-0.11.0 warning: no (git) VCS found for `/home/pterjan/rpmbuild/BUILD/rust-flume-0.11.0-build/flume-0.11.0` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /home/pterjan/rpmbuild/BUILD/rust-flume-0.11.0-build/BUILDROOT/usr/share/cargo/registry/flume-0.11.0/Cargo.toml + /usr/bin/rm -f /home/pterjan/rpmbuild/BUILD/rust-flume-0.11.0-build/BUILDROOT/usr/share/cargo/registry/flume-0.11.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.CPqD5V + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-flume-0.11.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 flume-0.11.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: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition (in the `futures-core` dependency) warning: `default_features` is deprecated in favor of `default-features` and will not work in the 2024 edition (in the `futures-sink` dependency) error: failed to select a version for the requirement `rand = "^0.8.3"` candidate versions found which didn't match: 0.9.2 location searched: directory source `/usr/share/cargo/registry` (which is replacing registry `crates-io`) required by package `flume v0.11.0 (/home/pterjan/rpmbuild/BUILD/rust-flume-0.11.0-build/flume-0.11.0)` perhaps a crate was updated and forgotten to be re-vendored? As a reminder, you're using offline mode (--offline) which can sometimes cause surprising resolution failures, if this error is too confusing you may wish to retry without `--offline`. error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.CPqD5V (%check) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.CPqD5V (%check) I: [iurt_root_command] ERROR: chroot