[INFO] fetching crate multiqueue 0.3.2... [INFO] checking multiqueue-0.3.2 against try#c05ee43175e02d208faed1fcc0f436c56e48bba6 for pr-92413 [INFO] extracting crate multiqueue 0.3.2 into /workspace/builds/worker-9/source [INFO] validating manifest of crates.io crate multiqueue 0.3.2 on toolchain c05ee43175e02d208faed1fcc0f436c56e48bba6 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c05ee43175e02d208faed1fcc0f436c56e48bba6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate multiqueue 0.3.2 [INFO] finished tweaking crates.io crate multiqueue 0.3.2 [INFO] tweaked toml for crates.io crate multiqueue 0.3.2 written to /workspace/builds/worker-9/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c05ee43175e02d208faed1fcc0f436c56e48bba6" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c05ee43175e02d208faed1fcc0f436c56e48bba6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+c05ee43175e02d208faed1fcc0f436c56e48bba6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 144b1f038b9482fcd3c98088f9783fec20a8a5f4f5c699e86e1b28522d497374 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "144b1f038b9482fcd3c98088f9783fec20a8a5f4f5c699e86e1b28522d497374", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "144b1f038b9482fcd3c98088f9783fec20a8a5f4f5c699e86e1b28522d497374", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "144b1f038b9482fcd3c98088f9783fec20a8a5f4f5c699e86e1b28522d497374", kill_on_drop: false }` [INFO] [stdout] 144b1f038b9482fcd3c98088f9783fec20a8a5f4f5c699e86e1b28522d497374 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+c05ee43175e02d208faed1fcc0f436c56e48bba6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 679fdc9372e0009eb7d47e04a56456acd7f4ab2540c9146d44861d92fc45d6d4 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "679fdc9372e0009eb7d47e04a56456acd7f4ab2540c9146d44861d92fc45d6d4", kill_on_drop: false }` [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Checking owning_ref v0.2.4 [INFO] [stderr] Checking smallvec v0.3.4 [INFO] [stderr] Checking crossbeam v0.2.12 [INFO] [stderr] Checking futures v0.1.31 [INFO] [stderr] Checking rand v0.4.6 [INFO] [stderr] Checking thread-id v3.3.0 [INFO] [stderr] Checking time v0.1.44 [INFO] [stderr] Checking smallvec v0.6.14 [INFO] [stderr] Checking parking_lot_core v0.2.14 [INFO] [stderr] Checking parking_lot v0.3.8 [INFO] [stderr] Checking multiqueue v0.3.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/countedindex.rs:23:33 [INFO] [stdout] | [INFO] [stdout] 23 | pub const MASK_IND: Index = (1 << 63); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 23 - pub const MASK_IND: Index = (1 << 63); [INFO] [stdout] 23 + pub const MASK_IND: Index = 1 << 63; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/multiqueue.rs:34:16 [INFO] [stdout] | [INFO] [stdout] 34 | fn inc_ref(&AtomicUsize); [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &AtomicUsize` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/multiqueue.rs:35:16 [INFO] [stdout] | [INFO] [stdout] 35 | fn dec_ref(&AtomicUsize); [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &AtomicUsize` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/multiqueue.rs:36:18 [INFO] [stdout] | [INFO] [stdout] 36 | fn check_ref(&AtomicUsize) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &AtomicUsize` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/multiqueue.rs:38:23 [INFO] [stdout] | [INFO] [stdout] 38 | unsafe fn get_val(&mut T) -> T; [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut T` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/multiqueue.rs:39:19 [INFO] [stdout] | [INFO] [stdout] 39 | fn forget_val(T); [INFO] [stdout] | ^ help: try naming the parameter or explicitly ignoring it: `_: T` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/multiqueue.rs:40:29 [INFO] [stdout] | [INFO] [stdout] 40 | unsafe fn drop_in_place(&mut T); [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut T` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/wait.rs:43:20 [INFO] [stdout] | [INFO] [stdout] 43 | fn wait(&self, usize, &AtomicUsize, &AtomicUsize); [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: usize` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/wait.rs:43:27 [INFO] [stdout] | [INFO] [stdout] 43 | fn wait(&self, usize, &AtomicUsize, &AtomicUsize); [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &AtomicUsize` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/wait.rs:43:41 [INFO] [stdout] | [INFO] [stdout] 43 | fn wait(&self, usize, &AtomicUsize, &AtomicUsize); [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &AtomicUsize` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/countedindex.rs:23:33 [INFO] [stdout] | [INFO] [stdout] 23 | pub const MASK_IND: Index = (1 << 63); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 23 - pub const MASK_IND: Index = (1 << 63); [INFO] [stdout] 23 + pub const MASK_IND: Index = 1 << 63; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/multiqueue.rs:34:16 [INFO] [stdout] | [INFO] [stdout] 34 | fn inc_ref(&AtomicUsize); [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &AtomicUsize` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/multiqueue.rs:35:16 [INFO] [stdout] | [INFO] [stdout] 35 | fn dec_ref(&AtomicUsize); [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &AtomicUsize` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/multiqueue.rs:36:18 [INFO] [stdout] | [INFO] [stdout] 36 | fn check_ref(&AtomicUsize) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &AtomicUsize` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/multiqueue.rs:38:23 [INFO] [stdout] | [INFO] [stdout] 38 | unsafe fn get_val(&mut T) -> T; [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut T` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/multiqueue.rs:39:19 [INFO] [stdout] | [INFO] [stdout] 39 | fn forget_val(T); [INFO] [stdout] | ^ help: try naming the parameter or explicitly ignoring it: `_: T` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/multiqueue.rs:40:29 [INFO] [stdout] | [INFO] [stdout] 40 | unsafe fn drop_in_place(&mut T); [INFO] [stdout] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut T` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/wait.rs:43:20 [INFO] [stdout] | [INFO] [stdout] 43 | fn wait(&self, usize, &AtomicUsize, &AtomicUsize); [INFO] [stdout] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: usize` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/wait.rs:43:27 [INFO] [stdout] | [INFO] [stdout] 43 | fn wait(&self, usize, &AtomicUsize, &AtomicUsize); [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &AtomicUsize` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stdout] --> src/wait.rs:43:41 [INFO] [stdout] | [INFO] [stdout] 43 | fn wait(&self, usize, &AtomicUsize, &AtomicUsize); [INFO] [stdout] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &AtomicUsize` [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #41686 <https://github.com/rust-lang/rust/issues/41686> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `mpmc::futures::task::park`: renamed to `current` [INFO] [stdout] --> src/multiqueue.rs:29:27 [INFO] [stdout] | [INFO] [stdout] 29 | use self::futures::task::{park, Task}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/multiqueue.rs:239:31 [INFO] [stdout] | [INFO] [stdout] 239 | d1: unsafe { mem::uninitialized() }, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/multiqueue.rs:244:31 [INFO] [stdout] | [INFO] [stdout] 244 | d2: unsafe { mem::uninitialized() }, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/multiqueue.rs:253:31 [INFO] [stdout] | [INFO] [stdout] 253 | d3: unsafe { mem::uninitialized() }, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/multiqueue.rs:257:31 [INFO] [stdout] | [INFO] [stdout] 257 | d4: unsafe { mem::uninitialized() }, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `mpmc::futures::task::park`: renamed to `current` [INFO] [stdout] --> src/multiqueue.rs:875:26 [INFO] [stdout] | [INFO] [stdout] 875 | parked.push_back(park()); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `mpmc::futures::task::park`: renamed to `current` [INFO] [stdout] --> src/multiqueue.rs:901:34 [INFO] [stdout] | [INFO] [stdout] 901 | parked.push_back(park()); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/multiqueue.rs:160:21 [INFO] [stdout] | [INFO] [stdout] 160 | pub waiter: Arc<Wait>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 160 - pub waiter: Arc<Wait>, [INFO] [stdout] 160 + pub waiter: Arc<dyn Wait>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime parameter `'r` never used [INFO] [stdout] --> src/multiqueue.rs:806:32 [INFO] [stdout] | [INFO] [stdout] 806 | impl<RW: QueueRW<T>, R, F: for<'r> FnMut(&T) -> R, T> Stream for FutInnerUniRecv<RW, R, F, T> { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(unused_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime parameter `'r` never used [INFO] [stdout] --> src/multiqueue.rs:1035:32 [INFO] [stdout] | [INFO] [stdout] 1035 | impl<RW: QueueRW<T>, R, F: for<'r> FnMut(&T) -> R, T> Drop for FutInnerUniRecv<RW, R, F, T> { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/multiqueue.rs:222:49 [INFO] [stdout] | [INFO] [stdout] 222 | fn new_internal(_capacity: Index, wait: Arc<Wait>) -> (InnerSend<RW, T>, InnerRecv<RW, T>) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 222 - fn new_internal(_capacity: Index, wait: Arc<Wait>) -> (InnerSend<RW, T>, InnerRecv<RW, T>) { [INFO] [stdout] 222 + fn new_internal(_capacity: Index, wait: Arc<dyn Wait>) -> (InnerSend<RW, T>, InnerRecv<RW, T>) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `mpmc::futures::task::park`: renamed to `current` [INFO] [stdout] --> src/multiqueue.rs:29:27 [INFO] [stdout] | [INFO] [stdout] 29 | use self::futures::task::{park, Task}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/multiqueue.rs:239:31 [INFO] [stdout] | [INFO] [stdout] 239 | d1: unsafe { mem::uninitialized() }, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/multiqueue.rs:244:31 [INFO] [stdout] | [INFO] [stdout] 244 | d2: unsafe { mem::uninitialized() }, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/multiqueue.rs:253:31 [INFO] [stdout] | [INFO] [stdout] 253 | d3: unsafe { mem::uninitialized() }, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/multiqueue.rs:257:31 [INFO] [stdout] | [INFO] [stdout] 257 | d4: unsafe { mem::uninitialized() }, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `mpmc::futures::task::park`: renamed to `current` [INFO] [stdout] --> src/multiqueue.rs:875:26 [INFO] [stdout] | [INFO] [stdout] 875 | parked.push_back(park()); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `mpmc::futures::task::park`: renamed to `current` [INFO] [stdout] --> src/multiqueue.rs:901:34 [INFO] [stdout] | [INFO] [stdout] 901 | parked.push_back(park()); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/multiqueue.rs:160:21 [INFO] [stdout] | [INFO] [stdout] 160 | pub waiter: Arc<Wait>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 160 - pub waiter: Arc<Wait>, [INFO] [stdout] 160 + pub waiter: Arc<dyn Wait>, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime parameter `'r` never used [INFO] [stdout] --> src/multiqueue.rs:806:32 [INFO] [stdout] | [INFO] [stdout] 806 | impl<RW: QueueRW<T>, R, F: for<'r> FnMut(&T) -> R, T> Stream for FutInnerUniRecv<RW, R, F, T> { [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(unused_lifetimes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: lifetime parameter `'r` never used [INFO] [stdout] --> src/multiqueue.rs:1035:32 [INFO] [stdout] | [INFO] [stdout] 1035 | impl<RW: QueueRW<T>, R, F: for<'r> FnMut(&T) -> R, T> Drop for FutInnerUniRecv<RW, R, F, T> { [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/multiqueue.rs:222:49 [INFO] [stdout] | [INFO] [stdout] 222 | fn new_internal(_capacity: Index, wait: Arc<Wait>) -> (InnerSend<RW, T>, InnerRecv<RW, T>) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see <https://doc.rust-lang.org/nightly/edition-guide/rust-2021/warnings-promoted-to-error.html> [INFO] [stdout] help: use `dyn` [INFO] [stdout] | [INFO] [stdout] 222 - fn new_internal(_capacity: Index, wait: Arc<Wait>) -> (InnerSend<RW, T>, InnerRecv<RW, T>) { [INFO] [stdout] 222 + fn new_internal(_capacity: Index, wait: Arc<dyn Wait>) -> (InnerSend<RW, T>, InnerRecv<RW, T>) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type annotations needed [INFO] [stdout] --> src/multiqueue.rs:228:55 [INFO] [stdout] | [INFO] [stdout] 228 | let elem: &QueueEntry<T> = &*queuedat.offset(i); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(tyvar_behind_raw_pointer)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #46906 <https://github.com/rust-lang/rust/issues/46906> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type annotations needed [INFO] [stdout] --> src/multiqueue.rs:231:46 [INFO] [stdout] | [INFO] [stdout] 231 | let refd: &RefCnt = &*refdat.offset(i); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #46906 <https://github.com/rust-lang/rust/issues/46906> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `mpmc::futures::task::Task::unpark`: renamed to `notify` [INFO] [stdout] --> src/multiqueue.rs:913:21 [INFO] [stdout] | [INFO] [stdout] 913 | val.unpark(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `mpmc::futures::task::Task::unpark`: renamed to `notify` [INFO] [stdout] --> src/multiqueue.rs:931:25 [INFO] [stdout] | [INFO] [stdout] 931 | val.unpark(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `mpmc::futures::task::Task::unpark`: renamed to `notify` [INFO] [stdout] --> src/multiqueue.rs:938:25 [INFO] [stdout] | [INFO] [stdout] 938 | val.unpark(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type annotations needed [INFO] [stdout] --> src/multiqueue.rs:228:55 [INFO] [stdout] | [INFO] [stdout] 228 | let elem: &QueueEntry<T> = &*queuedat.offset(i); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(tyvar_behind_raw_pointer)]` on by default [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #46906 <https://github.com/rust-lang/rust/issues/46906> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type annotations needed [INFO] [stdout] --> src/multiqueue.rs:231:46 [INFO] [stdout] | [INFO] [stdout] 231 | let refd: &RefCnt = &*refdat.offset(i); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stdout] = note: for more information, see issue #46906 <https://github.com/rust-lang/rust/issues/46906> [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `mpmc::futures::task::Task::unpark`: renamed to `notify` [INFO] [stdout] --> src/multiqueue.rs:913:21 [INFO] [stdout] | [INFO] [stdout] 913 | val.unpark(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `mpmc::futures::task::Task::unpark`: renamed to `notify` [INFO] [stdout] --> src/multiqueue.rs:931:25 [INFO] [stdout] | [INFO] [stdout] 931 | val.unpark(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `mpmc::futures::task::Task::unpark`: renamed to `notify` [INFO] [stdout] --> src/multiqueue.rs:938:25 [INFO] [stdout] | [INFO] [stdout] 938 | val.unpark(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `wait` [INFO] [stdout] --> src/multiqueue.rs:186:5 [INFO] [stdout] | [INFO] [stdout] 186 | wait: Arc<FutWait>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `multiqueue` due to 3 previous errors; 25 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: field is never read: `wait` [INFO] [stdout] --> src/multiqueue.rs:186:5 [INFO] [stdout] | [INFO] [stdout] 186 | wait: Arc<FutWait>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `clone` that must be used [INFO] [stdout] --> src/mpmc.rs:940:9 [INFO] [stdout] | [INFO] [stdout] 940 | reader.clone(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: cloning is often expensive and is not expected to have side effects [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "679fdc9372e0009eb7d47e04a56456acd7f4ab2540c9146d44861d92fc45d6d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "679fdc9372e0009eb7d47e04a56456acd7f4ab2540c9146d44861d92fc45d6d4", kill_on_drop: false }` [INFO] [stdout] 679fdc9372e0009eb7d47e04a56456acd7f4ab2540c9146d44861d92fc45d6d4