D: [iurt_root_command] chroot
Building target platforms: noarch
Building for target noarch
Installing /home/pterjan/rpmbuild/SRPMS/rust-futures-cpupool-0.1.8-0.1.mga10.src.rpm
Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.pi3z7o
Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.T481eq
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/rust-futures-cpupool-0.1.8-build
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ cd /home/pterjan/rpmbuild/BUILD/rust-futures-cpupool-0.1.8-build
+ rm -rf futures-cpupool-0.1.8
+ /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/futures-cpupool-0.1.8.crate
+ STATUS=0
+ '[' 0 -ne 0 ']'
+ cd futures-cpupool-0.1.8
+ /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.Bxo1Ia
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/rust-futures-cpupool-0.1.8-build
+ cd futures-cpupool-0.1.8
+ /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.ue7Aiz
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/rust-futures-cpupool-0.1.8-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 futures-cpupool-0.1.8
+ '[' 1 -eq 1 ']'
+ '[' 1 -eq 1 ']'
+ /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' /usr/bin/cargo build -j16 -Z avoid-dev-deps --profile rpm
warning: no edition set: defaulting to the 2015 edition while the latest is 2024
   Compiling libc v0.2.171
     Running `/usr/bin/rustc --crate-name build_script_build --edition=2021 /usr/share/cargo/registry/libc-0.2.171/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,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=42efa26aba98bd78 -C extra-filename=-5121e35c8cbfbca6 --out-dir /home/pterjan/rpmbuild/BUILD/rust-futures-cpupool-0.1.8-build/futures-cpupool-0.1.8/target/rpm/build/libc-5121e35c8cbfbca6 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-futures-cpupool-0.1.8-build/futures-cpupool-0.1.8/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn`
   Compiling futures v0.1.31
     Running `/usr/bin/rustc --crate-name futures --edition=2015 /usr/share/cargo/registry/futures-0.1.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 --cfg 'feature="use_std"' --cfg 'feature="with-deprecated"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "nightly", "use_std", "with-deprecated"))' -C metadata=4e5df85e360810bb -C extra-filename=-fac37ac713a779ec --out-dir /home/pterjan/rpmbuild/BUILD/rust-futures-cpupool-0.1.8-build/futures-cpupool-0.1.8/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-futures-cpupool-0.1.8-build/futures-cpupool-0.1.8/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-futures-cpupool-0.1.8-build/futures-cpupool-0.1.8/target/rpm/build/libc-5121e35c8cbfbca6/build-script-build`
     Running `/usr/bin/rustc --crate-name libc --edition=2021 /usr/share/cargo/registry/libc-0.2.171/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("align", "const-extern-fn", "default", "extra_traits", "rustc-dep-of-std", "rustc-std-workspace-core", "std", "use_std"))' -C metadata=725a75cc44332baf -C extra-filename=-8db1b84232c234ea --out-dir /home/pterjan/rpmbuild/BUILD/rust-futures-cpupool-0.1.8-build/futures-cpupool-0.1.8/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-futures-cpupool-0.1.8-build/futures-cpupool-0.1.8/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_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(libc_const_extern_fn)' --check-cfg 'cfg(libc_deny_warnings)' --check-cfg 'cfg(libc_thread_local)' --check-cfg 'cfg(libc_ctest)' --check-cfg 'cfg(linux_time_bits64)' --check-cfg 'cfg(target_os,values("switch","aix","ohos","hurd","rtems","visionos","nuttx","cygwin"))' --check-cfg 'cfg(target_env,values("illumos","wasi","aix","ohos"))' --check-cfg 'cfg(target_arch,values("loongarch64","mips32r6","mips64r6","csky"))'`
   Compiling num_cpus v1.15.0
     Running `/usr/bin/rustc --crate-name num_cpus --edition=2015 /usr/share/cargo/registry/num_cpus-1.15.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=d5a852c9baf8b09d -C extra-filename=-869f3268bcf29657 --out-dir /home/pterjan/rpmbuild/BUILD/rust-futures-cpupool-0.1.8-build/futures-cpupool-0.1.8/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-futures-cpupool-0.1.8-build/futures-cpupool-0.1.8/target/rpm/deps --extern libc=/home/pterjan/rpmbuild/BUILD/rust-futures-cpupool-0.1.8-build/futures-cpupool-0.1.8/target/rpm/deps/liblibc-8db1b84232c234ea.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn`
   Compiling futures-cpupool v0.1.8 (/home/pterjan/rpmbuild/BUILD/rust-futures-cpupool-0.1.8-build/futures-cpupool-0.1.8)
     Running `/usr/bin/rustc --crate-name futures_cpupool --edition=2015 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="with-deprecated"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "with-deprecated"))' -C metadata=e37d9b532da50e74 -C extra-filename=-d074dfbb29fd2c7c --out-dir /home/pterjan/rpmbuild/BUILD/rust-futures-cpupool-0.1.8-build/futures-cpupool-0.1.8/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-futures-cpupool-0.1.8-build/futures-cpupool-0.1.8/target/rpm/deps --extern futures=/home/pterjan/rpmbuild/BUILD/rust-futures-cpupool-0.1.8-build/futures-cpupool-0.1.8/target/rpm/deps/libfutures-fac37ac713a779ec.rmeta --extern num_cpus=/home/pterjan/rpmbuild/BUILD/rust-futures-cpupool-0.1.8-build/futures-cpupool-0.1.8/target/rpm/deps/libnum_cpus-869f3268bcf29657.rmeta -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn`
