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.2.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.6pJ8QP Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.c7l6ZV + 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.6gJGRX + 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.2OfqGM + 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=4b1015ce06a115db -C extra-filename=-7ea03b3a025d45b3 --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: hiding a lifetime that's elided elsewhere is confusing --> src/stream/futures_unordered.rs:196:21 | 196 | pub fn iter_mut(&mut self) -> IterMut { | ^^^^^^^^^ ---------- the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default help: use `'_` for type paths | 196 | pub fn iter_mut(&mut self) -> IterMut<'_, T> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/lock.rs:57:21 | 57 | pub fn try_lock(&self) -> Option> { | ^^^^^ ---------- the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 57 | pub fn try_lock(&self) -> Option> { | +++ 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: hiding a lifetime that's elided elsewhere is confusing --> src/sync/bilock.rs:80:22 | 80 | pub fn poll_lock(&self) -> Async> { | ^^^^^ -------------- the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 80 | pub fn poll_lock(&self) -> Async> { | +++ warning: `futures` (lib) generated 19 warnings (run `cargo fix --lib -p futures` to apply 1 suggestion) Finished `rpm` profile [optimized + debuginfo] target(s) in 2.54s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.5AfLPt + 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 + 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 + /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)' 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.5nUTAq + 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: hiding a lifetime that's elided elsewhere is confusing --> src/stream/futures_unordered.rs:196:21 | 196 | pub fn iter_mut(&mut self) -> IterMut { | ^^^^^^^^^ ---------- the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default help: use `'_` for type paths | 196 | pub fn iter_mut(&mut self) -> IterMut<'_, T> { | +++ warning: hiding a lifetime that's elided elsewhere is confusing --> src/lock.rs:57:21 | 57 | pub fn try_lock(&self) -> Option> { | ^^^^^ ---------- the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 57 | pub fn try_lock(&self) -> Option> { | +++ 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: hiding a lifetime that's elided elsewhere is confusing --> src/sync/bilock.rs:80:22 | 80 | pub fn poll_lock(&self) -> Async> { | ^^^^^ -------------- the same lifetime is hidden here | | | the lifetime is elided here | = help: the same lifetime is referred to in inconsistent ways, making the signature confusing help: use `'_` for type paths | 80 | pub fn poll_lock(&self) -> Async> { | +++ warning: `futures` (lib) generated 19 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_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=e2c753a49057ccbb -C extra-filename=-6cb7d888fdc97ad1 --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-7ea03b3a025d45b3.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=41295d57f2f7e0c9 -C extra-filename=-28f3bb7d76ee8428 --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-7ea03b3a025d45b3.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=f659aaf82944e9f1 -C extra-filename=-fead14fc4a2e6f40 --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-7ea03b3a025d45b3.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=0a5ef1eebff0d23b -C extra-filename=-f35e785c98cfc426 --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-7ea03b3a025d45b3.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=256c5fc6147554dd -C extra-filename=-af7262ab9185eb9e --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-7ea03b3a025d45b3.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` 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=4b74430678807094 -C extra-filename=-53fd1f768d2946ea --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-7ea03b3a025d45b3.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=04dc35decc4b99c7 -C extra-filename=-b1500452f082c2e6 --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-7ea03b3a025d45b3.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` 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=0470dd3d158e513a -C extra-filename=-8fd09cca233c688f --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-7ea03b3a025d45b3.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=9282b9e5333a1cee -C extra-filename=-a76348983570121c --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-7ea03b3a025d45b3.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=6dde91b6859414e9 -C extra-filename=-df49d8d02da3371a --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-7ea03b3a025d45b3.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` 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=60875f13732b4476 -C extra-filename=-8bd0e76b7dc473fd --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-7ea03b3a025d45b3.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=9693c40e8362750f -C extra-filename=-a2b0fdf40cc5e7de --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-7ea03b3a025d45b3.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=4b75763de646ed71 -C extra-filename=-2d99654698faa676 --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-7ea03b3a025d45b3.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=7eac8863cbfeeb7f -C extra-filename=-4079886708a5f1f5 --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-7ea03b3a025d45b3.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=c07ac8e63f54e6df -C extra-filename=-60ac649a5d03b581 --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-7ea03b3a025d45b3.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=98a343fde7df6b3e -C extra-filename=-bc93dd20255e2fb2 --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-7ea03b3a025d45b3.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| { | 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: 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: 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 `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: 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: 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: 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: 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: 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 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=3e6ce668d4dc6c36 -C extra-filename=-5b06f65e65c7ce69 --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-7ea03b3a025d45b3.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=5cdf968095ef5a63 -C extra-filename=-149abb7e5a3ccd6d --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-7ea03b3a025d45b3.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 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=38a27f812bc8ccd8 -C extra-filename=-e2c7abb440bdbc6e --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-7ea03b3a025d45b3.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=a2215975e46c6860 -C extra-filename=-6c7cd66bfdd3570b --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-7ea03b3a025d45b3.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` 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=9c135b2a1ac64fbb -C extra-filename=-6591c35b5a59e894 --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-7ea03b3a025d45b3.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 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=7d3acfc1144962c3 -C extra-filename=-bd738661df9dd19a --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-7ea03b3a025d45b3.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: `futures` (test "fuse") generated 1 warning (1 duplicate) 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=cc2ac208b87a617a -C extra-filename=-5099eaf0e26e05c1 --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-7ea03b3a025d45b3.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` 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_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=f942ad0ee574180e -C extra-filename=-543632101ffa03e9 --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-7ea03b3a025d45b3.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` 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=e015961907a35b74 -C extra-filename=-ef427d9699364872 --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 "channel") generated 1 warning 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=dd15536bdc8980c3 -C extra-filename=-cacedf61aff24434 --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-7ea03b3a025d45b3.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: `futures` (test "futures_unordered") generated 1 warning (1 duplicate) warning: `futures` (test "ready_queue") generated 1 warning warning: `futures` (test "sink") generated 1 warning (1 duplicate) warning: `futures` (test "eager_drop") generated 1 warning (1 duplicate) warning: `futures` (lib test) generated 19 warnings (19 duplicates) warning: `futures` (test "unsync-oneshot") generated 3 warnings (1 duplicate) warning: `futures` (test "futures_ordered") generated 1 warning (1 duplicate) warning: `futures` (test "unsync") generated 4 warnings (1 duplicate) warning: `futures` (test "oneshot") generated 3 warnings (1 duplicate) warning: `futures` (test "shared") generated 1 warning (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 15.61s Running `/home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps/futures-ef427d9699364872` 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-cacedf61aff24434` running 12 tests test flatten ... ok test collect_collects ... ok test join_incomplete ... ok test option ... ok test result_smoke ... ok test join_cancels ... ok test spawn_does_unsize ... ok test test_empty ... ok test select_cancels ... ok test smoke_oneshot ... ok test test_ok ... ok test select2 ... ok test result: ok. 12 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/bilock-8bd0e76b7dc473fd` 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.00s Running `/home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps/channel-60ac649a5d03b581` 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.00s Running `/home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps/eager_drop-6c7cd66bfdd3570b` running 3 tests test map_err ... ok test map ... ok test and_then_drops_eagerly ... ok test result: ok. 3 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/eventual-bd738661df9dd19a` running 23 tests test and_then1 ... ok test cancel1 ... ok test and_then2 ... ok test join2 ... ok test join1 ... ok test join4 ... ok test join5 ... ok test map_err1 ... ok test join3 ... ok test map_err2 ... ok test oneshot4 ... ok test oneshot3 ... ok test oneshot6 ... ok test oneshot2 ... ok test or_else1 ... ok test select3 ... ok test map_err3 ... ok test select1 ... ok test or_else2 ... ok test oneshot1 ... ok test oneshot5 ... ok test select2 ... ok test select4 ... ok test result: ok. 23 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.62s Running `/home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps/fuse-e2c7abb440bdbc6e` running 2 tests test fuse ... ok test fuse_is_done ... 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-a2b0fdf40cc5e7de` running 2 tests test failed_future ... ok test successful_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-543632101ffa03e9` running 4 tests test queue_never_unblocked ... ok test works_2 ... ok test from_iterator ... ok test works_1 ... 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-6cb7d888fdc97ad1` running 7 tests test finished_future_ok ... ok test from_iterator ... ok test iter_mut_cancel ... ok test iter_mut_len ... ok test works_1 ... ok test polled_only_once_at_most_per_iteration ... ok test works_2 ... ok test result: ok. 7 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/inspect-6591c35b5a59e894` 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/mpsc-bc93dd20255e2fb2` running 19 tests test recv_close_gets_none ... ok test bounded_is_really_bounded ... ok test send_recv_no_buffer ... ok test send_recv ... ok test send_shared_recv ... ok test spawn_kill_dead_stream ... ok test send_recv_threads ... ok test spawn_sends_items ... ok test send_recv_threads_no_capacity ... ok test tx_close_gets_none ... ok test try_send_fail ... ok test try_send_2 ... ok test try_send_1 ... ok test stress_shared_unbounded ... ok test stress_poll_ready ... ok test stress_receiver_multi_task_bounded_hard ... 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 1.15s Running `/home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps/mpsc_close-53fd1f768d2946ea` 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 9.67s Running `/home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps/oneshot-fead14fc4a2e6f40` running 10 tests test close ... ok test is_canceled ... ok test smoke_poll ... ok test spawn_kill_dead_stream ... ok test close_wakes ... ok test spawn_sends_items ... ok test cancel_sends ... ok test cancel_notifies ... 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 5.94s Running `/home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps/ready_queue-149abb7e5a3ccd6d` running 5 tests test dropping_ready_queue ... ok test basic_usage ... 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.46s Running `/home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps/recurse-2d99654698faa676` 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-28f3bb7d76ee8428` 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-df49d8d02da3371a` 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-5099eaf0e26e05c1` running 10 tests test drop_in_poll ... ok test polled_then_ignored ... ok test recursive_poll ... ok test recursive_poll_with_unpark ... ok test peek ... ok test drop_on_one_task_ok ... ok test shared_future_that_wakes_itself_until_pending_is_returned ... ok test two_threads ... ok test one_thread ... ok test many_threads ... ok test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.14s Running `/home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps/sink-f35e785c98cfc426` running 14 tests test buffer ... ok test fanout_backpressure ... ok test buffer_noop ... ok test fanout_smoke ... ok test from_err ... ok test map_err ... 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-b1500452f082c2e6` 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-8fd09cca233c688f` running 32 tests test buffered ... ok test concat2 ... ok test and_then ... ok test concat ... ok test chunks_panic_on_cap_zero - should panic ... ok test forward ... ok test filter_map ... ok test filter ... ok test inspect_err ... ok test map_err ... ok test select ... ok test fuse ... ok test from_err ... ok test inspect ... ok test chunks ... ok test map ... ok test flatten ... ok test peek ... ok test peekable ... ok test skip_passes_errors_through ... ok test or_else ... ok test skip ... ok test fold ... ok test stream_poll_fn ... ok test take_passes_errors_through ... ok test take_while ... ok test skip_while ... ok test then ... ok test wait ... ok test take ... ok test unordered ... ok test zip ... ok test result: ok. 32 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/stream_catch_unwind-a76348983570121c` 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-5b06f65e65c7ce69` running 2 tests test unfold_err1 ... ok test unfold1 ... 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-4079886708a5f1f5` running 13 tests test mpsc_backpressure ... ok test mpsc_rx_end ... ok test mpsc_recv_unpark ... ok test dropped_sender_of_unused_channel_notifies_receiver ... ok test mpsc_rx_notready ... ok test mpsc_send_recv ... ok test mpsc_send_unpark ... ok test mpsc_tx_clone_weak_rc ... ok test mpsc_tx_err ... 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-af7262ab9185eb9e` running 9 tests test canceled ... ok test is_canceled ... ok test poll_cancel ... 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-7ea03b3a025d45b3.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/mod.rs - future::Future::select (line 587) - compile ... ok test src/future/lazy.rs - future::lazy::lazy (line 34) ... ok test src/future/mod.rs - future::Future::select2 (line 650) ... ok test src/future/mod.rs - future::Future::catch_unwind (line 948) ... ok test src/future/mod.rs - future::Future::boxed (line 317) ... ok test src/future/loop_fn.rs - future::loop_fn::loop_fn (line 39) ... ok test src/future/mod.rs - future::Future::from_err (line 434) ... ok test src/future/mod.rs - future::Future::then (line 468) ... ok test src/future/mod.rs - future::Future::fuse (line 885) ... ok test src/future/mod.rs - future::Future::into_stream (line 764) ... ok test src/task_impl/mod.rs - task_impl::UnsafeNotify::drop_raw (line 589) ... ignored test src/future/mod.rs - future::Future::select (line 610) ... ok test src/future/poll_fn.rs - future::poll_fn::poll_fn (line 20) ... ok test src/future/mod.rs - future::Future::map_err (line 394) ... ok test src/future/mod.rs - future::Future::and_then (line 512) ... ok test src/future/mod.rs - future::Future::map (line 363) ... ok test src/lib.rs - (line 35) ... ok test src/future/mod.rs - future::Future::join (line 706) ... ok test src/future/result.rs - future::result_::err (line 59) ... ok test src/stream/iter.rs - stream::iter::iter (line 20) ... ok test src/future/mod.rs - future::Future::or_else (line 553) ... ok test src/future/result.rs - future::result_::result (line 25) ... ok test src/stream/mod.rs - stream::Stream::by_ref (line 844) ... ok test src/stream/iter_ok.rs - stream::iter_ok::iter_ok (line 22) ... ok test src/stream/mod.rs - stream::Stream::filter_map (line 396) ... ok test src/future/result.rs - future::result_::ok (line 43) ... ok test src/future/mod.rs - future::Future::map_err (line 404) ... ok test src/stream/mod.rs - stream::Stream::and_then (line 481) ... ok test src/future/mod.rs - future::Future::flatten_stream (line 844) ... ok test src/future/mod.rs - future::Future::flatten (line 812) ... ok test src/lib.rs - prelude (line 254) ... ok test src/stream/mod.rs - stream::Stream::chain (line 977) ... ok test src/future/mod.rs - future::Future::flatten (line 800) ... ok test src/future/mod.rs - future::Future::join (line 692) ... ok test src/stream/mod.rs - stream::Stream::catch_unwind (line 884) ... ok test src/stream/iter_result.rs - stream::iter_result::iter_result (line 19) ... ok test src/future/join_all.rs - future::join_all::join_all (line 54) ... ok test src/stream/mod.rs - stream::Stream::filter (line 366) ... ok test src/future/mod.rs - future::Future::inspect (line 915) ... ok test src/stream/mod.rs - stream::Stream::fold (line 660) ... ok test src/stream/once.rs - stream::once::once (line 13) ... ok test src/future/mod.rs - future::Future::map (line 352) ... ok test src/stream/mod.rs - stream::Stream::map (line 310) ... ok test src/stream/poll_fn.rs - stream::poll_fn::poll_fn (line 20) ... 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/sink/mod.rs - sink::Sink::with_flat_map (line 339) ... ok test src/future/mod.rs - future::Future::shared (line 985) ... ok test src/stream/mod.rs - stream::Stream::concat2 (line 582) ... ok test src/stream/mod.rs - stream::Stream::flatten (line 685) ... ok test src/stream/repeat.rs - stream::repeat::repeat (line 27) ... ok test src/stream/mod.rs - stream::Stream::boxed (line 264) ... ok test src/stream/unfold.rs - stream::unfold::unfold (line 31) ... ok test src/future/shared.rs - future::shared (line 6) ... ok test src/stream/mod.rs - stream::Stream::map_err (line 336) ... ok test src/stream/mod.rs - stream::Stream::then (line 435) ... ok test src/stream/mod.rs - stream::Stream::concat (line 615) ... ok test src/future/mod.rs - future::Future::shared (line 996) ... ok test result: ok. 57 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.95s + RPM_EC=0 ++ jobs -p + exit 0 Processing files: rust-futures0.1-devel-0.1.31-0.2.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.2.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.2.mga10.noarch Provides: crate(futures/default) = 0.1.31 rust-futures0.1+default-devel = 0.1.31-0.2.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.2.mga10.noarch Provides: crate(futures/nightly) = 0.1.31 rust-futures0.1+nightly-devel = 0.1.31-0.2.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.2.mga10.noarch Provides: crate(futures/use_std) = 0.1.31 rust-futures0.1+use_std-devel = 0.1.31-0.2.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.2.mga10.noarch Provides: crate(futures/with-deprecated) = 0.1.31 rust-futures0.1+with-deprecated-devel = 0.1.31-0.2.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+use_std-devel-0.1.31-0.2.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-futures0.1+nightly-devel-0.1.31-0.2.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-futures0.1+default-devel-0.1.31-0.2.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-futures0.1+with-deprecated-devel-0.1.31-0.2.mga10.noarch.rpm Wrote: /home/pterjan/rpmbuild/RPMS/noarch/rust-futures0.1-devel-0.1.31-0.2.mga10.noarch.rpm Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.5wka68 + 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!