D: [iurt_root_command] chroot Building target platforms: noarch Building for target noarch Installing /home/pterjan/rpmbuild/SRPMS/rust-futures0.1-0.1.31-0.1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.41Sx5L Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.QWjdxY + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build + rm -rf futures-0.1.31 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/futures-0.1.31.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd futures-0.1.31 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/0001-Fix-logic-bug-in-stream-Stream-filter_map-doctest.patch + /usr/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + set -euo pipefail + /usr/bin/mkdir -p target/rpm + /usr/bin/ln -s rpm target/release + /usr/bin/rm -rf .cargo/ + /usr/bin/mkdir -p .cargo + cat + cat + /usr/bin/rm -f Cargo.lock + /usr/bin/rm -f Cargo.toml.orig + rm tests/buffer_unordered.rs + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.QfSEE8 + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build + cd futures-0.1.31 + /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.zCIuln + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-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-0.1.31 + '[' 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 futures v0.1.31 (/home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31) Running `/usr/bin/rustc --crate-name futures --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="use_std"' --cfg 'feature="with-deprecated"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "nightly", "use_std", "with-deprecated"))' -C metadata=541b76902f6aad2c -C extra-filename=-349b3707f7611b8b --out-dir /home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: anonymous parameters are deprecated and will be removed in the next edition --> src/future/mod.rs:1084:20 | 1084 | fn future_from(T) -> Self::Future; | ^ help: try naming the parameter or explicitly ignoring it: `_: T` | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! = note: for more information, see issue #41686 = note: `#[warn(anonymous_parameters)]` on by default warning: use of deprecated method `core::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead --> src/future/shared.rs:131:41 | 131 | match self.inner.notifier.state.compare_and_swap(IDLE, POLLING, SeqCst) { | ^^^^^^^^^^^^^^^^ | = note: `#[warn(deprecated)]` on by default warning: use of deprecated method `core::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead --> src/future/shared.rs:170:49 | 170 | match self.inner.notifier.state.compare_and_swap(POLLING, IDLE, SeqCst) { | ^^^^^^^^^^^^^^^^ warning: use of deprecated method `core::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead --> src/task_impl/atomic_task.rs:173:26 | 173 | match self.state.compare_and_swap(WAITING, REGISTERING, Acquire) { | ^^^^^^^^^^^^^^^^ warning: use of deprecated method `core::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead --> src/task_impl/std/mod.rs:492:26 | 492 | match self.state.compare_and_swap(NOTIFY, IDLE, Ordering::SeqCst) { | ^^^^^^^^^^^^^^^^ warning: use of deprecated method `core::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead --> src/task_impl/std/mod.rs:503:26 | 503 | match self.state.compare_and_swap(IDLE, SLEEP, Ordering::SeqCst) { | ^^^^^^^^^^^^^^^^ warning: use of deprecated method `core::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead --> src/task_impl/std/mod.rs:519:37 | 519 | if NOTIFY == self.state.compare_and_swap(NOTIFY, IDLE, Ordering::SeqCst) { | ^^^^^^^^^^^^^^^^ warning: use of deprecated method `core::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead --> src/task_impl/std/mod.rs:530:26 | 530 | match self.state.compare_and_swap(IDLE, NOTIFY, Ordering::SeqCst) { | ^^^^^^^^^^^^^^^^ warning: use of deprecated method `core::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead --> src/task_impl/std/mod.rs:540:26 | 540 | match self.state.compare_and_swap(SLEEP, NOTIFY, Ordering::SeqCst) { | ^^^^^^^^^^^^^^^^ warning: use of deprecated method `core::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead --> src/sync/mpsc/mod.rs:757:49 | 757 | let actual = self.inner.num_senders.compare_and_swap(curr, next, SeqCst); | ^^^^^^^^^^^^^^^^ warning: trait `AssertSend` is never used --> src/task_impl/mod.rs:92:7 | 92 | trait AssertSend: Send {} | ^^^^^^^^^^ | = note: `#[warn(dead_code)]` on by default warning: trait `AssertSync` is never used --> src/task_impl/atomic_task.rs:141:15 | 141 | trait AssertSync: Sync {} | ^^^^^^^^^^ warning: trait `AssertKinds` is never used --> src/sync/mpsc/mod.rs:113:7 | 113 | trait AssertKinds: Send + Sync + Clone {} | ^^^^^^^^^^^ warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing --> src/task_impl/mod.rs:478:9 | 478 | drop(id); | ^^^^^--^ | | | argument has type `usize` | = note: `#[warn(dropping_copy_types)]` on by default help: use `let _ = ...` to ignore the expression or result | 478 - drop(id); 478 + let _ = id; | warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected --> src/task_impl/core.rs:71:32 | 71 | self.id == other.id && self.handle.inner == (other.f)().inner | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(ambiguous_wide_pointer_comparisons)]` on by default help: use `std::ptr::addr_eq` or untyped pointers to only compare their addresses | 71 - self.id == other.id && self.handle.inner == (other.f)().inner 71 + self.id == other.id && std::ptr::addr_eq(self.handle.inner, (other.f)().inner) | warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected --> src/task_impl/std/mod.rs:211:17 | 211 | &**old1 as *const Unpark == &**old2 as *const Unpark | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | help: use `std::ptr::addr_eq` or untyped pointers to only compare their addresses | 211 - &**old1 as *const Unpark == &**old2 as *const Unpark 211 + std::ptr::addr_eq(&**old1 as *const Unpark, &**old2 as *const Unpark) | warning: `futures` (lib) generated 16 warnings (run `cargo fix --lib -p futures` to apply 1 suggestion) Finished `rpm` profile [optimized + debuginfo] target(s) in 2.46s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.dVN25g + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build + mkdir /home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-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-0.1.31 + '[' 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 ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=0.1.31 + REG_DIR=/home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/BUILDROOT/usr/share/cargo/registry/futures-0.1.31 + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/BUILDROOT/usr/share/cargo/registry/futures-0.1.31 + /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-futures0.1-0.1.31-build/BUILDROOT/usr/share/cargo/registry/futures-0.1.31 warning: no (git) VCS found for `/home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/BUILDROOT/usr/share/cargo/registry/futures-0.1.31/Cargo.toml + /usr/bin/rm -f /home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/BUILDROOT/usr/share/cargo/registry/futures-0.1.31/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.8XRDOi + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-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-0.1.31 + '[' 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 warning: anonymous parameters are deprecated and will be removed in the next edition --> src/future/mod.rs:1084:20 | 1084 | fn future_from(T) -> Self::Future; | ^ help: try naming the parameter or explicitly ignoring it: `_: T` | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! = note: for more information, see issue #41686 = note: `#[warn(anonymous_parameters)]` on by default warning: use of deprecated method `core::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead --> src/future/shared.rs:131:41 | 131 | match self.inner.notifier.state.compare_and_swap(IDLE, POLLING, SeqCst) { | ^^^^^^^^^^^^^^^^ | = note: `#[warn(deprecated)]` on by default warning: use of deprecated method `core::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead --> src/future/shared.rs:170:49 | 170 | match self.inner.notifier.state.compare_and_swap(POLLING, IDLE, SeqCst) { | ^^^^^^^^^^^^^^^^ warning: use of deprecated method `core::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead --> src/task_impl/atomic_task.rs:173:26 | 173 | match self.state.compare_and_swap(WAITING, REGISTERING, Acquire) { | ^^^^^^^^^^^^^^^^ warning: use of deprecated method `core::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead --> src/task_impl/std/mod.rs:492:26 | 492 | match self.state.compare_and_swap(NOTIFY, IDLE, Ordering::SeqCst) { | ^^^^^^^^^^^^^^^^ warning: use of deprecated method `core::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead --> src/task_impl/std/mod.rs:503:26 | 503 | match self.state.compare_and_swap(IDLE, SLEEP, Ordering::SeqCst) { | ^^^^^^^^^^^^^^^^ warning: use of deprecated method `core::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead --> src/task_impl/std/mod.rs:519:37 | 519 | if NOTIFY == self.state.compare_and_swap(NOTIFY, IDLE, Ordering::SeqCst) { | ^^^^^^^^^^^^^^^^ warning: use of deprecated method `core::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead --> src/task_impl/std/mod.rs:530:26 | 530 | match self.state.compare_and_swap(IDLE, NOTIFY, Ordering::SeqCst) { | ^^^^^^^^^^^^^^^^ warning: use of deprecated method `core::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead --> src/task_impl/std/mod.rs:540:26 | 540 | match self.state.compare_and_swap(SLEEP, NOTIFY, Ordering::SeqCst) { | ^^^^^^^^^^^^^^^^ warning: use of deprecated method `core::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead --> src/sync/mpsc/mod.rs:757:49 | 757 | let actual = self.inner.num_senders.compare_and_swap(curr, next, SeqCst); | ^^^^^^^^^^^^^^^^ warning: trait `AssertSend` is never used --> src/task_impl/mod.rs:92:7 | 92 | trait AssertSend: Send {} | ^^^^^^^^^^ | = note: `#[warn(dead_code)]` on by default warning: trait `AssertSync` is never used --> src/task_impl/atomic_task.rs:141:15 | 141 | trait AssertSync: Sync {} | ^^^^^^^^^^ warning: trait `AssertKinds` is never used --> src/sync/mpsc/mod.rs:113:7 | 113 | trait AssertKinds: Send + Sync + Clone {} | ^^^^^^^^^^^ warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing --> src/task_impl/mod.rs:478:9 | 478 | drop(id); | ^^^^^--^ | | | argument has type `usize` | = note: `#[warn(dropping_copy_types)]` on by default help: use `let _ = ...` to ignore the expression or result | 478 - drop(id); 478 + let _ = id; | warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected --> src/task_impl/core.rs:71:32 | 71 | self.id == other.id && self.handle.inner == (other.f)().inner | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(ambiguous_wide_pointer_comparisons)]` on by default help: use `std::ptr::addr_eq` or untyped pointers to only compare their addresses | 71 - self.id == other.id && self.handle.inner == (other.f)().inner 71 + self.id == other.id && std::ptr::addr_eq(self.handle.inner, (other.f)().inner) | warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected --> src/task_impl/std/mod.rs:211:17 | 211 | &**old1 as *const Unpark == &**old2 as *const Unpark | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | help: use `std::ptr::addr_eq` or untyped pointers to only compare their addresses | 211 - &**old1 as *const Unpark == &**old2 as *const Unpark 211 + std::ptr::addr_eq(&**old1 as *const Unpark, &**old2 as *const Unpark) | warning: `futures` (lib) generated 16 warnings (run `cargo fix --lib -p futures` to apply 1 suggestion) Compiling futures v0.1.31 (/home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31) Running `/usr/bin/rustc --crate-name futures_ordered --edition=2015 tests/futures_ordered.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="use_std"' --cfg 'feature="with-deprecated"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "nightly", "use_std", "with-deprecated"))' -C metadata=68d9672e4858ee98 -C extra-filename=-26db6f0c51f4e78c --out-dir /home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps --extern futures=/home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps/libfutures-349b3707f7611b8b.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name select_all --edition=2015 tests/select_all.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="use_std"' --cfg 'feature="with-deprecated"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "nightly", "use_std", "with-deprecated"))' -C metadata=bfbbead8caa93a57 -C extra-filename=-6443ad89acc60681 --out-dir /home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps --extern futures=/home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps/libfutures-349b3707f7611b8b.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name futures_unordered --edition=2015 tests/futures_unordered.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="use_std"' --cfg 'feature="with-deprecated"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "nightly", "use_std", "with-deprecated"))' -C metadata=495c862288475ca3 -C extra-filename=-9525d2075f378e6d --out-dir /home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps --extern futures=/home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps/libfutures-349b3707f7611b8b.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name unfold --edition=2015 tests/unfold.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="use_std"' --cfg 'feature="with-deprecated"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "nightly", "use_std", "with-deprecated"))' -C metadata=b661fef6a9eaaa55 -C extra-filename=-3440535917cdab0a --out-dir /home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps --extern futures=/home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps/libfutures-349b3707f7611b8b.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name unsync --edition=2015 tests/unsync.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="use_std"' --cfg 'feature="with-deprecated"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "nightly", "use_std", "with-deprecated"))' -C metadata=fccb30b0dd91dd63 -C extra-filename=-9bac44478db9649a --out-dir /home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps --extern futures=/home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps/libfutures-349b3707f7611b8b.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name mpsc --edition=2015 tests/mpsc.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="use_std"' --cfg 'feature="with-deprecated"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "nightly", "use_std", "with-deprecated"))' -C metadata=a91652c74bcd7b32 -C extra-filename=-e077204c2dbf9999 --out-dir /home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps --extern futures=/home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps/libfutures-349b3707f7611b8b.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name oneshot --edition=2015 tests/oneshot.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="use_std"' --cfg 'feature="with-deprecated"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "nightly", "use_std", "with-deprecated"))' -C metadata=0894552eee8c7ab6 -C extra-filename=-401025e5fb03652a --out-dir /home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps --extern futures=/home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps/libfutures-349b3707f7611b8b.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name recurse --edition=2015 tests/recurse.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="use_std"' --cfg 'feature="with-deprecated"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "nightly", "use_std", "with-deprecated"))' -C metadata=7be5be29e8cd97b4 -C extra-filename=-afdfc689270d5178 --out-dir /home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps --extern futures=/home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps/libfutures-349b3707f7611b8b.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name unsync_oneshot --edition=2015 tests/unsync-oneshot.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="use_std"' --cfg 'feature="with-deprecated"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "nightly", "use_std", "with-deprecated"))' -C metadata=60f492eff6dd2408 -C extra-filename=-cf660dffef1c9f40 --out-dir /home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps --extern futures=/home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps/libfutures-349b3707f7611b8b.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name eager_drop --edition=2015 tests/eager_drop.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="use_std"' --cfg 'feature="with-deprecated"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "nightly", "use_std", "with-deprecated"))' -C metadata=05bfaae586528447 -C extra-filename=-4ed48ed585f2d207 --out-dir /home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps --extern futures=/home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps/libfutures-349b3707f7611b8b.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name eventual --edition=2015 tests/eventual.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="use_std"' --cfg 'feature="with-deprecated"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "nightly", "use_std", "with-deprecated"))' -C metadata=e241ac17969d73b1 -C extra-filename=-bdf8178e3d2f3fea --out-dir /home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps --extern futures=/home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps/libfutures-349b3707f7611b8b.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name split --edition=2015 tests/split.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="use_std"' --cfg 'feature="with-deprecated"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "nightly", "use_std", "with-deprecated"))' -C metadata=00b5320fd12a4d29 -C extra-filename=-e4b71504f6328ed8 --out-dir /home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps --extern futures=/home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps/libfutures-349b3707f7611b8b.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name shared --edition=2015 tests/shared.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="use_std"' --cfg 'feature="with-deprecated"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "nightly", "use_std", "with-deprecated"))' -C metadata=6317012931068db6 -C extra-filename=-6291bc7cd279d8d5 --out-dir /home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps --extern futures=/home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps/libfutures-349b3707f7611b8b.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name stream_catch_unwind --edition=2015 tests/stream_catch_unwind.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="use_std"' --cfg 'feature="with-deprecated"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "nightly", "use_std", "with-deprecated"))' -C metadata=2d58917633fee390 -C extra-filename=-34d79923391ac293 --out-dir /home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps --extern futures=/home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps/libfutures-349b3707f7611b8b.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name sink --edition=2015 tests/sink.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="use_std"' --cfg 'feature="with-deprecated"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "nightly", "use_std", "with-deprecated"))' -C metadata=9664933f9ff91d47 -C extra-filename=-4dcd6f75e11d72c4 --out-dir /home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps --extern futures=/home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps/libfutures-349b3707f7611b8b.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name select_ok --edition=2015 tests/select_ok.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="use_std"' --cfg 'feature="with-deprecated"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "nightly", "use_std", "with-deprecated"))' -C metadata=8a8fbb58611b4d95 -C extra-filename=-5707ddc690f97ea4 --out-dir /home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps --extern futures=/home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps/libfutures-349b3707f7611b8b.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing --> tests/support/local_executor.rs:162:9 | 162 | drop(self.tx.lock().unwrap().send(id)); | ^^^^^--------------------------------^ | | | argument has type `Result<(), std::sync::mpmc::SendError>` | = note: `#[warn(dropping_copy_types)]` on by default help: use `let _ = ...` to ignore the expression or result | 162 - drop(self.tx.lock().unwrap().send(id)); 162 + let _ = self.tx.lock().unwrap().send(id); | warning: field `done` is never read --> tests/unsync.rs:162:9 | 159 | struct Dead { | ---- field in this struct ... 162 | done: oneshot::Sender<()>, | ^^^^ | = note: `Dead` 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: unused `IterOk` in tuple element 0 that must be used --> tests/unsync.rs:92:5 | 92 | / lazy(move || { 93 | | iter_ok(vec![1, 2, 3]) 94 | | .forward(tx) 95 | | .map_err(|e: SendError| panic!("{}", e)) ... | 98 | | })) 99 | | }).wait().unwrap(); | |______________________^ | = note: streams do nothing unless polled = note: `#[warn(unused_must_use)]` on by default warning: field `done` is never read --> tests/unsync-oneshot.rs:83:9 | 80 | struct Dead { | ---- field in this struct ... 83 | done: oneshot::Sender<()>, | ^^^^ | = note: `Dead` 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: unused `IterOk` in tuple element 0 that must be used --> tests/unsync.rs:105:5 | 105 | / lazy(move || { 106 | | iter_ok(vec![1, 2, 3]) 107 | | .forward(tx) 108 | | .map_err(|e: SendError| panic!("{}", e)) ... | 111 | | })) 112 | | }).wait().unwrap(); | |______________________^ | = note: streams do nothing unless polled warning: field `done` is never read --> tests/oneshot.rs:147:9 | 144 | struct Dead { | ---- field in this struct ... 147 | done: oneshot::Sender<()>, | ^^^^ | = note: `Dead` 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: field `done` is never read --> tests/oneshot.rs:209:9 | 206 | struct Dead { | ---- field in this struct ... 209 | done: oneshot::Sender<()>, | ^^^^ | = note: `Dead` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis warning: field `done` is never read --> tests/unsync-oneshot.rs:145:9 | 142 | struct Dead { | ---- field in this struct ... 145 | done: oneshot::Sender<()>, | ^^^^ | = note: `Dead` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis warning: trait `AssertSend` is never used --> tests/mpsc.rs:21:7 | 21 | trait AssertSend: Send {} | ^^^^^^^^^^ | = note: `#[warn(dead_code)]` on by default warning: field `done` is never read --> tests/mpsc.rs:169:9 | 166 | struct Dead { | ---- field in this struct ... 169 | done: oneshot::Sender<()>, | ^^^^ | = note: `Dead` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis warning: unused `SinkMapErr` in tuple element 1 that must be used --> tests/mpsc.rs:104:9 | 104 | a.send(2).join(b.send(())).wait().unwrap(); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: sinks do nothing unless polled = note: `#[warn(unused_must_use)]` on by default warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing --> tests/mpsc.rs:107:5 | 107 | drop(readyrx.next().unwrap()); | ^^^^^-----------------------^ | | | argument has type `Result<(), ()>` | = note: `#[warn(dropping_copy_types)]` on by default help: use `let _ = ...` to ignore the expression or result | 107 - drop(readyrx.next().unwrap()); 107 + let _ = readyrx.next().unwrap(); | warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing --> tests/mpsc.rs:109:5 | 109 | drop(readyrx.next().unwrap()); | ^^^^^-----------------------^ | | | argument has type `Result<(), ()>` | help: use `let _ = ...` to ignore the expression or result | 109 - drop(readyrx.next().unwrap()); 109 + let _ = readyrx.next().unwrap(); | warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing --> tests/mpsc.rs:526:5 | 526 | drop(readyrx.wait()); | ^^^^^--------------^ | | | argument has type `Result<(), Canceled>` | help: use `let _ = ...` to ignore the expression or result | 526 - drop(readyrx.wait()); 526 + let _ = readyrx.wait(); | warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing --> tests/support/local_executor.rs:162:9 | 162 | drop(self.tx.lock().unwrap().send(id)); | ^^^^^--------------------------------^ | | | argument has type `Result<(), std::sync::mpmc::SendError>` | help: use `let _ = ...` to ignore the expression or result | 162 - drop(self.tx.lock().unwrap().send(id)); 162 + let _ = self.tx.lock().unwrap().send(id); | Running `/usr/bin/rustc --crate-name stream --edition=2015 tests/stream.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="use_std"' --cfg 'feature="with-deprecated"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "nightly", "use_std", "with-deprecated"))' -C metadata=9749b94708740f28 -C extra-filename=-7568d62be697b510 --out-dir /home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps --extern futures=/home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps/libfutures-349b3707f7611b8b.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: `futures` (test "unfold") generated 1 warning (1 duplicate) Running `/usr/bin/rustc --crate-name bilock --edition=2015 tests/bilock.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="use_std"' --cfg 'feature="with-deprecated"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "nightly", "use_std", "with-deprecated"))' -C metadata=eb8e7911aab6dbf8 -C extra-filename=-4c083d8831d2679a --out-dir /home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps --extern futures=/home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps/libfutures-349b3707f7611b8b.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: unnecessary parentheses around function argument --> tests/bilock.rs:64:38 | 64 | let b = stream::iter_ok::<_, ()>((0..N)).fold(b, |b, _n| { | ^ ^ | = note: `#[warn(unused_parens)]` on by default help: remove these parentheses | 64 - let b = stream::iter_ok::<_, ()>((0..N)).fold(b, |b, _n| { 64 + let b = stream::iter_ok::<_, ()>(0..N).fold(b, |b, _n| { | Running `/usr/bin/rustc --crate-name mpsc_close --edition=2015 tests/mpsc-close.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="use_std"' --cfg 'feature="with-deprecated"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "nightly", "use_std", "with-deprecated"))' -C metadata=fcccea964aea9b74 -C extra-filename=-1cbdbceafe64740a --out-dir /home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps --extern futures=/home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps/libfutures-349b3707f7611b8b.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name all --edition=2015 tests/all.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="use_std"' --cfg 'feature="with-deprecated"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "nightly", "use_std", "with-deprecated"))' -C metadata=995cbb665d91fd8d -C extra-filename=-c1a0458f17175c63 --out-dir /home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps --extern futures=/home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps/libfutures-349b3707f7611b8b.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name channel --edition=2015 tests/channel.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="use_std"' --cfg 'feature="with-deprecated"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "nightly", "use_std", "with-deprecated"))' -C metadata=43fdf2f5a66d19e4 -C extra-filename=-cd4a3fc80b574b7d --out-dir /home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps --extern futures=/home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps/libfutures-349b3707f7611b8b.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name future_flatten_stream --edition=2015 tests/future_flatten_stream.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="use_std"' --cfg 'feature="with-deprecated"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "nightly", "use_std", "with-deprecated"))' -C metadata=a8835c48cd60a7bb -C extra-filename=-e79aa6e9ede302cb --out-dir /home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps --extern futures=/home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps/libfutures-349b3707f7611b8b.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: `futures` (test "futures_ordered") generated 1 warning (1 duplicate) Running `/usr/bin/rustc --crate-name inspect --edition=2015 tests/inspect.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="use_std"' --cfg 'feature="with-deprecated"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "nightly", "use_std", "with-deprecated"))' -C metadata=75057116dda31c15 -C extra-filename=-18e17c9b744b006e --out-dir /home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps --extern futures=/home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps/libfutures-349b3707f7611b8b.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: `futures` (test "futures_unordered") generated 1 warning (1 duplicate) Running `/usr/bin/rustc --crate-name fuse --edition=2015 tests/fuse.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="use_std"' --cfg 'feature="with-deprecated"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "nightly", "use_std", "with-deprecated"))' -C metadata=1df377b478e7d88a -C extra-filename=-cf9c99cb85586b08 --out-dir /home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps --extern futures=/home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps/libfutures-349b3707f7611b8b.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name ready_queue --edition=2015 tests/ready_queue.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="use_std"' --cfg 'feature="with-deprecated"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "nightly", "use_std", "with-deprecated"))' -C metadata=e254e73ed4926c22 -C extra-filename=-cc0908d9a2976cf0 --out-dir /home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps --extern futures=/home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps/libfutures-349b3707f7611b8b.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: trait `AssertSendSync` is never used --> tests/ready_queue.rs:11:7 | 11 | trait AssertSendSync: Send + Sync {} | ^^^^^^^^^^^^^^ | = note: `#[warn(dead_code)]` on by default warning: `futures` (test "bilock") generated 2 warnings (1 duplicate) (run `cargo fix --test "bilock"` to apply 1 suggestion) Running `/usr/bin/rustc --crate-name futures --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="use_std"' --cfg 'feature="with-deprecated"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "nightly", "use_std", "with-deprecated"))' -C metadata=ad545bd307d5a46f -C extra-filename=-2f559df635be1a79 --out-dir /home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: `futures` (test "eager_drop") generated 1 warning warning: `futures` (test "channel") generated 1 warning (1 duplicate) warning: `futures` (test "fuse") generated 1 warning (1 duplicate) warning: `futures` (test "sink") generated 1 warning (1 duplicate) warning: `futures` (lib test) generated 16 warnings (16 duplicates) warning: `futures` (test "unsync-oneshot") generated 3 warnings (1 duplicate) warning: `futures` (test "unsync") generated 4 warnings (1 duplicate) warning: `futures` (test "ready_queue") generated 1 warning warning: `futures` (test "shared") generated 1 warning (1 duplicate) warning: `futures` (test "oneshot") generated 3 warnings (1 duplicate) warning: `futures` (test "mpsc") generated 7 warnings warning: `futures` (test "stream") generated 1 warning (1 duplicate) warning: `futures` (test "all") generated 1 warning (1 duplicate) warning: `futures` (test "eventual") generated 1 warning (1 duplicate) Finished `rpm` profile [optimized + debuginfo] target(s) in 16.42s Running `/home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps/futures-2f559df635be1a79` running 1 test test lock::tests::smoke ... 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-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps/all-c1a0458f17175c63` running 12 tests test collect_collects ... ok test flatten ... ok test select_cancels ... ok test spawn_does_unsize ... ok test join_incomplete ... ok test join_cancels ... ok test test_empty ... ok test select2 ... ok test test_ok ... ok test smoke_oneshot ... ok test result_smoke ... ok test option ... ok test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s Running `/home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps/bilock-4c083d8831d2679a` running 2 tests test smoke ... ok test concurrent ... ok test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s Running `/home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps/channel-cd4a3fc80b574b7d` running 4 tests test drop_order ... ok test drop_rx ... ok test drop_sender ... ok test sequence ... ok test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.06s Running `/home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps/eager_drop-4ed48ed585f2d207` running 3 tests test and_then_drops_eagerly ... ok test map_err ... ok test map ... ok test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.02s Running `/home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps/eventual-bdf8178e3d2f3fea` running 23 tests test and_then1 ... ok test map_err2 ... ok test oneshot6 ... ok test oneshot5 ... ok test or_else1 ... ok test and_then2 ... ok test map_err3 ... ok test select2 ... ok test oneshot4 ... ok test or_else2 ... ok test cancel1 ... ok test join2 ... ok test map_err1 ... ok test join1 ... ok test join5 ... ok test select3 ... ok test join4 ... ok test oneshot2 ... ok test join3 ... ok test select1 ... ok test oneshot1 ... ok test oneshot3 ... ok test select4 ... ok test result: ok. 23 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 5.39s Running `/home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps/fuse-cf9c99cb85586b08` running 2 tests test fuse_is_done ... ok test fuse ... ok test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running `/home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps/future_flatten_stream-e79aa6e9ede302cb` running 2 tests test successful_future ... ok test failed_future ... ok test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running `/home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps/futures_ordered-26db6f0c51f4e78c` running 4 tests test works_1 ... ok test queue_never_unblocked ... ok test from_iterator ... ok test works_2 ... ok test result: ok. 4 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running `/home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps/futures_unordered-9525d2075f378e6d` running 7 tests test iter_mut_cancel ... ok test works_1 ... ok test polled_only_once_at_most_per_iteration ... ok test iter_mut_len ... ok test finished_future_ok ... ok test from_iterator ... ok test works_2 ... ok test result: ok. 7 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s Running `/home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps/inspect-18e17c9b744b006e` running 1 test test smoke ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s Running `/home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps/mpsc-e077204c2dbf9999` running 19 tests test send_recv_no_buffer ... ok test send_recv ... ok test spawn_sends_items ... ok test tx_close_gets_none ... ok test bounded_is_really_bounded ... ok test try_send_fail ... ok test recv_close_gets_none ... ok test send_shared_recv ... ok test spawn_kill_dead_stream ... ok test try_send_2 ... ok test send_recv_threads ... ok test send_recv_threads_no_capacity ... ok test stress_shared_unbounded ... ok test try_send_1 ... ok test stress_receiver_multi_task_bounded_hard ... ok test stress_poll_ready ... ok test stress_shared_bounded_hard ... ok test stress_drop_sender ... ok test stress_close_receiver ... ok test result: ok. 19 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 20.37s Running `/home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps/mpsc_close-1cbdbceafe64740a` running 2 tests test smoke ... ok test stress_try_send_as_receiver_closes ... ok test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.04s Running `/home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps/oneshot-401025e5fb03652a` running 10 tests test spawn_sends_items ... ok test spawn_kill_dead_stream ... ok test smoke_poll ... ok test close ... ok test is_canceled ... ok test close_wakes ... ok test cancel_notifies ... ok test cancel_sends ... ok test spawn_dont_kill_forgot_dead_stream ... ok test cancel_lots ... ok test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.24s Running `/home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps/ready_queue-cc0908d9a2976cf0` running 5 tests test basic_usage ... ok test dropping_ready_queue ... ok test resolving_errors ... ok test panicking_future_dropped ... ok test stress ... ok test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.37s Running `/home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps/recurse-afdfc689270d5178` running 1 test test lots ... 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-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps/select_all-6443ad89acc60681` running 1 test test smoke ... 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-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps/select_ok-5707ddc690f97ea4` running 2 tests test ignore_err ... ok test last_err ... ok test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running `/home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps/shared-6291bc7cd279d8d5` running 10 tests test drop_in_poll ... ok test peek ... ok test recursive_poll ... ok test polled_then_ignored ... ok test one_thread ... ok test recursive_poll_with_unpark ... ok test shared_future_that_wakes_itself_until_pending_is_returned ... ok test drop_on_one_task_ok ... ok test two_threads ... ok test many_threads ... ok test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.08s Running `/home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps/sink-4dcd6f75e11d72c4` running 14 tests test buffer_noop ... ok test from_err ... ok test fanout_smoke ... ok test map_err ... ok test buffer ... ok test fanout_backpressure ... ok test mpsc_blocking_start_send ... ok test send ... ok test send_all ... ok test vec_sink ... ok test with_as_map ... ok test with_flat_map ... ok test with_flush ... ok test with_flush_propagate ... ok test result: ok. 14 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running `/home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps/split-e4b71504f6328ed8` running 1 test test test_split ... 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-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps/stream-7568d62be697b510` running 32 tests test chunks_panic_on_cap_zero - should panic ... ok test concat ... ok test concat2 ... ok test buffered ... ok test and_then ... ok test filter_map ... ok test chunks ... ok test filter ... ok test forward ... ok test fold ... ok test from_err ... ok test fuse ... ok test flatten ... ok test inspect ... ok test map ... ok test peek ... ok test select ... ok test or_else ... ok test map_err ... ok test inspect_err ... ok test peekable ... ok test stream_poll_fn ... ok test skip ... ok test take_passes_errors_through ... ok test skip_passes_errors_through ... ok test take ... ok test take_while ... ok test skip_while ... ok test wait ... ok test then ... ok test unordered ... ok test zip ... ok test result: ok. 32 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running `/home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps/stream_catch_unwind-34d79923391ac293` running 2 tests test no_panic ... ok test panic_in_the_middle_of_the_stream ... ok test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running `/home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps/unfold-3440535917cdab0a` running 2 tests test unfold1 ... ok test unfold_err1 ... ok test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running `/home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps/unsync-9bac44478db9649a` running 13 tests test mpsc_backpressure ... ok test mpsc_rx_end ... ok test mpsc_recv_unpark ... ok test mpsc_rx_notready ... ok test mpsc_send_recv ... ok test dropped_sender_of_unused_channel_notifies_receiver ... ok test mpsc_tx_clone_weak_rc ... ok test mpsc_tx_err ... ok test mpsc_send_unpark ... ok test mpsc_tx_notready ... ok test mpsc_unbounded ... ok test spawn_kill_dead_stream ... ok test spawn_sends_items ... ok test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running `/home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps/unsync_oneshot-cf660dffef1c9f40` running 9 tests test is_canceled ... ok test poll_cancel ... ok test canceled ... ok test smoke ... ok test spawn_kill_dead_stream ... ok test spawn_sends_items ... ok test tx_complete_rx_unparked ... ok test tx_dropped_rx_unparked ... ok test spawn_dont_kill_forgot_dead_stream ... ok test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.00s Doc-tests futures Running `/usr/bin/rustdoc --edition=2015 --crate-type lib --color auto --crate-name futures --test src/lib.rs --test-run-directory /home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31 -L dependency=/home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps --extern futures=/home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps/libfutures-349b3707f7611b8b.rlib -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="use_std"' --cfg 'feature="with-deprecated"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "nightly", "use_std", "with-deprecated"))' --error-format human` running 58 tests test src/future/lazy.rs - future::lazy::lazy (line 34) ... ok test src/future/mod.rs - future::Future::select (line 587) - compile ... ok test src/future/mod.rs - future::Future::and_then (line 512) ... ok test src/future/mod.rs - future::Future::or_else (line 553) ... ok test src/future/mod.rs - future::Future::boxed (line 317) ... ok test src/future/mod.rs - future::Future::select (line 610) ... ok test src/future/join_all.rs - future::join_all::join_all (line 54) ... ok test src/future/loop_fn.rs - future::loop_fn::loop_fn (line 39) ... ok test src/future/mod.rs - future::Future::flatten (line 812) ... ok test src/stream/mod.rs - stream::Stream::catch_unwind (line 884) ... ok test src/task_impl/mod.rs - task_impl::UnsafeNotify::drop_raw (line 589) ... ignored test src/future/mod.rs - future::Future::map_err (line 394) ... ok test src/stream/iter_ok.rs - stream::iter_ok::iter_ok (line 22) ... ok test src/future/mod.rs - future::Future::flatten (line 800) ... ok test src/future/mod.rs - future::Future::flatten_stream (line 844) ... ok test src/stream/mod.rs - stream::Stream::by_ref (line 844) ... ok test src/lib.rs - (line 35) ... ok test src/future/mod.rs - future::Future::catch_unwind (line 948) ... ok test src/future/mod.rs - future::Future::from_err (line 434) ... ok test src/future/result.rs - future::result_::result (line 25) ... ok test src/future/mod.rs - future::Future::select2 (line 650) ... ok test src/stream/iter_result.rs - stream::iter_result::iter_result (line 19) ... ok test src/future/mod.rs - future::Future::map (line 363) ... ok test src/future/result.rs - future::result_::ok (line 43) ... ok test src/future/mod.rs - future::Future::join (line 692) ... ok test src/stream/mod.rs - stream::Stream::flatten (line 685) ... ok test src/future/result.rs - future::result_::err (line 59) ... ok test src/stream/mod.rs - stream::Stream::boxed (line 264) ... ok test src/stream/mod.rs - stream::Stream::filter_map (line 396) ... ok test src/future/mod.rs - future::Future::join (line 706) ... ok test src/future/mod.rs - future::Future::into_stream (line 764) ... ok test src/stream/mod.rs - stream::Stream::filter (line 366) ... ok test src/future/mod.rs - future::Future::fuse (line 885) ... ok test src/stream/mod.rs - stream::Stream::map_err (line 336) ... ok test src/stream/mod.rs - stream::Stream::map (line 310) ... ok test src/stream/once.rs - stream::once::once (line 13) ... ok test src/stream/mod.rs - stream::Stream::then (line 435) ... ok test src/future/mod.rs - future::Future::shared (line 996) ... ok test src/stream/iter.rs - stream::iter::iter (line 20) ... ok test src/stream/mod.rs - stream::Stream::and_then (line 481) ... ok test src/future/poll_fn.rs - future::poll_fn::poll_fn (line 20) ... ok test src/future/shared.rs - future::shared (line 6) ... ok test src/stream/unfold.rs - stream::unfold::unfold (line 31) ... ok test src/stream/mod.rs - stream::Stream::chain (line 977) ... ok test src/stream/mod.rs - stream::Stream::fold (line 660) ... ok test src/future/mod.rs - future::Future::map (line 352) ... ok test src/future/mod.rs - future::Future::map_err (line 404) ... ok test src/future/mod.rs - future::Future::shared (line 985) ... ok test src/sink/mod.rs - sink::Sink::with_flat_map (line 339) ... ok test src/sync/oneshot.rs - sync::oneshot::channel (line 82) ... ok test src/stream/mod.rs - stream::Stream::collect (line 545) ... ok test src/future/mod.rs - future::Future::inspect (line 915) ... ok test src/stream/mod.rs - stream::Stream::concat (line 615) ... ok test src/lib.rs - prelude (line 254) ... ok test src/future/mod.rs - future::Future::then (line 468) ... ok test src/stream/poll_fn.rs - stream::poll_fn::poll_fn (line 20) ... ok test src/stream/mod.rs - stream::Stream::concat2 (line 582) ... ok test src/stream/repeat.rs - stream::repeat::repeat (line 27) ... ok test result: ok. 57 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 1.05s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rust-futures0.1-devel-0.1.31-0.1.mga10.noarch warning: File listed twice: /usr/share/cargo/registry/futures-0.1.31/CHANGELOG.md warning: File listed twice: /usr/share/cargo/registry/futures-0.1.31/LICENSE-APACHE warning: File listed twice: /usr/share/cargo/registry/futures-0.1.31/LICENSE-MIT warning: File listed twice: /usr/share/cargo/registry/futures-0.1.31/README.md Provides: crate(futures) = 0.1.31 rust-futures0.1-devel = 0.1.31-0.1.mga10 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo Processing files: rust-futures0.1+default-devel-0.1.31-0.1.mga10.noarch Provides: crate(futures/default) = 0.1.31 rust-futures0.1+default-devel = 0.1.31-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.31 crate(futures/use_std) = 0.1.31 crate(futures/with-deprecated) = 0.1.31 Processing files: rust-futures0.1+nightly-devel-0.1.31-0.1.mga10.noarch Provides: crate(futures/nightly) = 0.1.31 rust-futures0.1+nightly-devel = 0.1.31-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.31 Processing files: rust-futures0.1+use_std-devel-0.1.31-0.1.mga10.noarch Provides: crate(futures/use_std) = 0.1.31 rust-futures0.1+use_std-devel = 0.1.31-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.31 Processing files: rust-futures0.1+with-deprecated-devel-0.1.31-0.1.mga10.noarch Provides: crate(futures/with-deprecated) = 0.1.31 rust-futures0.1+with-deprecated-devel = 0.1.31-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.31 Checking for unpackaged file(s): /usr/lib/rpm/check-files /home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/BUILDROOT Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-futures0.1+nightly-devel-0.1.31-0.1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-futures0.1+with-deprecated-devel-0.1.31-0.1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-futures0.1+default-devel-0.1.31-0.1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-futures0.1+use_std-devel-0.1.31-0.1.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-futures0.1-devel-0.1.31-0.1.mga10.noarch.rpm Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.4pkVJR + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build + test -d /home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w /home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build + rm -rf /home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build + RPM_EC=0 ++ jobs -p + exit 0 RPM build warnings: File listed twice: /usr/share/cargo/registry/futures-0.1.31/CHANGELOG.md File listed twice: /usr/share/cargo/registry/futures-0.1.31/LICENSE-APACHE File listed twice: /usr/share/cargo/registry/futures-0.1.31/LICENSE-MIT File listed twice: /usr/share/cargo/registry/futures-0.1.31/README.md D: [iurt_root_command] Success!