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.U103nh Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.mOewy2 + 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/bin/patch -p1 -s --fuzz=0 --no-backup-if-mismatch -f + /usr/lib/rpm/rpmuncompress /home/pterjan/rpmbuild/SOURCES/0001-Fix-logic-bug-in-stream-Stream-filter_map-doctest.patch + 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.w1YnjK + 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.2vqkeW + 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=43ed08003b3931d3 -C extra-filename=-62000054ed4a14fd --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)]` (part of `#[warn(rust_2018_compatibility)]`) 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)]` (part of `#[warn(unused)]`) 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 4 suggestions) Finished `rpm` profile [optimized + debuginfo] target(s) in 3.32s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.89aYvo + 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 + grep -w -E -v 'Cargo.(lock|toml.orig)' + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' /usr/bin/cargo package -l warning: no (git) VCS found for `/home/pterjan/rpmbuild/BUILD/rust-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.LWyEKE + 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)]` (part of `#[warn(rust_2018_compatibility)]`) 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)]` (part of `#[warn(unused)]`) 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 4 suggestions) 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 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=ff8a208ea9e7417b -C extra-filename=-2539ede10e2c23f7 --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-62000054ed4a14fd.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=e4fa6969687de114 -C extra-filename=-361bdd7a075d81b6 --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-62000054ed4a14fd.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` 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=cbbf309e8f3f0fee -C extra-filename=-88dd0edaf2e57136 --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-62000054ed4a14fd.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=14ff0b7ba7385c83 -C extra-filename=-9f9781a6f243569e --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-62000054ed4a14fd.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` 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=13f4b9e96bf191c8 -C extra-filename=-573963b7f3b0f5b2 --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-62000054ed4a14fd.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=afa2ba0c750de325 -C extra-filename=-abcde503c5a67001 --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-62000054ed4a14fd.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=bcbda92dbc556933 -C extra-filename=-e87a0a28694d7b42 --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-62000054ed4a14fd.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=175d376711d0273c -C extra-filename=-3576990bf51477c4 --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-62000054ed4a14fd.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=e2fd1694bedddd60 -C extra-filename=-43815d86abce49c6 --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-62000054ed4a14fd.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=26b730ce023fd044 -C extra-filename=-0af4d55c5fdc1ea5 --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-62000054ed4a14fd.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=4aff948bcacb0ca8 -C extra-filename=-fa494ee7ee939bf3 --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-62000054ed4a14fd.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=a7cf3b93ed375b7c -C extra-filename=-64b3fcaccd36230d --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-62000054ed4a14fd.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=c8d74c18234cdce9 -C extra-filename=-74bf2ce6876307d1 --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-62000054ed4a14fd.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=b64540d6bebb233e -C extra-filename=-5f0a651860b5b8c4 --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-62000054ed4a14fd.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=4bc83ca4844bcfe9 -C extra-filename=-7bde6f68c7d99750 --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-62000054ed4a14fd.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=39e4718ed849f9d6 -C extra-filename=-35427f9c6db6e5dc --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-62000054ed4a14fd.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)]` (part of `#[warn(unused)]`) 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: 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: trait `AssertSendSync` is never used --> tests/ready_queue.rs:11:7 | 11 | trait AssertSendSync: Send + Sync {} | ^^^^^^^^^^^^^^ | = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default 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)]` (part of `#[warn(unused)]`) 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: trait `AssertSend` is never used --> tests/mpsc.rs:21:7 | 21 | trait AssertSend: Send {} | ^^^^^^^^^^ | = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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); | 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)]` (part of `#[warn(unused)]`) 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 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=d3dc753e5e368806 -C extra-filename=-453812ccb1c885fc --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-62000054ed4a14fd.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=457ee0a78cf8f770 -C extra-filename=-f7ea448cf2eca275 --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-62000054ed4a14fd.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=ffe497a07a6a5da2 -C extra-filename=-88da72d8c19d1d9f --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-62000054ed4a14fd.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: `futures` (test "fuse") generated 1 warning 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=151dc9c08b0fe193 -C extra-filename=-fbd7d4fd88191826 --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-62000054ed4a14fd.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 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=0e5fcab41c2a39dd -C extra-filename=-45102a0a5e79f9e3 --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-62000054ed4a14fd.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=a6cb5ec38ce05cce -C extra-filename=-ff50992bedaad3e5 --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-62000054ed4a14fd.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=4e3305128c050482 -C extra-filename=-4d941c9332a6c6dc --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-62000054ed4a14fd.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: `futures` (test "channel") generated 1 warning (1 duplicate) 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=f611e023aec1c75d -C extra-filename=-04bc341ff97f64ff --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-62000054ed4a14fd.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 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=47ded7ba7b1610bd -C extra-filename=-aba1bed32dff8082 --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-62000054ed4a14fd.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=50bf246fc7911af4 -C extra-filename=-b66204657a35c665 --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 "ready_queue") generated 1 warning warning: `futures` (test "futures_ordered") generated 1 warning (1 duplicate) warning: `futures` (test "eager_drop") generated 1 warning (1 duplicate) warning: `futures` (test "sink") generated 1 warning (1 duplicate) warning: `futures` (test "unsync-oneshot") generated 3 warnings (1 duplicate) warning: `futures` (lib test) generated 19 warnings (19 duplicates) warning: `futures` (test "futures_unordered") 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 17.28s Running `/home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps/futures-b66204657a35c665` 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.03s Running `/home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps/all-ff50992bedaad3e5` running 12 tests test collect_collects ... ok test join_incomplete ... ok test test_ok ... ok test option ... ok test result_smoke ... ok test test_empty ... ok test flatten ... ok test select_cancels ... ok test join_cancels ... ok test spawn_does_unsize ... ok test select2 ... ok test smoke_oneshot ... ok test result: ok. 12 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s Running `/home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps/bilock-64b3fcaccd36230d` 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.01s Running `/home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps/channel-9f9781a6f243569e` running 4 tests test drop_sender ... ok test drop_order ... ok test drop_rx ... ok test sequence ... ok test result: ok. 4 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/eager_drop-453812ccb1c885fc` running 3 tests test map ... ok test map_err ... ok test and_then_drops_eagerly ... ok test result: ok. 3 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/eventual-fbd7d4fd88191826` running 23 tests test join3 ... ok test cancel1 ... ok test oneshot6 ... ok test map_err1 ... ok test or_else1 ... ok test join5 ... ok test join2 ... ok test select1 ... ok test oneshot3 ... ok test or_else2 ... ok test and_then2 ... ok test join4 ... ok test select3 ... ok test map_err3 ... ok test oneshot5 ... ok test oneshot2 ... ok test select2 ... ok test join1 ... ok test oneshot4 ... ok test and_then1 ... ok test oneshot1 ... ok test map_err2 ... ok test select4 ... ok test result: ok. 23 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 5.60s Running `/home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps/fuse-573963b7f3b0f5b2` 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-abcde503c5a67001` 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-88dd0edaf2e57136` running 4 tests test from_iterator ... ok test queue_never_unblocked ... ok test works_1 ... 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-aba1bed32dff8082` running 7 tests test finished_future_ok ... ok test from_iterator ... ok test iter_mut_cancel ... ok test iter_mut_len ... ok test polled_only_once_at_most_per_iteration ... ok test works_1 ... 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-361bdd7a075d81b6` 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-fa494ee7ee939bf3` running 19 tests test bounded_is_really_bounded ... ok test send_recv_no_buffer ... ok test recv_close_gets_none ... ok test send_recv ... ok test send_shared_recv ... ok test send_recv_threads ... ok test spawn_sends_items ... ok test spawn_kill_dead_stream ... ok test try_send_fail ... ok test send_recv_threads_no_capacity ... ok test tx_close_gets_none ... 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.29s Running `/home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps/mpsc_close-7bde6f68c7d99750` 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 8.93s Running `/home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps/oneshot-5f0a651860b5b8c4` running 10 tests test is_canceled ... ok test close ... ok test smoke_poll ... ok test spawn_sends_items ... ok test spawn_kill_dead_stream ... ok test cancel_notifies ... ok test cancel_sends ... ok test close_wakes ... 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 6.43s Running `/home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps/ready_queue-3576990bf51477c4` running 5 tests test basic_usage ... ok test resolving_errors ... ok test dropping_ready_queue ... 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.42s Running `/home/pterjan/rpmbuild/BUILD/rust-futures0.1-0.1.31-build/futures-0.1.31/target/rpm/deps/recurse-e87a0a28694d7b42` 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-0af4d55c5fdc1ea5` 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-43815d86abce49c6` 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-f7ea448cf2eca275` running 10 tests test drop_in_poll ... ok test peek ... ok test polled_then_ignored ... ok test recursive_poll_with_unpark ... ok test drop_on_one_task_ok ... ok test one_thread ... ok test shared_future_that_wakes_itself_until_pending_is_returned ... ok test recursive_poll ... 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-74bf2ce6876307d1` running 14 tests test buffer ... ok test buffer_noop ... ok test map_err ... ok test fanout_backpressure ... ok test fanout_smoke ... ok test send ... ok test send_all ... ok test from_err ... ok test mpsc_blocking_start_send ... 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-35427f9c6db6e5dc` 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-04bc341ff97f64ff` running 32 tests test chunks_panic_on_cap_zero - should panic ... ok test concat ... ok test filter ... ok test concat2 ... ok test buffered ... ok test and_then ... ok test forward ... ok test fold ... ok test fuse ... ok test filter_map ... ok test inspect_err ... ok test from_err ... ok test map ... ok test or_else ... ok test inspect ... ok test map_err ... ok test peek ... ok test select ... ok test peekable ... ok test skip_passes_errors_through ... ok test flatten ... ok test stream_poll_fn ... ok test skip ... ok test chunks ... ok test skip_while ... ok test take_passes_errors_through ... ok test take_while ... ok test take ... ok test then ... ok test wait ... 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-88da72d8c19d1d9f` 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-45102a0a5e79f9e3` 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-4d941c9332a6c6dc` running 13 tests test mpsc_backpressure ... ok test dropped_sender_of_unused_channel_notifies_receiver ... ok test mpsc_rx_end ... ok test mpsc_recv_unpark ... ok test mpsc_rx_notready ... ok test mpsc_send_recv ... ok test mpsc_tx_clone_weak_rc ... ok test mpsc_send_unpark ... ok test mpsc_tx_err ... ok test mpsc_tx_notready ... ok test mpsc_unbounded ... ok test spawn_sends_items ... ok test spawn_kill_dead_stream ... 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-2539ede10e2c23f7` running 9 tests test is_canceled ... ok test smoke ... ok test poll_cancel ... ok test canceled ... ok test spawn_kill_dead_stream ... ok test spawn_sends_items ... ok test tx_dropped_rx_unparked ... ok test tx_complete_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-62000054ed4a14fd.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/mod.rs - future::Future::or_else (line 553) ... ok test src/future/mod.rs - future::Future::select2 (line 650) ... ok test src/future/result.rs - future::result_::err (line 59) ... ok test src/future/mod.rs - future::Future::select (line 610) ... ok test src/future/lazy.rs - future::lazy::lazy (line 34) ... ok test src/future/mod.rs - future::Future::map_err (line 404) ... ok test src/stream/iter_result.rs - stream::iter_result::iter_result (line 19) ... ok test src/future/mod.rs - future::Future::into_stream (line 764) ... ok test src/future/mod.rs - future::Future::boxed (line 317) ... ok test src/task_impl/mod.rs - task_impl::UnsafeNotify::drop_raw (line 589) ... ignored test src/future/mod.rs - future::Future::and_then (line 512) ... ok test src/future/join_all.rs - future::join_all::join_all (line 54) ... ok test src/future/result.rs - future::result_::ok (line 43) ... ok test src/future/mod.rs - future::Future::from_err (line 434) ... ok test src/future/mod.rs - future::Future::inspect (line 915) ... ok test src/future/poll_fn.rs - future::poll_fn::poll_fn (line 20) ... ok test src/future/mod.rs - future::Future::map (line 363) ... ok test src/future/mod.rs - future::Future::map_err (line 394) ... ok test src/future/mod.rs - future::Future::fuse (line 885) ... ok test src/lib.rs - prelude (line 254) ... ok test src/stream/mod.rs - stream::Stream::filter_map (line 396) ... ok test src/future/loop_fn.rs - future::loop_fn::loop_fn (line 39) ... ok test src/future/mod.rs - future::Future::join (line 706) ... ok test src/future/mod.rs - future::Future::flatten (line 800) ... ok test src/future/mod.rs - future::Future::shared (line 996) ... ok test src/future/mod.rs - future::Future::flatten_stream (line 844) ... ok test src/future/result.rs - future::result_::result (line 25) ... ok test src/stream/mod.rs - stream::Stream::fold (line 660) ... ok test src/future/mod.rs - future::Future::join (line 692) ... ok test src/future/mod.rs - future::Future::then (line 468) ... ok test src/lib.rs - (line 35) ... ok test src/future/mod.rs - future::Future::catch_unwind (line 948) ... 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/repeat.rs - stream::repeat::repeat (line 27) ... ok test src/stream/mod.rs - stream::Stream::filter (line 366) ... ok test src/future/mod.rs - future::Future::map (line 352) ... ok test src/stream/mod.rs - stream::Stream::boxed (line 264) ... ok test src/future/shared.rs - future::shared (line 6) ... ok test src/stream/poll_fn.rs - stream::poll_fn::poll_fn (line 20) ... ok test src/stream/iter_ok.rs - stream::iter_ok::iter_ok (line 22) ... ok test src/stream/mod.rs - stream::Stream::then (line 435) ... 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/mod.rs - future::Future::shared (line 985) ... ok test src/stream/mod.rs - stream::Stream::chain (line 977) ... 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/future/mod.rs - future::Future::flatten (line 812) ... ok test src/stream/mod.rs - stream::Stream::by_ref (line 844) ... ok test src/stream/mod.rs - stream::Stream::flatten (line 685) ... ok test src/stream/mod.rs - stream::Stream::map_err (line 336) ... ok test src/stream/mod.rs - stream::Stream::collect (line 545) ... ok test src/stream/mod.rs - stream::Stream::catch_unwind (line 884) ... ok test src/stream/unfold.rs - stream::unfold::unfold (line 31) ... ok test src/stream/mod.rs - stream::Stream::concat (line 615) ... ok test src/stream/mod.rs - stream::Stream::concat2 (line 582) ... ok test result: ok. 57 passed; 0 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.70s + 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+default-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+with-deprecated-devel-0.1.31-0.2.mga10.noarch.rpm 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-devel-0.1.31-0.2.mga10.noarch.rpm Executing(rmbuild): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.o4jqIN + 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!