warning: use of deprecated struct `futures::task::Run`
  --> src/lib.rs:53:31
   |
53 | use futures::executor::{self, Run, Executor as OldExecutor};
   |                               ^^^
   |
   = note: `#[warn(deprecated)]` on by default

warning: use of deprecated trait `futures::task::Executor`
  --> src/lib.rs:53:36
   |
53 | use futures::executor::{self, Run, Executor as OldExecutor};
   |                                    ^^^^^^^^

warning: use of deprecated struct `futures::task::Run`
   --> src/lib.rs:135:9
    |
135 |     Run(Run),
    |         ^^^

warning: use of deprecated trait `futures::task::Executor`
   --> src/lib.rs:282:6
    |
282 | impl OldExecutor for Inner {
    |      ^^^^^^^^^^^

warning: use of deprecated struct `futures::task::Run`
   --> src/lib.rs:283:28
    |
283 |     fn execute(&self, run: Run) {
    |                            ^^^

warning: trait objects without an explicit `dyn` are deprecated
  --> src/lib.rs:85:29
   |
85 |     after_start: Option<Arc<Fn() + Send + Sync>>,
   |                             ^^^^^^^^^^^^^^^^^^
   |
   = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
   = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
   = note: `#[warn(bare_trait_objects)]` on by default
help: if this is a dyn-compatible trait, use `dyn`
   |
85 |     after_start: Option<Arc<dyn Fn() + Send + Sync>>,
   |                             +++

warning: trait objects without an explicit `dyn` are deprecated
  --> src/lib.rs:86:29
   |
86 |     before_stop: Option<Arc<Fn() + Send + Sync>>,
   |                             ^^^^^^^^^^^^^^^^^^
   |
   = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
   = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
help: if this is a dyn-compatible trait, use `dyn`
   |
86 |     before_stop: Option<Arc<dyn Fn() + Send + Sync>>,
   |                             +++

warning: trait objects without an explicit `dyn` are deprecated
   --> src/lib.rs:252:44
    |
252 |     fn work(&self, after_start: Option<Arc<Fn() + Send + Sync>>, before_stop: Option<Arc<Fn() + Send + Sync>>) {
    |                                            ^^^^^^^^^^^^^^^^^^
    |
    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
help: if this is a dyn-compatible trait, use `dyn`
    |
252 |     fn work(&self, after_start: Option<Arc<dyn Fn() + Send + Sync>>, before_stop: Option<Arc<Fn() + Send + Sync>>) {
    |                                            +++

warning: trait objects without an explicit `dyn` are deprecated
   --> src/lib.rs:252:90
    |
252 |     fn work(&self, after_start: Option<Arc<Fn() + Send + Sync>>, before_stop: Option<Arc<Fn() + Send + Sync>>) {
    |                                                                                          ^^^^^^^^^^^^^^^^^^
    |
    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
help: if this is a dyn-compatible trait, use `dyn`
    |
252 |     fn work(&self, after_start: Option<Arc<Fn() + Send + Sync>>, before_stop: Option<Arc<dyn Fn() + Send + Sync>>) {
    |                                                                                          +++

warning: use of deprecated method `futures::task_impl::std::<impl futures::task::Spawn<F>>::execute`
   --> src/lib.rs:214:33
    |
214 |         executor::spawn(sender).execute(self.inner.clone());
    |                                 ^^^^^^^

warning: use of deprecated method `futures::task_impl::std::<impl futures::task::Spawn<F>>::execute`
   --> src/lib.rs:242:33
    |
242 |         executor::spawn(future).execute(self.inner.clone());
    |                                 ^^^^^^^

warning: trait `AssertSendSync` is never used
  --> src/lib.rs:95:7
   |
95 | trait AssertSendSync: Send + Sync {}
   |       ^^^^^^^^^^^^^^
   |
   = note: `#[warn(dead_code)]` on by default

warning: `futures-cpupool` (lib) generated 12 warnings (run `cargo fix --lib -p futures-cpupool` to apply 4 suggestions)
    Finished `rpm` profile [optimized + debuginfo] target(s) in 4.40s
+ RPM_EC=0
++ jobs -p
+ exit 0
Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.42xlqY
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/rust-futures-cpupool-0.1.8-build
+ '[' 1 -eq 1 ']'
+ '[' /home/pterjan/rpmbuild/BUILD/rust-futures-cpupool-0.1.8-build/BUILDROOT '!=' / ']'
+ rm -rf /home/pterjan/rpmbuild/BUILD/rust-futures-cpupool-0.1.8-build/BUILDROOT
++ dirname /home/pterjan/rpmbuild/BUILD/rust-futures-cpupool-0.1.8-build/BUILDROOT
+ mkdir -p /home/pterjan/rpmbuild/BUILD/rust-futures-cpupool-0.1.8-build
+ mkdir /home/pterjan/rpmbuild/BUILD/rust-futures-cpupool-0.1.8-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 futures-cpupool-0.1.8
+ '[' 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=futures-cpupool
++ /usr/bin/cargo2rpm --path Cargo.toml version
+ CRATE_VERSION=0.1.8
+ REG_DIR=/home/pterjan/rpmbuild/BUILD/rust-futures-cpupool-0.1.8-build/BUILDROOT/usr/share/cargo/registry/futures-cpupool-0.1.8
+ /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-futures-cpupool-0.1.8-build/BUILDROOT/usr/share/cargo/registry/futures-cpupool-0.1.8
+ /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-futures-cpupool-0.1.8-build/BUILDROOT/usr/share/cargo/registry/futures-cpupool-0.1.8
warning: no (git) VCS found for `/home/pterjan/rpmbuild/BUILD/rust-futures-cpupool-0.1.8-build/futures-cpupool-0.1.8`
+ /usr/bin/mv Cargo.toml.deps Cargo.toml
+ /usr/bin/cp -a Cargo.toml /home/pterjan/rpmbuild/BUILD/rust-futures-cpupool-0.1.8-build/BUILDROOT/usr/share/cargo/registry/futures-cpupool-0.1.8/Cargo.toml
+ /usr/bin/rm -f /home/pterjan/rpmbuild/BUILD/rust-futures-cpupool-0.1.8-build/BUILDROOT/usr/share/cargo/registry/futures-cpupool-0.1.8/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.zSTmn6
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/rust-futures-cpupool-0.1.8-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 futures-cpupool-0.1.8
+ '[' 1 -eq 1 ']'
+ /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' /usr/bin/cargo test -j16 -Z avoid-dev-deps --profile rpm --no-fail-fast
warning: no edition set: defaulting to the 2015 edition while the latest is 2024
       Fresh libc v0.2.171
       Fresh num_cpus v1.15.0
       Fresh futures v0.1.31
warning: use of deprecated struct `futures::task::Run`
  --> src/lib.rs:53:31
   |
53 | use futures::executor::{self, Run, Executor as OldExecutor};
   |                               ^^^
   |
   = note: `#[warn(deprecated)]` on by default

warning: use of deprecated trait `futures::task::Executor`
  --> src/lib.rs:53:36
   |
53 | use futures::executor::{self, Run, Executor as OldExecutor};
   |                                    ^^^^^^^^

warning: use of deprecated struct `futures::task::Run`
   --> src/lib.rs:135:9
    |
135 |     Run(Run),
    |         ^^^

warning: use of deprecated trait `futures::task::Executor`
   --> src/lib.rs:282:6
    |
282 | impl OldExecutor for Inner {
    |      ^^^^^^^^^^^

warning: use of deprecated struct `futures::task::Run`
   --> src/lib.rs:283:28
    |
283 |     fn execute(&self, run: Run) {
    |                            ^^^

warning: trait objects without an explicit `dyn` are deprecated
  --> src/lib.rs:85:29
   |
85 |     after_start: Option<Arc<Fn() + Send + Sync>>,
   |                             ^^^^^^^^^^^^^^^^^^
   |
   = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
   = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
   = note: `#[warn(bare_trait_objects)]` on by default
help: if this is a dyn-compatible trait, use `dyn`
   |
85 |     after_start: Option<Arc<dyn Fn() + Send + Sync>>,
   |                             +++

warning: trait objects without an explicit `dyn` are deprecated
  --> src/lib.rs:86:29
   |
86 |     before_stop: Option<Arc<Fn() + Send + Sync>>,
   |                             ^^^^^^^^^^^^^^^^^^
   |
   = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
   = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
help: if this is a dyn-compatible trait, use `dyn`
   |
86 |     before_stop: Option<Arc<dyn Fn() + Send + Sync>>,
   |                             +++

warning: trait objects without an explicit `dyn` are deprecated
   --> src/lib.rs:252:44
    |
252 |     fn work(&self, after_start: Option<Arc<Fn() + Send + Sync>>, before_stop: Option<Arc<Fn() + Send + Sync>>) {
    |                                            ^^^^^^^^^^^^^^^^^^
    |
    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
help: if this is a dyn-compatible trait, use `dyn`
    |
252 |     fn work(&self, after_start: Option<Arc<dyn Fn() + Send + Sync>>, before_stop: Option<Arc<Fn() + Send + Sync>>) {
    |                                            +++

warning: trait objects without an explicit `dyn` are deprecated
   --> src/lib.rs:252:90
    |
252 |     fn work(&self, after_start: Option<Arc<Fn() + Send + Sync>>, before_stop: Option<Arc<Fn() + Send + Sync>>) {
    |                                                                                          ^^^^^^^^^^^^^^^^^^
    |
    = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
    = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
help: if this is a dyn-compatible trait, use `dyn`
    |
252 |     fn work(&self, after_start: Option<Arc<Fn() + Send + Sync>>, before_stop: Option<Arc<dyn Fn() + Send + Sync>>) {
    |                                                                                          +++

warning: use of deprecated method `futures::task_impl::std::<impl futures::task::Spawn<F>>::execute`
   --> src/lib.rs:214:33
    |
214 |         executor::spawn(sender).execute(self.inner.clone());
    |                                 ^^^^^^^

warning: use of deprecated method `futures::task_impl::std::<impl futures::task::Spawn<F>>::execute`
   --> src/lib.rs:242:33
    |
242 |         executor::spawn(future).execute(self.inner.clone());
    |                                 ^^^^^^^

warning: trait `AssertSendSync` is never used
  --> src/lib.rs:95:7
   |
95 | trait AssertSendSync: Send + Sync {}
   |       ^^^^^^^^^^^^^^
   |
   = note: `#[warn(dead_code)]` on by default

warning: `futures-cpupool` (lib) generated 12 warnings (run `cargo fix --lib -p futures-cpupool` to apply 4 suggestions)
   Compiling futures-cpupool v0.1.8 (/home/pterjan/rpmbuild/BUILD/rust-futures-cpupool-0.1.8-build/futures-cpupool-0.1.8)
     Running `/usr/bin/rustc --crate-name smoke --edition=2015 tests/smoke.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="default"' --cfg 'feature="with-deprecated"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "with-deprecated"))' -C metadata=8406386639d5d32c -C extra-filename=-a743733f4d626be8 --out-dir /home/pterjan/rpmbuild/BUILD/rust-futures-cpupool-0.1.8-build/futures-cpupool-0.1.8/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-futures-cpupool-0.1.8-build/futures-cpupool-0.1.8/target/rpm/deps --extern futures=/home/pterjan/rpmbuild/BUILD/rust-futures-cpupool-0.1.8-build/futures-cpupool-0.1.8/target/rpm/deps/libfutures-fac37ac713a779ec.rlib --extern futures_cpupool=/home/pterjan/rpmbuild/BUILD/rust-futures-cpupool-0.1.8-build/futures-cpupool-0.1.8/target/rpm/deps/libfutures_cpupool-d074dfbb29fd2c7c.rlib --extern num_cpus=/home/pterjan/rpmbuild/BUILD/rust-futures-cpupool-0.1.8-build/futures-cpupool-0.1.8/target/rpm/deps/libnum_cpus-869f3268bcf29657.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn`
     Running `/usr/bin/rustc --crate-name futures_cpupool --edition=2015 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --test --cfg 'feature="default"' --cfg 'feature="with-deprecated"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "with-deprecated"))' -C metadata=78caeac0c44c61cf -C extra-filename=-36556084684f39ea --out-dir /home/pterjan/rpmbuild/BUILD/rust-futures-cpupool-0.1.8-build/futures-cpupool-0.1.8/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-futures-cpupool-0.1.8-build/futures-cpupool-0.1.8/target/rpm/deps --extern futures=/home/pterjan/rpmbuild/BUILD/rust-futures-cpupool-0.1.8-build/futures-cpupool-0.1.8/target/rpm/deps/libfutures-fac37ac713a779ec.rlib --extern num_cpus=/home/pterjan/rpmbuild/BUILD/rust-futures-cpupool-0.1.8-build/futures-cpupool-0.1.8/target/rpm/deps/libnum_cpus-869f3268bcf29657.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn`
warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred
 --> tests/smoke.rs:4:48
  |
4 | use std::sync::atomic::{AtomicUsize, Ordering, ATOMIC_USIZE_INIT};
  |                                                ^^^^^^^^^^^^^^^^^
  |
  = note: `#[warn(deprecated)]` on by default

warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred
  --> tests/smoke.rs:39:31
   |
39 |     static CNT: AtomicUsize = ATOMIC_USIZE_INIT;
   |                               ^^^^^^^^^^^^^^^^^
   |
help: replace the use of the deprecated constant
   |
39 -     static CNT: AtomicUsize = ATOMIC_USIZE_INIT;
39 +     static CNT: AtomicUsize = AtomicUsize::new(0);
   |

warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred
  --> tests/smoke.rs:69:38
   |
69 |     static NUM_STARTS: AtomicUsize = ATOMIC_USIZE_INIT;
   |                                      ^^^^^^^^^^^^^^^^^
   |
help: replace the use of the deprecated constant
   |
69 -     static NUM_STARTS: AtomicUsize = ATOMIC_USIZE_INIT;
69 +     static NUM_STARTS: AtomicUsize = AtomicUsize::new(0);
   |

warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred
  --> tests/smoke.rs:70:37
   |
70 |     static NUM_STOPS: AtomicUsize = ATOMIC_USIZE_INIT;
   |                                     ^^^^^^^^^^^^^^^^^
   |
help: replace the use of the deprecated constant
   |
70 -     static NUM_STOPS: AtomicUsize = ATOMIC_USIZE_INIT;
70 +     static NUM_STOPS: AtomicUsize = AtomicUsize::new(0);
   |

warning: trait objects without an explicit `dyn` are deprecated
  --> tests/smoke.rs:11:41
   |
11 | fn done<T: Send + 'static>(t: T) -> Box<Future<Item = T, Error = ()> + Send> {
   |                                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021!
   = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html>
   = note: `#[warn(bare_trait_objects)]` on by default
help: if this is a dyn-compatible trait, use `dyn`
   |
11 | fn done<T: Send + 'static>(t: T) -> Box<dyn Future<Item = T, Error = ()> + Send> {
   |                                         +++

warning: `futures-cpupool` (test "smoke") generated 5 warnings (run `cargo fix --test "smoke"` to apply 4 suggestions)
warning: `futures-cpupool` (lib test) generated 12 warnings (12 duplicates)
    Finished `rpm` profile [optimized + debuginfo] target(s) in 2.86s
     Running `/home/pterjan/rpmbuild/BUILD/rust-futures-cpupool-0.1.8-build/futures-cpupool-0.1.8/target/rpm/deps/futures_cpupool-36556084684f39ea`

running 1 test
test tests::test_drop_after_start ... ok

test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s

     Running `/home/pterjan/rpmbuild/BUILD/rust-futures-cpupool-0.1.8-build/futures-cpupool-0.1.8/target/rpm/deps/smoke-a743733f4d626be8`

running 5 tests
test join ... ok
test select ... ok
test thread_name ... ok
test threads_go_away ... ok
test lifecycle_test ... ok

test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s

   Doc-tests futures_cpupool
     Running `/usr/bin/rustdoc --edition=2015 --crate-type lib --color auto --crate-name futures_cpupool --test src/lib.rs --test-run-directory /home/pterjan/rpmbuild/BUILD/rust-futures-cpupool-0.1.8-build/futures-cpupool-0.1.8 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-futures-cpupool-0.1.8-build/futures-cpupool-0.1.8/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-futures-cpupool-0.1.8-build/futures-cpupool-0.1.8/target/rpm/deps --extern futures=/home/pterjan/rpmbuild/BUILD/rust-futures-cpupool-0.1.8-build/futures-cpupool-0.1.8/target/rpm/deps/libfutures-fac37ac713a779ec.rlib --extern futures_cpupool=/home/pterjan/rpmbuild/BUILD/rust-futures-cpupool-0.1.8-build/futures-cpupool-0.1.8/target/rpm/deps/libfutures_cpupool-d074dfbb29fd2c7c.rlib --extern num_cpus=/home/pterjan/rpmbuild/BUILD/rust-futures-cpupool-0.1.8-build/futures-cpupool-0.1.8/target/rpm/deps/libnum_cpus-869f3268bcf29657.rlib -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="with-deprecated"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "with-deprecated"))' --error-format human`

running 3 tests
test src/lib.rs - CpuPool::new_num_cpus (line 168) ... ok
test src/lib.rs - CpuPool::new (line 148) ... ok
test src/lib.rs - (line 9) ... ok

test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.50s

+ RPM_EC=0
++ jobs -p
+ exit 0
Processing files: rust-futures-cpupool-devel-0.1.8-0.1.mga10.noarch
warning: File listed twice: /usr/share/cargo/registry/futures-cpupool-0.1.8/LICENSE-APACHE
warning: File listed twice: /usr/share/cargo/registry/futures-cpupool-0.1.8/LICENSE-MIT
warning: File listed twice: /usr/share/cargo/registry/futures-cpupool-0.1.8/README.md
Provides: crate(futures-cpupool) = 0.1.8 rust-futures-cpupool-devel = 0.1.8-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(futures) >= 0.1.0 crate(futures/use_std) >= 0.1.0 crate(num_cpus/default) >= 1.0.0
Processing files: rust-futures-cpupool+default-devel-0.1.8-0.1.mga10.noarch
Provides: crate(futures-cpupool/default) = 0.1.8 rust-futures-cpupool+default-devel = 0.1.8-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(futures-cpupool) = 0.1.8 crate(futures-cpupool/with-deprecated) = 0.1.8
Processing files: rust-futures-cpupool+with-deprecated-devel-0.1.8-0.1.mga10.noarch
Provides: crate(futures-cpupool/with-deprecated) = 0.1.8 rust-futures-cpupool+with-deprecated-devel = 0.1.8-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(futures-cpupool) = 0.1.8 crate(futures/with-deprecated) >= 0.1.0
Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/rust-futures-cpupool-0.1.8-build/BUILDROOT
Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-futures-cpupool+default-devel-0.1.8-0.1.mga10.noarch.rpm
Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-futures-cpupool+with-deprecated-devel-0.1.8-0.1.mga10.noarch.rpm
Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-futures-cpupool-devel-0.1.8-0.1.mga10.noarch.rpm
Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.eaCNtp
+ umask 022
+ cd /home/pterjan/rpmbuild/BUILD/rust-futures-cpupool-0.1.8-build
+ test -d /home/pterjan/rpmbuild/BUILD/rust-futures-cpupool-0.1.8-build
+ /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/rust-futures-cpupool-0.1.8-build
+ rm -rf /home/pterjan/rpmbuild/BUILD/rust-futures-cpupool-0.1.8-build
+ RPM_EC=0
++ jobs -p
+ exit 0

RPM build warnings:
    File listed twice: /usr/share/cargo/registry/futures-cpupool-0.1.8/LICENSE-APACHE
    File listed twice: /usr/share/cargo/registry/futures-cpupool-0.1.8/LICENSE-MIT
    File listed twice: /usr/share/cargo/registry/futures-cpupool-0.1.8/README.md
D: [iurt_root_command] Success!