Mock Version: 3.0 Mock Version: 3.0 Mock Version: 3.0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/rust-futures0.1.spec'], chrootPath='/var/lib/mock/f37-build-side-31-rust-devel-113392-6034/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -bs --target riscv64 --nodeps /builddir/build/SPECS/rust-futures0.1.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1658534400 Wrote: /builddir/build/SRPMS/rust-futures0.1-0.1.29-8.fc37.src.rpm Child return code was: 0 ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -br --target riscv64 --nodeps /builddir/build/SPECS/rust-futures0.1.spec'], chrootPath='/var/lib/mock/f37-build-side-31-rust-devel-113392-6034/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueraiseExc=FalseprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -br --target riscv64 --nodeps /builddir/build/SPECS/rust-futures0.1.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1658534400 Executing(%prep): /bin/sh -e /var/tmp/rpm-tmp.mt2NqE + umask 022 + cd /builddir/build/BUILD + cd /builddir/build/BUILD + rm -rf futures-0.1.29 + /usr/lib/rpm/rpmuncompress -x /builddir/build/SOURCES/futures-0.1.29.crate + STATUS=0 + '[' 0 -ne 0 ']' + cd futures-0.1.29 + /usr/bin/chmod -Rf a+rX,u+w,g-w,o-w . + set -eu + /usr/bin/mkdir -p .cargo + cat + /usr/bin/rm -f Cargo.lock + /usr/bin/rm -f Cargo.toml.orig + RPM_EC=0 ++ jobs -p + exit 0 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.AbkevO + umask 022 + cd /builddir/build/BUILD + cd futures-0.1.29 + /usr/bin/cargo-inspector -BR Cargo.toml + RPM_EC=0 ++ jobs -p + exit 0 Wrote: /builddir/build/SRPMS/rust-futures0.1-0.1.29-8.fc37.buildreqs.nosrc.rpm Child return code was: 11 Dynamic buildrequires detected Going to install missing buildrequires. See root.log for details. ENTER ['do_with_status'](['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --target riscv64 --nodeps /builddir/build/SPECS/rust-futures0.1.spec'], chrootPath='/var/lib/mock/f37-build-side-31-rust-devel-113392-6034/root'env={'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'}shell=Falselogger=timeout=864000uid=996gid=135user='mockbuild'nspawn_args=[]unshare_net=TrueprintOutput=False) Executing command: ['bash', '--login', '-c', '/usr/bin/rpmbuild -ba --noprep --target riscv64 --nodeps /builddir/build/SPECS/rust-futures0.1.spec'] with env {'TERM': 'vt100', 'SHELL': '/bin/bash', 'HOME': '/builddir', 'HOSTNAME': 'mock', 'PATH': '/usr/bin:/bin:/usr/sbin:/sbin', 'PROMPT_COMMAND': 'printf "\\033]0;\\007"', 'PS1': ' \\s-\\v\\$ ', 'LANG': 'C.UTF-8'} and shell False Building target platforms: riscv64 Building for target riscv64 setting SOURCE_DATE_EPOCH=1658534400 Executing(%generate_buildrequires): /bin/sh -e /var/tmp/rpm-tmp.0LiYUw + umask 022 + cd /builddir/build/BUILD + cd futures-0.1.29 + /usr/bin/cargo-inspector -BR Cargo.toml + RPM_EC=0 ++ jobs -p + exit 0 Executing(%build): /bin/sh -e /var/tmp/rpm-tmp.wmk8B8 + umask 022 + cd /builddir/build/BUILD + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + 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.29 + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' /usr/bin/cargo build -j8 -Z avoid-dev-deps --release Compiling futures v0.1.29 (/builddir/build/BUILD/futures-0.1.29) Running `/usr/bin/rustc --crate-name futures src/lib.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type lib --emit=dep-info,metadata,link -C opt-level=3 -C embed-bitcode=no --cfg 'feature="default"' --cfg 'feature="use_std"' --cfg 'feature="with-deprecated"' -C metadata=d4a05c500d96cdc8 -C extra-filename=-d4a05c500d96cdc8 --out-dir /builddir/build/BUILD/futures-0.1.29/target/release/deps -L dependency=/builddir/build/BUILD/futures-0.1.29/target/release/deps -Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn` warning: anonymous parameters are deprecated and will be removed in the next edition --> src/future/mod.rs:1084:20 | 1084 | fn future_from(T) -> Self::Future; | ^ help: try naming the parameter or explicitly ignoring it: `_: T` | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! = note: for more information, see issue #41686 = note: `#[warn(anonymous_parameters)]` on by default warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred --> src/task_impl/std/mod.rs:8:44 | 8 | use std::sync::{Arc, Mutex, Condvar, Once, ONCE_INIT}; | ^^^^^^^^^ | = note: `#[warn(deprecated)]` on by default warning: use of deprecated constant `std::sync::ONCE_INIT`: the `new` function is now preferred --> src/task_impl/std/mod.rs:35:21 | 35 | static INIT: Once = ONCE_INIT; | ^^^^^^^^^ | help: replace the use of the deprecated constant | 35 | static INIT: Once = Once::new(); | ~~~~~~~~~~~ warning: trait objects without an explicit `dyn` are deprecated --> src/task_impl/core.rs:21:12 | 21 | f: &'a Fn() -> NotifyHandle, | ^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see = note: `#[warn(bare_trait_objects)]` on by default help: use `dyn` | 21 | f: &'a dyn Fn() -> NotifyHandle, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/task_impl/std/mod.rs:93:17 | 93 | Old(&'a Arc), | ^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 93 | Old(&'a Arc), | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/task_impl/std/mod.rs:107:13 | 107 | Old(Arc), | ^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 107 | Old(Arc), | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/task_impl/std/mod.rs:402:22 | 402 | spawn: Spawn + Send>>, | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 402 | spawn: Spawn + Send>>, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/task_impl/std/mod.rs:409:15 | 409 | exec: Arc, | ^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 409 | exec: Arc, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/task_impl/std/mod.rs:598:14 | 598 | set: Arc, | ^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 598 | set: Arc, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/task_impl/std/data.rs:35:41 | 35 | ... Box, | ^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 35 | Box, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/task_impl/mod.rs:634:17 | 634 | inner: *mut UnsafeNotify, | ^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 634 | inner: *mut dyn UnsafeNotify, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/future/mod.rs:106:50 | 106 | pub type BoxFuture = ::std::boxed::Box + Send>; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 106 | pub type BoxFuture = ::std::boxed::Box + Send>; | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/future/catch_unwind.rs:28:22 | 28 | type Error = Box; | ^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 28 | type Error = Box; | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/future/shared.rs:310:32 | 310 | fn cause(&self) -> Option<&error::Error> { | ^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 310 | fn cause(&self) -> Option<&dyn error::Error> { | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/stream/mod.rs:132:50 | 132 | pub type BoxStream = ::std::boxed::Box + Send>; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 132 | pub type BoxStream = ::std::boxed::Box + Send>; | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/stream/catch_unwind.rs:37:22 | 37 | type Error = Box; | ^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 37 | type Error = Box; | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/stream/futures_unordered.rs:602:50 | 602 | unsafe fn hide_lt(p: *mut ArcNode) -> *mut UnsafeNotify { | ^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 602 | unsafe fn hide_lt(p: *mut ArcNode) -> *mut dyn UnsafeNotify { | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/sink/mod.rs:55:48 | 55 | pub type BoxSink = ::std::boxed::Box + | ________________________________________________^ 56 | | ::core::marker::Send>; | |___________________________________________________________________^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 55 | pub type BoxSink = ::std::boxed::Box + | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/task_impl/mod.rs:651:35 | 651 | pub unsafe fn new(inner: *mut UnsafeNotify) -> NotifyHandle { | ^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 651 | pub unsafe fn new(inner: *mut dyn UnsafeNotify) -> NotifyHandle { | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/task_impl/core.rs:45:23 | 45 | pub fn new(f: &'a Fn() -> NotifyHandle, id: usize) -> BorrowedUnpark<'a> { | ^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 45 | 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:121:23 | 121 | pub fn new(f: &'a Fn() -> NotifyHandle, id: usize) -> BorrowedUnpark<'a> { | ^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 121 | 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:222:47 | 222 | pub fn poll_future(&mut self, unpark: Arc) -> Poll { | ^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 222 | pub fn poll_future(&mut self, unpark: Arc) -> Poll { | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/task_impl/std/mod.rs:248:36 | 248 | pub fn execute(self, exec: Arc) | ^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 248 | pub fn execute(self, exec: Arc) | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/task_impl/std/mod.rs:269:47 | 269 | pub fn poll_stream(&mut self, unpark: Arc) | ^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 269 | pub fn poll_stream(&mut self, unpark: Arc) | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/task_impl/std/mod.rs:295:67 | 295 | pub fn start_send(&mut self, value: S::SinkItem, unpark: &Arc) | ^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 295 | 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:303:47 | 303 | pub fn poll_flush(&mut self, unpark: &Arc) | ^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 303 | pub fn poll_flush(&mut self, unpark: &Arc) | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/task_impl/std/mod.rs:607:25 | 607 | pub fn new(set: Arc, id: usize) -> UnparkEvent { | ^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 607 | pub fn new(set: Arc, id: usize) -> UnparkEvent { | +++ warning: use of deprecated associated function `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 associated function `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 associated function `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 associated function `core::error::Error::description`: use the Display impl or to_string() --> src/future/shared.rs:306:20 | 306 | self.error.description() | ^^^^^^^^^^^ warning: trait objects without an explicit `dyn` are deprecated --> src/stream/select.rs:37:40 | 37 | (&mut self.stream2 as &mut Stream, | ^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 37 | (&mut self.stream2 as &mut dyn Stream, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/stream/select.rs:38:40 | 38 | &mut self.stream1 as &mut Stream) | ^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 38 | &mut self.stream1 as &mut dyn Stream) | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/stream/select.rs:40:40 | 40 | (&mut self.stream1 as &mut Stream, | ^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 40 | (&mut self.stream1 as &mut dyn Stream, | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/stream/select.rs:41:40 | 41 | &mut self.stream2 as &mut Stream) | ^^^^^^^^^^^^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 41 | &mut self.stream2 as &mut dyn Stream) | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/stream/futures_unordered.rs:603:30 | 603 | mem::transmute(p as *mut UnsafeNotify) | ^^^^^^^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 603 | mem::transmute(p as *mut dyn UnsafeNotify) | +++ warning: use of deprecated associated function `core::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead --> src/task_impl/atomic_task.rs:173:26 | 173 | match self.state.compare_and_swap(WAITING, REGISTERING, Acquire) { | ^^^^^^^^^^^^^^^^ warning: trait objects without an explicit `dyn` are deprecated --> src/task_impl/std/data.rs:124:36 | 124 | &**entry as *const Opaque as *const T | ^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 124 | &**entry as *const dyn Opaque as *const T | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/task_impl/std/mod.rs:208:35 | 208 | &**old1 as *const Unpark == &**old2 as *const Unpark | ^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 208 | &**old1 as *const dyn Unpark == &**old2 as *const Unpark | +++ warning: trait objects without an explicit `dyn` are deprecated --> src/task_impl/std/mod.rs:208:63 | 208 | &**old1 as *const Unpark == &**old2 as *const Unpark | ^^^^^^ | = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! = note: for more information, see help: use `dyn` | 208 | &**old1 as *const Unpark == &**old2 as *const dyn Unpark | +++ warning: use of deprecated associated function `core::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead --> src/task_impl/std/mod.rs:489:26 | 489 | match self.state.compare_and_swap(NOTIFY, IDLE, Ordering::SeqCst) { | ^^^^^^^^^^^^^^^^ warning: use of deprecated associated function `core::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead --> src/task_impl/std/mod.rs:500:26 | 500 | match self.state.compare_and_swap(IDLE, SLEEP, Ordering::SeqCst) { | ^^^^^^^^^^^^^^^^ warning: use of deprecated associated function `core::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead --> src/task_impl/std/mod.rs:516:37 | 516 | if NOTIFY == self.state.compare_and_swap(NOTIFY, IDLE, Ordering::SeqCst) { | ^^^^^^^^^^^^^^^^ warning: use of deprecated associated function `core::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead --> src/task_impl/std/mod.rs:527:26 | 527 | match self.state.compare_and_swap(IDLE, NOTIFY, Ordering::SeqCst) { | ^^^^^^^^^^^^^^^^ warning: use of deprecated associated function `core::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead --> src/task_impl/std/mod.rs:537:26 | 537 | match self.state.compare_and_swap(SLEEP, NOTIFY, Ordering::SeqCst) { | ^^^^^^^^^^^^^^^^ warning: use of deprecated associated function `core::sync::atomic::AtomicUsize::compare_and_swap`: Use `compare_exchange` or `compare_exchange_weak` instead --> src/sync/mpsc/mod.rs:757:49 | 757 | let actual = self.inner.num_senders.compare_and_swap(curr, next, SeqCst); | ^^^^^^^^^^^^^^^^ warning: `futures` (lib) generated 46 warnings Finished release [optimized] target(s) in 58.45s + RPM_EC=0 ++ jobs -p + exit 0 Executing(%install): /bin/sh -e /var/tmp/rpm-tmp.DBD9yK + umask 022 + cd /builddir/build/BUILD + '[' /builddir/build/BUILDROOT/rust-futures0.1-0.1.29-8.fc37.riscv64 '!=' / ']' + rm -rf /builddir/build/BUILDROOT/rust-futures0.1-0.1.29-8.fc37.riscv64 ++ dirname /builddir/build/BUILDROOT/rust-futures0.1-0.1.29-8.fc37.riscv64 + mkdir -p /builddir/build/BUILDROOT + mkdir /builddir/build/BUILDROOT/rust-futures0.1-0.1.29-8.fc37.riscv64 + CFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CFLAGS + CXXFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection' + export CXXFLAGS + FFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FFLAGS + FCFLAGS='-O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -fasynchronous-unwind-tables -fstack-clash-protection -I/usr/lib64/gfortran/modules' + export FCFLAGS + LDFLAGS='-Wl,-z,relro -Wl,--as-needed -Wl,-z,now -specs=/usr/lib/rpm/redhat/redhat-hardened-ld -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1 -Wl,--build-id=sha1 -specs=/usr/lib/rpm/redhat/redhat-package-notes' + 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.29 + set -eu + /usr/bin/cargo-inspector --target-kinds Cargo.toml ++ printf 'lib\nrlib\nproc-macro' + grep -q -F -x 'lib rlib proc-macro' ++ /usr/bin/cargo-inspector --name Cargo.toml + CRATE_NAME=futures ++ /usr/bin/cargo-inspector --version Cargo.toml + CRATE_VERSION=0.1.29 + REG_DIR=/builddir/build/BUILDROOT/rust-futures0.1-0.1.29-8.fc37.riscv64/usr/share/cargo/registry/futures-0.1.29 + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-futures0.1-0.1.29-8.fc37.riscv64/usr/share/cargo/registry/futures-0.1.29 + gawk -i inplace -v INPLACE_SUFFIX=.deps '/^\[((.+\.)?((dev|build)-)?dependencies|features)/{f=1;next} /^\[/{f=0}; !f' Cargo.toml + grep -w -E -v 'Cargo.(lock|toml.orig)' + xargs -d '\n' /usr/bin/cp --parents -a -t /builddir/build/BUILDROOT/rust-futures0.1-0.1.29-8.fc37.riscv64/usr/share/cargo/registry/futures-0.1.29 + /usr/bin/env CARGO_HOME=.cargo RUSTC_BOOTSTRAP=1 'RUSTFLAGS=-Copt-level=3 -Cdebuginfo=2 -Ccodegen-units=1 -Clink-arg=-Wl,-z,relro -Clink-arg=-Wl,-z,now -Clink-arg=-specs=/usr/lib/rpm/redhat/redhat-package-notes --cap-lints=warn' /usr/bin/cargo package -l warning: No (git) VCS found for `/builddir/build/BUILD/futures-0.1.29` + /usr/bin/mv Cargo.toml.deps Cargo.toml + /usr/bin/cp -a Cargo.toml /builddir/build/BUILDROOT/rust-futures0.1-0.1.29-8.fc37.riscv64/usr/share/cargo/registry/futures-0.1.29/Cargo.toml + /usr/bin/rm -f /builddir/build/BUILDROOT/rust-futures0.1-0.1.29-8.fc37.riscv64/usr/share/cargo/registry/futures-0.1.29/Cargo.toml.deps + echo '{"files":{},"package":""}' + grep -q -F -x bin + /usr/bin/cargo-inspector --target-kinds Cargo.toml + /usr/lib/rpm/check-buildroot + /usr/lib/rpm/redhat/brp-ldconfig + /usr/lib/rpm/brp-compress + /usr/lib/rpm/brp-strip /usr/bin/strip + /usr/lib/rpm/brp-strip-comment-note /usr/bin/strip /usr/bin/objdump + /usr/lib/rpm/redhat/brp-strip-lto /usr/bin/strip + /usr/lib/rpm/brp-strip-static-archive /usr/bin/strip + /usr/lib/rpm/check-rpaths + /usr/lib/rpm/redhat/brp-mangle-shebangs + /usr/lib/rpm/brp-remove-la-files + /usr/lib/rpm/redhat/brp-python-bytecompile '' 1 0 + /usr/lib/rpm/redhat/brp-python-hardlink Processing files: rust-futures0.1-devel-0.1.29-8.fc37.noarch Executing(%doc): /bin/sh -e /var/tmp/rpm-tmp.Qm6yc1 + umask 022 + cd /builddir/build/BUILD + cd futures-0.1.29 + DOCDIR=/builddir/build/BUILDROOT/rust-futures0.1-0.1.29-8.fc37.riscv64/usr/share/doc/rust-futures0.1-devel + export LC_ALL=C + LC_ALL=C + export DOCDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-futures0.1-0.1.29-8.fc37.riscv64/usr/share/doc/rust-futures0.1-devel + cp -pr README.md /builddir/build/BUILDROOT/rust-futures0.1-0.1.29-8.fc37.riscv64/usr/share/doc/rust-futures0.1-devel + cp -pr CHANGELOG.md /builddir/build/BUILDROOT/rust-futures0.1-0.1.29-8.fc37.riscv64/usr/share/doc/rust-futures0.1-devel + RPM_EC=0 ++ jobs -p + exit 0 Executing(%license): /bin/sh -e /var/tmp/rpm-tmp.GAjPIZ + umask 022 + cd /builddir/build/BUILD + cd futures-0.1.29 + LICENSEDIR=/builddir/build/BUILDROOT/rust-futures0.1-0.1.29-8.fc37.riscv64/usr/share/licenses/rust-futures0.1-devel + export LC_ALL=C + LC_ALL=C + export LICENSEDIR + /usr/bin/mkdir -p /builddir/build/BUILDROOT/rust-futures0.1-0.1.29-8.fc37.riscv64/usr/share/licenses/rust-futures0.1-devel + cp -pr LICENSE-MIT /builddir/build/BUILDROOT/rust-futures0.1-0.1.29-8.fc37.riscv64/usr/share/licenses/rust-futures0.1-devel + cp -pr LICENSE-APACHE /builddir/build/BUILDROOT/rust-futures0.1-0.1.29-8.fc37.riscv64/usr/share/licenses/rust-futures0.1-devel + RPM_EC=0 ++ jobs -p + exit 0 Provides: crate(futures) = 0.1.29 rust-futures0.1-devel = 0.1.29-8.fc37 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo Processing files: rust-futures0.1+default-devel-0.1.29-8.fc37.noarch Provides: crate(futures/default) = 0.1.29 rust-futures0.1+default-devel = 0.1.29-8.fc37 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(futures) = 0.1.29 crate(futures/use_std) = 0.1.29 crate(futures/with-deprecated) = 0.1.29 Processing files: rust-futures0.1+nightly-devel-0.1.29-8.fc37.noarch Provides: crate(futures/nightly) = 0.1.29 rust-futures0.1+nightly-devel = 0.1.29-8.fc37 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(futures) = 0.1.29 Processing files: rust-futures0.1+use_std-devel-0.1.29-8.fc37.noarch Provides: crate(futures/use_std) = 0.1.29 rust-futures0.1+use_std-devel = 0.1.29-8.fc37 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(futures) = 0.1.29 Processing files: rust-futures0.1+with-deprecated-devel-0.1.29-8.fc37.noarch Provides: crate(futures/with-deprecated) = 0.1.29 rust-futures0.1+with-deprecated-devel = 0.1.29-8.fc37 Requires(rpmlib): rpmlib(CompressedFileNames) <= 3.0.4-1 rpmlib(FileDigests) <= 4.6.0-1 rpmlib(PayloadFilesHavePrefix) <= 4.0-1 Requires: cargo crate(futures) = 0.1.29 Checking for unpackaged file(s): /usr/lib/rpm/check-files /builddir/build/BUILDROOT/rust-futures0.1-0.1.29-8.fc37.riscv64 Wrote: /builddir/build/SRPMS/rust-futures0.1-0.1.29-8.fc37.src.rpm Wrote: /builddir/build/RPMS/rust-futures0.1+use_std-devel-0.1.29-8.fc37.noarch.rpm Wrote: /builddir/build/RPMS/rust-futures0.1+with-deprecated-devel-0.1.29-8.fc37.noarch.rpm Wrote: /builddir/build/RPMS/rust-futures0.1+default-devel-0.1.29-8.fc37.noarch.rpm Wrote: /builddir/build/RPMS/rust-futures0.1+nightly-devel-0.1.29-8.fc37.noarch.rpm Wrote: /builddir/build/RPMS/rust-futures0.1-devel-0.1.29-8.fc37.noarch.rpm Executing(%clean): /bin/sh -e /var/tmp/rpm-tmp.Lf97E3 + umask 022 + cd /builddir/build/BUILD + cd futures-0.1.29 + /usr/bin/rm -rf /builddir/build/BUILDROOT/rust-futures0.1-0.1.29-8.fc37.riscv64 + RPM_EC=0 ++ jobs -p + exit 0 Executing(rmbuild): /bin/sh -e /var/tmp/rpm-tmp.Royp14 + umask 022 + cd /builddir/build/BUILD + rm -rf futures-0.1.29 futures-0.1.29.gemspec + RPM_EC=0 ++ jobs -p + exit 0 Child return code was: 0