D: [iurt_root_command] chroot Building target platforms: x86_64 Building for target x86_64 sh: line 4: [: -j8: integer expression expected Installing /home/pterjan/rpmbuild/SRPMS/rust-futures01-0.1.19-1.mga10.src.rpm Executing(%mkbuilddir): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.l3bfqq sh: line 4: [: -j8: integer expression expected Executing(%prep): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.vOAGbl + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' + cd /home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-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 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + set -euo pipefail + /usr/bin/mkdir -p target/rpm + /usr/bin/ln -s rpm target/release + /usr/bin/rm -rf .cargo/ + /usr/bin/mkdir -p .cargo + cat + cat + /usr/bin/rm -f Cargo.lock + /usr/bin/rm -f Cargo.toml.orig + RPM_EC=0 ++ jobs -p + exit 0 sh: line 4: [: -j8: integer expression expected Executing(%build): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.o6hJ2K + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + 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 -Cstrip=none --cap-lints=warn' /usr/bin/cargo build -j48 -Z avoid-dev-deps --profile rpm warning: no edition set: defaulting to the 2015 edition while the latest is 2024 Compiling futures v0.1.19 (/home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19) Running `/usr/bin/rustc --crate-name futures --edition=2015 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --cfg 'feature="default"' --cfg 'feature="use_std"' --cfg 'feature="with-deprecated"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "use_std", "with-deprecated"))' -C metadata=ba1823f5c8f1c559 -C extra-filename=-434b908452f5e0ee --out-dir /home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/target/rpm/deps -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` warning: anonymous parameters are deprecated and will be removed in the next edition --> src/future/mod.rs: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 = ATOMIC_USIZE_INIT; 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 = ATOMIC_USIZE_INIT; 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 = ATOMIC_USIZE_INIT; 88 + static SET: AtomicUsize = AtomicUsize::new(0); | warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::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 `Once::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_INIT; 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: if this is a dyn-compatible trait, 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: if this is a dyn-compatible trait, 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: if this is a dyn-compatible trait, 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: if this is a dyn-compatible trait, 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: if this is a dyn-compatible trait, 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: if this is a dyn-compatible trait, 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: if this is a dyn-compatible trait, 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: if this is a dyn-compatible trait, use `dyn` | 598 | inner: *mut dyn UnsafeNotify, | +++ 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: if this is a dyn-compatible trait, use `dyn` | 596 | unsafe fn hide_lt(p: *mut ArcNode) -> *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: if this is a dyn-compatible trait, use `dyn` | 106 | pub type BoxFuture = ::std::boxed::Box + Send>; | +++ 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: if this is a dyn-compatible trait, use `dyn` | 132 | pub type BoxStream = ::std::boxed::Box + Send>; | +++ 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: if this is a dyn-compatible trait, use `dyn` | 297 | fn cause(&self) -> Option<&dyn error::Error> { | +++ 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: if this is a dyn-compatible trait, 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: if this is a dyn-compatible trait, 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: if this is a dyn-compatible trait, 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: if this is a dyn-compatible trait, 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: if this is a dyn-compatible trait, 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: if this is a dyn-compatible trait, 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: if this is a dyn-compatible trait, use `dyn` | 333 | pub fn poll_flush(&mut self, unpark: &Arc) | +++ 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: if this is a dyn-compatible trait, use `dyn` | 28 | type Error = Box; | +++ 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: if this is a dyn-compatible trait, use `dyn` | 37 | type Error = Box; | +++ 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: if this is a dyn-compatible trait, 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: if this is a dyn-compatible trait, use `dyn` | 615 | pub unsafe fn new(inner: *mut dyn UnsafeNotify) -> NotifyHandle { | +++ 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: if this is a dyn-compatible trait, 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: if this is a dyn-compatible trait, 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: if this is a dyn-compatible trait, 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: if this is a dyn-compatible trait, 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: if this is a dyn-compatible trait, 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: if this is a dyn-compatible trait, 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: if this is a dyn-compatible trait, 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: if this is a dyn-compatible trait, 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: if this is a dyn-compatible trait, 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: trait `AssertSend` is never used --> src/task_impl/mod.rs:64:7 | 64 | trait AssertSend: Send {} | ^^^^^^^^^^ | = note: `#[warn(dead_code)]` on by default warning: trait `AssertSync` is never used --> src/task_impl/atomic_task.rs:141:15 | 141 | trait AssertSync: Sync {} | ^^^^^^^^^^ warning: trait `AssertKinds` is never used --> src/sync/mpsc/mod.rs:113:7 | 113 | trait AssertKinds: Send + Sync + Clone {} | ^^^^^^^^^^^ warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing --> src/task_impl/mod.rs:442:9 | 442 | drop(id); | ^^^^^--^ | | | argument has type `usize` | = note: `#[warn(dropping_copy_types)]` on by default help: use `let _ = ...` to ignore the expression or result | 442 - drop(id); 442 + let _ = id; | warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected --> src/task_impl/core.rs:69:32 | 69 | self.id == other.id && self.handle.inner == (other.f)().inner | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(ambiguous_wide_pointer_comparisons)]` on by default help: use `std::ptr::addr_eq` or untyped pointers to only compare their addresses | 69 - self.id == other.id && self.handle.inner == (other.f)().inner 69 + self.id == other.id && std::ptr::addr_eq(self.handle.inner, (other.f)().inner) | warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected --> src/task_impl/std/mod.rs:203:17 | 203 | &**old1 as *const Unpark == &**old2 as *const Unpark | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | help: use `std::ptr::addr_eq` or untyped pointers to only compare their addresses | 203 - &**old1 as *const Unpark == &**old2 as *const Unpark 203 + std::ptr::addr_eq(&**old1 as *const Unpark, &**old2 as *const Unpark) | warning: `futures` (lib) generated 58 warnings (run `cargo fix --lib -p futures` to apply 37 suggestions) Finished `rpm` profile [optimized + debuginfo] target(s) in 1.98s + RPM_EC=0 ++ jobs -p + exit 0 sh: line 4: [: -j8: integer expression expected sh: line 4: [: -j8: integer expression expected Executing(%install): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.4m2AyB + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build + '[' 1 -eq 1 ']' + '[' /home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/BUILDROOT '!=' / ']' + rm -rf /home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/BUILDROOT ++ dirname /home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/BUILDROOT + mkdir -p /home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build + mkdir /home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/BUILDROOT + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + cd futures-0.1.19 + '[' 1 -eq 1 ']' + set -euo pipefail ++ /usr/bin/cargo2rpm --path Cargo.toml is-lib + '[' 1 -eq 1 ']' + '[' 1 -eq 1 ']' ++ /usr/bin/cargo2rpm --path Cargo.toml name + CRATE_NAME=futures ++ /usr/bin/cargo2rpm --path Cargo.toml version + CRATE_VERSION=0.1.19 + REG_DIR=/home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/BUILDROOT/usr/share/cargo/registry/futures-0.1.19 + /usr/bin/mkdir -p /home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/BUILDROOT/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 -Cstrip=none --cap-lints=warn' /usr/bin/cargo package -l + grep -w -E -v 'Cargo.(lock|toml.orig)' + xargs -d '\n' /usr/bin/cp --parents -a -t /home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/BUILDROOT/usr/share/cargo/registry/futures-0.1.19 warning: no (git) VCS found for `/home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/BUILDROOT/usr/share/cargo/registry/futures-0.1.19/Cargo.toml + /usr/bin/rm -f /home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/BUILDROOT/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 -j48 + /usr/lib/rpm/redhat/brp-python-hardlink Reading /home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/SPECPARTS/rpm-debuginfo.specpart sh: line 4: [: -j8: integer expression expected Executing(%check): /bin/sh -e /home/pterjan/rpmbuild/tmp/rpm-tmp.YIxFvy + umask 022 + cd /home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build + CFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CFLAGS + CXXFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full' + export CXXFLAGS + FFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FFLAGS + FCFLAGS='-O2 -g -pipe -Wformat -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -m64 -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection=full ' + export FCFLAGS + VALAFLAGS=-g + export VALAFLAGS + RUSTFLAGS='-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn' + export RUSTFLAGS + LDFLAGS='-Wl,--as-needed -Wl,--no-undefined -Wl,-z,relro -Wl,-z,now -Wl,-O1 -Wl,--build-id=sha1 -Wl,--enable-new-dtags -specs=/usr/lib/rpm/redhat/redhat-hardened-ld' + export LDFLAGS + LT_SYS_LIBRARY_PATH=/usr/lib64: + export LT_SYS_LIBRARY_PATH + CC=gcc + export CC + CXX=g++ + export CXX + 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 -Cstrip=none --cap-lints=warn' /usr/bin/cargo test -j48 -Z avoid-dev-deps --profile rpm --no-fail-fast warning: no edition set: defaulting to the 2015 edition while the latest is 2024 warning: anonymous parameters are deprecated and will be removed in the next edition --> src/future/mod.rs: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 = ATOMIC_USIZE_INIT; 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 = ATOMIC_USIZE_INIT; 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 = ATOMIC_USIZE_INIT; 88 + static SET: AtomicUsize = AtomicUsize::new(0); | warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::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 `Once::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_INIT; 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: if this is a dyn-compatible trait, 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: if this is a dyn-compatible trait, 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: if this is a dyn-compatible trait, 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: if this is a dyn-compatible trait, 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: if this is a dyn-compatible trait, 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: if this is a dyn-compatible trait, 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: if this is a dyn-compatible trait, 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: if this is a dyn-compatible trait, use `dyn` | 598 | inner: *mut dyn UnsafeNotify, | +++ 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: if this is a dyn-compatible trait, use `dyn` | 596 | unsafe fn hide_lt(p: *mut ArcNode) -> *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: if this is a dyn-compatible trait, use `dyn` | 106 | pub type BoxFuture = ::std::boxed::Box + Send>; | +++ 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: if this is a dyn-compatible trait, use `dyn` | 132 | pub type BoxStream = ::std::boxed::Box + Send>; | +++ 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: if this is a dyn-compatible trait, use `dyn` | 297 | fn cause(&self) -> Option<&dyn error::Error> { | +++ 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: if this is a dyn-compatible trait, 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: if this is a dyn-compatible trait, 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: if this is a dyn-compatible trait, 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: if this is a dyn-compatible trait, 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: if this is a dyn-compatible trait, 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: if this is a dyn-compatible trait, 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: if this is a dyn-compatible trait, use `dyn` | 333 | pub fn poll_flush(&mut self, unpark: &Arc) | +++ 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: if this is a dyn-compatible trait, use `dyn` | 28 | type Error = Box; | +++ 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: if this is a dyn-compatible trait, use `dyn` | 37 | type Error = Box; | +++ 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: if this is a dyn-compatible trait, 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: if this is a dyn-compatible trait, use `dyn` | 615 | pub unsafe fn new(inner: *mut dyn UnsafeNotify) -> NotifyHandle { | +++ 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: if this is a dyn-compatible trait, 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: if this is a dyn-compatible trait, 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: if this is a dyn-compatible trait, 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: if this is a dyn-compatible trait, 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: if this is a dyn-compatible trait, 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: if this is a dyn-compatible trait, 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: if this is a dyn-compatible trait, 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: if this is a dyn-compatible trait, 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: if this is a dyn-compatible trait, 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: trait `AssertSend` is never used --> src/task_impl/mod.rs:64:7 | 64 | trait AssertSend: Send {} | ^^^^^^^^^^ | = note: `#[warn(dead_code)]` on by default warning: trait `AssertSync` is never used --> src/task_impl/atomic_task.rs:141:15 | 141 | trait AssertSync: Sync {} | ^^^^^^^^^^ warning: trait `AssertKinds` is never used --> src/sync/mpsc/mod.rs:113:7 | 113 | trait AssertKinds: Send + Sync + Clone {} | ^^^^^^^^^^^ warning: calls to `std::mem::drop` with a value that implements `Copy` does nothing --> src/task_impl/mod.rs:442:9 | 442 | drop(id); | ^^^^^--^ | | | argument has type `usize` | = note: `#[warn(dropping_copy_types)]` on by default help: use `let _ = ...` to ignore the expression or result | 442 - drop(id); 442 + let _ = id; | warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected --> src/task_impl/core.rs:69:32 | 69 | self.id == other.id && self.handle.inner == (other.f)().inner | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = note: `#[warn(ambiguous_wide_pointer_comparisons)]` on by default help: use `std::ptr::addr_eq` or untyped pointers to only compare their addresses | 69 - self.id == other.id && self.handle.inner == (other.f)().inner 69 + self.id == other.id && std::ptr::addr_eq(self.handle.inner, (other.f)().inner) | warning: ambiguous wide pointer comparison, the comparison includes metadata which may not be expected --> src/task_impl/std/mod.rs:203:17 | 203 | &**old1 as *const Unpark == &**old2 as *const Unpark | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | help: use `std::ptr::addr_eq` or untyped pointers to only compare their addresses | 203 - &**old1 as *const Unpark == &**old2 as *const Unpark 203 + std::ptr::addr_eq(&**old1 as *const Unpark, &**old2 as *const Unpark) | warning: `futures` (lib) generated 58 warnings (run `cargo fix --lib -p futures` to apply 37 suggestions) Compiling futures v0.1.19 (/home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19) Running `/usr/bin/rustc --crate-name eventual --edition=2015 tests/eventual.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --test --cfg 'feature="default"' --cfg 'feature="use_std"' --cfg 'feature="with-deprecated"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "use_std", "with-deprecated"))' -C metadata=f181a0ec79706492 -C extra-filename=-f27dad7e494fb000 --out-dir /home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/target/rpm/deps --extern futures=/home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/target/rpm/deps/libfutures-434b908452f5e0ee.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name all --edition=2015 tests/all.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --test --cfg 'feature="default"' --cfg 'feature="use_std"' --cfg 'feature="with-deprecated"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "use_std", "with-deprecated"))' -C metadata=09878dd1ee7488dd -C extra-filename=-6936266f4f86390e --out-dir /home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/target/rpm/deps --extern futures=/home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/target/rpm/deps/libfutures-434b908452f5e0ee.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name channel --edition=2015 tests/channel.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --test --cfg 'feature="default"' --cfg 'feature="use_std"' --cfg 'feature="with-deprecated"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "use_std", "with-deprecated"))' -C metadata=94dc73e0e125f3a8 -C extra-filename=-bd7e6594a27d5700 --out-dir /home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/target/rpm/deps --extern futures=/home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/target/rpm/deps/libfutures-434b908452f5e0ee.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name unsync_oneshot --edition=2015 tests/unsync-oneshot.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --test --cfg 'feature="default"' --cfg 'feature="use_std"' --cfg 'feature="with-deprecated"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "use_std", "with-deprecated"))' -C metadata=288972de6c90dfaf -C extra-filename=-d9f752508413b0a7 --out-dir /home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/target/rpm/deps --extern futures=/home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/target/rpm/deps/libfutures-434b908452f5e0ee.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name stream --edition=2015 tests/stream.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --test --cfg 'feature="default"' --cfg 'feature="use_std"' --cfg 'feature="with-deprecated"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "use_std", "with-deprecated"))' -C metadata=1d7f6a4359ddd9c1 -C extra-filename=-d75e65a198eb9d0e --out-dir /home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/target/rpm/deps --extern futures=/home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/target/rpm/deps/libfutures-434b908452f5e0ee.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name fuse --edition=2015 tests/fuse.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --test --cfg 'feature="default"' --cfg 'feature="use_std"' --cfg 'feature="with-deprecated"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "use_std", "with-deprecated"))' -C metadata=4a541d0b502a3727 -C extra-filename=-be1cb31e63ef94b6 --out-dir /home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/target/rpm/deps --extern futures=/home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/target/rpm/deps/libfutures-434b908452f5e0ee.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name oneshot --edition=2015 tests/oneshot.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --test --cfg 'feature="default"' --cfg 'feature="use_std"' --cfg 'feature="with-deprecated"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "use_std", "with-deprecated"))' -C metadata=ac68724a34747456 -C extra-filename=-48e0a26c19914b98 --out-dir /home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/target/rpm/deps --extern futures=/home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/target/rpm/deps/libfutures-434b908452f5e0ee.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name buffer_unordered --edition=2015 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 -C codegen-units=1 -C debuginfo=2 --test --cfg 'feature="default"' --cfg 'feature="use_std"' --cfg 'feature="with-deprecated"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "use_std", "with-deprecated"))' -C metadata=44532743a09d9639 -C extra-filename=-7237dba7358f5cad --out-dir /home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/target/rpm/deps --extern futures=/home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/target/rpm/deps/libfutures-434b908452f5e0ee.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name futures_ordered --edition=2015 tests/futures_ordered.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --test --cfg 'feature="default"' --cfg 'feature="use_std"' --cfg 'feature="with-deprecated"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "use_std", "with-deprecated"))' -C metadata=8bc88cb5dd2cc2cb -C extra-filename=-8726100201a50f58 --out-dir /home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/target/rpm/deps --extern futures=/home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/target/rpm/deps/libfutures-434b908452f5e0ee.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name sink --edition=2015 tests/sink.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --test --cfg 'feature="default"' --cfg 'feature="use_std"' --cfg 'feature="with-deprecated"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "use_std", "with-deprecated"))' -C metadata=8bbb619123fcddb7 -C extra-filename=-428514acd3a29d86 --out-dir /home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/target/rpm/deps --extern futures=/home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/target/rpm/deps/libfutures-434b908452f5e0ee.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name unfold --edition=2015 tests/unfold.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --test --cfg 'feature="default"' --cfg 'feature="use_std"' --cfg 'feature="with-deprecated"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "use_std", "with-deprecated"))' -C metadata=3e0382c1b775fe35 -C extra-filename=-59d3db0e416648e2 --out-dir /home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/target/rpm/deps --extern futures=/home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/target/rpm/deps/libfutures-434b908452f5e0ee.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name ready_queue --edition=2015 tests/ready_queue.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --test --cfg 'feature="default"' --cfg 'feature="use_std"' --cfg 'feature="with-deprecated"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "use_std", "with-deprecated"))' -C metadata=f3e320b675de8304 -C extra-filename=-7f7888fb8a7f80f3 --out-dir /home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/target/rpm/deps --extern futures=/home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/target/rpm/deps/libfutures-434b908452f5e0ee.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name bilock --edition=2015 tests/bilock.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --test --cfg 'feature="default"' --cfg 'feature="use_std"' --cfg 'feature="with-deprecated"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "use_std", "with-deprecated"))' -C metadata=625aae27038fb8c6 -C extra-filename=-b8ed4950758cac3c --out-dir /home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/target/rpm/deps --extern futures=/home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/target/rpm/deps/libfutures-434b908452f5e0ee.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name select_ok --edition=2015 tests/select_ok.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --test --cfg 'feature="default"' --cfg 'feature="use_std"' --cfg 'feature="with-deprecated"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "use_std", "with-deprecated"))' -C metadata=92869af089ec2455 -C extra-filename=-0aa85ffbae3dfdf4 --out-dir /home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/target/rpm/deps --extern futures=/home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/target/rpm/deps/libfutures-434b908452f5e0ee.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name inspect --edition=2015 tests/inspect.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --test --cfg 'feature="default"' --cfg 'feature="use_std"' --cfg 'feature="with-deprecated"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "use_std", "with-deprecated"))' -C metadata=44bb9c34b9a01752 -C extra-filename=-7986d9900545bb50 --out-dir /home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/target/rpm/deps --extern futures=/home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/target/rpm/deps/libfutures-434b908452f5e0ee.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name eager_drop --edition=2015 tests/eager_drop.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --test --cfg 'feature="default"' --cfg 'feature="use_std"' --cfg 'feature="with-deprecated"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "use_std", "with-deprecated"))' -C metadata=1b402a629b53564a -C extra-filename=-8c3363c38dcf84d2 --out-dir /home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/target/rpm/deps --extern futures=/home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/target/rpm/deps/libfutures-434b908452f5e0ee.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name recurse --edition=2015 tests/recurse.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --test --cfg 'feature="default"' --cfg 'feature="use_std"' --cfg 'feature="with-deprecated"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "use_std", "with-deprecated"))' -C metadata=cf16012a1fd8299b -C extra-filename=-27f6beffba5fb851 --out-dir /home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/target/rpm/deps --extern futures=/home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/target/rpm/deps/libfutures-434b908452f5e0ee.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name future_flatten_stream --edition=2015 tests/future_flatten_stream.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --test --cfg 'feature="default"' --cfg 'feature="use_std"' --cfg 'feature="with-deprecated"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "use_std", "with-deprecated"))' -C metadata=0a188606b650a2ab -C extra-filename=-392c2196115a413a --out-dir /home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/target/rpm/deps --extern futures=/home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/target/rpm/deps/libfutures-434b908452f5e0ee.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name mpsc --edition=2015 tests/mpsc.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --test --cfg 'feature="default"' --cfg 'feature="use_std"' --cfg 'feature="with-deprecated"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "use_std", "with-deprecated"))' -C metadata=5b203c163629609f -C extra-filename=-a270f1a73215fb08 --out-dir /home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/target/rpm/deps --extern futures=/home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/target/rpm/deps/libfutures-434b908452f5e0ee.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name select_all --edition=2015 tests/select_all.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --test --cfg 'feature="default"' --cfg 'feature="use_std"' --cfg 'feature="with-deprecated"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "use_std", "with-deprecated"))' -C metadata=248a273f5c52c30c -C extra-filename=-14b6b467703fb4cf --out-dir /home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/target/rpm/deps --extern futures=/home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/target/rpm/deps/libfutures-434b908452f5e0ee.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name futures_unordered --edition=2015 tests/futures_unordered.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --test --cfg 'feature="default"' --cfg 'feature="use_std"' --cfg 'feature="with-deprecated"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "use_std", "with-deprecated"))' -C metadata=b7b534917d66bac7 -C extra-filename=-21d114541df6b7ad --out-dir /home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/target/rpm/deps --extern futures=/home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/target/rpm/deps/libfutures-434b908452f5e0ee.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name stream_catch_unwind --edition=2015 tests/stream_catch_unwind.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --test --cfg 'feature="default"' --cfg 'feature="use_std"' --cfg 'feature="with-deprecated"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "use_std", "with-deprecated"))' -C metadata=4ba207cabff4e978 -C extra-filename=-fc25508f0575ebcf --out-dir /home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/target/rpm/deps --extern futures=/home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/target/rpm/deps/libfutures-434b908452f5e0ee.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name shared --edition=2015 tests/shared.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --test --cfg 'feature="default"' --cfg 'feature="use_std"' --cfg 'feature="with-deprecated"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "use_std", "with-deprecated"))' -C metadata=e0ec4072fce557b6 -C extra-filename=-916aa0c6e1dbfdeb --out-dir /home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/target/rpm/deps --extern futures=/home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/target/rpm/deps/libfutures-434b908452f5e0ee.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name split --edition=2015 tests/split.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --test --cfg 'feature="default"' --cfg 'feature="use_std"' --cfg 'feature="with-deprecated"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "use_std", "with-deprecated"))' -C metadata=72aad03058a66eab -C extra-filename=-61d36bb9962f7956 --out-dir /home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/target/rpm/deps --extern futures=/home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/target/rpm/deps/libfutures-434b908452f5e0ee.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name mpsc_close --edition=2015 tests/mpsc-close.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --test --cfg 'feature="default"' --cfg 'feature="use_std"' --cfg 'feature="with-deprecated"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "use_std", "with-deprecated"))' -C metadata=e12b02a149f1b705 -C extra-filename=-5c69a2fdd77bf98f --out-dir /home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/target/rpm/deps --extern futures=/home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/target/rpm/deps/libfutures-434b908452f5e0ee.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name unsync --edition=2015 tests/unsync.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --test --cfg 'feature="default"' --cfg 'feature="use_std"' --cfg 'feature="with-deprecated"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "use_std", "with-deprecated"))' -C metadata=c18234461122af2d -C extra-filename=-c8ecaad2e7ae1a81 --out-dir /home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/target/rpm/deps --extern futures=/home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/target/rpm/deps/libfutures-434b908452f5e0ee.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` Running `/usr/bin/rustc --crate-name futures --edition=2015 src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --test --cfg 'feature="default"' --cfg 'feature="use_std"' --cfg 'feature="with-deprecated"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "use_std", "with-deprecated"))' -C metadata=fe2527e4763a7117 -C extra-filename=-f1ff93a798e40930 --out-dir /home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/target/rpm/deps -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` 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: if this is a dyn-compatible trait, use `dyn` | 29 | Running(Option>>>), | +++ 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 = ATOMIC_USIZE_INIT; 55 + static DROPS: AtomicUsize = AtomicUsize::new(0); | 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: if this is a dyn-compatible trait, use `dyn` | 290 | inner: Peekable + Send>> | +++ 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: if this is a dyn-compatible trait, use `dyn` | 28 | -> Box + Send> { | +++ 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: if this is a dyn-compatible trait, use `dyn` | 10 | fn doit(n: usize) -> Box + Send> { | +++ 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/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: if this is a dyn-compatible trait, 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: if this is a dyn-compatible trait, use `dyn` | 50 | fn err_list() -> 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: if this is a dyn-compatible trait, use `dyn` | 29 | Running(Option>>>), | +++ 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: if this is a dyn-compatible trait, 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: if this is a dyn-compatible trait, 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: if this is a dyn-compatible trait, 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: if this is a dyn-compatible trait, 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: if this is a dyn-compatible trait, 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: if this is a dyn-compatible trait, use `dyn` | 73 | Box::new(b_rx.select(c_rx).then(|res| Ok(Box::new(res) as Box))), | +++ 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: if this is a dyn-compatible trait, use `dyn` | 361 | fn list() -> Box> { | +++ 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: if this is a dyn-compatible trait, use `dyn` | 214 | type FUTURE = Box>; | +++ warning: trait `AssertSendSync` is never used --> tests/ready_queue.rs:11:7 | 11 | trait AssertSendSync: Send + Sync {} | ^^^^^^^^^^^^^^ | = note: `#[warn(dead_code)]` on by default warning: 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: if this is a dyn-compatible trait, 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: if this is a dyn-compatible trait, 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: if this is a dyn-compatible trait, 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: if this is a dyn-compatible trait, 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: if this is a dyn-compatible trait, 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: if this is a dyn-compatible trait, 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::mpmc::SendError>` | = note: `#[warn(dropping_copy_types)]` on by default help: use `let _ = ...` to ignore the expression or result | 160 - drop(self.tx.lock().unwrap().send(id)); 160 + let _ = self.tx.lock().unwrap().send(id); | 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: if this is a dyn-compatible trait, use `dyn` | 136 | let mut block = Box::new(rx) as Box>; | +++ 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: if this is a dyn-compatible trait, use `dyn` | 80 | let future2 = Box::new(future.clone()) as Box>; | +++ 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: 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: if this is a dyn-compatible trait, use `dyn` | 150 | let (tx0, rx0) = mpsc::unbounded::>>(); | +++ warning: field `done` is never read --> tests/oneshot.rs:147:9 | 144 | struct Dead { | ---- field in this struct ... 147 | done: oneshot::Sender<()>, | ^^^^ | = note: `Dead` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis = note: `#[warn(dead_code)]` on by default warning: field `done` is never read --> tests/oneshot.rs:209:9 | 206 | struct Dead { | ---- field in this struct ... 209 | done: oneshot::Sender<()>, | ^^^^ | = note: `Dead` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis warning: 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: if this is a dyn-compatible trait, use `dyn` | 180 | let (tx0, rx0) = mpsc::unbounded::>>(); | +++ 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: if this is a dyn-compatible trait, 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: if this is a dyn-compatible trait, use `dyn` | 220 | tx.send(Box::new(b.map_err(|_| ())) as Box + Send>) | +++ 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: if this is a dyn-compatible trait, use `dyn` | 237 | let make_test_future = |reverse| -> Box, Error=()>> { | +++ 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: if this is a dyn-compatible trait, use `dyn` | 373 | let mut spawn_box: Box>> = Box::new(spawn); | +++ 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: if this is a dyn-compatible trait, 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: if this is a dyn-compatible trait, use `dyn` | 258 | tx.send(Box::new(b.map_err(|_| ())) as Box + Send>) | +++ thread 'rustc' panicked at /home/iurt/rpmbuild/BUILD/rust-1.86.0-build/rustc-1.86.0-src/compiler/rustc_codegen_ssa/src/back/write.rs:1724:6: failed to spawn coordinator thread: Os { code: 11, kind: WouldBlock, message: "Resource temporarily unavailable" } stack backtrace: 0: 0x7f5af3d46230 - ::fmt::h9076d363463cef76 1: 0x7f5af36a1913 - core::fmt::write::haa4f8d89103941d2 2: 0x7f5af3d39b53 - 3: 0x7f5af3d46092 - 4: 0x7f5af3d486b2 - 5: 0x7f5af3d4853a - std::panicking::default_hook::h500c9e56ff33a7b6 6: 0x7f5af10d9d92 - 7: 0x7f5af3d49213 - std::panicking::rust_panic_with_hook::hb6c9c271e522a2af 8: 0x7f5af3d48f0a - 9: 0x7f5af3d46709 - std::sys::backtrace::__rust_end_short_backtrace::ha1b507c6d907c5f8 10: 0x7f5af3d48bad - rust_begin_unwind 11: 0x7f5af0ae6cd0 - core::panicking::panic_fmt::h32392bf1aecbf138 12: 0x7f5af0ae71d6 - core::result::unwrap_failed::h6924688a29e577a2 13: 0x7f5af37edad8 - 14: 0x7f5af37e62f6 - 15: 0x7f5af3830882 - ::codegen_crate 16: 0x7f5af3a05b34 - ::codegen_and_build_linker 17: 0x7f5af38e7c64 - 18: 0x7f5af38e10c7 - 19: 0x7f5af38dcac7 - std[e704c5c9c6f67171]::sys::backtrace::__rust_begin_short_backtrace::::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()> 20: 0x7f5af38eaff1 - 21: 0x7f5af3d5584b - 22: 0x7f5af02a1f6f - start_thread 23: 0x7f5af031f5cc - __clone3 24: 0x0 - error: the compiler unexpectedly panicked. this is a bug. note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md note: please make sure that you have updated to the latest nightly note: please attach the file at `/home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/rustc-ice-2025-04-24T09_10_47-3858658.txt` to your bug report note: compiler flags: -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 -C opt-level=3 -C debuginfo=2 -C codegen-units=1 -C strip=none note: some of the compiler flags provided by cargo are hidden query stack during panic: end of query stack thread 'coordinator' panicked at /home/iurt/rpmbuild/BUILD/rust-1.86.0-build/rustc-1.86.0-src/compiler/rustc_codegen_ssa/src/back/write.rs:1855:6: failed to spawn work thread: Os { code: 11, kind: WouldBlock, message: "Resource temporarily unavailable" } stack backtrace: 0: 0x7fdb68d46230 - ::fmt::h9076d363463cef76 1: 0x7fdb686a1913 - core::fmt::write::haa4f8d89103941d2 2: 0x7fdb68d39b53 - 3: 0x7fdb68d46092 - 4: 0x7fdb68d486b2 - 5: 0x7fdb68d4853a - std::panicking::default_hook::h500c9e56ff33a7b6 6: 0x7fdb660d9d92 - 7: 0x7fdb68d49213 - std::panicking::rust_panic_with_hook::hb6c9c271e522a2af 8: 0x7fdb68d48f0a - 9: 0x7fdb68d46709 - std::sys::backtrace::__rust_end_short_backtrace::ha1b507c6d907c5f8 10: 0x7fdb68d48bad - rust_begin_unwind 11: 0x7fdb65ae6cd0 - core::panicking::panic_fmt::h32392bf1aecbf138 12: 0x7fdb65ae71d6 - core::result::unwrap_failed::h6924688a29e577a2 13: 0x7fdb687eb802 - 14: 0x7fdb6758b588 - 15: 0x7fdb687efcb7 - std[e704c5c9c6f67171]::sys::backtrace::__rust_begin_short_backtrace::<::spawn_named_thread::{closure#5}, core[c8515a07a195242f]::result::Result>::{closure#0}, core[c8515a07a195242f]::result::Result> 16: 0x7fdb687f3a49 - 17: 0x7fdb68d5584b - 18: 0x7fdb652a1f6f - start_thread 19: 0x7fdb6531f5cc - __clone3 20: 0x0 - thread 'rustc' panicked at /home/iurt/rpmbuild/BUILD/rust-1.86.0-build/rustc-1.86.0-src/compiler/rustc_codegen_ssa/src/back/write.rs:1724:6: failed to spawn coordinator thread: Os { code: 11, kind: WouldBlock, message: "Resource temporarily unavailable" } stack backtrace: 0: 0x7ff214146230 - ::fmt::h9076d363463cef76 1: 0x7ff213aa1913 - core::fmt::write::haa4f8d89103941d2 2: 0x7ff214139b53 - 3: 0x7ff214146092 - 4: 0x7ff2141486b2 - 5: 0x7ff21414853a - std::panicking::default_hook::h500c9e56ff33a7b6 6: 0x7ff2114d9d92 - 7: 0x7ff214149213 - std::panicking::rust_panic_with_hook::hb6c9c271e522a2af 8: 0x7ff214148f0a - 9: 0x7ff214146709 - std::sys::backtrace::__rust_end_short_backtrace::ha1b507c6d907c5f8 10: 0x7ff214148bad - rust_begin_unwind 11: 0x7ff210ee6cd0 - core::panicking::panic_fmt::h32392bf1aecbf138 error: the compiler unexpectedly panicked. this is a bug. 12: 0x7ff210ee71d6 - core::result::unwrap_failed::h6924688a29e577a2 note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md note: please make sure that you have updated to the latest nightly warning: `futures` (test "unfold") generated 2 warnings (2 duplicates) error: could not compile `futures` (test "unfold"); 2 warnings emitted Caused by: process didn't exit successfully: `/usr/bin/rustc --crate-name unfold --edition=2015 tests/unfold.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --test --cfg 'feature="default"' --cfg 'feature="use_std"' --cfg 'feature="with-deprecated"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "use_std", "with-deprecated"))' -C metadata=3e0382c1b775fe35 -C extra-filename=-59d3db0e416648e2 --out-dir /home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/target/rpm/deps --extern futures=/home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/target/rpm/deps/libfutures-434b908452f5e0ee.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` (exit status: 101) warning: build failed, waiting for other jobs to finish... note: please attach the file at `/home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/rustc-ice-2025-04-24T09_10_47-3858666.txt` to your bug report 13: 0x7ff213bedad8 - 14: 0x7ff213be62f6 - 15: 0x7ff213c30882 - ::codegen_crate 16: 0x7ff213e05b34 - ::codegen_and_build_linker 17: 0x7ff213ce7c64 - 18: 0x7ff213ce10c7 - note: compiler flags: -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 -C opt-level=3 -C debuginfo=2 -C codegen-units=1 -C strip=none note: some of the compiler flags provided by cargo are hidden 19: 0x7ff213cdcac7 - std[e704c5c9c6f67171]::sys::backtrace::__rust_begin_short_backtrace::::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()> 20: 0x7ff213ceaff1 - query stack during panic: end of query stack 21: 0x7ff21415584b - 22: 0x7ff2106a1f6f - start_thread 23: 0x7ff21071f5cc - __clone3 24: 0x0 - thread 'rustc' panicked at /home/iurt/rpmbuild/BUILD/rust-1.86.0-build/rustc-1.86.0-src/compiler/rustc_codegen_ssa/src/back/write.rs:1724:6: failed to spawn coordinator thread: Os { code: 11, kind: WouldBlock, message: "Resource temporarily unavailable" } stack backtrace: 0: 0x7f5b18346230 - ::fmt::h9076d363463cef76 1: 0x7f5b17ca1913 - core::fmt::write::haa4f8d89103941d2 2: 0x7f5b18339b53 - 3: 0x7f5b18346092 - 4: 0x7f5b183486b2 - 5: 0x7f5b1834853a - std::panicking::default_hook::h500c9e56ff33a7b6 6: 0x7f5b156d9d92 - 7: 0x7f5b18349213 - std::panicking::rust_panic_with_hook::hb6c9c271e522a2af 8: 0x7f5b18348f0a - 9: 0x7f5b18346709 - std::sys::backtrace::__rust_end_short_backtrace::ha1b507c6d907c5f8 10: 0x7f5b18348bad - rust_begin_unwind 11: 0x7f5b150e6cd0 - core::panicking::panic_fmt::h32392bf1aecbf138 12: 0x7f5b150e71d6 - core::result::unwrap_failed::h6924688a29e577a2 13: 0x7f5b17dedad8 - 14: 0x7f5b17de62f6 - 15: 0x7f5b17e30882 - ::codegen_crate 16: 0x7f5b18005b34 - ::codegen_and_build_linker 17: 0x7f5b17ee7c64 - 18: 0x7f5b17ee10c7 - thread 'rustc' panicked at /home/iurt/rpmbuild/BUILD/rust-1.86.0-build/rustc-1.86.0-src/compiler/rustc_codegen_ssa/src/back/write.rs:2058:17: /home/iurt/rpmbuild/BUILD/rust-1.86.0-build/rustc-1.86.0-src/compiler/rustc_codegen_ssa/src/back/write.rs:2058:17: panic during codegen/LLVM phase stack backtrace: 19: 0x7f5b17edcac7 - std[e704c5c9c6f67171]::sys::backtrace::__rust_begin_short_backtrace::::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()> 20: 0x7f5b17eeaff1 - 21: 0x7f5b1835584b - 0: 0x7fdb68d46230 - ::fmt::h9076d363463cef76 1: 0x7fdb686a1913 - core::fmt::write::haa4f8d89103941d2 22: 0x7f5b148a1f6f - start_thread 23: 0x7f5b1491f5cc - __clone3 24: 0x0 - 2: 0x7fdb68d39b53 - 3: 0x7fdb68d46092 - error: the compiler unexpectedly panicked. this is a bug. 4: 0x7fdb68d486b2 - note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md note: please make sure that you have updated to the latest nightly note: please attach the file at `/home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/rustc-ice-2025-04-24T09_10_47-3858642.txt` to your bug report note: compiler flags: -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 -C opt-level=3 -C debuginfo=2 -C codegen-units=1 -C strip=none note: some of the compiler flags provided by cargo are hidden query stack during panic: 5: 0x7fdb68d4853a - std::panicking::default_hook::h500c9e56ff33a7b6 end of query stack 6: 0x7fdb660d9d92 - 7: 0x7fdb68d49213 - std::panicking::rust_panic_with_hook::hb6c9c271e522a2af 8: 0x7fdb66751942 - 9: 0x7fdb66749046 - std[e704c5c9c6f67171]::sys::backtrace::__rust_end_short_backtrace::::{closure#0}, !> 10: 0x7fdb6674903f - std[e704c5c9c6f67171]::panicking::begin_panic:: 11: 0x7fdb667d8bfe - 12: 0x7fdb667bf78a - 13: 0x7fdb667bf3ab - 14: 0x7fdb667d8b40 - rustc_middle[16217dabf740581e]::util::bug::bug_fmt 15: 0x7fdb68830eee - ::join_codegen 16: 0x7fdb68a06b56 - ::link 17: 0x7fdb688e124b - 18: 0x7fdb688dcac7 - std[e704c5c9c6f67171]::sys::backtrace::__rust_begin_short_backtrace::::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()> 19: 0x7fdb688eaff1 - 20: 0x7fdb68d5584b - 21: 0x7fdb652a1f6f - start_thread 22: 0x7fdb6531f5cc - __clone3 23: 0x0 - error: the compiler unexpectedly panicked. this is a bug. note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md note: please make sure that you have updated to the latest nightly note: please attach the file at `/home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/rustc-ice-2025-04-24T09_10_47-3858664.txt` to your bug report note: compiler flags: -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 -C opt-level=3 -C debuginfo=2 -C codegen-units=1 -C strip=none note: some of the compiler flags provided by cargo are hidden query stack during panic: end of query stack error: the compiler unexpectedly panicked. this is a bug. note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md note: please make sure that you have updated to the latest nightly note: please attach the file at `/home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/rustc-ice-2025-04-24T09_10_47-3858666.txt` to your bug report note: compiler flags: -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 -C opt-level=3 -C debuginfo=2 -C codegen-units=1 -C strip=none note: some of the compiler flags provided by cargo are hidden query stack during panic: end of query stack warning: `futures` (test "channel") generated 4 warnings (1 duplicate) (run `cargo fix --test "channel"` to apply 3 suggestions) error: could not compile `futures` (test "channel"); 4 warnings emitted Caused by: process didn't exit successfully: `/usr/bin/rustc --crate-name channel --edition=2015 tests/channel.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --test --cfg 'feature="default"' --cfg 'feature="use_std"' --cfg 'feature="with-deprecated"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "use_std", "with-deprecated"))' -C metadata=94dc73e0e125f3a8 -C extra-filename=-bd7e6594a27d5700 --out-dir /home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/target/rpm/deps --extern futures=/home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/target/rpm/deps/libfutures-434b908452f5e0ee.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` (exit status: 101) 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: `futures` (test "bilock") generated 3 warnings (2 duplicates) (run `cargo fix --test "bilock"` to apply 1 suggestion) error: could not compile `futures` (test "bilock"); 3 warnings emitted Caused by: process didn't exit successfully: `/usr/bin/rustc --crate-name bilock --edition=2015 tests/bilock.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --test --cfg 'feature="default"' --cfg 'feature="use_std"' --cfg 'feature="with-deprecated"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "use_std", "with-deprecated"))' -C metadata=625aae27038fb8c6 -C extra-filename=-b8ed4950758cac3c --out-dir /home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/target/rpm/deps --extern futures=/home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/target/rpm/deps/libfutures-434b908452f5e0ee.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` (exit status: 101) warning: trait `AssertSend` is never used --> tests/mpsc.rs:20:7 | 20 | trait AssertSend: Send {} | ^^^^^^^^^^ | = note: `#[warn(dead_code)]` on by default 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 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: 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: `#[warn(dropping_copy_types)]` on by default help: use `let _ = ...` to ignore the expression or result | 106 - drop(readyrx.next().unwrap()); 106 + let _ = readyrx.next().unwrap(); | 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<(), ()>` | help: use `let _ = ...` to ignore the expression or result | 108 - drop(readyrx.next().unwrap()); 108 + let _ = readyrx.next().unwrap(); | error: could not compile `futures` (test "select_ok") Caused by: process didn't exit successfully: `/usr/bin/rustc --crate-name select_ok --edition=2015 tests/select_ok.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --test --cfg 'feature="default"' --cfg 'feature="use_std"' --cfg 'feature="with-deprecated"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "use_std", "with-deprecated"))' -C metadata=92869af089ec2455 -C extra-filename=-0aa85ffbae3dfdf4 --out-dir /home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/target/rpm/deps --extern futures=/home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/target/rpm/deps/libfutures-434b908452f5e0ee.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` (exit status: 101) 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>` | help: use `let _ = ...` to ignore the expression or result | 525 - drop(readyrx.wait()); 525 + let _ = readyrx.wait(); | 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::mpmc::SendError>` | help: use `let _ = ...` to ignore the expression or result | 160 - drop(self.tx.lock().unwrap().send(id)); 160 + let _ = self.tx.lock().unwrap().send(id); | thread 'rustc' panicked at /home/iurt/rpmbuild/BUILD/rust-1.86.0-build/rustc-1.86.0-src/compiler/rustc_codegen_ssa/src/back/write.rs:1724:6: failed to spawn coordinator thread: Os { code: 11, kind: WouldBlock, message: "Resource temporarily unavailable" } stack backtrace: 0: 0x7f60b9546230 - ::fmt::h9076d363463cef76 1: 0x7f60b8ea1913 - core::fmt::write::haa4f8d89103941d2 2: 0x7f60b9539b53 - 3: 0x7f60b9546092 - 4: 0x7f60b95486b2 - 5: 0x7f60b954853a - std::panicking::default_hook::h500c9e56ff33a7b6 6: 0x7f60b68d9d92 - 7: 0x7f60b9549213 - std::panicking::rust_panic_with_hook::hb6c9c271e522a2af 8: 0x7f60b9548f0a - 9: 0x7f60b9546709 - std::sys::backtrace::__rust_end_short_backtrace::ha1b507c6d907c5f8 10: 0x7f60b9548bad - rust_begin_unwind 11: 0x7f60b62e6cd0 - core::panicking::panic_fmt::h32392bf1aecbf138 12: 0x7f60b62e71d6 - core::result::unwrap_failed::h6924688a29e577a2 13: 0x7f60b8fedad8 - 14: 0x7f60b8fe62f6 - 15: 0x7f60b9030882 - ::codegen_crate 16: 0x7f60b9205b34 - ::codegen_and_build_linker 17: 0x7f60b90e7c64 - 18: 0x7f60b90e10c7 - 19: 0x7f60b90dcac7 - std[e704c5c9c6f67171]::sys::backtrace::__rust_begin_short_backtrace::::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()> 20: 0x7f60b90eaff1 - 21: 0x7f60b955584b - 22: 0x7f60b5aa1f6f - start_thread 23: 0x7f60b5b1f5cc - __clone3 24: 0x0 - error: the compiler unexpectedly panicked. this is a bug. note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md note: please make sure that you have updated to the latest nightly note: please attach the file at `/home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/rustc-ice-2025-04-24T09_10_47-3858655.txt` to your bug report note: compiler flags: -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 -C opt-level=3 -C debuginfo=2 -C codegen-units=1 -C strip=none note: some of the compiler flags provided by cargo are hidden query stack during panic: end of query stack warning: `futures` (test "sink") generated 3 warnings (2 duplicates) (run `cargo fix --test "sink"` to apply 1 suggestion) error: could not compile `futures` (test "sink"); 3 warnings emitted Caused by: process didn't exit successfully: `/usr/bin/rustc --crate-name sink --edition=2015 tests/sink.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --test --cfg 'feature="default"' --cfg 'feature="use_std"' --cfg 'feature="with-deprecated"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "use_std", "with-deprecated"))' -C metadata=8bbb619123fcddb7 -C extra-filename=-428514acd3a29d86 --out-dir /home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/target/rpm/deps --extern futures=/home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/target/rpm/deps/libfutures-434b908452f5e0ee.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` (exit status: 101) thread 'rustc' panicked at /home/iurt/rpmbuild/BUILD/rust-1.86.0-build/rustc-1.86.0-src/compiler/rustc_codegen_ssa/src/back/write.rs:1724:6: failed to spawn coordinator thread: Os { code: 11, kind: WouldBlock, message: "Resource temporarily unavailable" } stack backtrace: 0: 0x7f63ff746230 - ::fmt::h9076d363463cef76 1: 0x7f63ff0a1913 - core::fmt::write::haa4f8d89103941d2 2: 0x7f63ff739b53 - 3: 0x7f63ff746092 - 4: 0x7f63ff7486b2 - 5: 0x7f63ff74853a - std::panicking::default_hook::h500c9e56ff33a7b6 6: 0x7f63fcad9d92 - 7: 0x7f63ff749213 - std::panicking::rust_panic_with_hook::hb6c9c271e522a2af 8: 0x7f63ff748f0a - 9: 0x7f63ff746709 - std::sys::backtrace::__rust_end_short_backtrace::ha1b507c6d907c5f8 10: 0x7f63ff748bad - rust_begin_unwind 11: 0x7f63fc4e6cd0 - core::panicking::panic_fmt::h32392bf1aecbf138 12: 0x7f63fc4e71d6 - core::result::unwrap_failed::h6924688a29e577a2 13: 0x7f63ff1edad8 - 14: 0x7f63ff1e62f6 - 15: 0x7f63ff230882 - ::codegen_crate 16: 0x7f63ff405b34 - ::codegen_and_build_linker 17: 0x7f63ff2e7c64 - 18: 0x7f63ff2e10c7 - 19: 0x7f63ff2dcac7 - std[e704c5c9c6f67171]::sys::backtrace::__rust_begin_short_backtrace::::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()> 20: 0x7f63ff2eaff1 - 21: 0x7f63ff75584b - 22: 0x7f63fbca1f6f - start_thread 23: 0x7f63fbd1f5cc - __clone3 24: 0x0 - error: the compiler unexpectedly panicked. this is a bug. note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md note: please make sure that you have updated to the latest nightly note: please attach the file at `/home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/rustc-ice-2025-04-24T09_10_47-3858678.txt` to your bug report note: compiler flags: -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 -C opt-level=3 -C debuginfo=2 -C codegen-units=1 -C strip=none note: some of the compiler flags provided by cargo are hidden query stack during panic: end of query stack thread 'rustc' panicked at /home/iurt/rpmbuild/BUILD/rust-1.86.0-build/rustc-1.86.0-src/compiler/rustc_codegen_ssa/src/back/write.rs:1163:10: failed to spawn helper thread: Os { code: 11, kind: WouldBlock, message: "Resource temporarily unavailable" } stack backtrace: 0: 0x7f0c3e746230 - ::fmt::h9076d363463cef76 1: 0x7f0c3e0a1913 - core::fmt::write::haa4f8d89103941d2 2: 0x7f0c3e739b53 - thread 'rustc' panicked at /home/iurt/rpmbuild/BUILD/rust-1.86.0-build/rustc-1.86.0-src/compiler/rustc_codegen_ssa/src/back/write.rs:1724:6: failed to spawn coordinator thread: Os { code: 11, kind: WouldBlock, message: "Resource temporarily unavailable" } stack backtrace: 3: 0x7f0c3e746092 - 4: 0x7f0c3e7486b2 - 5: 0x7f0c3e74853a - std::panicking::default_hook::h500c9e56ff33a7b6 6: 0x7f0c3bad9d92 - 7: 0x7f0c3e749213 - std::panicking::rust_panic_with_hook::hb6c9c271e522a2af 8: 0x7f0c3e748f0a - 9: 0x7f0c3e746709 - std::sys::backtrace::__rust_end_short_backtrace::ha1b507c6d907c5f8 10: 0x7f0c3e748bad - rust_begin_unwind 11: 0x7f0c3b4e6cd0 - core::panicking::panic_fmt::h32392bf1aecbf138 12: 0x7f0c3b4e71d6 - core::result::unwrap_failed::h6924688a29e577a2 13: 0x7f0c3e1ed63a - 14: 0x7f0c3e1e62f6 - 15: 0x7f0c3e230882 - ::codegen_crate 16: 0x7f0c3e405b34 - ::codegen_and_build_linker 17: 0x7f0c3e2e7c64 - 18: 0x7f0c3e2e10c7 - 19: 0x7f0c3e2dcac7 - std[e704c5c9c6f67171]::sys::backtrace::__rust_begin_short_backtrace::::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()> 20: 0x7f0c3e2eaff1 - 21: 0x7f0c3e75584b - 22: 0x7f0c3aca1f6f - start_thread 23: 0x7f0c3ad1f5cc - __clone3 24: 0x0 - 0: 0x7fc07c946230 - ::fmt::h9076d363463cef76 1: 0x7fc07c2a1913 - core::fmt::write::haa4f8d89103941d2 2: 0x7fc07c939b53 - 3: 0x7fc07c946092 - 4: 0x7fc07c9486b2 - 5: 0x7fc07c94853a - std::panicking::default_hook::h500c9e56ff33a7b6 6: 0x7fc079cd9d92 - 7: 0x7fc07c949213 - std::panicking::rust_panic_with_hook::hb6c9c271e522a2af 8: 0x7fc07c948f0a - 9: 0x7fc07c946709 - std::sys::backtrace::__rust_end_short_backtrace::ha1b507c6d907c5f8 10: 0x7fc07c948bad - rust_begin_unwind 11: 0x7fc0796e6cd0 - core::panicking::panic_fmt::h32392bf1aecbf138 12: 0x7fc0796e71d6 - core::result::unwrap_failed::h6924688a29e577a2 13: 0x7fc07c3edad8 - 14: 0x7fc07c3e62f6 - 15: 0x7fc07c430882 - ::codegen_crate 16: 0x7fc07c605b34 - ::codegen_and_build_linker 17: 0x7fc07c4e7c64 - 18: 0x7fc07c4e10c7 - 19: 0x7fc07c4dcac7 - std[e704c5c9c6f67171]::sys::backtrace::__rust_begin_short_backtrace::::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()> 20: 0x7fc07c4eaff1 - 21: 0x7fc07c95584b - 22: 0x7fc078ea1f6f - start_thread 23: 0x7fc078f1f5cc - __clone3 24: 0x0 - error: the compiler unexpectedly panicked. this is a bug. note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md note: please make sure that you have updated to the latest nightly note: please attach the file at `/home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/rustc-ice-2025-04-24T09_10_47-3858639.txt` to your bug report note: compiler flags: -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 -C opt-level=3 -C debuginfo=2 -C codegen-units=1 -C strip=none note: some of the compiler flags provided by cargo are hidden query stack during panic: end of query stack warning: `futures` (test "mpsc") generated 9 warnings (1 duplicate) (run `cargo fix --test "mpsc"` to apply 1 suggestion) error: could not compile `futures` (test "mpsc"); 9 warnings emitted Caused by: process didn't exit successfully: `/usr/bin/rustc --crate-name mpsc --edition=2015 tests/mpsc.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --test --cfg 'feature="default"' --cfg 'feature="use_std"' --cfg 'feature="with-deprecated"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "use_std", "with-deprecated"))' -C metadata=5b203c163629609f -C extra-filename=-a270f1a73215fb08 --out-dir /home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/target/rpm/deps --extern futures=/home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/target/rpm/deps/libfutures-434b908452f5e0ee.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` (exit status: 101) error: the compiler unexpectedly panicked. this is a bug. note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md note: please make sure that you have updated to the latest nightly note: please attach the file at `/home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/rustc-ice-2025-04-24T09_10_47-3858700.txt` to your bug report note: compiler flags: -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 -C opt-level=3 -C debuginfo=2 -C codegen-units=1 -C strip=none note: some of the compiler flags provided by cargo are hidden query stack during panic: end of query stack warning: `futures` (test "eventual") generated 2 warnings (2 duplicates) error: could not compile `futures` (test "eventual"); 2 warnings emitted Caused by: process didn't exit successfully: `/usr/bin/rustc --crate-name eventual --edition=2015 tests/eventual.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --test --cfg 'feature="default"' --cfg 'feature="use_std"' --cfg 'feature="with-deprecated"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "use_std", "with-deprecated"))' -C metadata=f181a0ec79706492 -C extra-filename=-f27dad7e494fb000 --out-dir /home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/target/rpm/deps --extern futures=/home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/target/rpm/deps/libfutures-434b908452f5e0ee.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` (exit status: 101) thread 'coordinator' panicked at /home/iurt/rpmbuild/BUILD/rust-1.86.0-build/rustc-1.86.0-src/compiler/rustc_codegen_ssa/src/back/write.rs:1855:6: failed to spawn work thread: Os { code: 11, kind: WouldBlock, message: "Resource temporarily unavailable" } stack backtrace: warning: `futures` (test "shared") generated 5 warnings (2 duplicates) (run `cargo fix --test "shared"` to apply 3 suggestions) error: could not compile `futures` (test "shared"); 5 warnings emitted Caused by: process didn't exit successfully: `/usr/bin/rustc --crate-name shared --edition=2015 tests/shared.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --emit=dep-info,link -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 --test --cfg 'feature="default"' --cfg 'feature="use_std"' --cfg 'feature="with-deprecated"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "use_std", "with-deprecated"))' -C metadata=e0ec4072fce557b6 -C extra-filename=-916aa0c6e1dbfdeb --out-dir /home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/target/rpm/deps --extern futures=/home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/target/rpm/deps/libfutures-434b908452f5e0ee.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` (exit status: 101) 0: 0x7f60bef46230 - ::fmt::h9076d363463cef76 1: 0x7f60be8a1913 - core::fmt::write::haa4f8d89103941d2 2: 0x7f60bef39b53 - 3: 0x7f60bef46092 - 4: 0x7f60bef486b2 - 5: 0x7f60bef4853a - std::panicking::default_hook::h500c9e56ff33a7b6 6: 0x7f60bc2d9d92 - 7: 0x7f60bef49213 - std::panicking::rust_panic_with_hook::hb6c9c271e522a2af 8: 0x7f60bef48f0a - 9: 0x7f60bef46709 - std::sys::backtrace::__rust_end_short_backtrace::ha1b507c6d907c5f8 10: 0x7f60bef48bad - rust_begin_unwind 11: 0x7f60bbce6cd0 - core::panicking::panic_fmt::h32392bf1aecbf138 12: 0x7f60bbce71d6 - core::result::unwrap_failed::h6924688a29e577a2 13: 0x7f60be9eb802 - 14: 0x7f60bd78b588 - 15: 0x7f60be9efcb7 - std[e704c5c9c6f67171]::sys::backtrace::__rust_begin_short_backtrace::<::spawn_named_thread::{closure#5}, core[c8515a07a195242f]::result::Result>::{closure#0}, core[c8515a07a195242f]::result::Result> 16: 0x7f60be9f3a49 - 17: 0x7f60bef5584b - 18: 0x7f60bb4a1f6f - start_thread 19: 0x7f60bb51f5cc - __clone3 20: 0x0 - error: the compiler unexpectedly panicked. this is a bug. note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md note: please make sure that you have updated to the latest nightly note: please attach the file at `/home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/rustc-ice-2025-04-24T09_10_47-3858652.txt` to your bug report note: compiler flags: -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 -C opt-level=3 -C debuginfo=2 -C codegen-units=1 -C strip=none note: some of the compiler flags provided by cargo are hidden query stack during panic: end of query stack thread 'rustc' panicked at /home/iurt/rpmbuild/BUILD/rust-1.86.0-build/rustc-1.86.0-src/compiler/rustc_codegen_ssa/src/back/write.rs:2058:17: /home/iurt/rpmbuild/BUILD/rust-1.86.0-build/rustc-1.86.0-src/compiler/rustc_codegen_ssa/src/back/write.rs:2058:17: panic during codegen/LLVM phase stack backtrace: 0: 0x7f60bef46230 - ::fmt::h9076d363463cef76 1: 0x7f60be8a1913 - core::fmt::write::haa4f8d89103941d2 2: 0x7f60bef39b53 - 3: 0x7f60bef46092 - 4: 0x7f60bef486b2 - 5: 0x7f60bef4853a - std::panicking::default_hook::h500c9e56ff33a7b6 6: 0x7f60bc2d9d92 - 7: 0x7f60bef49213 - std::panicking::rust_panic_with_hook::hb6c9c271e522a2af 8: 0x7f60bc951942 - 9: 0x7f60bc949046 - std[e704c5c9c6f67171]::sys::backtrace::__rust_end_short_backtrace::::{closure#0}, !> 10: 0x7f60bc94903f - std[e704c5c9c6f67171]::panicking::begin_panic:: 11: 0x7f60bc9d8bfe - 12: 0x7f60bc9bf78a - 13: 0x7f60bc9bf3ab - 14: 0x7f60bc9d8b40 - rustc_middle[16217dabf740581e]::util::bug::bug_fmt 15: 0x7f60bea30eee - ::join_codegen 16: 0x7f60bec06b56 - ::link 17: 0x7f60beae124b - 18: 0x7f60beadcac7 - std[e704c5c9c6f67171]::sys::backtrace::__rust_begin_short_backtrace::::{closure#1}, ()>::{closure#0}, ()>::{closure#0}::{closure#0}, ()> 19: 0x7f60beaeaff1 - 20: 0x7f60bef5584b - 21: 0x7f60bb4a1f6f - start_thread 22: 0x7f60bb51f5cc - __clone3 23: 0x0 - error: the compiler unexpectedly panicked. this is a bug. note: we would appreciate a bug report: https://github.com/rust-lang/rust/issues/new?labels=C-bug%2C+I-ICE%2C+T-compiler&template=ice.md note: please make sure that you have updated to the latest nightly note: please attach the file at `/home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/rustc-ice-2025-04-24T09_10_47-3858652.txt` to your bug report note: compiler flags: -C opt-level=3 -C embed-bitcode=no -C codegen-units=1 -C debuginfo=2 -C opt-level=3 -C debuginfo=2 -C codegen-units=1 -C strip=none note: some of the compiler flags provided by cargo are hidden query stack during panic: end of query stack error: could not compile `futures` (test "buffer_unordered") Caused by: process didn't exit successfully: `/usr/bin/rustc --crate-name buffer_unordered --edition=2015 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 -C codegen-units=1 -C debuginfo=2 --test --cfg 'feature="default"' --cfg 'feature="use_std"' --cfg 'feature="with-deprecated"' --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values("default", "use_std", "with-deprecated"))' -C metadata=44532743a09d9639 -C extra-filename=-7237dba7358f5cad --out-dir /home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/target/rpm/deps -L dependency=/home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/target/rpm/deps --extern futures=/home/pterjan/rpmbuild/BUILD/rust-futures01-0.1.19-build/futures-0.1.19/target/rpm/deps/libfutures-434b908452f5e0ee.rlib -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Cstrip=none --cap-lints=warn` (exit status: 101) warning: `futures` (test "fuse") generated 2 warnings (run `cargo fix --test "fuse"` to apply 1 suggestion) warning: `futures` (lib test) generated 58 warnings (58 duplicates) warning: `futures` (test "recurse") generated 1 warning (run `cargo fix --test "recurse"` to apply 1 suggestion) warning: `futures` (test "futures_unordered") generated 8 warnings (2 duplicates) (run `cargo fix --test "futures_unordered"` to apply 6 suggestions) warning: `futures` (test "ready_queue") generated 1 warning warning: `futures` (test "futures_ordered") generated 8 warnings (2 duplicates) (run `cargo fix --test "futures_ordered"` to apply 6 suggestions) warning: `futures` (test "eager_drop") generated 2 warnings (2 duplicates) warning: `futures` (test "unsync-oneshot") generated 4 warnings (2 duplicates) warning: `futures` (test "unsync") generated 7 warnings (2 duplicates) (run `cargo fix --test "unsync"` to apply 2 suggestions) warning: `futures` (test "oneshot") generated 4 warnings (2 duplicates) warning: `futures` (test "stream") generated 9 warnings (2 duplicates) (run `cargo fix --test "stream"` to apply 7 suggestions) warning: `futures` (test "all") generated 3 warnings (2 duplicates) (run `cargo fix --test "all"` to apply 1 suggestion) error: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.YIxFvy (%check) RPM build errors: Bad exit status from /home/pterjan/rpmbuild/tmp/rpm-tmp.YIxFvy (%check) I: [iurt_root_command] ERROR: chroot