[INFO] fetching crate multiqueue 0.3.2... [INFO] testing multiqueue-0.3.2 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate multiqueue 0.3.2 into /workspace/builds/worker-3-tc1/source [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-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate multiqueue 0.3.2 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 21 packages to latest compatible versions [INFO] [stderr] Adding crossbeam v0.2.12 (available: v0.8.4) [INFO] [stderr] Adding futures v0.1.31 (available: v0.3.31) [INFO] [stderr] Adding parking_lot v0.3.8 (available: v0.12.4) [INFO] [stderr] Adding smallvec v0.3.4 (available: v1.15.1) [INFO] [stderr] Adding time v0.1.45 (available: v0.3.42) [INFO] [stderr] Adding wasi v0.10.0+wasi-snapshot-preview1 (available: v0.10.2+wasi-snapshot-preview1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded smallvec v0.3.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b04cf5e3b9f6ddc5372ddafc9fc43b53b74dfda5e1c1b7a4c5ea975596a87869 [INFO] running `Command { std: "docker" "start" "-a" "b04cf5e3b9f6ddc5372ddafc9fc43b53b74dfda5e1c1b7a4c5ea975596a87869", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b04cf5e3b9f6ddc5372ddafc9fc43b53b74dfda5e1c1b7a4c5ea975596a87869", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b04cf5e3b9f6ddc5372ddafc9fc43b53b74dfda5e1c1b7a4c5ea975596a87869", kill_on_drop: false }` [INFO] [stdout] b04cf5e3b9f6ddc5372ddafc9fc43b53b74dfda5e1c1b7a4c5ea975596a87869 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "RUSTDOCFLAGS=--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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3de274476610cb2bbfc3c82b184738186c8993f9e5e1562ed4bd2777728b95f4 [INFO] running `Command { std: "docker" "start" "-a" "3de274476610cb2bbfc3c82b184738186c8993f9e5e1562ed4bd2777728b95f4", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling owning_ref v0.2.4 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling smallvec v0.3.4 [INFO] [stderr] Compiling crossbeam v0.2.12 [INFO] [stderr] Compiling rand v0.4.6 [INFO] [stderr] Compiling thread-id v3.3.0 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling parking_lot_core v0.2.14 [INFO] [stderr] Compiling parking_lot v0.3.8 [INFO] [stderr] Compiling multiqueue v0.3.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:304:13 [INFO] [stdout] | [INFO] [stdout] 304 | #![cfg_attr(feature = "cargo-clippy", allow(inline_always))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `x64` [INFO] [stdout] --> src/consume.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(any(target_arch = "x64", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `x64_64` [INFO] [stdout] --> src/consume.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | target_arch = "x64_64", [INFO] [stdout] | ^^^^^^^^^^^^^^-------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"x86_64"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `x64` [INFO] [stdout] --> src/consume.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | #[cfg(not(any(target_arch = "x64", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `x64_64` [INFO] [stdout] --> src/consume.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | target_arch = "x64_64", [INFO] [stdout] | ^^^^^^^^^^^^^^-------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"x86_64"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [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)]` (part of `#[warn(unused)]`) 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] = 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 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` (part of `#[warn(rust_2018_compatibility)]`) on by default [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 [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 [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 [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 [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 [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 [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 [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 [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, [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 [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 160 | pub waiter: Arc, [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) -> (InnerSend, InnerRecv) { [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 [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 222 | fn new_internal(_capacity: Index, wait: Arc) -> (InnerSend, InnerRecv) { [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 = &*queuedat.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 [INFO] [stdout] = note: `#[warn(tyvar_behind_raw_pointer)]` (part of `#[warn(rust_2018_compatibility)]`) on by default [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `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 method `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 method `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 `wait` is never read [INFO] [stdout] --> src/multiqueue.rs:186:5 [INFO] [stdout] | [INFO] [stdout] 184 | pub struct FutInnerSend, T> { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 185 | writer: InnerSend, [INFO] [stdout] 186 | wait: Arc, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FutInnerSend` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/countedindex.rs:121:29 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn load_transaction(&self, ord: Ordering) -> Transaction { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 121 | pub fn load_transaction(&self, ord: Ordering) -> Transaction<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 64]` does not permit being left uninitialized [INFO] [stdout] --> src/multiqueue.rs:239:26 [INFO] [stdout] | [INFO] [stdout] 239 | d1: unsafe { mem::uninitialized() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 64]` does not permit being left uninitialized [INFO] [stdout] --> src/multiqueue.rs:244:26 [INFO] [stdout] | [INFO] [stdout] 244 | d2: unsafe { mem::uninitialized() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 64]` does not permit being left uninitialized [INFO] [stdout] --> src/multiqueue.rs:253:26 [INFO] [stdout] | [INFO] [stdout] 253 | d3: unsafe { mem::uninitialized() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 64]` does not permit being left uninitialized [INFO] [stdout] --> src/multiqueue.rs:257:26 [INFO] [stdout] | [INFO] [stdout] 257 | d4: unsafe { mem::uninitialized() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/read_cursor.rs:88:25 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn load_attempt(&self, ord: Ordering) -> ReadAttempt { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 88 | pub fn load_attempt(&self, ord: Ordering) -> ReadAttempt<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.03s [INFO] running `Command { std: "docker" "inspect" "3de274476610cb2bbfc3c82b184738186c8993f9e5e1562ed4bd2777728b95f4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3de274476610cb2bbfc3c82b184738186c8993f9e5e1562ed4bd2777728b95f4", kill_on_drop: false }` [INFO] [stdout] 3de274476610cb2bbfc3c82b184738186c8993f9e5e1562ed4bd2777728b95f4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "RUSTDOCFLAGS=--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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1b43b6bca19c8c440be80bb3c07c9f76a8f4c3c85ef90ad7b92ea715ff9f9842 [INFO] running `Command { std: "docker" "start" "-a" "1b43b6bca19c8c440be80bb3c07c9f76a8f4c3c85ef90ad7b92ea715ff9f9842", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:304:13 [INFO] [stdout] | [INFO] [stdout] 304 | #![cfg_attr(feature = "cargo-clippy", allow(inline_always))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `x64` [INFO] [stdout] --> src/consume.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(any(target_arch = "x64", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `x64_64` [INFO] [stdout] --> src/consume.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | target_arch = "x64_64", [INFO] [stdout] | ^^^^^^^^^^^^^^-------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"x86_64"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `x64` [INFO] [stdout] --> src/consume.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | #[cfg(not(any(target_arch = "x64", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `x64_64` [INFO] [stdout] --> src/consume.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | target_arch = "x64_64", [INFO] [stdout] | ^^^^^^^^^^^^^^-------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"x86_64"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [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)]` (part of `#[warn(unused)]`) 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] = 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 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` (part of `#[warn(rust_2018_compatibility)]`) on by default [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 [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 [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 [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 [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 [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 [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 [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 [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] [stderr] Compiling multiqueue v0.3.2 (/opt/rustwide/workdir) [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, [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 [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 160 | pub waiter: Arc, [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) -> (InnerSend, InnerRecv) { [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 [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 222 | fn new_internal(_capacity: Index, wait: Arc) -> (InnerSend, InnerRecv) { [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 = &*queuedat.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 [INFO] [stdout] = note: `#[warn(tyvar_behind_raw_pointer)]` (part of `#[warn(rust_2018_compatibility)]`) on by default [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `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 method `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 method `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 `wait` is never read [INFO] [stdout] --> src/multiqueue.rs:186:5 [INFO] [stdout] | [INFO] [stdout] 184 | pub struct FutInnerSend, T> { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 185 | writer: InnerSend, [INFO] [stdout] 186 | wait: Arc, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FutInnerSend` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/countedindex.rs:121:29 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn load_transaction(&self, ord: Ordering) -> Transaction { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 121 | pub fn load_transaction(&self, ord: Ordering) -> Transaction<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 64]` does not permit being left uninitialized [INFO] [stdout] --> src/multiqueue.rs:239:26 [INFO] [stdout] | [INFO] [stdout] 239 | d1: unsafe { mem::uninitialized() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 64]` does not permit being left uninitialized [INFO] [stdout] --> src/multiqueue.rs:244:26 [INFO] [stdout] | [INFO] [stdout] 244 | d2: unsafe { mem::uninitialized() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 64]` does not permit being left uninitialized [INFO] [stdout] --> src/multiqueue.rs:253:26 [INFO] [stdout] | [INFO] [stdout] 253 | d3: unsafe { mem::uninitialized() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 64]` does not permit being left uninitialized [INFO] [stdout] --> src/multiqueue.rs:257:26 [INFO] [stdout] | [INFO] [stdout] 257 | d4: unsafe { mem::uninitialized() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/read_cursor.rs:88:25 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn load_attempt(&self, ord: Ordering) -> ReadAttempt { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 88 | pub fn load_attempt(&self, ord: Ordering) -> ReadAttempt<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stdout] --> src/lib.rs:304:13 [INFO] [stdout] | [INFO] [stdout] 304 | #![cfg_attr(feature = "cargo-clippy", allow(inline_always))] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `x64` [INFO] [stdout] --> src/consume.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | #[cfg(any(target_arch = "x64", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `x64_64` [INFO] [stdout] --> src/consume.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | target_arch = "x64_64", [INFO] [stdout] | ^^^^^^^^^^^^^^-------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"x86_64"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `x64` [INFO] [stdout] --> src/consume.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | #[cfg(not(any(target_arch = "x64", [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `x64_64` [INFO] [stdout] --> src/consume.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | target_arch = "x64_64", [INFO] [stdout] | ^^^^^^^^^^^^^^-------- [INFO] [stdout] | | [INFO] [stdout] | help: there is a expected value with a similar name: `"x86_64"` [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stdout] = note: see for more information about checking conditional configuration [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)]` (part of `#[warn(unused)]`) 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] = 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 [INFO] [stdout] = note: `#[warn(anonymous_parameters)]` (part of `#[warn(rust_2018_compatibility)]`) on by default [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 [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 [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 [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 [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 [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 [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 [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `tx` is never read [INFO] [stdout] --> tests/mpmc_fut.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | tx = tx.send(2).wait().unwrap(); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [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, [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 [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 160 | pub waiter: Arc, [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) -> (InnerSend, InnerRecv) { [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 [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 222 | fn new_internal(_capacity: Index, wait: Arc) -> (InnerSend, InnerRecv) { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `tx` is never read [INFO] [stdout] --> tests/multicast_fut.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | tx = tx.send(2).wait().unwrap(); [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [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 = &*queuedat.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 [INFO] [stdout] = note: `#[warn(tyvar_behind_raw_pointer)]` (part of `#[warn(rust_2018_compatibility)]`) on by default [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 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `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 method `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 method `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 `wait` is never read [INFO] [stdout] --> src/multiqueue.rs:186:5 [INFO] [stdout] | [INFO] [stdout] 184 | pub struct FutInnerSend, T> { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 185 | writer: InnerSend, [INFO] [stdout] 186 | wait: Arc, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `FutInnerSend` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/countedindex.rs:121:29 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn load_transaction(&self, ord: Ordering) -> Transaction { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 121 | pub fn load_transaction(&self, ord: Ordering) -> Transaction<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/mpmc.rs:883:23 [INFO] [stdout] | [INFO] [stdout] 883 | pub fn new(a: &AtomicUsize) -> Dropper { [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 883 | pub fn new(a: &AtomicUsize) -> Dropper<'_> { [INFO] [stdout] | ++++ [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: cloning is often expensive and is not expected to have side effects [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 940 | let _ = reader.clone(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 64]` does not permit being left uninitialized [INFO] [stdout] --> src/multiqueue.rs:239:26 [INFO] [stdout] | [INFO] [stdout] 239 | d1: unsafe { mem::uninitialized() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 64]` does not permit being left uninitialized [INFO] [stdout] --> src/multiqueue.rs:244:26 [INFO] [stdout] | [INFO] [stdout] 244 | d2: unsafe { mem::uninitialized() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 64]` does not permit being left uninitialized [INFO] [stdout] --> src/multiqueue.rs:253:26 [INFO] [stdout] | [INFO] [stdout] 253 | d3: unsafe { mem::uninitialized() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[u8; 64]` does not permit being left uninitialized [INFO] [stdout] --> src/multiqueue.rs:257:26 [INFO] [stdout] | [INFO] [stdout] 257 | d4: unsafe { mem::uninitialized() }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/broadcast.rs:1089:23 [INFO] [stdout] | [INFO] [stdout] 1089 | pub fn new(a: &AtomicUsize) -> Dropper { [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 1089 | pub fn new(a: &AtomicUsize) -> Dropper<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/read_cursor.rs:88:25 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn load_attempt(&self, ord: Ordering) -> ReadAttempt { [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 88 | pub fn load_attempt(&self, ord: Ordering) -> ReadAttempt<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.77s [INFO] running `Command { std: "docker" "inspect" "1b43b6bca19c8c440be80bb3c07c9f76a8f4c3c85ef90ad7b92ea715ff9f9842", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b43b6bca19c8c440be80bb3c07c9f76a8f4c3c85ef90ad7b92ea715ff9f9842", kill_on_drop: false }` [INFO] [stdout] 1b43b6bca19c8c440be80bb3c07c9f76a8f4c3c85ef90ad7b92ea715ff9f9842 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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" "RUSTDOCFLAGS=--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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f6ee7a043817593b08a2aeb093e561f877ce149174fbcf834381f2b4094d6df3 [INFO] running `Command { std: "docker" "start" "-a" "f6ee7a043817593b08a2aeb093e561f877ce149174fbcf834381f2b4094d6df3", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] warning: unexpected `cfg` condition value: `cargo-clippy` [INFO] [stderr] --> src/lib.rs:304:13 [INFO] [stderr] | [INFO] [stderr] 304 | #![cfg_attr(feature = "cargo-clippy", allow(inline_always))] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stderr] | [INFO] [stderr] = note: no expected values for `feature` [INFO] [stderr] = help: consider adding `cargo-clippy` as a feature in `Cargo.toml` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `x64` [INFO] [stderr] --> src/consume.rs:7:11 [INFO] [stderr] | [INFO] [stderr] 7 | #[cfg(any(target_arch = "x64", [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `x64_64` [INFO] [stderr] --> src/consume.rs:8:11 [INFO] [stderr] | [INFO] [stderr] 8 | target_arch = "x64_64", [INFO] [stderr] | ^^^^^^^^^^^^^^-------- [INFO] [stderr] | | [INFO] [stderr] | help: there is a expected value with a similar name: `"x86_64"` [INFO] [stderr] | [INFO] [stderr] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `x64` [INFO] [stderr] --> src/consume.rs:16:15 [INFO] [stderr] | [INFO] [stderr] 16 | #[cfg(not(any(target_arch = "x64", [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unexpected `cfg` condition value: `x64_64` [INFO] [stderr] --> src/consume.rs:17:15 [INFO] [stderr] | [INFO] [stderr] 17 | target_arch = "x64_64", [INFO] [stderr] | ^^^^^^^^^^^^^^-------- [INFO] [stderr] | | [INFO] [stderr] | help: there is a expected value with a similar name: `"x86_64"` [INFO] [stderr] | [INFO] [stderr] = note: expected values for `target_arch` are: `aarch64`, `amdgpu`, `arm`, `arm64ec`, `avr`, `bpf`, `csky`, `hexagon`, `loongarch32`, `loongarch64`, `m68k`, `mips`, `mips32r6`, `mips64`, `mips64r6`, `msp430`, `nvptx64`, `powerpc`, `powerpc64`, `riscv32`, `riscv64`, `s390x`, `sparc`, `sparc64`, `wasm32`, `wasm64`, `x86`, `x86_64`, and `xtensa` [INFO] [stderr] = note: see for more information about checking conditional configuration [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/countedindex.rs:23:33 [INFO] [stderr] | [INFO] [stderr] 23 | pub const MASK_IND: Index = (1 << 63); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 23 - pub const MASK_IND: Index = (1 << 63); [INFO] [stderr] 23 + pub const MASK_IND: Index = 1 << 63; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/multiqueue.rs:34:16 [INFO] [stderr] | [INFO] [stderr] 34 | fn inc_ref(&AtomicUsize); [INFO] [stderr] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &AtomicUsize` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] = note: `#[warn(anonymous_parameters)]` (part of `#[warn(rust_2018_compatibility)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/multiqueue.rs:35:16 [INFO] [stderr] | [INFO] [stderr] 35 | fn dec_ref(&AtomicUsize); [INFO] [stderr] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &AtomicUsize` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/multiqueue.rs:36:18 [INFO] [stderr] | [INFO] [stderr] 36 | fn check_ref(&AtomicUsize) -> bool; [INFO] [stderr] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &AtomicUsize` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/multiqueue.rs:38:23 [INFO] [stderr] | [INFO] [stderr] 38 | unsafe fn get_val(&mut T) -> T; [INFO] [stderr] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut T` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/multiqueue.rs:39:19 [INFO] [stderr] | [INFO] [stderr] 39 | fn forget_val(T); [INFO] [stderr] | ^ help: try naming the parameter or explicitly ignoring it: `_: T` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/multiqueue.rs:40:29 [INFO] [stderr] | [INFO] [stderr] 40 | unsafe fn drop_in_place(&mut T); [INFO] [stderr] | ^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &mut T` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/wait.rs:43:20 [INFO] [stderr] | [INFO] [stderr] 43 | fn wait(&self, usize, &AtomicUsize, &AtomicUsize); [INFO] [stderr] | ^^^^^ help: try naming the parameter or explicitly ignoring it: `_: usize` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/wait.rs:43:27 [INFO] [stderr] | [INFO] [stderr] 43 | fn wait(&self, usize, &AtomicUsize, &AtomicUsize); [INFO] [stderr] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &AtomicUsize` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: anonymous parameters are deprecated and will be removed in the next edition [INFO] [stderr] --> src/wait.rs:43:41 [INFO] [stderr] | [INFO] [stderr] 43 | fn wait(&self, usize, &AtomicUsize, &AtomicUsize); [INFO] [stderr] | ^^^^^^^^^^^^ help: try naming the parameter or explicitly ignoring it: `_: &AtomicUsize` [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #41686 [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `mpmc::futures::task::park`: renamed to `current` [INFO] [stderr] --> src/multiqueue.rs:29:27 [INFO] [stderr] | [INFO] [stderr] 29 | use self::futures::task::{park, Task}; [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deprecated)]` on by default [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> src/multiqueue.rs:239:31 [INFO] [stderr] | [INFO] [stderr] 239 | d1: unsafe { mem::uninitialized() }, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> src/multiqueue.rs:244:31 [INFO] [stderr] | [INFO] [stderr] 244 | d2: unsafe { mem::uninitialized() }, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> src/multiqueue.rs:253:31 [INFO] [stderr] | [INFO] [stderr] 253 | d3: unsafe { mem::uninitialized() }, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stderr] --> src/multiqueue.rs:257:31 [INFO] [stderr] | [INFO] [stderr] 257 | d4: unsafe { mem::uninitialized() }, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `mpmc::futures::task::park`: renamed to `current` [INFO] [stderr] --> src/multiqueue.rs:875:26 [INFO] [stderr] | [INFO] [stderr] 875 | parked.push_back(park()); [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated function `mpmc::futures::task::park`: renamed to `current` [INFO] [stderr] --> src/multiqueue.rs:901:34 [INFO] [stderr] | [INFO] [stderr] 901 | parked.push_back(park()); [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/multiqueue.rs:160:21 [INFO] [stderr] | [INFO] [stderr] 160 | pub waiter: Arc, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 160 | pub waiter: Arc, [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stderr] --> src/multiqueue.rs:222:49 [INFO] [stderr] | [INFO] [stderr] 222 | fn new_internal(_capacity: Index, wait: Arc) -> (InnerSend, InnerRecv) { [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stderr] = note: for more information, see [INFO] [stderr] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stderr] | [INFO] [stderr] 222 | fn new_internal(_capacity: Index, wait: Arc) -> (InnerSend, InnerRecv) { [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: type annotations needed [INFO] [stderr] --> src/multiqueue.rs:228:55 [INFO] [stderr] | [INFO] [stderr] 228 | let elem: &QueueEntry = &*queuedat.offset(i); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #46906 [INFO] [stderr] = note: `#[warn(tyvar_behind_raw_pointer)]` (part of `#[warn(rust_2018_compatibility)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: type annotations needed [INFO] [stderr] --> src/multiqueue.rs:231:46 [INFO] [stderr] | [INFO] [stderr] 231 | let refd: &RefCnt = &*refdat.offset(i); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2018! [INFO] [stderr] = note: for more information, see issue #46906 [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `mpmc::futures::task::Task::unpark`: renamed to `notify` [INFO] [stderr] --> src/multiqueue.rs:913:21 [INFO] [stderr] | [INFO] [stderr] 913 | val.unpark(); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `mpmc::futures::task::Task::unpark`: renamed to `notify` [INFO] [stderr] --> src/multiqueue.rs:931:25 [INFO] [stderr] | [INFO] [stderr] 931 | val.unpark(); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: use of deprecated method `mpmc::futures::task::Task::unpark`: renamed to `notify` [INFO] [stderr] --> src/multiqueue.rs:938:25 [INFO] [stderr] | [INFO] [stderr] 938 | val.unpark(); [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `wait` is never read [INFO] [stderr] --> src/multiqueue.rs:186:5 [INFO] [stderr] | [INFO] [stderr] 184 | pub struct FutInnerSend, T> { [INFO] [stderr] | ------------ field in this struct [INFO] [stderr] 185 | writer: InnerSend, [INFO] [stderr] 186 | wait: Arc, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `FutInnerSend` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/countedindex.rs:121:29 [INFO] [stderr] | [INFO] [stderr] 121 | pub fn load_transaction(&self, ord: Ordering) -> Transaction { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 121 | pub fn load_transaction(&self, ord: Ordering) -> Transaction<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: the type `[u8; 64]` does not permit being left uninitialized [INFO] [stderr] --> src/multiqueue.rs:239:26 [INFO] [stderr] | [INFO] [stderr] 239 | d1: unsafe { mem::uninitialized() }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this code causes undefined behavior when executed [INFO] [stderr] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stderr] | [INFO] [stderr] = note: integers must be initialized [INFO] [stderr] = note: `#[warn(invalid_value)]` on by default [INFO] [stderr] [INFO] [stderr] warning: the type `[u8; 64]` does not permit being left uninitialized [INFO] [stderr] --> src/multiqueue.rs:244:26 [INFO] [stderr] | [INFO] [stderr] 244 | d2: unsafe { mem::uninitialized() }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this code causes undefined behavior when executed [INFO] [stderr] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stderr] | [INFO] [stderr] = note: integers must be initialized [INFO] [stderr] [INFO] [stderr] warning: the type `[u8; 64]` does not permit being left uninitialized [INFO] [stderr] --> src/multiqueue.rs:253:26 [INFO] [stderr] | [INFO] [stderr] 253 | d3: unsafe { mem::uninitialized() }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this code causes undefined behavior when executed [INFO] [stderr] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stderr] | [INFO] [stderr] = note: integers must be initialized [INFO] [stderr] [INFO] [stderr] warning: the type `[u8; 64]` does not permit being left uninitialized [INFO] [stderr] --> src/multiqueue.rs:257:26 [INFO] [stderr] | [INFO] [stderr] 257 | d4: unsafe { mem::uninitialized() }, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | this code causes undefined behavior when executed [INFO] [stderr] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stderr] | [INFO] [stderr] = note: integers must be initialized [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/read_cursor.rs:88:25 [INFO] [stderr] | [INFO] [stderr] 88 | pub fn load_attempt(&self, ord: Ordering) -> ReadAttempt { [INFO] [stderr] | ^^^^^ ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 88 | pub fn load_attempt(&self, ord: Ordering) -> ReadAttempt<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `multiqueue` (lib) generated 36 warnings (run `cargo fix --lib -p multiqueue` to apply 14 suggestions) [INFO] [stderr] warning: value assigned to `tx` is never read [INFO] [stderr] --> tests/mpmc_fut.rs:63:9 [INFO] [stderr] | [INFO] [stderr] 63 | tx = tx.send(2).wait().unwrap(); [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: value assigned to `tx` is never read [INFO] [stderr] --> tests/multicast_fut.rs:63:9 [INFO] [stderr] | [INFO] [stderr] 63 | tx = tx.send(2).wait().unwrap(); [INFO] [stderr] | ^^ [INFO] [stderr] | [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/mpmc.rs:883:23 [INFO] [stderr] | [INFO] [stderr] 883 | pub fn new(a: &AtomicUsize) -> Dropper { [INFO] [stderr] | ^^^^^^^^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 883 | pub fn new(a: &AtomicUsize) -> Dropper<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: unused return value of `clone` that must be used [INFO] [stderr] --> src/mpmc.rs:940:9 [INFO] [stderr] | [INFO] [stderr] 940 | reader.clone(); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: cloning is often expensive and is not expected to have side effects [INFO] [stderr] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 940 | let _ = reader.clone(); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/broadcast.rs:1089:23 [INFO] [stderr] | [INFO] [stderr] 1089 | pub fn new(a: &AtomicUsize) -> Dropper { [INFO] [stderr] | ^^^^^^^^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | | [INFO] [stderr] | the lifetime is elided here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 1089 | pub fn new(a: &AtomicUsize) -> Dropper<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: `multiqueue` (test "mpmc_fut") generated 1 warning [INFO] [stderr] warning: `multiqueue` (test "multicast_fut") generated 1 warning [INFO] [stderr] warning: `multiqueue` (lib test) generated 39 warnings (36 duplicates) (run `cargo fix --lib -p multiqueue --tests` to apply 2 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/multiqueue-5ffb148cfd0ad63b) [INFO] [stdout] [INFO] [stdout] running 37 tests [INFO] [stdout] test broadcast::test::build_queue ... ok [INFO] [stdout] test broadcast::test::test_iterator_comp ... ok [INFO] [stdout] test broadcast::test::push_pop_test ... ok [INFO] [stdout] test broadcast::test::test_gooddrop ... ok [INFO] [stdout] test broadcast::test::test_baddrop ... ok [INFO] [stdout] test broadcast::test::test_single_leave_multi ... ok [INFO] [stdout] test broadcast::test::test_remove_reader ... ok [INFO] [stdout] test countedindex::tests::test_small ... ok [INFO] [stdout] test countedindex::tests::test_tiny ... ok [INFO] [stdout] test countedindex::tests::test_transaction_fail ... ok [INFO] [stdout] test mpmc::test::build_queue ... ok [INFO] [stdout] test mpmc::test::push_pop_test ... ok [INFO] [stdout] test mpmc::test::test_iterator_comp ... ok [INFO] [stdout] test countedindex::tests::test_tiny_mt ... ok [INFO] [stdout] test mpmc::test::test_baddrop ... ok [INFO] [stdout] test mpmc::test::test_recv_clone_item_noclone ... ok [INFO] [stdout] test mpmc::test::test_single_leave_multi ... ok [INFO] [stdout] test countedindex::tests::test_small_mt ... ok [INFO] [stdout] test mpmc::test::test_gooddrop ... ok [INFO] [stdout] test countedindex::tests::test_wrapu16 ... ok [INFO] [stdout] test countedindex::tests::test_wrapu16_mt ... ok [INFO] [stdout] test wait::test::test_blockingwait_nospin ... ok [INFO] [stdout] test wait::test::test_blockingwait ... ok [INFO] [stdout] test wait::test::test_yieldwait ... ok [INFO] [stdout] test wait::test::test_busywait ... ok [INFO] [stdout] test broadcast::test::test_spsc_this ... ok [INFO] [stdout] test mpmc::test::test_spsc ... ok [INFO] [stdout] test mpmc::test::test_mpsc ... ok [INFO] [stdout] test broadcast::test::test_mpsc_single ... ok [INFO] [stdout] test mpmc::test::test_spmc ... ok [INFO] [stdout] test mpmc::test::test_mpmc ... ok [INFO] [stdout] test broadcast::test::test_spmc ... ok [INFO] [stdout] test broadcast::test::test_spmc_broadcast ... ok [INFO] [stdout] test broadcast::test::test_spsc_broadcast ... ok [INFO] [stdout] test broadcast::test::test_mpmc ... ok [INFO] [stdout] test broadcast::test::test_mpmc_broadcast ... ok [INFO] [stdout] test broadcast::test::test_mpsc_broadcast ... ok [INFO] [stderr] Running unittests src/bin/example.rs (/opt/rustwide/target/debug/deps/example-fe195ace5c0ad62b) [INFO] [stdout] [INFO] [stdout] test result: ok. 37 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 19.08s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/throughput.rs (/opt/rustwide/target/debug/deps/throughput-86623fb04a05b8bf) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/mpmc_fut.rs (/opt/rustwide/target/debug/deps/mpmc_fut-54f80fcdb0214048) [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test bounds ... ok [INFO] [stdout] test recv_close_gets_none ... ok [INFO] [stdout] test send_recv ... ok [INFO] [stdout] test send_shared_recv ... ok [INFO] [stdout] test send_recv_threads ... ok [INFO] [stdout] test tx_close_gets_none ... ok [INFO] [stdout] test send_recv_threads_no_capacity ... ok [INFO] [stdout] test stress_receiver_multi_task_bounded_hard ... ok [INFO] [stdout] test stress_shared_bounded_hard ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.47s [INFO] [stdout] [INFO] [stderr] Running tests/multicast_fut.rs (/opt/rustwide/target/debug/deps/multicast_fut-868c47ee285e3e5e) [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test bounds ... ok [INFO] [stdout] test recv_close_gets_none ... ok [INFO] [stdout] test send_shared_recv ... ok [INFO] [stdout] test send_recv ... ok [INFO] [stdout] test tx_close_gets_none ... ok [INFO] [stdout] test send_recv_threads ... ok [INFO] [stdout] test send_recv_threads_no_capacity ... ok [INFO] [stdout] test stress_receiver_multi_task_bounded_hard ... ok [INFO] [stdout] test stress_shared_bounded_hard ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.43s [INFO] [stdout] [INFO] [stderr] Doc-tests multiqueue [INFO] [stderr] warning: unnecessary parentheses around assigned value [INFO] [stderr] --> src/countedindex.rs:23:33 [INFO] [stderr] | [INFO] [stderr] 23 | pub const MASK_IND: Index = (1 << 63); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 23 - pub const MASK_IND: Index = (1 << 63); [INFO] [stderr] 23 + pub const MASK_IND: Index = 1 << 63; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: 1 warning emitted [INFO] [stderr] [INFO] [stdout] [INFO] [stdout] running 39 tests [INFO] [stdout] test src/broadcast.rs - broadcast::BroadcastReceiver::recv (line 243) ... ok [INFO] [stdout] test src/broadcast.rs - broadcast::BroadcastReceiver::into_single (line 389) ... ok [INFO] [stdout] test src/broadcast.rs - broadcast::BroadcastUniReceiver (line 139) ... ok [INFO] [stdout] test src/broadcast.rs - broadcast::BroadcastUniReceiver::iter_with (line 515) ... ok [INFO] [stdout] test src/broadcast.rs - broadcast::BroadcastReceiver::try_iter (line 367) ... ok [INFO] [stdout] test src/broadcast.rs - broadcast::BroadcastReceiver::try_recv (line 197) ... ok [INFO] [stdout] test src/broadcast.rs - broadcast::BroadcastUniReceiver::try_iter_with (line 539) ... ok [INFO] [stdout] test src/broadcast.rs - broadcast::BroadcastReceiver::unsubscribe (line 344) ... ok [INFO] [stdout] test src/broadcast.rs - broadcast::BroadcastReceiver::add_stream (line 297) ... ok [INFO] [stdout] test src/broadcast.rs - broadcast::BroadcastUniReceiver::into_multi (line 496) ... ok [INFO] [stdout] test src/broadcast.rs - broadcast::BroadcastUniReceiver::recv_view (line 461) ... ok [INFO] [stdout] test src/broadcast.rs - broadcast::BroadcastReceiver::try_recv (line 204) ... ok [INFO] [stdout] test src/broadcast.rs - broadcast::BroadcastReceiver (line 78) ... ok [INFO] [stdout] test src/broadcast.rs - broadcast::BroadcastReceiver::recv (line 250) ... ok [INFO] [stdout] test src/broadcast.rs - broadcast::BroadcastReceiver::add_stream (line 284) ... ok [INFO] [stdout] test src/lib.rs - (line 102) ... ok [INFO] [stdout] test src/broadcast.rs - broadcast::broadcast_queue_with (line 846) ... ok [INFO] [stdout] test src/broadcast.rs - broadcast::BroadcastSender (line 18) ... ok [INFO] [stdout] test src/broadcast.rs - broadcast::broadcast_queue (line 831) ... ok [INFO] [stdout] test src/mpmc.rs - mpmc::MPMCReceiver::recv (line 180) ... ok [INFO] [stdout] test src/mpmc.rs - mpmc::MPMCReceiver::recv (line 173) ... ok [INFO] [stdout] test src/mpmc.rs - mpmc::MPMCUniReceiver::iter_with (line 388) ... ok [INFO] [stdout] test src/mpmc.rs - mpmc::MPMCSender (line 18) ... ok [INFO] [stdout] test src/mpmc.rs - mpmc::MPMCUniReceiver::into_multi (line 369) ... ok [INFO] [stdout] test src/lib.rs - (line 182) ... ok [INFO] [stdout] test src/lib.rs - (line 133) ... ok [INFO] [stdout] test src/mpmc.rs - mpmc::MPMCReceiver::try_iter (line 261) ... ok [INFO] [stdout] test src/broadcast.rs - broadcast::BroadcastUniReceiver::try_recv_view (line 431) ... ok [INFO] [stdout] test src/mpmc.rs - mpmc::MPMCReceiver::unsubscribe (line 214) ... ok [INFO] [stdout] test src/lib.rs - (line 237) ... ok [INFO] [stdout] test src/mpmc.rs - mpmc::MPMCReceiver::try_recv (line 127) ... ok [INFO] [stdout] test src/mpmc.rs - mpmc::MPMCReceiver::into_single (line 232) ... ok [INFO] [stdout] test src/mpmc.rs - mpmc::MPMCReceiver::try_recv (line 134) ... ok [INFO] [stdout] test src/mpmc.rs - mpmc::MPMCUniReceiver::recv_view (line 324) ... ok [INFO] [stdout] test src/mpmc.rs - mpmc::MPMCUniReceiver::try_iter_with (line 412) ... ok [INFO] [stdout] test src/mpmc.rs - mpmc::mpmc_queue (line 695) ... ok [INFO] [stdout] test src/wait.rs - wait (line 8) ... ok [INFO] [stdout] test src/mpmc.rs - mpmc::MPMCUniReceiver::unsubscribe (line 352) ... ok [INFO] [stdout] test src/mpmc.rs - mpmc::MPMCUniReceiver::try_recv_view (line 294) ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 39 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 2.48s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "f6ee7a043817593b08a2aeb093e561f877ce149174fbcf834381f2b4094d6df3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6ee7a043817593b08a2aeb093e561f877ce149174fbcf834381f2b4094d6df3", kill_on_drop: false }` [INFO] [stdout] f6ee7a043817593b08a2aeb093e561f877ce149174fbcf834381f2b4094d6df3