D: [iurt_root_command] chroot Building target platforms: noarch Building for target noarch Installing /home/pterjan/rpmbuild/SRPMS/rust-tokio-threadpool-0.1.18-0.1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.yN6YnI + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build + test -d /home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build + /usr/bin/rm -rf /home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/SPECPARTS + RPM_EC=0 ++ jobs -p + exit 0 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.c3r1G5 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build + rm -rf tokio-threadpool-0.1.18 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/tokio-threadpool-0.1.18.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd tokio-threadpool-0.1.18 + /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.DNNVw0 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build + cd tokio-threadpool-0.1.18 + /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.su2Lhy + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build + cd tokio-threadpool-0.1.18 + '[' 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 2021 Compiling autocfg v1.1.0 Compiling lazy_static v1.5.0 Running `/usr/bin/rustc --crate-name autocfg --edition=2015 /usr/share/cargo/registry/autocfg-1.1.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C embed-bitcode=no -C debug-assertions=off --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' -C metadata=e4163c5464d2fd51 -C extra-filename=-e4163c5464d2fd51 --out-dir /home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling maybe-uninit v2.0.0 Compiling cfg-if v0.1.10 Compiling libc v0.2.168 Compiling scopeguard v1.2.0 Compiling futures v0.1.31 Compiling log v0.4.22 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-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/build/libc-f42b49d70ff2f22b -L dependency=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/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 --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="default"' --cfg 'feature="use_std"' --cfg 'feature="with-deprecated"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("default", "nightly", "use_std", "with-deprecated"))' -C metadata=8b56a368114915ce -C extra-filename=-8b56a368114915ce --out-dir /home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/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 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)' --check-cfg 'cfg(feature, values("default", "use_std"))' -C metadata=3d50ded8a325f769 -C extra-filename=-3d50ded8a325f769 --out-dir /home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/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 log --edition=2021 /usr/share/cargo/registry/log-0.4.22/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("kv", "max_level_debug", "max_level_error", "max_level_info", "max_level_off", "max_level_trace", "max_level_warn", "release_max_level_debug", "release_max_level_error", "release_max_level_info", "release_max_level_off", "release_max_level_trace", "release_max_level_warn", "serde", "std"))' -C metadata=bff0295a177faff2 -C extra-filename=-bff0295a177faff2 --out-dir /home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name lazy_static --edition=2015 /usr/share/cargo/registry/lazy_static-1.5.0/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("spin", "spin_no_std"))' -C metadata=5dcf38bd33f1530d -C extra-filename=-5dcf38bd33f1530d --out-dir /home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/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-0.1.10/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=61ee8793749ffb7a -C extra-filename=-61ee8793749ffb7a --out-dir /home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/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=2015 /usr/share/cargo/registry/maybe-uninit-2.0.0/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 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' -C metadata=ab29076081f5b05e -C extra-filename=-ab29076081f5b05e --out-dir /home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/build/maybe-uninit-ab29076081f5b05e -L dependency=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/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-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/build/maybe-uninit-ab29076081f5b05e/build-script-build` Running `/usr/bin/rustc --crate-name maybe_uninit --edition=2015 /usr/share/cargo/registry/maybe-uninit-2.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())' -C metadata=507ea9e212b2a8b3 -C extra-filename=-507ea9e212b2a8b3 --out-dir /home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg derive_copy --cfg repr_transparent --cfg native_uninit` Compiling crossbeam-utils v0.7.2 Compiling memoffset v0.5.6 Compiling crossbeam-epoch v0.8.2 Compiling slab v0.4.9 Running `/usr/bin/rustc --crate-name build_script_build --edition=2015 /usr/share/cargo/registry/crossbeam-utils-0.7.2/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="lazy_static"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("alloc", "default", "lazy_static", "nightly", "std"))' -C metadata=392cebe81c1ed0b7 -C extra-filename=-392cebe81c1ed0b7 --out-dir /home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/build/crossbeam-utils-392cebe81c1ed0b7 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps --extern autocfg=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libautocfg-e4163c5464d2fd51.rlib --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=2015 /usr/share/cargo/registry/memoffset-0.5.6/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"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("default", "unstable_const", "unstable_raw"))' -C metadata=861db5932d57fd8f -C extra-filename=-861db5932d57fd8f --out-dir /home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/build/memoffset-861db5932d57fd8f -L dependency=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps --extern autocfg=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libautocfg-e4163c5464d2fd51.rlib --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=2018 /usr/share/cargo/registry/slab-0.4.9/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("default", "serde", "std"))' -C metadata=2620b7490efbbce6 -C extra-filename=-2620b7490efbbce6 --out-dir /home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/build/slab-2620b7490efbbce6 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps --extern autocfg=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libautocfg-e4163c5464d2fd51.rlib --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=2015 /usr/share/cargo/registry/crossbeam-epoch-0.8.2/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="lazy_static"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("alloc", "default", "lazy_static", "nightly", "sanitize", "std"))' -C metadata=a43b1f51fcebd3f3 -C extra-filename=-a43b1f51fcebd3f3 --out-dir /home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/build/crossbeam-epoch-a43b1f51fcebd3f3 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps --extern autocfg=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libautocfg-e4163c5464d2fd51.rlib --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/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-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/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-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/build/crossbeam-utils-392cebe81c1ed0b7/build-script-build` Running `/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/build/memoffset-861db5932d57fd8f/build-script-build` Running `/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/build/crossbeam-epoch-a43b1f51fcebd3f3/build-script-build` Running `/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/build/slab-2620b7490efbbce6/build-script-build` Running `/usr/bin/rustc --crate-name memoffset --edition=2015 /usr/share/cargo/registry/memoffset-0.5.6/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"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("default", "unstable_const", "unstable_raw"))' -C metadata=d4eb870fc165882a -C extra-filename=-d4eb870fc165882a --out-dir /home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg allow_clippy --cfg maybe_uninit --cfg doctests` Running `/usr/bin/rustc --crate-name slab --edition=2018 /usr/share/cargo/registry/slab-0.4.9/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("default", "serde", "std"))' -C metadata=b2124eb3d172db0c -C extra-filename=-b2124eb3d172db0c --out-dir /home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/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 crossbeam_utils --edition=2015 /usr/share/cargo/registry/crossbeam-utils-0.7.2/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="lazy_static"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("alloc", "default", "lazy_static", "nightly", "std"))' -C metadata=e87323fdb7ca6a57 -C extra-filename=-e87323fdb7ca6a57 --out-dir /home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps --extern cfg_if=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libcfg_if-61ee8793749ffb7a.rmeta --extern lazy_static=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/liblazy_static-5dcf38bd33f1530d.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg has_min_const_fn --cfg has_atomic_u8 --cfg has_atomic_u16 --cfg has_atomic_u32 --cfg has_atomic_u64` 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)' --check-cfg 'cfg(feature, values())' -C metadata=57c3a087a7a8d82a -C extra-filename=-57c3a087a7a8d82a --out-dir /home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps --extern libc=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/liblibc-823392d1629734b9.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling crossbeam-queue v0.2.3 Compiling tokio-executor v0.1.10 Running `/usr/bin/rustc --crate-name crossbeam_epoch --edition=2015 /usr/share/cargo/registry/crossbeam-epoch-0.8.2/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="lazy_static"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("alloc", "default", "lazy_static", "nightly", "sanitize", "std"))' -C metadata=170cefeaff3af133 -C extra-filename=-170cefeaff3af133 --out-dir /home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps --extern cfg_if=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libcfg_if-61ee8793749ffb7a.rmeta --extern crossbeam_utils=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libcrossbeam_utils-e87323fdb7ca6a57.rmeta --extern lazy_static=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/liblazy_static-5dcf38bd33f1530d.rmeta --extern maybe_uninit=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libmaybe_uninit-507ea9e212b2a8b3.rmeta --extern memoffset=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libmemoffset-d4eb870fc165882a.rmeta --extern scopeguard=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libscopeguard-3d50ded8a325f769.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn --cfg has_min_const_fn` Running `/usr/bin/rustc --crate-name tokio_executor --edition=2015 /usr/share/cargo/registry/tokio-executor-0.1.10/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())' -C metadata=896098fb3ecb3714 -C extra-filename=-896098fb3ecb3714 --out-dir /home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps --extern crossbeam_utils=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libcrossbeam_utils-e87323fdb7ca6a57.rmeta --extern futures=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libfutures-8b56a368114915ce.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name crossbeam_queue --edition=2015 /usr/share/cargo/registry/crossbeam-queue-0.2.3/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("alloc", "default", "std"))' -C metadata=b9dcd8b694d93fc5 -C extra-filename=-b9dcd8b694d93fc5 --out-dir /home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps --extern cfg_if=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libcfg_if-61ee8793749ffb7a.rmeta --extern crossbeam_utils=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libcrossbeam_utils-e87323fdb7ca6a57.rmeta --extern maybe_uninit=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libmaybe_uninit-507ea9e212b2a8b3.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling crossbeam-deque v0.7.4 Running `/usr/bin/rustc --crate-name crossbeam_deque --edition=2015 /usr/share/cargo/registry/crossbeam-deque-0.7.4/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' -C metadata=21d208df13d6cfab -C extra-filename=-21d208df13d6cfab --out-dir /home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps --extern crossbeam_epoch=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libcrossbeam_epoch-170cefeaff3af133.rmeta --extern crossbeam_utils=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libcrossbeam_utils-e87323fdb7ca6a57.rmeta --extern maybe_uninit=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libmaybe_uninit-507ea9e212b2a8b3.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling tokio-threadpool v0.1.18 (/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18) Running `/usr/bin/rustc --crate-name tokio_threadpool --edition=2015 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' -C metadata=d0eb418bae581af6 -C extra-filename=-d0eb418bae581af6 --out-dir /home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps --extern crossbeam_deque=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libcrossbeam_deque-21d208df13d6cfab.rmeta --extern crossbeam_queue=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libcrossbeam_queue-b9dcd8b694d93fc5.rmeta --extern crossbeam_utils=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libcrossbeam_utils-e87323fdb7ca6a57.rmeta --extern futures=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libfutures-8b56a368114915ce.rmeta --extern lazy_static=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/liblazy_static-5dcf38bd33f1530d.rmeta --extern log=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/liblog-bff0295a177faff2.rmeta --extern num_cpus=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libnum_cpus-57c3a087a7a8d82a.rmeta --extern slab=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libslab-b2124eb3d172db0c.rmeta --extern tokio_executor=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libtokio_executor-896098fb3ecb3714.rmeta -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: unnecessary parentheses around assigned value --> src/pool/backup_stack.rs:17:27 | 17 | const STACK_MASK: usize = ((1 << 16) - 1); | ^ ^ | = note: `#[warn(unused_parens)]` on by default help: remove these parentheses | 17 - const STACK_MASK: usize = ((1 << 16) - 1); 17 + const STACK_MASK: usize = (1 << 16) - 1; | warning: unnecessary parentheses around assigned value --> src/worker/stack.rs:41:27 | 41 | const STACK_MASK: usize = ((1 << 16) - 1); | ^ ^ | help: remove these parentheses | 41 - const STACK_MASK: usize = ((1 << 16) - 1); 41 + const STACK_MASK: usize = (1 << 16) - 1; | warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() --> src/blocking/mod.rs:72:32 | 72 | write!(fmt, "{}", self.description()) | ^^^^^^^^^^^ | = note: `#[warn(deprecated)]` on by default warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() --> src/blocking/mod.rs:79:36 | 79 | .field("reason", &self.description()) | ^^^^^^^^^^^ warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() --> src/park/default_park.rs:89:14 | 89 | self.description().fmt(fmt) | ^^^^^^^^^^^ warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead --> src/pool/backup.rs:196:30 | 196 | ... .compare_and_swap(state.into(), next.into(), AcqRel) | ^^^^^^^^^^^^^^^^ warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead --> src/pool/backup.rs:276:18 | 276 | .compare_and_swap(curr.into(), next.into(), AcqRel) | ^^^^^^^^^^^^^^^^ warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead --> src/pool/backup_stack.rs:70:18 | 70 | .compare_and_swap(state.into(), next.into(), AcqRel) | ^^^^^^^^^^^^^^^^ warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead --> src/pool/backup_stack.rs:117:22 | 117 | .compare_and_swap(state.into(), next.into(), AcqRel) | ^^^^^^^^^^^^^^^^ warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead --> src/pool/backup_stack.rs:147:18 | 147 | .compare_and_swap(state.into(), next.into(), AcqRel) | ^^^^^^^^^^^^^^^^ warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead --> src/pool/mod.rs:176:18 | 176 | .compare_and_swap(state.into(), next.into(), AcqRel) | ^^^^^^^^^^^^^^^^ warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead --> src/sender.rs:111:18 | 111 | .compare_and_swap(state.into(), next.into(), AcqRel) | ^^^^^^^^^^^^^^^^ warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead --> src/task/blocking.rs:177:18 | 177 | .compare_and_swap(curr.into(), next.into(), AcqRel) | ^^^^^^^^^^^^^^^^ warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead --> src/task/blocking.rs:332:34 | 332 | ... .compare_and_swap(curr.into(), after.into(), AcqRel) | ^^^^^^^^^^^^^^^^ warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead --> src/task/mod.rs:108:14 | 108 | .compare_and_swap(Scheduled.into(), Running.into(), AcqRel) | ^^^^^^^^^^^^^^^^ warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead --> src/task/mod.rs:186:22 | 186 | .compare_and_swap(Running.into(), Idle.into(), AcqRel) | ^^^^^^^^^^^^^^^^ warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead --> src/task/mod.rs:222:18 | 222 | .compare_and_swap(state.into(), Aborted.into(), AcqRel) | ^^^^^^^^^^^^^^^^ warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead --> src/task/mod.rs:259:18 | 259 | .compare_and_swap(Idle.into(), Scheduled.into(), AcqRel) | ^^^^^^^^^^^^^^^^ warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead --> src/task/mod.rs:270:26 | 270 | .compare_and_swap(Running.into(), Notified.into(), AcqRel) | ^^^^^^^^^^^^^^^^ warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead --> src/worker/entry.rs:107:18 | 107 | .compare_and_swap(state.into(), next.into(), AcqRel) | ^^^^^^^^^^^^^^^^ warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead --> src/worker/entry.rs:175:18 | 175 | .compare_and_swap(state.into(), next.into(), AcqRel) | ^^^^^^^^^^^^^^^^ warning: use of deprecated method `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead --> src/worker/entry.rs:292:29 | 292 | if self.needs_drain.compare_and_swap(true, false, Acquire) { | ^^^^^^^^^^^^^^^^ warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead --> src/worker/stack.rs:95:18 | 95 | .compare_and_swap(state.into(), next.into(), AcqRel) | ^^^^^^^^^^^^^^^^ warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead --> src/worker/stack.rs:153:22 | 153 | .compare_and_swap(state.into(), next.into(), AcqRel) | ^^^^^^^^^^^^^^^^ warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead --> src/worker/stack.rs:183:18 | 183 | .compare_and_swap(state.into(), next.into(), AcqRel) | ^^^^^^^^^^^^^^^^ warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead --> src/worker/mod.rs:340:18 | 340 | .compare_and_swap(state.into(), next.into(), AcqRel) | ^^^^^^^^^^^^^^^^ warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead --> src/worker/mod.rs:492:26 | 492 | .compare_and_swap(state.into(), next.into(), AcqRel) | ^^^^^^^^^^^^^^^^ warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead --> src/worker/mod.rs:613:18 | 613 | .compare_and_swap(state.into(), next.into(), AcqRel) | ^^^^^^^^^^^^^^^^ warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead --> src/worker/mod.rs:675:30 | 675 | ... .compare_and_swap(state.into(), next.into(), AcqRel) | ^^^^^^^^^^^^^^^^ warning: field `trigger` is never read --> src/worker/mod.rs:60:5 | 36 | pub struct Worker { | ------ field in this struct ... 60 | trigger: Arc, | ^^^^^^^ | = note: `Worker` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis = note: `#[warn(dead_code)]` on by default warning: `tokio-threadpool` (lib) generated 30 warnings (run `cargo fix --lib -p tokio-threadpool` to apply 2 suggestions) Finished `rpm` profile [optimized + debuginfo] target(s) in 8.61s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.ytle19 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build + mkdir /home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/BUILDROOT + cd tokio-threadpool-0.1.18 + '[' 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=tokio-threadpool ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=0.1.18 + REG_DIR=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/BUILDROOT/usr/share/cargo/registry/tokio-threadpool-0.1.18 + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/BUILDROOT/usr/share/cargo/registry/tokio-threadpool-0.1.18 + /usr/bin/awk -i inplace -v INPLACE_SUFFIX=.deps '/^\[((.+\.)?((dev|build)-)?dependencies|features)/{f=1;next} /^\[/{f=0}; !f' Cargo.toml + xargs -d '\n' /usr/bin/cp --parents -a -t /home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/BUILDROOT/usr/share/cargo/registry/tokio-threadpool-0.1.18 + grep -w -E -v 'Cargo.(lock|toml.orig)' + /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 warning: no (git) VCS found for `/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/BUILDROOT/usr/share/cargo/registry/tokio-threadpool-0.1.18/Cargo.toml + /usr/bin/rm -f /home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/BUILDROOT/usr/share/cargo/registry/tokio-threadpool-0.1.18/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.LVLxYM + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build + cd tokio-threadpool-0.1.18 + '[' 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 2021 Fresh autocfg v1.1.0 Fresh cfg-if v0.1.10 Fresh libc v0.2.168 Fresh lazy_static v1.5.0 Fresh crossbeam-utils v0.7.2 Compiling getrandom v0.1.15 Fresh maybe-uninit v2.0.0 Fresh memoffset v0.5.6 Fresh num_cpus v1.15.0 Fresh futures v0.1.31 Fresh scopeguard v1.2.0 Compiling log v0.4.22 Compiling ppv-lite86 v0.2.17 Fresh crossbeam-queue v0.2.3 Fresh tokio-executor v0.1.10 Compiling futures-cpupool v0.1.8 Compiling threadpool v1.8.1 Fresh crossbeam-epoch v0.8.2 Fresh slab v0.4.9 Fresh crossbeam-deque v0.7.4 Running `/usr/bin/rustc --crate-name futures_cpupool --edition=2015 /usr/share/cargo/registry/futures-cpupool-0.1.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="default"' --cfg 'feature="with-deprecated"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("default", "with-deprecated"))' -C metadata=656a83899930ec8f -C extra-filename=-656a83899930ec8f --out-dir /home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps --extern futures=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libfutures-8b56a368114915ce.rmeta --extern num_cpus=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libnum_cpus-57c3a087a7a8d82a.rmeta --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=2018 /usr/share/cargo/registry/getrandom-0.1.15/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="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("compiler_builtins", "core", "dummy", "log", "rustc-dep-of-std", "std", "stdweb", "test-in-browser", "wasm-bindgen"))' -C metadata=456576cf1d226c9f -C extra-filename=-456576cf1d226c9f --out-dir /home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/build/getrandom-456576cf1d226c9f -L dependency=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/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 log --edition=2021 /usr/share/cargo/registry/log-0.4.22/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("kv", "max_level_debug", "max_level_error", "max_level_info", "max_level_off", "max_level_trace", "max_level_warn", "release_max_level_debug", "release_max_level_error", "release_max_level_info", "release_max_level_off", "release_max_level_trace", "release_max_level_warn", "serde", "std"))' -C metadata=8253d45b331a2fa8 -C extra-filename=-8253d45b331a2fa8 --out-dir /home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/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 threadpool --edition=2015 /usr/share/cargo/registry/threadpool-1.8.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 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' -C metadata=c8bca4c725f7315f -C extra-filename=-c8bca4c725f7315f --out-dir /home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps --extern num_cpus=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libnum_cpus-57c3a087a7a8d82a.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name ppv_lite86 --edition=2018 /usr/share/cargo/registry/ppv-lite86-0.2.17/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="simd"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("default", "no_simd", "simd", "std"))' -C metadata=50133881d16e3cb5 -C extra-filename=-50133881d16e3cb5 --out-dir /home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling env_logger v0.6.2 Compiling tokio-threadpool v0.1.18 (/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18) Running `/usr/bin/rustc --crate-name env_logger --edition=2015 /usr/share/cargo/registry/env_logger-0.6.2/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("atty", "default", "humantime", "regex", "termcolor"))' -C metadata=3444743e1d06ae7f -C extra-filename=-3444743e1d06ae7f --out-dir /home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps --extern log=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/liblog-8253d45b331a2fa8.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name tokio_threadpool --edition=2015 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' -C metadata=e831ee5dd0a27fec -C extra-filename=-e831ee5dd0a27fec --out-dir /home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps --extern crossbeam_deque=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libcrossbeam_deque-21d208df13d6cfab.rmeta --extern crossbeam_queue=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libcrossbeam_queue-b9dcd8b694d93fc5.rmeta --extern crossbeam_utils=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libcrossbeam_utils-e87323fdb7ca6a57.rmeta --extern futures=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libfutures-8b56a368114915ce.rmeta --extern lazy_static=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/liblazy_static-5dcf38bd33f1530d.rmeta --extern log=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/liblog-8253d45b331a2fa8.rmeta --extern num_cpus=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libnum_cpus-57c3a087a7a8d82a.rmeta --extern slab=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libslab-b2124eb3d172db0c.rmeta --extern tokio_executor=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libtokio_executor-896098fb3ecb3714.rmeta -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: unnecessary parentheses around assigned value --> src/pool/backup_stack.rs:17:27 | 17 | const STACK_MASK: usize = ((1 << 16) - 1); | ^ ^ | = note: `#[warn(unused_parens)]` on by default help: remove these parentheses | 17 - const STACK_MASK: usize = ((1 << 16) - 1); 17 + const STACK_MASK: usize = (1 << 16) - 1; | warning: unnecessary parentheses around assigned value --> src/worker/stack.rs:41:27 | 41 | const STACK_MASK: usize = ((1 << 16) - 1); | ^ ^ | help: remove these parentheses | 41 - const STACK_MASK: usize = ((1 << 16) - 1); 41 + const STACK_MASK: usize = (1 << 16) - 1; | warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() --> src/blocking/mod.rs:72:32 | 72 | write!(fmt, "{}", self.description()) | ^^^^^^^^^^^ | = note: `#[warn(deprecated)]` on by default warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() --> src/blocking/mod.rs:79:36 | 79 | .field("reason", &self.description()) | ^^^^^^^^^^^ warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() --> src/park/default_park.rs:89:14 | 89 | self.description().fmt(fmt) | ^^^^^^^^^^^ warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead --> src/pool/backup.rs:196:30 | 196 | ... .compare_and_swap(state.into(), next.into(), AcqRel) | ^^^^^^^^^^^^^^^^ warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead --> src/pool/backup.rs:276:18 | 276 | .compare_and_swap(curr.into(), next.into(), AcqRel) | ^^^^^^^^^^^^^^^^ warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead --> src/pool/backup_stack.rs:70:18 | 70 | .compare_and_swap(state.into(), next.into(), AcqRel) | ^^^^^^^^^^^^^^^^ warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead --> src/pool/backup_stack.rs:117:22 | 117 | .compare_and_swap(state.into(), next.into(), AcqRel) | ^^^^^^^^^^^^^^^^ warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead --> src/pool/backup_stack.rs:147:18 | 147 | .compare_and_swap(state.into(), next.into(), AcqRel) | ^^^^^^^^^^^^^^^^ warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead --> src/pool/mod.rs:176:18 | 176 | .compare_and_swap(state.into(), next.into(), AcqRel) | ^^^^^^^^^^^^^^^^ warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead --> src/sender.rs:111:18 | 111 | .compare_and_swap(state.into(), next.into(), AcqRel) | ^^^^^^^^^^^^^^^^ warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead --> src/task/blocking.rs:177:18 | 177 | .compare_and_swap(curr.into(), next.into(), AcqRel) | ^^^^^^^^^^^^^^^^ warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead --> src/task/blocking.rs:332:34 | 332 | ... .compare_and_swap(curr.into(), after.into(), AcqRel) | ^^^^^^^^^^^^^^^^ warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead --> src/task/mod.rs:108:14 | 108 | .compare_and_swap(Scheduled.into(), Running.into(), AcqRel) | ^^^^^^^^^^^^^^^^ warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead --> src/task/mod.rs:186:22 | 186 | .compare_and_swap(Running.into(), Idle.into(), AcqRel) | ^^^^^^^^^^^^^^^^ warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead --> src/task/mod.rs:222:18 | 222 | .compare_and_swap(state.into(), Aborted.into(), AcqRel) | ^^^^^^^^^^^^^^^^ warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead --> src/task/mod.rs:259:18 | 259 | .compare_and_swap(Idle.into(), Scheduled.into(), AcqRel) | ^^^^^^^^^^^^^^^^ warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead --> src/task/mod.rs:270:26 | 270 | .compare_and_swap(Running.into(), Notified.into(), AcqRel) | ^^^^^^^^^^^^^^^^ warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead --> src/worker/entry.rs:107:18 | 107 | .compare_and_swap(state.into(), next.into(), AcqRel) | ^^^^^^^^^^^^^^^^ warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead --> src/worker/entry.rs:175:18 | 175 | .compare_and_swap(state.into(), next.into(), AcqRel) | ^^^^^^^^^^^^^^^^ warning: use of deprecated method `std::sync::atomic::AtomicBool::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead --> src/worker/entry.rs:292:29 | 292 | if self.needs_drain.compare_and_swap(true, false, Acquire) { | ^^^^^^^^^^^^^^^^ warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead --> src/worker/stack.rs:95:18 | 95 | .compare_and_swap(state.into(), next.into(), AcqRel) | ^^^^^^^^^^^^^^^^ warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead --> src/worker/stack.rs:153:22 | 153 | .compare_and_swap(state.into(), next.into(), AcqRel) | ^^^^^^^^^^^^^^^^ warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead --> src/worker/stack.rs:183:18 | 183 | .compare_and_swap(state.into(), next.into(), AcqRel) | ^^^^^^^^^^^^^^^^ warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead --> src/worker/mod.rs:340:18 | 340 | .compare_and_swap(state.into(), next.into(), AcqRel) | ^^^^^^^^^^^^^^^^ warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead --> src/worker/mod.rs:492:26 | 492 | .compare_and_swap(state.into(), next.into(), AcqRel) | ^^^^^^^^^^^^^^^^ warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead --> src/worker/mod.rs:613:18 | 613 | .compare_and_swap(state.into(), next.into(), AcqRel) | ^^^^^^^^^^^^^^^^ warning: use of deprecated method `std::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead --> src/worker/mod.rs:675:30 | 675 | ... .compare_and_swap(state.into(), next.into(), AcqRel) | ^^^^^^^^^^^^^^^^ Running `/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/build/getrandom-456576cf1d226c9f/build-script-build` warning: field `trigger` is never read --> src/worker/mod.rs:60:5 | 36 | pub struct Worker { | ------ field in this struct ... 60 | trigger: Arc, | ^^^^^^^ | = note: `Worker` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis = note: `#[warn(dead_code)]` on by default Running `/usr/bin/rustc --crate-name getrandom --edition=2018 /usr/share/cargo/registry/getrandom-0.1.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="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("compiler_builtins", "core", "dummy", "log", "rustc-dep-of-std", "std", "stdweb", "test-in-browser", "wasm-bindgen"))' -C metadata=48875f5e1e3eab88 -C extra-filename=-48875f5e1e3eab88 --out-dir /home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps --extern cfg_if=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libcfg_if-61ee8793749ffb7a.rmeta --extern libc=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/liblibc-823392d1629734b9.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling rand_core v0.5.1 Running `/usr/bin/rustc --crate-name rand_core --edition=2018 /usr/share/cargo/registry/rand_core-0.5.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="getrandom"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("alloc", "getrandom", "serde", "serde1", "std"))' -C metadata=56cea7317d633250 -C extra-filename=-56cea7317d633250 --out-dir /home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps --extern getrandom=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libgetrandom-48875f5e1e3eab88.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling rand_chacha v0.2.2 Running `/usr/bin/rustc --crate-name rand_chacha --edition=2018 /usr/share/cargo/registry/rand_chacha-0.2.2/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("default", "simd", "std"))' -C metadata=a76e4883edc5db53 -C extra-filename=-a76e4883edc5db53 --out-dir /home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps --extern ppv_lite86=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libppv_lite86-50133881d16e3cb5.rmeta --extern rand_core=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/librand_core-56cea7317d633250.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Compiling rand v0.7.3 Running `/usr/bin/rustc --crate-name rand --edition=2018 /usr/share/cargo/registry/rand-0.7.3/src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="alloc"' --cfg 'feature="default"' --cfg 'feature="getrandom"' --cfg 'feature="getrandom_package"' --cfg 'feature="libc"' --cfg 'feature="std"' --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values("alloc", "default", "getrandom", "getrandom_package", "libc", "log", "nightly", "packed_simd", "rand_pcg", "serde1", "simd_support", "small_rng", "std", "stdweb", "wasm-bindgen"))' -C metadata=1db5f3c06a37dbb2 -C extra-filename=-1db5f3c06a37dbb2 --out-dir /home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps --extern getrandom_package=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libgetrandom-48875f5e1e3eab88.rmeta --extern libc=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/liblibc-823392d1629734b9.rmeta --extern rand_chacha=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/librand_chacha-a76e4883edc5db53.rmeta --extern rand_core=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/librand_core-56cea7317d633250.rmeta --cap-lints allow -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name tokio_threadpool --edition=2015 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --test --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' -C metadata=00963910bdd42cf0 -C extra-filename=-00963910bdd42cf0 --out-dir /home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps --extern crossbeam_deque=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libcrossbeam_deque-21d208df13d6cfab.rlib --extern crossbeam_queue=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libcrossbeam_queue-b9dcd8b694d93fc5.rlib --extern crossbeam_utils=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libcrossbeam_utils-e87323fdb7ca6a57.rlib --extern env_logger=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libenv_logger-3444743e1d06ae7f.rlib --extern futures=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libfutures-8b56a368114915ce.rlib --extern futures_cpupool=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libfutures_cpupool-656a83899930ec8f.rlib --extern lazy_static=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/liblazy_static-5dcf38bd33f1530d.rlib --extern log=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/liblog-8253d45b331a2fa8.rlib --extern num_cpus=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libnum_cpus-57c3a087a7a8d82a.rlib --extern rand=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/librand-1db5f3c06a37dbb2.rlib --extern slab=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libslab-b2124eb3d172db0c.rlib --extern threadpool=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libthreadpool-c8bca4c725f7315f.rlib --extern tokio_executor=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libtokio_executor-896098fb3ecb3714.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: `tokio-threadpool` (lib) generated 30 warnings (run `cargo fix --lib -p tokio-threadpool` to apply 2 suggestions) Running `/usr/bin/rustc --crate-name depth --edition=2015 examples/depth.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' -C metadata=2973eb64d0828dd1 -C extra-filename=-2973eb64d0828dd1 --out-dir /home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/examples -L dependency=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps --extern crossbeam_deque=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libcrossbeam_deque-21d208df13d6cfab.rlib --extern crossbeam_queue=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libcrossbeam_queue-b9dcd8b694d93fc5.rlib --extern crossbeam_utils=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libcrossbeam_utils-e87323fdb7ca6a57.rlib --extern env_logger=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libenv_logger-3444743e1d06ae7f.rlib --extern futures=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libfutures-8b56a368114915ce.rlib --extern futures_cpupool=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libfutures_cpupool-656a83899930ec8f.rlib --extern lazy_static=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/liblazy_static-5dcf38bd33f1530d.rlib --extern log=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/liblog-8253d45b331a2fa8.rlib --extern num_cpus=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libnum_cpus-57c3a087a7a8d82a.rlib --extern rand=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/librand-1db5f3c06a37dbb2.rlib --extern slab=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libslab-b2124eb3d172db0c.rlib --extern threadpool=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libthreadpool-c8bca4c725f7315f.rlib --extern tokio_executor=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libtokio_executor-896098fb3ecb3714.rlib --extern tokio_threadpool=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libtokio_threadpool-e831ee5dd0a27fec.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name blocking --edition=2015 tests/blocking.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())' -C metadata=660148336f101b5b -C extra-filename=-660148336f101b5b --out-dir /home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps --extern crossbeam_deque=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libcrossbeam_deque-21d208df13d6cfab.rlib --extern crossbeam_queue=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libcrossbeam_queue-b9dcd8b694d93fc5.rlib --extern crossbeam_utils=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libcrossbeam_utils-e87323fdb7ca6a57.rlib --extern env_logger=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libenv_logger-3444743e1d06ae7f.rlib --extern futures=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libfutures-8b56a368114915ce.rlib --extern futures_cpupool=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libfutures_cpupool-656a83899930ec8f.rlib --extern lazy_static=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/liblazy_static-5dcf38bd33f1530d.rlib --extern log=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/liblog-8253d45b331a2fa8.rlib --extern num_cpus=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libnum_cpus-57c3a087a7a8d82a.rlib --extern rand=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/librand-1db5f3c06a37dbb2.rlib --extern slab=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libslab-b2124eb3d172db0c.rlib --extern threadpool=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libthreadpool-c8bca4c725f7315f.rlib --extern tokio_executor=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libtokio_executor-896098fb3ecb3714.rlib --extern tokio_threadpool=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libtokio_threadpool-e831ee5dd0a27fec.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name hello --edition=2015 examples/hello.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' -C metadata=445215e30545bdc7 -C extra-filename=-445215e30545bdc7 --out-dir /home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/examples -L dependency=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps --extern crossbeam_deque=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libcrossbeam_deque-21d208df13d6cfab.rlib --extern crossbeam_queue=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libcrossbeam_queue-b9dcd8b694d93fc5.rlib --extern crossbeam_utils=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libcrossbeam_utils-e87323fdb7ca6a57.rlib --extern env_logger=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libenv_logger-3444743e1d06ae7f.rlib --extern futures=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libfutures-8b56a368114915ce.rlib --extern futures_cpupool=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libfutures_cpupool-656a83899930ec8f.rlib --extern lazy_static=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/liblazy_static-5dcf38bd33f1530d.rlib --extern log=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/liblog-8253d45b331a2fa8.rlib --extern num_cpus=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libnum_cpus-57c3a087a7a8d82a.rlib --extern rand=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/librand-1db5f3c06a37dbb2.rlib --extern slab=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libslab-b2124eb3d172db0c.rlib --extern threadpool=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libthreadpool-c8bca4c725f7315f.rlib --extern tokio_executor=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libtokio_executor-896098fb3ecb3714.rlib --extern tokio_threadpool=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libtokio_threadpool-e831ee5dd0a27fec.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name threadpool --edition=2015 tests/threadpool.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())' -C metadata=17d17c800a0db51b -C extra-filename=-17d17c800a0db51b --out-dir /home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps --extern crossbeam_deque=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libcrossbeam_deque-21d208df13d6cfab.rlib --extern crossbeam_queue=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libcrossbeam_queue-b9dcd8b694d93fc5.rlib --extern crossbeam_utils=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libcrossbeam_utils-e87323fdb7ca6a57.rlib --extern env_logger=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libenv_logger-3444743e1d06ae7f.rlib --extern futures=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libfutures-8b56a368114915ce.rlib --extern futures_cpupool=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libfutures_cpupool-656a83899930ec8f.rlib --extern lazy_static=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/liblazy_static-5dcf38bd33f1530d.rlib --extern log=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/liblog-8253d45b331a2fa8.rlib --extern num_cpus=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libnum_cpus-57c3a087a7a8d82a.rlib --extern rand=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/librand-1db5f3c06a37dbb2.rlib --extern slab=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libslab-b2124eb3d172db0c.rlib --extern threadpool=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libthreadpool-c8bca4c725f7315f.rlib --extern tokio_executor=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libtokio_executor-896098fb3ecb3714.rlib --extern tokio_threadpool=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libtokio_threadpool-e831ee5dd0a27fec.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name hammer --edition=2015 tests/hammer.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())' -C metadata=3b2725342b09e0d4 -C extra-filename=-3b2725342b09e0d4 --out-dir /home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps --extern crossbeam_deque=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libcrossbeam_deque-21d208df13d6cfab.rlib --extern crossbeam_queue=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libcrossbeam_queue-b9dcd8b694d93fc5.rlib --extern crossbeam_utils=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libcrossbeam_utils-e87323fdb7ca6a57.rlib --extern env_logger=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libenv_logger-3444743e1d06ae7f.rlib --extern futures=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libfutures-8b56a368114915ce.rlib --extern futures_cpupool=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libfutures_cpupool-656a83899930ec8f.rlib --extern lazy_static=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/liblazy_static-5dcf38bd33f1530d.rlib --extern log=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/liblog-8253d45b331a2fa8.rlib --extern num_cpus=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libnum_cpus-57c3a087a7a8d82a.rlib --extern rand=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/librand-1db5f3c06a37dbb2.rlib --extern slab=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libslab-b2124eb3d172db0c.rlib --extern threadpool=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libthreadpool-c8bca4c725f7315f.rlib --extern tokio_executor=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libtokio_executor-896098fb3ecb3714.rlib --extern tokio_threadpool=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libtokio_threadpool-e831ee5dd0a27fec.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: `tokio-threadpool` (lib test) generated 30 warnings (30 duplicates) Finished `rpm` profile [optimized + debuginfo] target(s) in 15.27s Running `/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/tokio_threadpool-00963910bdd42cf0` running 2 tests test worker::state::test::lifecycle_encode ... ok test worker::state::test::lifecycle_ord ... ok test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s Running `/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/blocking-660148336f101b5b` running 8 tests test capacity_is_use_it_or_lose_it ... ok test basic ... ok test other_executors_can_run_inside_blocking ... ok test blocking_thread_does_not_take_over_shutdown_worker_thread ... ok test blocking_one_time_gets_capacity_for_multiple_blocks ... ok test notify_task_on_capacity ... ok test hammer ... ok test shutdown ... ok test result: ok. 8 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 52.42s Running `/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/hammer-3b2725342b09e0d4` running 1 test test hammer ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.60s Running `/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/threadpool-17d17c800a0db51b` running 12 tests test busy_threadpool_is_not_idle ... ok test new_threadpool_is_idle ... ok test eagerly_drops_futures ... ok test global_executor_is_configured ... ok test multi_threadpool ... ok test count_panics ... ok test panic_in_task ... ok test drop_threadpool_drops_futures ... ok test force_shutdown_drops_futures ... ok test natural_shutdown_simple_futures ... ok test many_multishot_futures ... ok test many_oneshot_futures ... ok test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 4.12s Doc-tests tokio_threadpool Running `/usr/bin/rustdoc --edition=2015 --crate-type lib --color auto --crate-name tokio_threadpool --test src/lib.rs --test-run-directory /home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps --extern crossbeam_deque=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libcrossbeam_deque-21d208df13d6cfab.rlib --extern crossbeam_queue=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libcrossbeam_queue-b9dcd8b694d93fc5.rlib --extern crossbeam_utils=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libcrossbeam_utils-e87323fdb7ca6a57.rlib --extern env_logger=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libenv_logger-3444743e1d06ae7f.rlib --extern futures=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libfutures-8b56a368114915ce.rlib --extern futures_cpupool=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libfutures_cpupool-656a83899930ec8f.rlib --extern lazy_static=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/liblazy_static-5dcf38bd33f1530d.rlib --extern log=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/liblog-8253d45b331a2fa8.rlib --extern num_cpus=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libnum_cpus-57c3a087a7a8d82a.rlib --extern rand=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/librand-1db5f3c06a37dbb2.rlib --extern slab=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libslab-b2124eb3d172db0c.rlib --extern threadpool=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libthreadpool-c8bca4c725f7315f.rlib --extern tokio_executor=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libtokio_executor-896098fb3ecb3714.rlib --extern tokio_threadpool=/home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/tokio-threadpool-0.1.18/target/rpm/deps/libtokio_threadpool-e831ee5dd0a27fec.rlib -C embed-bitcode=no --check-cfg 'cfg(docsrs)' --check-cfg 'cfg(feature, values())' --error-format human` warning: unnecessary parentheses around assigned value --> src/pool/backup_stack.rs:17:27 | 17 | const STACK_MASK: usize = ((1 << 16) - 1); | ^ ^ | = note: `#[warn(unused_parens)]` on by default help: remove these parentheses | 17 - const STACK_MASK: usize = ((1 << 16) - 1); 17 + const STACK_MASK: usize = (1 << 16) - 1; | warning: unnecessary parentheses around assigned value --> src/worker/stack.rs:41:27 | 41 | const STACK_MASK: usize = ((1 << 16) - 1); | ^ ^ | help: remove these parentheses | 41 - const STACK_MASK: usize = ((1 << 16) - 1); 41 + const STACK_MASK: usize = (1 << 16) - 1; | warning: 2 warnings emitted running 17 tests test src/builder.rs - builder::Builder::max_blocking (line 157) ... ok test src/builder.rs - builder::Builder::custom_park (line 380) ... ok test src/builder.rs - builder::Builder::new (line 81) ... ok test src/builder.rs - builder::Builder::keep_alive (line 187) ... ok test src/builder.rs - builder::Builder::panic_handler (line 213) ... ok test src/builder.rs - builder::Builder::stack_size (line 269) ... ok test src/builder.rs - builder::Builder::before_stop (line 352) ... ok test src/builder.rs - builder::Builder::pool_size (line 125) ... ok test src/builder.rs - builder::Builder::name_prefix (line 243) ... ok test src/thread_pool.rs - thread_pool::ThreadPool::spawn (line 55) ... ok test src/builder.rs - builder::Builder (line 36) ... ok test src/builder.rs - builder::Builder::around_worker (line 293) ... ok test src/builder.rs - builder::Builder::build (line 419) ... ok test src/builder.rs - builder::Builder::after_start (line 325) ... ok test src/sender.rs - sender::Sender::spawn (line 60) ... ok test src/thread_pool.rs - thread_pool::ThreadPool::spawn_handle (line 95) ... ok test src/blocking/global.rs - blocking::global::blocking (line 124) ... ok test result: ok. 17 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.06s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rust-tokio-threadpool-devel-0.1.18-0.1.mga10.noarch warning: File listed twice: /usr/share/cargo/registry/tokio-threadpool-0.1.18/CHANGELOG.md warning: File listed twice: /usr/share/cargo/registry/tokio-threadpool-0.1.18/LICENSE warning: File listed twice: /usr/share/cargo/registry/tokio-threadpool-0.1.18/README.md Provides: crate(tokio-threadpool) = 0.1.18 rust-tokio-threadpool-devel = 0.1.18-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(crossbeam-deque/default) >= 0.7.0 crate(crossbeam-queue/default) >= 0.2.0 crate(crossbeam-utils/default) >= 0.7.0 crate(futures/default) >= 0.1.19 crate(lazy_static/default) >= 1.0.0 crate(log/default) >= 0.4.0 crate(num_cpus/default) >= 1.2.0 crate(slab/default) >= 0.4.1 crate(tokio-executor/default) >= 0.1.8 Processing files: rust-tokio-threadpool+default-devel-0.1.18-0.1.mga10.noarch Provides: crate(tokio-threadpool/default) = 0.1.18 rust-tokio-threadpool+default-devel = 0.1.18-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(tokio-threadpool) = 0.1.18 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build/BUILDROOT Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-tokio-threadpool+default-devel-0.1.18-0.1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-tokio-threadpool-devel-0.1.18-0.1.mga10.noarch.rpm Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.7kbH4z + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build + test -d /home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build + rm -rf /home/pterjan/rpmbuild/BUILD/rust-tokio-threadpool-0.1.18-build + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: File listed twice: /usr/share/cargo/registry/tokio-threadpool-0.1.18/CHANGELOG.md File listed twice: /usr/share/cargo/registry/tokio-threadpool-0.1.18/LICENSE File listed twice: /usr/share/cargo/registry/tokio-threadpool-0.1.18/README.md D: [iurt_root_command] Success!