D: [iurt_root_command] chroot Installing /home/pterjan/rpmbuild/SRPMS/rust-futures01-0.1.19-1.mga10.src.rpm Building target platforms: x86_64 Building for target x86_64 Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.mKiXLY + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD + rm -rf futures-0.1.19 + /usr/lib/rpm/rpmuncompress -x /home/pterjan/rpmbuild/SOURCES/futures-0.1.19.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd futures-0.1.19 + rm -rf /home/pterjan/rpmbuild/BUILD/futures-0.1.19-SPECPARTS + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/futures-0.1.19-SPECPARTS + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + set -eu + /usr/bin/mkdir -p .cargo + cat + /usr/bin/rm -f Cargo.lock + /usr/bin/rm -f Cargo.toml.orig + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.UtPk70 + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd futures-0.1.19 + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' /usr/bin/cargo build -j8 -Z avoid-dev-deps --release Compiling futures v0.1.19 (/home/pterjan/rpmbuild/BUILD/futures-0.1.19) Running `/usr/bin/rustc --crate-name futures 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 --cfg 'feature="default"' --cfg 'feature="use_std"' --cfg 'feature="with-deprecated"' -C metadata=00d841c8597a556d -C extra-filename=-00d841c8597a556d --out-dir /home/pterjan/rpmbuild/BUILD/futures-0.1.19/target/release/deps -L dependency=/home/pterjan/rpmbuild/BUILD/futures-0.1.19/target/release/deps -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn` warning: anonymous parameters are deprecated and will be removed in the next edition --> src/future/mod.rs:1083:20 | 1083 | 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 constant `core::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred --> src/task_impl/mod.rs:27:53 | 27 | use core::sync::atomic::{AtomicUsize, Ordering, ATOMIC_USIZE_INIT}; | ^^^^^^^^^^^^^^^^^ | = note: `#[warn(deprecated)]` on by default warning: use of deprecated constant `core::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred --> src/task_impl/mod.rs:34:35 | 34 | static NEXT_ID: AtomicUsize = ATOMIC_USIZE_INIT; | ^^^^^^^^^^^^^^^^^ | help: replace the use of the deprecated constant | 34 | static NEXT_ID: AtomicUsize = AtomicUsize::new(0); | ~~~~~~~~~~~~~~~~~~~ warning: use of deprecated constant `core::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred --> src/task_impl/core.rs:5:39 | 5 | use core::sync::atomic::{AtomicUsize, ATOMIC_USIZE_INIT}; | ^^^^^^^^^^^^^^^^^ warning: use of deprecated constant `core::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred --> src/task_impl/core.rs:87:27 | 87 | static GET: AtomicUsize = ATOMIC_USIZE_INIT; | ^^^^^^^^^^^^^^^^^ | help: replace the use of the deprecated constant | 87 | static GET: AtomicUsize = AtomicUsize::new(0); | ~~~~~~~~~~~~~~~~~~~ warning: use of deprecated constant `core::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred --> src/task_impl/core.rs:88:27 | 88 | static SET: AtomicUsize = ATOMIC_USIZE_INIT; | ^^^^^^^^^^^^^^^^^ | help: replace the use of the deprecated constant | 88 | static SET: AtomicUsize = AtomicUsize::new(0); | ~~~~~~~~~~~~~~~~~~~ warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred --> src/task_impl/std/mod.rs:8:44 | 8 | use std::sync::{Arc, Mutex, Condvar, Once, ONCE_INIT}; | ^^^^^^^^^ warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred --> src/task_impl/std/mod.rs:30:21 | 30 | static INIT: Once = ONCE_INIT; | ^^^^^^^^^ | help: replace the use of the deprecated constant | 30 | static INIT: Once = Once::new(); | ~~~~~~~~~~~ warning: trait objects without an explicit `dyn` are deprecated --> src/task_impl/core.rs:19:12 | 19 | f: &'a Fn() -> NotifyHandle, | ^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see = note: `#[warn(bare_trait_objects)]` on by default help: use `dyn` | 19 | f: &'a dyn Fn() -> NotifyHandle, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/task_impl/std/mod.rs:88:17 | 88 | Old(&'a Arc), | ^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 88 | Old(&'a Arc), | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/task_impl/std/mod.rs:102:13 | 102 | Old(Arc), | ^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 102 | Old(Arc), | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/task_impl/std/mod.rs:429:22 | 429 | spawn: Spawn + Send>>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 429 | spawn: Spawn + Send>>, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/task_impl/std/mod.rs:435:15 | 435 | exec: Arc, | ^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 435 | exec: Arc, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/task_impl/std/mod.rs:621:14 | 621 | set: Arc, | ^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 621 | set: Arc, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/task_impl/std/data.rs:35:41 | 35 | ... Box, | ^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 35 | Box, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/task_impl/mod.rs:598:17 | 598 | inner: *mut UnsafeNotify, | ^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 598 | inner: *mut dyn UnsafeNotify, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/future/mod.rs:106:50 | 106 | pub type BoxFuture = ::std::boxed::Box + Send>; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 106 | pub type BoxFuture = ::std::boxed::Box + Send>; | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/future/catch_unwind.rs:28:22 | 28 | type Error = Box; | ^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 28 | type Error = Box; | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/future/shared.rs:297:32 | 297 | fn cause(&self) -> Option<&error::Error> { | ^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 297 | fn cause(&self) -> Option<&dyn error::Error> { | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/stream/mod.rs:132:50 | 132 | pub type BoxStream = ::std::boxed::Box + Send>; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 132 | pub type BoxStream = ::std::boxed::Box + Send>; | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/stream/catch_unwind.rs:37:22 | 37 | type Error = Box; | ^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 37 | type Error = Box; | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/stream/futures_unordered.rs:596:50 | 596 | unsafe fn hide_lt(p: *mut ArcNode) -> *mut UnsafeNotify { | ^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 596 | unsafe fn hide_lt(p: *mut ArcNode) -> *mut dyn UnsafeNotify { | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/sink/mod.rs:55:48 | 55 | pub type BoxSink = ::std::boxed::Box + | ________________________________________________^ 56 | | ::core::marker::Send>; | |___________________________________________________________________^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 55 | pub type BoxSink = ::std::boxed::Box + | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/task_impl/mod.rs:615:35 | 615 | pub unsafe fn new(inner: *mut UnsafeNotify) -> NotifyHandle { | ^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 615 | pub unsafe fn new(inner: *mut dyn UnsafeNotify) -> NotifyHandle { | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/task_impl/core.rs:43:23 | 43 | pub fn new(f: &'a Fn() -> NotifyHandle, id: usize) -> BorrowedUnpark<'a> { | ^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 43 | pub fn new(f: &'a dyn Fn() -> NotifyHandle, id: usize) -> BorrowedUnpark<'a> { | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/task_impl/std/mod.rs:116:23 | 116 | pub fn new(f: &'a Fn() -> NotifyHandle, id: usize) -> BorrowedUnpark<'a> { | ^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 116 | pub fn new(f: &'a dyn Fn() -> NotifyHandle, id: usize) -> BorrowedUnpark<'a> { | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/task_impl/std/mod.rs:229:47 | 229 | pub fn poll_future(&mut self, unpark: Arc) -> Poll { | ^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 229 | pub fn poll_future(&mut self, unpark: Arc) -> Poll { | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/task_impl/std/mod.rs:270:36 | 270 | pub fn execute(self, exec: Arc) | ^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 270 | pub fn execute(self, exec: Arc) | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/task_impl/std/mod.rs:291:47 | 291 | pub fn poll_stream(&mut self, unpark: Arc) | ^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 291 | pub fn poll_stream(&mut self, unpark: Arc) | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/task_impl/std/mod.rs:321:67 | 321 | pub fn start_send(&mut self, value: S::SinkItem, unpark: &Arc) | ^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 321 | pub fn start_send(&mut self, value: S::SinkItem, unpark: &Arc) | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/task_impl/std/mod.rs:333:47 | 333 | pub fn poll_flush(&mut self, unpark: &Arc) | ^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 333 | pub fn poll_flush(&mut self, unpark: &Arc) | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/task_impl/std/mod.rs:630:25 | 630 | pub fn new(set: Arc, id: usize) -> UnparkEvent { | ^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 630 | pub fn new(set: Arc, id: usize) -> UnparkEvent { | +++ warning: use of deprecated method `core::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead --> src/future/shared.rs:132:41 | 132 | match self.inner.notifier.state.compare_and_swap(IDLE, POLLING, SeqCst) { | ^^^^^^^^^^^^^^^^ warning: use of deprecated method `core::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead --> src/future/shared.rs:172:53 | 172 | 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/future/shared.rs:228:20 | 228 | self.state.compare_and_swap(POLLING, REPOLL, SeqCst); | ^^^^^^^^^^^^^^^^ warning: use of deprecated method `core::error::Error::description`: use the Display impl or to_string() --> src/future/shared.rs:294:20 | 294 | self.error.description() | ^^^^^^^^^^^ warning: use of deprecated method `core::error::Error::cause`: replaced by Error::source, which can support downcasting --> src/future/shared.rs:298:20 | 298 | self.error.cause() | ^^^^^ warning: trait objects without an explicit `dyn` are deprecated --> src/stream/select.rs:37:40 | 37 | (&mut self.stream2 as &mut Stream, | ^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 37 | (&mut self.stream2 as &mut dyn Stream, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/stream/select.rs:38:40 | 38 | &mut self.stream1 as &mut Stream) | ^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 38 | &mut self.stream1 as &mut dyn Stream) | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/stream/select.rs:40:40 | 40 | (&mut self.stream1 as &mut Stream, | ^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 40 | (&mut self.stream1 as &mut dyn Stream, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/stream/select.rs:41:40 | 41 | &mut self.stream2 as &mut Stream) | ^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 41 | &mut self.stream2 as &mut dyn Stream) | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/stream/futures_unordered.rs:597:30 | 597 | mem::transmute(p as *mut UnsafeNotify) | ^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 597 | mem::transmute(p as *mut dyn UnsafeNotify) | +++ 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: trait objects without an explicit `dyn` are deprecated --> src/task_impl/std/data.rs:124:36 | 124 | &**entry as *const Opaque as *const T | ^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 124 | &**entry as *const dyn Opaque as *const T | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/task_impl/std/mod.rs:203:35 | 203 | &**old1 as *const Unpark == &**old2 as *const Unpark | ^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 203 | &**old1 as *const dyn Unpark == &**old2 as *const Unpark | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/task_impl/std/mod.rs:203:63 | 203 | &**old1 as *const Unpark == &**old2 as *const Unpark | ^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 203 | &**old1 as *const Unpark == &**old2 as *const dyn Unpark | +++ 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:512:26 | 512 | 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:523:26 | 523 | 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:539:37 | 539 | 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:550:26 | 550 | 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:560:26 | 560 | 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:740:49 | 740 | let actual = self.inner.num_senders.compare_and_swap(curr, next, SeqCst); | ^^^^^^^^^^^^^^^^ warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing --> src/task_impl/mod.rs:442:9 | 442 | drop(id); | ^^^^^--^ | | | argument has type `usize` | = note: use `let _ = ...` to ignore the expression or result = note: `#[warn(dropping_copy_types)]` on by default warning: `futures` (lib) generated 53 warnings (run `cargo fix --lib -p futures` to apply 37 suggestions) Finished release [optimized] target(s) in 2.00s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.RDxOMq + umask 022 + cd /home/pterjan/rpmbuild/BUILD + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILDROOT/rust-futures01-0.1.19-1.mga10.x86_64 '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILDROOT/rust-futures01-0.1.19-1.mga10.x86_64 ++ dirname /home/pterjan/rpmbuild/BUILDROOT/rust-futures01-0.1.19-1.mga10.x86_64 + mkdir -p /home/pterjan/rpmbuild/BUILDROOT + mkdir /home/pterjan/rpmbuild/BUILDROOT/rust-futures01-0.1.19-1.mga10.x86_64 + cd futures-0.1.19 + '[' 1 -eq 1 ']' + set -eu ++ /usr/bin/cargo2rpm --path Cargo.toml is-lib + '[' 1 -eq 1 ']' ++ /usr/bin/cargo2rpm --path Cargo.toml name + CRATE_NAME=futures ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=0.1.19 + REG_DIR=/home/pterjan/rpmbuild/BUILDROOT/rust-futures01-0.1.19-1.mga10.x86_64/usr/share/cargo/registry/futures-0.1.19 + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILDROOT/rust-futures01-0.1.19-1.mga10.x86_64/usr/share/cargo/registry/futures-0.1.19 + /usr/bin/awk -i inplace -v INPLACE_SUFFIX=.deps '/^\[((.+\.)?((dev|build)-)?dependencies|features)/{f=1;next} /^\[/{f=0}; !f' Cargo.toml + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' /usr/bin/cargo package -l + grep -w -E -v 'Cargo.(lock|toml.orig)' + xargs -d '\n' /usr/bin/cp --parents -a -t /home/pterjan/rpmbuild/BUILDROOT/rust-futures01-0.1.19-1.mga10.x86_64/usr/share/cargo/registry/futures-0.1.19 warning: No (git) VCS found for `/home/pterjan/rpmbuild/BUILD/futures-0.1.19` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /home/pterjan/rpmbuild/BUILDROOT/rust-futures01-0.1.19-1.mga10.x86_64/usr/share/cargo/registry/futures-0.1.19/Cargo.toml + /usr/bin/rm -f /home/pterjan/rpmbuild/BUILDROOT/rust-futures01-0.1.19-1.mga10.x86_64/usr/share/cargo/registry/futures-0.1.19/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 -j8 + /usr/lib/rpm/redhat/brp-python-hardlink Executing(%check): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.jxCMZI + umask 022 + cd /home/pterjan/rpmbuild/BUILD + cd futures-0.1.19 + '[' 1 -eq 1 ']' + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn' /usr/bin/cargo test -j8 -Z avoid-dev-deps --release --no-fail-fast warning: anonymous parameters are deprecated and will be removed in the next edition --> src/future/mod.rs:1083:20 | 1083 | 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 constant `core::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred --> src/task_impl/mod.rs:27:53 | 27 | use core::sync::atomic::{AtomicUsize, Ordering, ATOMIC_USIZE_INIT}; | ^^^^^^^^^^^^^^^^^ | = note: `#[warn(deprecated)]` on by default warning: use of deprecated constant `core::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred --> src/task_impl/mod.rs:34:35 | 34 | static NEXT_ID: AtomicUsize = ATOMIC_USIZE_INIT; | ^^^^^^^^^^^^^^^^^ | help: replace the use of the deprecated constant | 34 | static NEXT_ID: AtomicUsize = AtomicUsize::new(0); | ~~~~~~~~~~~~~~~~~~~ warning: use of deprecated constant `core::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred --> src/task_impl/core.rs:5:39 | 5 | use core::sync::atomic::{AtomicUsize, ATOMIC_USIZE_INIT}; | ^^^^^^^^^^^^^^^^^ warning: use of deprecated constant `core::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred --> src/task_impl/core.rs:87:27 | 87 | static GET: AtomicUsize = ATOMIC_USIZE_INIT; | ^^^^^^^^^^^^^^^^^ | help: replace the use of the deprecated constant | 87 | static GET: AtomicUsize = AtomicUsize::new(0); | ~~~~~~~~~~~~~~~~~~~ warning: use of deprecated constant `core::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred --> src/task_impl/core.rs:88:27 | 88 | static SET: AtomicUsize = ATOMIC_USIZE_INIT; | ^^^^^^^^^^^^^^^^^ | help: replace the use of the deprecated constant | 88 | static SET: AtomicUsize = AtomicUsize::new(0); | ~~~~~~~~~~~~~~~~~~~ warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred --> src/task_impl/std/mod.rs:8:44 | 8 | use std::sync::{Arc, Mutex, Condvar, Once, ONCE_INIT}; | ^^^^^^^^^ warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred --> src/task_impl/std/mod.rs:30:21 | 30 | static INIT: Once = ONCE_INIT; | ^^^^^^^^^ | help: replace the use of the deprecated constant | 30 | static INIT: Once = Once::new(); | ~~~~~~~~~~~ warning: trait objects without an explicit `dyn` are deprecated --> src/task_impl/core.rs:19:12 | 19 | f: &'a Fn() -> NotifyHandle, | ^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see = note: `#[warn(bare_trait_objects)]` on by default help: use `dyn` | 19 | f: &'a dyn Fn() -> NotifyHandle, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/task_impl/std/mod.rs:88:17 | 88 | Old(&'a Arc), | ^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 88 | Old(&'a Arc), | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/task_impl/std/mod.rs:102:13 | 102 | Old(Arc), | ^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 102 | Old(Arc), | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/task_impl/std/mod.rs:429:22 | 429 | spawn: Spawn + Send>>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 429 | spawn: Spawn + Send>>, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/task_impl/std/mod.rs:435:15 | 435 | exec: Arc, | ^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 435 | exec: Arc, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/task_impl/std/mod.rs:621:14 | 621 | set: Arc, | ^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 621 | set: Arc, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/task_impl/std/data.rs:35:41 | 35 | ... Box, | ^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 35 | Box, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/task_impl/mod.rs:598:17 | 598 | inner: *mut UnsafeNotify, | ^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 598 | inner: *mut dyn UnsafeNotify, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/future/mod.rs:106:50 | 106 | pub type BoxFuture = ::std::boxed::Box + Send>; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 106 | pub type BoxFuture = ::std::boxed::Box + Send>; | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/future/catch_unwind.rs:28:22 | 28 | type Error = Box; | ^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 28 | type Error = Box; | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/future/shared.rs:297:32 | 297 | fn cause(&self) -> Option<&error::Error> { | ^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 297 | fn cause(&self) -> Option<&dyn error::Error> { | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/stream/mod.rs:132:50 | 132 | pub type BoxStream = ::std::boxed::Box + Send>; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 132 | pub type BoxStream = ::std::boxed::Box + Send>; | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/stream/catch_unwind.rs:37:22 | 37 | type Error = Box; | ^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 37 | type Error = Box; | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/stream/futures_unordered.rs:596:50 | 596 | unsafe fn hide_lt(p: *mut ArcNode) -> *mut UnsafeNotify { | ^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 596 | unsafe fn hide_lt(p: *mut ArcNode) -> *mut dyn UnsafeNotify { | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/sink/mod.rs:55:48 | 55 | pub type BoxSink = ::std::boxed::Box + | ________________________________________________^ 56 | | ::core::marker::Send>; | |___________________________________________________________________^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 55 | pub type BoxSink = ::std::boxed::Box + | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/task_impl/mod.rs:615:35 | 615 | pub unsafe fn new(inner: *mut UnsafeNotify) -> NotifyHandle { | ^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 615 | pub unsafe fn new(inner: *mut dyn UnsafeNotify) -> NotifyHandle { | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/task_impl/core.rs:43:23 | 43 | pub fn new(f: &'a Fn() -> NotifyHandle, id: usize) -> BorrowedUnpark<'a> { | ^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 43 | pub fn new(f: &'a dyn Fn() -> NotifyHandle, id: usize) -> BorrowedUnpark<'a> { | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/task_impl/std/mod.rs:116:23 | 116 | pub fn new(f: &'a Fn() -> NotifyHandle, id: usize) -> BorrowedUnpark<'a> { | ^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 116 | pub fn new(f: &'a dyn Fn() -> NotifyHandle, id: usize) -> BorrowedUnpark<'a> { | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/task_impl/std/mod.rs:229:47 | 229 | pub fn poll_future(&mut self, unpark: Arc) -> Poll { | ^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 229 | pub fn poll_future(&mut self, unpark: Arc) -> Poll { | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/task_impl/std/mod.rs:270:36 | 270 | pub fn execute(self, exec: Arc) | ^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 270 | pub fn execute(self, exec: Arc) | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/task_impl/std/mod.rs:291:47 | 291 | pub fn poll_stream(&mut self, unpark: Arc) | ^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 291 | pub fn poll_stream(&mut self, unpark: Arc) | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/task_impl/std/mod.rs:321:67 | 321 | pub fn start_send(&mut self, value: S::SinkItem, unpark: &Arc) | ^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 321 | pub fn start_send(&mut self, value: S::SinkItem, unpark: &Arc) | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/task_impl/std/mod.rs:333:47 | 333 | pub fn poll_flush(&mut self, unpark: &Arc) | ^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 333 | pub fn poll_flush(&mut self, unpark: &Arc) | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/task_impl/std/mod.rs:630:25 | 630 | pub fn new(set: Arc, id: usize) -> UnparkEvent { | ^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 630 | pub fn new(set: Arc, id: usize) -> UnparkEvent { | +++ warning: use of deprecated method `core::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead --> src/future/shared.rs:132:41 | 132 | match self.inner.notifier.state.compare_and_swap(IDLE, POLLING, SeqCst) { | ^^^^^^^^^^^^^^^^ warning: use of deprecated method `core::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead --> src/future/shared.rs:172:53 | 172 | 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/future/shared.rs:228:20 | 228 | self.state.compare_and_swap(POLLING, REPOLL, SeqCst); | ^^^^^^^^^^^^^^^^ warning: use of deprecated method `core::error::Error::description`: use the Display impl or to_string() --> src/future/shared.rs:294:20 | 294 | self.error.description() | ^^^^^^^^^^^ warning: use of deprecated method `core::error::Error::cause`: replaced by Error::source, which can support downcasting --> src/future/shared.rs:298:20 | 298 | self.error.cause() | ^^^^^ warning: trait objects without an explicit `dyn` are deprecated --> src/stream/select.rs:37:40 | 37 | (&mut self.stream2 as &mut Stream, | ^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 37 | (&mut self.stream2 as &mut dyn Stream, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/stream/select.rs:38:40 | 38 | &mut self.stream1 as &mut Stream) | ^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 38 | &mut self.stream1 as &mut dyn Stream) | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/stream/select.rs:40:40 | 40 | (&mut self.stream1 as &mut Stream, | ^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 40 | (&mut self.stream1 as &mut dyn Stream, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/stream/select.rs:41:40 | 41 | &mut self.stream2 as &mut Stream) | ^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 41 | &mut self.stream2 as &mut dyn Stream) | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/stream/futures_unordered.rs:597:30 | 597 | mem::transmute(p as *mut UnsafeNotify) | ^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 597 | mem::transmute(p as *mut dyn UnsafeNotify) | +++ 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: trait objects without an explicit `dyn` are deprecated --> src/task_impl/std/data.rs:124:36 | 124 | &**entry as *const Opaque as *const T | ^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 124 | &**entry as *const dyn Opaque as *const T | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/task_impl/std/mod.rs:203:35 | 203 | &**old1 as *const Unpark == &**old2 as *const Unpark | ^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 203 | &**old1 as *const dyn Unpark == &**old2 as *const Unpark | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/task_impl/std/mod.rs:203:63 | 203 | &**old1 as *const Unpark == &**old2 as *const Unpark | ^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 203 | &**old1 as *const Unpark == &**old2 as *const dyn Unpark | +++ 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:512:26 | 512 | 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:523:26 | 523 | 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:539:37 | 539 | 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:550:26 | 550 | 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:560:26 | 560 | 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:740:49 | 740 | let actual = self.inner.num_senders.compare_and_swap(curr, next, SeqCst); | ^^^^^^^^^^^^^^^^ warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing --> src/task_impl/mod.rs:442:9 | 442 | drop(id); | ^^^^^--^ | | | argument has type `usize` | = note: use `let _ = ...` to ignore the expression or result = note: `#[warn(dropping_copy_types)]` on by default warning: `futures` (lib) generated 53 warnings (run `cargo fix --lib -p futures` to apply 37 suggestions) Compiling futures v0.1.19 (/home/pterjan/rpmbuild/BUILD/futures-0.1.19) Running `/usr/bin/rustc --crate-name select_ok 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 --test --cfg 'feature="default"' --cfg 'feature="use_std"' --cfg 'feature="with-deprecated"' -C metadata=7e9d916aa6b73e93 -C extra-filename=-7e9d916aa6b73e93 --out-dir /home/pterjan/rpmbuild/BUILD/futures-0.1.19/target/release/deps -L dependency=/home/pterjan/rpmbuild/BUILD/futures-0.1.19/target/release/deps --extern futures=/home/pterjan/rpmbuild/BUILD/futures-0.1.19/target/release/deps/libfutures-00d841c8597a556d.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn` Running `/usr/bin/rustc --crate-name all 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 --test --cfg 'feature="default"' --cfg 'feature="use_std"' --cfg 'feature="with-deprecated"' -C metadata=b55f584c76e431dc -C extra-filename=-b55f584c76e431dc --out-dir /home/pterjan/rpmbuild/BUILD/futures-0.1.19/target/release/deps -L dependency=/home/pterjan/rpmbuild/BUILD/futures-0.1.19/target/release/deps --extern futures=/home/pterjan/rpmbuild/BUILD/futures-0.1.19/target/release/deps/libfutures-00d841c8597a556d.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn` Running `/usr/bin/rustc --crate-name fuse 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 --test --cfg 'feature="default"' --cfg 'feature="use_std"' --cfg 'feature="with-deprecated"' -C metadata=d947f1bc31451dac -C extra-filename=-d947f1bc31451dac --out-dir /home/pterjan/rpmbuild/BUILD/futures-0.1.19/target/release/deps -L dependency=/home/pterjan/rpmbuild/BUILD/futures-0.1.19/target/release/deps --extern futures=/home/pterjan/rpmbuild/BUILD/futures-0.1.19/target/release/deps/libfutures-00d841c8597a556d.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn` Running `/usr/bin/rustc --crate-name futures_unordered 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 --test --cfg 'feature="default"' --cfg 'feature="use_std"' --cfg 'feature="with-deprecated"' -C metadata=ce4f129a6a40f18f -C extra-filename=-ce4f129a6a40f18f --out-dir /home/pterjan/rpmbuild/BUILD/futures-0.1.19/target/release/deps -L dependency=/home/pterjan/rpmbuild/BUILD/futures-0.1.19/target/release/deps --extern futures=/home/pterjan/rpmbuild/BUILD/futures-0.1.19/target/release/deps/libfutures-00d841c8597a556d.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn` Running `/usr/bin/rustc --crate-name bilock 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 --test --cfg 'feature="default"' --cfg 'feature="use_std"' --cfg 'feature="with-deprecated"' -C metadata=463b1d3f99d09f2b -C extra-filename=-463b1d3f99d09f2b --out-dir /home/pterjan/rpmbuild/BUILD/futures-0.1.19/target/release/deps -L dependency=/home/pterjan/rpmbuild/BUILD/futures-0.1.19/target/release/deps --extern futures=/home/pterjan/rpmbuild/BUILD/futures-0.1.19/target/release/deps/libfutures-00d841c8597a556d.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn` Running `/usr/bin/rustc --crate-name eventual 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 --test --cfg 'feature="default"' --cfg 'feature="use_std"' --cfg 'feature="with-deprecated"' -C metadata=7df1aab5420d606a -C extra-filename=-7df1aab5420d606a --out-dir /home/pterjan/rpmbuild/BUILD/futures-0.1.19/target/release/deps -L dependency=/home/pterjan/rpmbuild/BUILD/futures-0.1.19/target/release/deps --extern futures=/home/pterjan/rpmbuild/BUILD/futures-0.1.19/target/release/deps/libfutures-00d841c8597a556d.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn` Running `/usr/bin/rustc --crate-name unfold 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 --test --cfg 'feature="default"' --cfg 'feature="use_std"' --cfg 'feature="with-deprecated"' -C metadata=696c276ea2216b9b -C extra-filename=-696c276ea2216b9b --out-dir /home/pterjan/rpmbuild/BUILD/futures-0.1.19/target/release/deps -L dependency=/home/pterjan/rpmbuild/BUILD/futures-0.1.19/target/release/deps --extern futures=/home/pterjan/rpmbuild/BUILD/futures-0.1.19/target/release/deps/libfutures-00d841c8597a556d.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn` Running `/usr/bin/rustc --crate-name recurse 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 --test --cfg 'feature="default"' --cfg 'feature="use_std"' --cfg 'feature="with-deprecated"' -C metadata=dabf9f1e5f19b737 -C extra-filename=-dabf9f1e5f19b737 --out-dir /home/pterjan/rpmbuild/BUILD/futures-0.1.19/target/release/deps -L dependency=/home/pterjan/rpmbuild/BUILD/futures-0.1.19/target/release/deps --extern futures=/home/pterjan/rpmbuild/BUILD/futures-0.1.19/target/release/deps/libfutures-00d841c8597a556d.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn` warning: trait objects without an explicit `dyn` are deprecated --> tests/recurse.rs:10:30 | 10 | fn doit(n: usize) -> Box + Send> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see = note: `#[warn(bare_trait_objects)]` on by default help: use `dyn` | 10 | fn doit(n: usize) -> Box + Send> { | +++ warning: trait objects without an explicit `dyn` are deprecated --> tests/support/local_executor.rs:29:30 | 29 | Running(Option>>>), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see = note: `#[warn(bare_trait_objects)]` on by default help: use `dyn` | 29 | Running(Option>>>), | +++ warning: unnecessary parentheses around function argument --> tests/bilock.rs:62:38 | 62 | let b = stream::iter_ok::<_, ()>((0..N)).fold(b, |b, _n| { | ^ ^ | = note: `#[warn(unused_parens)]` on by default help: remove these parentheses | 62 - let b = stream::iter_ok::<_, ()>((0..N)).fold(b, |b, _n| { 62 + let b = stream::iter_ok::<_, ()>(0..N).fold(b, |b, _n| { | warning: trait objects without an explicit `dyn` are deprecated --> tests/futures_unordered.rs:37:31 | 37 | Box::new(a_rx) as Box>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 37 | Box::new(a_rx) as Box>, | +++ warning: trait objects without an explicit `dyn` are deprecated --> tests/futures_unordered.rs:65:48 | 65 | let (_a_tx, a_rx) = oneshot::channel::>(); | ^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 65 | let (_a_tx, a_rx) = oneshot::channel::>(); | +++ warning: trait objects without an explicit `dyn` are deprecated --> tests/futures_unordered.rs:66:47 | 66 | let (b_tx, b_rx) = oneshot::channel::>(); | ^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 66 | let (b_tx, b_rx) = oneshot::channel::>(); | +++ warning: trait objects without an explicit `dyn` are deprecated --> tests/futures_unordered.rs:67:47 | 67 | let (c_tx, c_rx) = oneshot::channel::>(); | ^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 67 | let (c_tx, c_rx) = oneshot::channel::>(); | +++ warning: trait objects without an explicit `dyn` are deprecated --> tests/futures_unordered.rs:70:31 | 70 | Box::new(a_rx) as Box>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 70 | Box::new(a_rx) as Box>, | +++ warning: trait objects without an explicit `dyn` are deprecated --> tests/futures_unordered.rs:71:71 | 71 | Box::new(b_rx.select(c_rx).then(|res| Ok(Box::new(res) as Box))), | ^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 71 | Box::new(b_rx.select(c_rx).then(|res| Ok(Box::new(res) as Box))), | +++ warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing --> tests/support/local_executor.rs:160:9 | 160 | drop(self.tx.lock().unwrap().send(id)); | ^^^^^--------------------------------^ | | | argument has type `Result<(), std::sync::mpsc::SendError>` | = note: use `let _ = ...` to ignore the expression or result = note: `#[warn(dropping_copy_types)]` on by default warning: trait objects without an explicit `dyn` are deprecated --> tests/all.rs:373:44 | 373 | let mut spawn_box: Box>> = Box::new(spawn); | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 373 | let mut spawn_box: Box>> = Box::new(spawn); | +++ warning: `futures` (test "unfold") generated 2 warnings (2 duplicates) Running `/usr/bin/rustc --crate-name stream 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 --test --cfg 'feature="default"' --cfg 'feature="use_std"' --cfg 'feature="with-deprecated"' -C metadata=758ea8ee295ed92f -C extra-filename=-758ea8ee295ed92f --out-dir /home/pterjan/rpmbuild/BUILD/futures-0.1.19/target/release/deps -L dependency=/home/pterjan/rpmbuild/BUILD/futures-0.1.19/target/release/deps --extern futures=/home/pterjan/rpmbuild/BUILD/futures-0.1.19/target/release/deps/libfutures-00d841c8597a556d.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn` warning: `futures` (test "fuse") generated 2 warnings (run `cargo fix --test "fuse"` to apply 1 suggestion) Running `/usr/bin/rustc --crate-name mpsc_close 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 --test --cfg 'feature="default"' --cfg 'feature="use_std"' --cfg 'feature="with-deprecated"' -C metadata=4620f23b5ded7694 -C extra-filename=-4620f23b5ded7694 --out-dir /home/pterjan/rpmbuild/BUILD/futures-0.1.19/target/release/deps -L dependency=/home/pterjan/rpmbuild/BUILD/futures-0.1.19/target/release/deps --extern futures=/home/pterjan/rpmbuild/BUILD/futures-0.1.19/target/release/deps/libfutures-00d841c8597a556d.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn` Running `/usr/bin/rustc --crate-name buffer_unordered tests/buffer_unordered.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no --test --cfg 'feature="default"' --cfg 'feature="use_std"' --cfg 'feature="with-deprecated"' -C metadata=ea0f93729d33725c -C extra-filename=-ea0f93729d33725c --out-dir /home/pterjan/rpmbuild/BUILD/futures-0.1.19/target/release/deps -L dependency=/home/pterjan/rpmbuild/BUILD/futures-0.1.19/target/release/deps --extern futures=/home/pterjan/rpmbuild/BUILD/futures-0.1.19/target/release/deps/libfutures-00d841c8597a556d.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn` warning: trait objects without an explicit `dyn` are deprecated --> tests/stream.rs:290:29 | 290 | inner: Peekable + Send>> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 290 | inner: Peekable + Send>> | +++ warning: trait objects without an explicit `dyn` are deprecated --> tests/stream.rs:41:18 | 41 | fn list() -> Box + Send> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 41 | fn list() -> Box + Send> { | +++ warning: trait objects without an explicit `dyn` are deprecated --> tests/stream.rs:50:22 | 50 | fn err_list() -> Box + Send> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 50 | fn err_list() -> Box + Send> { | +++ warning: trait objects without an explicit `dyn` are deprecated --> tests/stream.rs:202:48 | 202 | tx.send(Box::new(b.map_err(|_| ())) as Box + Send>) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 202 | tx.send(Box::new(b.map_err(|_| ())) as Box + Send>) | +++ warning: trait objects without an explicit `dyn` are deprecated --> tests/stream.rs:220:48 | 220 | tx.send(Box::new(b.map_err(|_| ())) as Box + Send>) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 220 | tx.send(Box::new(b.map_err(|_| ())) as Box + Send>) | +++ warning: trait objects without an explicit `dyn` are deprecated --> tests/stream.rs:241:48 | 241 | tx.send(Box::new(b.map_err(|_| ())) as Box + Send>) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 241 | tx.send(Box::new(b.map_err(|_| ())) as Box + Send>) | +++ warning: trait objects without an explicit `dyn` are deprecated --> tests/stream.rs:258:48 | 258 | tx.send(Box::new(b.map_err(|_| ())) as Box + Send>) | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 258 | tx.send(Box::new(b.map_err(|_| ())) as Box + Send>) | +++ warning: `futures` (test "bilock") generated 3 warnings (2 duplicates) (run `cargo fix --test "bilock"` to apply 1 suggestion) Running `/usr/bin/rustc --crate-name mpsc 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 --test --cfg 'feature="default"' --cfg 'feature="use_std"' --cfg 'feature="with-deprecated"' -C metadata=61a22343be498e53 -C extra-filename=-61a22343be498e53 --out-dir /home/pterjan/rpmbuild/BUILD/futures-0.1.19/target/release/deps -L dependency=/home/pterjan/rpmbuild/BUILD/futures-0.1.19/target/release/deps --extern futures=/home/pterjan/rpmbuild/BUILD/futures-0.1.19/target/release/deps/libfutures-00d841c8597a556d.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn` warning: trait objects without an explicit `dyn` are deprecated --> tests/mpsc.rs:361:22 | 361 | fn list() -> Box> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 361 | fn list() -> Box> { | +++ warning: field `done` is never read --> tests/mpsc.rs:168:9 | 165 | struct Dead { | ---- field in this struct ... 168 | done: oneshot::Sender<()>, | ^^^^ | = note: `Dead` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis = note: `#[warn(dead_code)]` on by default warning: unused `SinkMapErr` in tuple element 1 that must be used --> tests/mpsc.rs:103:9 | 103 | 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:106:5 | 106 | drop(readyrx.next().unwrap()); | ^^^^^-----------------------^ | | | argument has type `Result<(), ()>` | = note: use `let _ = ...` to ignore the expression or result = note: `#[warn(dropping_copy_types)]` on by default warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing --> tests/mpsc.rs:108:5 | 108 | drop(readyrx.next().unwrap()); | ^^^^^-----------------------^ | | | argument has type `Result<(), ()>` | = note: use `let _ = ...` to ignore the expression or result warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing --> tests/mpsc.rs:525:5 | 525 | drop(readyrx.wait()); | ^^^^^--------------^ | | | argument has type `Result<(), Canceled>` | = note: use `let _ = ...` to ignore the expression or result warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing --> tests/support/local_executor.rs:160:9 | 160 | drop(self.tx.lock().unwrap().send(id)); | ^^^^^--------------------------------^ | | | argument has type `Result<(), std::sync::mpsc::SendError>` | = note: use `let _ = ...` to ignore the expression or result Running `/usr/bin/rustc --crate-name shared 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 --test --cfg 'feature="default"' --cfg 'feature="use_std"' --cfg 'feature="with-deprecated"' -C metadata=2a38014e0f67716e -C extra-filename=-2a38014e0f67716e --out-dir /home/pterjan/rpmbuild/BUILD/futures-0.1.19/target/release/deps -L dependency=/home/pterjan/rpmbuild/BUILD/futures-0.1.19/target/release/deps --extern futures=/home/pterjan/rpmbuild/BUILD/futures-0.1.19/target/release/deps/libfutures-00d841c8597a556d.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn` warning: trait objects without an explicit `dyn` are deprecated --> tests/shared.rs:80:51 | 80 | let future2 = Box::new(future.clone()) as Box>; | ^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 80 | let future2 = Box::new(future.clone()) as Box>; | +++ warning: trait objects without an explicit `dyn` are deprecated --> tests/shared.rs:150:44 | 150 | let (tx0, rx0) = mpsc::unbounded::>>(); | ^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 150 | let (tx0, rx0) = mpsc::unbounded::>>(); | +++ warning: trait objects without an explicit `dyn` are deprecated --> tests/shared.rs:180:44 | 180 | let (tx0, rx0) = mpsc::unbounded::>>(); | ^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 180 | let (tx0, rx0) = mpsc::unbounded::>>(); | +++ warning: `futures` (test "recurse") generated 1 warning (run `cargo fix --test "recurse"` to apply 1 suggestion) Running `/usr/bin/rustc --crate-name select_all 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 --test --cfg 'feature="default"' --cfg 'feature="use_std"' --cfg 'feature="with-deprecated"' -C metadata=e80555e681973b61 -C extra-filename=-e80555e681973b61 --out-dir /home/pterjan/rpmbuild/BUILD/futures-0.1.19/target/release/deps -L dependency=/home/pterjan/rpmbuild/BUILD/futures-0.1.19/target/release/deps --extern futures=/home/pterjan/rpmbuild/BUILD/futures-0.1.19/target/release/deps/libfutures-00d841c8597a556d.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn` warning: `futures` (test "futures_unordered") generated 8 warnings (2 duplicates) (run `cargo fix --test "futures_unordered"` to apply 6 suggestions) Running `/usr/bin/rustc --crate-name futures_ordered 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 --test --cfg 'feature="default"' --cfg 'feature="use_std"' --cfg 'feature="with-deprecated"' -C metadata=4120994ea8fcde04 -C extra-filename=-4120994ea8fcde04 --out-dir /home/pterjan/rpmbuild/BUILD/futures-0.1.19/target/release/deps -L dependency=/home/pterjan/rpmbuild/BUILD/futures-0.1.19/target/release/deps --extern futures=/home/pterjan/rpmbuild/BUILD/futures-0.1.19/target/release/deps/libfutures-00d841c8597a556d.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn` warning: trait objects without an explicit `dyn` are deprecated --> tests/futures_ordered.rs:38:31 | 38 | Box::new(a_rx) as Box>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 38 | Box::new(a_rx) as Box>, | +++ warning: trait objects without an explicit `dyn` are deprecated --> tests/futures_ordered.rs:67:48 | 67 | let (_a_tx, a_rx) = oneshot::channel::>(); | ^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 67 | let (_a_tx, a_rx) = oneshot::channel::>(); | +++ warning: trait objects without an explicit `dyn` are deprecated --> tests/futures_ordered.rs:68:47 | 68 | let (b_tx, b_rx) = oneshot::channel::>(); | ^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 68 | let (b_tx, b_rx) = oneshot::channel::>(); | +++ warning: trait objects without an explicit `dyn` are deprecated --> tests/futures_ordered.rs:69:47 | 69 | let (c_tx, c_rx) = oneshot::channel::>(); | ^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 69 | let (c_tx, c_rx) = oneshot::channel::>(); | +++ warning: trait objects without an explicit `dyn` are deprecated --> tests/futures_ordered.rs:72:31 | 72 | Box::new(a_rx) as Box>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 72 | Box::new(a_rx) as Box>, | +++ warning: trait objects without an explicit `dyn` are deprecated --> tests/futures_ordered.rs:73:71 | 73 | Box::new(b_rx.select(c_rx).then(|res| Ok(Box::new(res) as Box))), | ^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 73 | Box::new(b_rx.select(c_rx).then(|res| Ok(Box::new(res) as Box))), | +++ Running `/usr/bin/rustc --crate-name unsync_oneshot 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 --test --cfg 'feature="default"' --cfg 'feature="use_std"' --cfg 'feature="with-deprecated"' -C metadata=bb5f0a1ac011080a -C extra-filename=-bb5f0a1ac011080a --out-dir /home/pterjan/rpmbuild/BUILD/futures-0.1.19/target/release/deps -L dependency=/home/pterjan/rpmbuild/BUILD/futures-0.1.19/target/release/deps --extern futures=/home/pterjan/rpmbuild/BUILD/futures-0.1.19/target/release/deps/libfutures-00d841c8597a556d.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn` 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: `futures` (test "futures_ordered") generated 8 warnings (2 duplicates) (run `cargo fix --test "futures_ordered"` to apply 6 suggestions) Running `/usr/bin/rustc --crate-name inspect 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 --test --cfg 'feature="default"' --cfg 'feature="use_std"' --cfg 'feature="with-deprecated"' -C metadata=330c7412b9e7560b -C extra-filename=-330c7412b9e7560b --out-dir /home/pterjan/rpmbuild/BUILD/futures-0.1.19/target/release/deps -L dependency=/home/pterjan/rpmbuild/BUILD/futures-0.1.19/target/release/deps --extern futures=/home/pterjan/rpmbuild/BUILD/futures-0.1.19/target/release/deps/libfutures-00d841c8597a556d.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn` Running `/usr/bin/rustc --crate-name channel 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 --test --cfg 'feature="default"' --cfg 'feature="use_std"' --cfg 'feature="with-deprecated"' -C metadata=010802eda3088372 -C extra-filename=-010802eda3088372 --out-dir /home/pterjan/rpmbuild/BUILD/futures-0.1.19/target/release/deps -L dependency=/home/pterjan/rpmbuild/BUILD/futures-0.1.19/target/release/deps --extern futures=/home/pterjan/rpmbuild/BUILD/futures-0.1.19/target/release/deps/libfutures-00d841c8597a556d.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn` warning: use of deprecated constant `std::sync::atomic::ATOMIC_USIZE_INIT`: the `new` function is now preferred --> tests/channel.rs:55:33 | 55 | static DROPS: AtomicUsize = ATOMIC_USIZE_INIT; | ^^^^^^^^^^^^^^^^^ | = note: `#[warn(deprecated)]` on by default help: replace the use of the deprecated constant | 55 | static DROPS: AtomicUsize = AtomicUsize::new(0); | ~~~~~~~~~~~~~~~~~~~ warning: trait objects without an explicit `dyn` are deprecated --> tests/channel.rs:28:20 | 28 | -> Box + Send> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see = note: `#[warn(bare_trait_objects)]` on by default help: use `dyn` | 28 | -> Box + Send> { | +++ warning: trait objects without an explicit `dyn` are deprecated --> tests/support/local_executor.rs:29:30 | 29 | Running(Option>>>), | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 29 | Running(Option>>>), | +++ Running `/usr/bin/rustc --crate-name unsync 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 --test --cfg 'feature="default"' --cfg 'feature="use_std"' --cfg 'feature="with-deprecated"' -C metadata=83e41b2f26148b05 -C extra-filename=-83e41b2f26148b05 --out-dir /home/pterjan/rpmbuild/BUILD/futures-0.1.19/target/release/deps -L dependency=/home/pterjan/rpmbuild/BUILD/futures-0.1.19/target/release/deps --extern futures=/home/pterjan/rpmbuild/BUILD/futures-0.1.19/target/release/deps/libfutures-00d841c8597a556d.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn` warning: trait objects without an explicit `dyn` are deprecated --> tests/unsync.rs:214:23 | 214 | type FUTURE = Box>; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 214 | type FUTURE = Box>; | +++ warning: trait objects without an explicit `dyn` are deprecated --> tests/unsync.rs:237:45 | 237 | let make_test_future = |reverse| -> Box, Error=()>> { | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 237 | let make_test_future = |reverse| -> Box, Error=()>> { | +++ warning: field `done` is never read --> tests/unsync.rs:161:9 | 158 | struct Dead { | ---- field in this struct ... 161 | done: oneshot::Sender<()>, | ^^^^ | = note: `Dead` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis = note: `#[warn(dead_code)]` on by default warning: unused `IterOk` in tuple element 0 that must be used --> tests/unsync.rs:91:5 | 91 | / lazy(move || { 92 | | iter_ok(vec![1, 2, 3]) 93 | | .forward(tx) 94 | | .map_err(|e: SendError| panic!("{}", e)) ... | 97 | | })) 98 | | }).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:104:5 | 104 | / lazy(move || { 105 | | iter_ok(vec![1, 2, 3]) 106 | | .forward(tx) 107 | | .map_err(|e: SendError| panic!("{}", e)) ... | 110 | | })) 111 | | }).wait().unwrap(); | |______________________^ | = note: streams do nothing unless polled warning: `futures` (test "unsync-oneshot") generated 4 warnings (2 duplicates) Running `/usr/bin/rustc --crate-name stream_catch_unwind 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 --test --cfg 'feature="default"' --cfg 'feature="use_std"' --cfg 'feature="with-deprecated"' -C metadata=bae3ddd4816004af -C extra-filename=-bae3ddd4816004af --out-dir /home/pterjan/rpmbuild/BUILD/futures-0.1.19/target/release/deps -L dependency=/home/pterjan/rpmbuild/BUILD/futures-0.1.19/target/release/deps --extern futures=/home/pterjan/rpmbuild/BUILD/futures-0.1.19/target/release/deps/libfutures-00d841c8597a556d.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn` Running `/usr/bin/rustc --crate-name future_flatten_stream 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 --test --cfg 'feature="default"' --cfg 'feature="use_std"' --cfg 'feature="with-deprecated"' -C metadata=578790d64ec98469 -C extra-filename=-578790d64ec98469 --out-dir /home/pterjan/rpmbuild/BUILD/futures-0.1.19/target/release/deps -L dependency=/home/pterjan/rpmbuild/BUILD/futures-0.1.19/target/release/deps --extern futures=/home/pterjan/rpmbuild/BUILD/futures-0.1.19/target/release/deps/libfutures-00d841c8597a556d.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn` warning: `futures` (test "channel") generated 4 warnings (1 duplicate) (run `cargo fix --test "channel"` to apply 3 suggestions) Running `/usr/bin/rustc --crate-name oneshot 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 --test --cfg 'feature="default"' --cfg 'feature="use_std"' --cfg 'feature="with-deprecated"' -C metadata=e86935073efbf41a -C extra-filename=-e86935073efbf41a --out-dir /home/pterjan/rpmbuild/BUILD/futures-0.1.19/target/release/deps -L dependency=/home/pterjan/rpmbuild/BUILD/futures-0.1.19/target/release/deps --extern futures=/home/pterjan/rpmbuild/BUILD/futures-0.1.19/target/release/deps/libfutures-00d841c8597a556d.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn` 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 Running `/usr/bin/rustc --crate-name ready_queue 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 --test --cfg 'feature="default"' --cfg 'feature="use_std"' --cfg 'feature="with-deprecated"' -C metadata=a4cb845735a094d4 -C extra-filename=-a4cb845735a094d4 --out-dir /home/pterjan/rpmbuild/BUILD/futures-0.1.19/target/release/deps -L dependency=/home/pterjan/rpmbuild/BUILD/futures-0.1.19/target/release/deps --extern futures=/home/pterjan/rpmbuild/BUILD/futures-0.1.19/target/release/deps/libfutures-00d841c8597a556d.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn` warning: `futures` (test "shared") generated 5 warnings (2 duplicates) (run `cargo fix --test "shared"` to apply 3 suggestions) Running `/usr/bin/rustc --crate-name split 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 --test --cfg 'feature="default"' --cfg 'feature="use_std"' --cfg 'feature="with-deprecated"' -C metadata=e96b9af3f12f3b47 -C extra-filename=-e96b9af3f12f3b47 --out-dir /home/pterjan/rpmbuild/BUILD/futures-0.1.19/target/release/deps -L dependency=/home/pterjan/rpmbuild/BUILD/futures-0.1.19/target/release/deps --extern futures=/home/pterjan/rpmbuild/BUILD/futures-0.1.19/target/release/deps/libfutures-00d841c8597a556d.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn` Running `/usr/bin/rustc --crate-name sink 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 --test --cfg 'feature="default"' --cfg 'feature="use_std"' --cfg 'feature="with-deprecated"' -C metadata=335e790bec5f6c5e -C extra-filename=-335e790bec5f6c5e --out-dir /home/pterjan/rpmbuild/BUILD/futures-0.1.19/target/release/deps -L dependency=/home/pterjan/rpmbuild/BUILD/futures-0.1.19/target/release/deps --extern futures=/home/pterjan/rpmbuild/BUILD/futures-0.1.19/target/release/deps/libfutures-00d841c8597a556d.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn` warning: trait objects without an explicit `dyn` are deprecated --> tests/sink.rs:136:41 | 136 | let mut block = Box::new(rx) as Box>; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 136 | let mut block = Box::new(rx) as Box>; | +++ Running `/usr/bin/rustc --crate-name eager_drop 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 --test --cfg 'feature="default"' --cfg 'feature="use_std"' --cfg 'feature="with-deprecated"' -C metadata=85c54d3d0d08dd7e -C extra-filename=-85c54d3d0d08dd7e --out-dir /home/pterjan/rpmbuild/BUILD/futures-0.1.19/target/release/deps -L dependency=/home/pterjan/rpmbuild/BUILD/futures-0.1.19/target/release/deps --extern futures=/home/pterjan/rpmbuild/BUILD/futures-0.1.19/target/release/deps/libfutures-00d841c8597a556d.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn` warning: `futures` (test "stream") generated 9 warnings (2 duplicates) (run `cargo fix --test "stream"` to apply 7 suggestions) Running `/usr/bin/rustc --crate-name futures 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 --test --cfg 'feature="default"' --cfg 'feature="use_std"' --cfg 'feature="with-deprecated"' -C metadata=20fd52a1b3d48505 -C extra-filename=-20fd52a1b3d48505 --out-dir /home/pterjan/rpmbuild/BUILD/futures-0.1.19/target/release/deps -L dependency=/home/pterjan/rpmbuild/BUILD/futures-0.1.19/target/release/deps -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now --cap-lints=warn` warning: `futures` (test "mpsc") generated 8 warnings (1 duplicate) (run `cargo fix --test "mpsc"` to apply 1 suggestion) warning: `futures` (test "unsync") generated 7 warnings (2 duplicates) (run `cargo fix --test "unsync"` to apply 2 suggestions) warning: `futures` (lib test) generated 53 warnings (53 duplicates) warning: `futures` (test "sink") generated 3 warnings (2 duplicates) (run `cargo fix --test "sink"` to apply 1 suggestion) warning: `futures` (test "all") generated 3 warnings (2 duplicates) (run `cargo fix --test "all"` to apply 1 suggestion) warning: `futures` (test "eager_drop") generated 2 warnings (2 duplicates) warning: `futures` (test "oneshot") generated 4 warnings (2 duplicates) warning: `futures` (test "eventual") generated 2 warnings (2 duplicates) Finished release [optimized] target(s) in 14.27s Running `/home/pterjan/rpmbuild/BUILD/futures-0.1.19/target/release/deps/futures-20fd52a1b3d48505` 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/futures-0.1.19/target/release/deps/all-b55f584c76e431dc` running 12 tests test flatten ... ok test join_cancels ... ok test option ... ok test join_incomplete ... ok test result_smoke ... ok test collect_collects ... ok test select_cancels ... ok test spawn_does_unsize ... ok test test_ok ... ok test smoke_oneshot ... ok test test_empty ... 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/futures-0.1.19/target/release/deps/bilock-463b1d3f99d09f2b` 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/futures-0.1.19/target/release/deps/buffer_unordered-ea0f93729d33725c` running 1 test test works ... ok test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running `/home/pterjan/rpmbuild/BUILD/futures-0.1.19/target/release/deps/channel-010802eda3088372` 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/futures-0.1.19/target/release/deps/eager_drop-85c54d3d0d08dd7e` running 3 tests test map ... ok test and_then_drops_eagerly ... ok test map_err ... ok test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running `/home/pterjan/rpmbuild/BUILD/futures-0.1.19/target/release/deps/eventual-7df1aab5420d606a` running 23 tests test and_then1 ... ok test join1 ... ok test join2 ... ok test and_then2 ... ok test join3 ... ok test cancel1 ... ok test map_err1 ... ok test map_err2 ... ok test join5 ... ok test map_err3 ... ok test join4 ... ok test oneshot1 ... ok test oneshot5 ... ok test oneshot4 ... ok test or_else1 ... ok test or_else2 ... ok test oneshot2 ... ok test oneshot3 ... ok test select2 ... ok test oneshot6 ... ok test select3 ... ok test select1 ... ok test select4 ... ok test result: ok. 23 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.73s Running `/home/pterjan/rpmbuild/BUILD/futures-0.1.19/target/release/deps/fuse-d947f1bc31451dac` 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/futures-0.1.19/target/release/deps/future_flatten_stream-578790d64ec98469` 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/futures-0.1.19/target/release/deps/futures_ordered-4120994ea8fcde04` running 4 tests test from_iterator ... ok test queue_never_unblocked ... ok test works_2 ... 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/futures-0.1.19/target/release/deps/futures_unordered-ce4f129a6a40f18f` running 6 tests test from_iterator ... ok test iter_mut_len ... ok test works_1 ... ok test iter_mut_cancel ... ok test works_2 ... ok test finished_future_ok ... ok test result: ok. 6 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running `/home/pterjan/rpmbuild/BUILD/futures-0.1.19/target/release/deps/inspect-330c7412b9e7560b` 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/futures-0.1.19/target/release/deps/mpsc-61a22343be498e53` running 18 tests test recv_close_gets_none ... ok test send_recv ... ok test send_recv_no_buffer ... ok test send_shared_recv ... ok test send_recv_threads ... ok test spawn_kill_dead_stream ... ok test send_recv_threads_no_capacity ... ok test spawn_sends_items ... ok test try_send_fail ... ok test tx_close_gets_none ... ok test try_send_2 ... ok test stress_shared_unbounded ... ok test try_send_1 ... ok test stress_receiver_multi_task_bounded_hard ... ok test stress_poll_ready ... ok test stress_shared_bounded_hard ... ok test stress_close_receiver ... ok test stress_drop_sender ... ok test result: ok. 18 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.26s Running `/home/pterjan/rpmbuild/BUILD/futures-0.1.19/target/release/deps/mpsc_close-4620f23b5ded7694` 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/futures-0.1.19/target/release/deps/oneshot-e86935073efbf41a` running 10 tests test close ... ok test is_canceled ... ok test close_wakes ... ok test spawn_kill_dead_stream ... ok test smoke_poll ... ok test cancel_notifies ... ok test spawn_sends_items ... ok test cancel_sends ... ok test spawn_dont_kill_forgot_dead_stream ... ok test cancel_lots ... ok test result: ok. 10 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.84s Running `/home/pterjan/rpmbuild/BUILD/futures-0.1.19/target/release/deps/ready_queue-a4cb845735a094d4` running 5 tests test basic_usage ... ok test dropping_ready_queue ... ok test resolving_errors ... ok test panicking_future_dropped ... ok test stress ... ok test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.62s Running `/home/pterjan/rpmbuild/BUILD/futures-0.1.19/target/release/deps/recurse-dabf9f1e5f19b737` 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/futures-0.1.19/target/release/deps/select_all-e80555e681973b61` 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/futures-0.1.19/target/release/deps/select_ok-7e9d916aa6b73e93` 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/futures-0.1.19/target/release/deps/shared-2a38014e0f67716e` running 9 tests test peek ... ok test drop_in_poll ... ok test polled_then_ignored ... ok test one_thread ... ok test recursive_poll_with_unpark ... ok test recursive_poll ... ok test drop_on_one_task_ok ... ok test two_threads ... ok test many_threads ... ok test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.10s Running `/home/pterjan/rpmbuild/BUILD/futures-0.1.19/target/release/deps/sink-335e790bec5f6c5e` 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_propagate ... ok test with_flush ... ok test result: ok. 14 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s Running `/home/pterjan/rpmbuild/BUILD/futures-0.1.19/target/release/deps/split-e96b9af3f12f3b47` 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/futures-0.1.19/target/release/deps/stream-758ea8ee295ed92f` running 32 tests test concat ... ok test concat2 ... ok test buffered ... ok test and_then ... ok test chunks_panic_on_cap_zero - should panic ... ok test from_err ... ok test inspect ... ok test forward ... ok test fold ... ok test filter ... ok test inspect_err ... ok test filter_map ... ok test fuse ... ok test map_err ... ok test flatten ... ok test map ... ok test select ... ok test chunks ... ok test stream_poll_fn ... ok test peek ... ok test skip_passes_errors_through ... ok test skip ... ok test or_else ... ok test peekable ... ok test take_passes_errors_through ... ok test skip_while ... ok test take_while ... ok test take ... ok test then ... ok test unordered ... ok test wait ... 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/futures-0.1.19/target/release/deps/stream_catch_unwind-bae3ddd4816004af` 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/futures-0.1.19/target/release/deps/unfold-696c276ea2216b9b` 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/futures-0.1.19/target/release/deps/unsync-83e41b2f26148b05` running 13 tests test mpsc_rx_end ... ok test mpsc_backpressure ... ok test mpsc_rx_notready ... ok test mpsc_recv_unpark ... ok test dropped_sender_of_unused_channel_notifies_receiver ... 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/futures-0.1.19/target/release/deps/unsync_oneshot-bb5f0a1ac011080a` running 9 tests test is_canceled ... ok test poll_cancel ... ok test canceled ... ok test spawn_kill_dead_stream ... ok test spawn_sends_items ... ok test tx_complete_rx_unparked ... ok test smoke ... 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 --crate-type lib --crate-name futures --test src/lib.rs --test-run-directory /home/pterjan/rpmbuild/BUILD/futures-0.1.19 -L dependency=/home/pterjan/rpmbuild/BUILD/futures-0.1.19/target/release/deps -L dependency=/home/pterjan/rpmbuild/BUILD/futures-0.1.19/target/release/deps --extern futures=/home/pterjan/rpmbuild/BUILD/futures-0.1.19/target/release/deps/libfutures-00d841c8597a556d.rlib -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="use_std"' --cfg 'feature="with-deprecated"' --error-format human` running 58 tests test src/future/mod.rs - future::Future::select (line 586) - compile ... ok test src/stream/mod.rs - stream::Stream::filter_map (line 395) ... FAILED test src/future/result.rs - future::result_::ok (line 43) ... ok test src/lib.rs - prelude (line 253) ... ok test src/future/result.rs - future::result_::result (line 25) ... ok test src/future/mod.rs - future::Future::select (line 609) ... ok test src/future/mod.rs - future::Future::or_else (line 552) ... ok test src/future/lazy.rs - future::lazy::lazy (line 34) ... ok test src/future/mod.rs - future::Future::fuse (line 884) ... ok test src/future/poll_fn.rs - future::poll_fn::poll_fn (line 20) ... ok test src/task_impl/mod.rs - task_impl::UnsafeNotify::drop_raw (line 553) ... ignored test src/lib.rs - (line 35) ... ok test src/future/mod.rs - future::Future::select2 (line 649) ... ok test src/future/mod.rs - future::Future::from_err (line 433) ... ok test src/future/mod.rs - future::Future::then (line 467) ... ok test src/future/mod.rs - future::Future::and_then (line 511) ... ok test src/stream/iter.rs - stream::iter::iter (line 20) ... ok test src/future/result.rs - future::result_::err (line 59) ... ok test src/future/mod.rs - future::Future::into_stream (line 763) ... ok test src/future/loop_fn.rs - future::loop_fn::loop_fn (line 39) ... ok test src/stream/iter_ok.rs - stream::iter_ok::iter_ok (line 22) ... ok test src/stream/mod.rs - stream::Stream::and_then (line 480) ... ok test src/future/mod.rs - future::Future::map_err (line 403) ... ok test src/stream/iter_result.rs - stream::iter_result::iter_result (line 19) ... ok test src/future/mod.rs - future::Future::boxed (line 316) ... ok test src/future/mod.rs - future::Future::inspect (line 914) ... ok test src/future/join_all.rs - future::join_all::join_all (line 54) ... ok test src/future/mod.rs - future::Future::join (line 691) ... ok test src/future/mod.rs - future::Future::catch_unwind (line 947) ... ok test src/stream/mod.rs - stream::Stream::boxed (line 263) ... ok test src/future/mod.rs - future::Future::join (line 705) ... ok test src/future/mod.rs - future::Future::map (line 351) ... ok test src/stream/mod.rs - stream::Stream::map (line 309) ... ok test src/stream/mod.rs - stream::Stream::catch_unwind (line 883) ... ok test src/stream/mod.rs - stream::Stream::filter (line 365) ... ok test src/stream/mod.rs - stream::Stream::chain (line 976) ... ok test src/future/mod.rs - future::Future::flatten (line 799) ... ok test src/stream/once.rs - stream::once::once (line 13) ... ok test src/stream/poll_fn.rs - stream::poll_fn::poll_fn (line 20) ... ok test src/stream/repeat.rs - stream::repeat::repeat (line 27) ... ok test src/stream/mod.rs - stream::Stream::by_ref (line 843) ... ok test src/future/mod.rs - future::Future::flatten_stream (line 843) ... ok test src/future/mod.rs - future::Future::flatten (line 811) ... ok test src/stream/mod.rs - stream::Stream::fold (line 659) ... ok test src/stream/mod.rs - stream::Stream::map_err (line 335) ... ok test src/future/shared.rs - future::shared (line 6) ... ok test src/stream/mod.rs - stream::Stream::then (line 434) ... ok test src/future/mod.rs - future::Future::map (line 362) ... ok test src/future/mod.rs - future::Future::shared (line 984) ... ok test src/future/mod.rs - future::Future::map_err (line 393) ... ok test src/future/mod.rs - future::Future::shared (line 995) ... ok test src/sink/mod.rs - sink::Sink::with_flat_map (line 339) ... ok test src/stream/unfold.rs - stream::unfold::unfold (line 31) ... ok test src/sync/oneshot.rs - sync::oneshot::channel (line 82) ... ok test src/stream/mod.rs - stream::Stream::concat2 (line 581) ... ok test src/stream/mod.rs - stream::Stream::flatten (line 684) ... ok test src/stream/mod.rs - stream::Stream::collect (line 544) ... ok test src/stream/mod.rs - stream::Stream::concat (line 614) ... ok failures: ---- src/stream/mod.rs - stream::Stream::filter_map (line 395) stdout ---- error: this operation will panic at runtime --> src/stream/mod.rs:402:8 | 10 | if x % 0 == 2 { | ^^^^^ attempt to calculate the remainder of `_` with a divisor of zero | = note: `#[deny(unconditional_panic)]` on by default error: aborting due to previous error Couldn't compile the test. failures: src/stream/mod.rs - stream::Stream::filter_map (line 395) test result: FAILED. 56 passed; 1 failed; 1 ignored; 0 measured; 0 filtered out; finished in 0.56s error: doctest failed, to rerun pass `--doc` error: 1 target failed: `--doc` error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.jxCMZI (%check) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.jxCMZI (%check) I: [iurt_root_command] ERROR: chroot