[INFO] fetching crate multiqueue 0.3.2... [INFO] testing multiqueue-0.3.2 against try#8de4c7234dd9b97c9d76b58671343fdbbc9a433e+target=x86_64-unknown-linux-musl for musl_upgrade_1_2_5_with_libc_patch_0 [INFO] extracting crate multiqueue 0.3.2 into /workspace/builds/worker-0-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-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate multiqueue 0.3.2 on toolchain 8de4c7234dd9b97c9d76b58671343fdbbc9a433e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [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.41) [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" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "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-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 94908924cacd264648e593e4a9359f09e2a6022ef07f67a7959535509b869060 [INFO] running `Command { std: "docker" "start" "-a" "94908924cacd264648e593e4a9359f09e2a6022ef07f67a7959535509b869060", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "94908924cacd264648e593e4a9359f09e2a6022ef07f67a7959535509b869060", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "94908924cacd264648e593e4a9359f09e2a6022ef07f67a7959535509b869060", kill_on_drop: false }` [INFO] [stdout] 94908924cacd264648e593e4a9359f09e2a6022ef07f67a7959535509b869060 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "build" "--frozen" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] c23f87a7fcc3a8a5a66b71069b6f978a9deacee48d2860f0a073f8b385d9dc4a [INFO] running `Command { std: "docker" "start" "-a" "c23f87a7fcc3a8a5a66b71069b6f978a9deacee48d2860f0a073f8b385d9dc4a", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling owning_ref v0.2.4 [INFO] [stderr] Compiling crossbeam v0.2.12 [INFO] [stderr] Compiling smallvec v0.3.4 [INFO] [stderr] Compiling futures v0.1.31 [INFO] [stderr] Compiling smallvec v0.6.14 [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 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)]` 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)]` 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)]` 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)]` 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/countedindex.rs:121:29 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn load_transaction(&self, ord: Ordering) -> Transaction { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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 5.62s [INFO] running `Command { std: "docker" "inspect" "c23f87a7fcc3a8a5a66b71069b6f978a9deacee48d2860f0a073f8b385d9dc4a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c23f87a7fcc3a8a5a66b71069b6f978a9deacee48d2860f0a073f8b385d9dc4a", kill_on_drop: false }` [INFO] [stdout] c23f87a7fcc3a8a5a66b71069b6f978a9deacee48d2860f0a073f8b385d9dc4a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--no-run" "--message-format=json" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] 7fd8772019fd3bc41aa0d8c79b744f673e70e6ee6bc2fd13cda6486edf04fb70 [INFO] running `Command { std: "docker" "start" "-a" "7fd8772019fd3bc41aa0d8c79b744f673e70e6ee6bc2fd13cda6486edf04fb70", 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)]` 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)]` 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)]` 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)]` 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/countedindex.rs:121:29 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn load_transaction(&self, ord: Ordering) -> Transaction { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 121 | pub fn load_transaction(&self, ord: Ordering) -> Transaction<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling multiqueue v0.3.2 (/opt/rustwide/workdir) [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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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)]` 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)]` 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)]` 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/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)]` 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)]` 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: 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)]` on by default [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/countedindex.rs:121:29 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn load_transaction(&self, ord: Ordering) -> Transaction { [INFO] [stdout] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 121 | pub fn load_transaction(&self, ord: Ordering) -> Transaction<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/mpmc.rs:883:23 [INFO] [stdout] | [INFO] [stdout] 883 | pub fn new(a: &AtomicUsize) -> Dropper { [INFO] [stdout] | ^^^^^^^^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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)]` 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/broadcast.rs:1089:23 [INFO] [stdout] | [INFO] [stdout] 1089 | pub fn new(a: &AtomicUsize) -> Dropper { [INFO] [stdout] | ^^^^^^^^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 1089 | pub fn new(a: &AtomicUsize) -> Dropper<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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 2.68s [INFO] running `Command { std: "docker" "inspect" "7fd8772019fd3bc41aa0d8c79b744f673e70e6ee6bc2fd13cda6486edf04fb70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7fd8772019fd3bc41aa0d8c79b744f673e70e6ee6bc2fd13cda6486edf04fb70", kill_on_drop: false }` [INFO] [stdout] 7fd8772019fd3bc41aa0d8c79b744f673e70e6ee6bc2fd13cda6486edf04fb70 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+8de4c7234dd9b97c9d76b58671343fdbbc9a433e" "test" "--frozen" "--target" "x86_64-unknown-linux-musl", kill_on_drop: false }` [INFO] [stdout] a92de290eb78a20eff53c502f91cb123ebc1fb002a8f5073f5fe7a110c90d5db [INFO] running `Command { std: "docker" "start" "-a" "a92de290eb78a20eff53c502f91cb123ebc1fb002a8f5073f5fe7a110c90d5db", 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)]` 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)]` 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)]` 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)]` 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)]` on by default [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/countedindex.rs:121:29 [INFO] [stderr] | [INFO] [stderr] 121 | pub fn load_transaction(&self, ord: Ordering) -> Transaction { [INFO] [stderr] | ^^^^^ ----------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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: lifetime flowing from input to output with different syntax can be 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 lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 88 | pub fn load_attempt(&self, ord: Ordering) -> ReadAttempt<'_> { [INFO] [stderr] | ++++ [INFO] [stderr] [INFO] [stderr] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/mpmc.rs:883:23 [INFO] [stderr] | [INFO] [stderr] 883 | pub fn new(a: &AtomicUsize) -> Dropper { [INFO] [stderr] | ^^^^^^^^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for 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)]` 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stderr] --> src/broadcast.rs:1089:23 [INFO] [stderr] | [INFO] [stderr] 1089 | pub fn new(a: &AtomicUsize) -> Dropper { [INFO] [stderr] | ^^^^^^^^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stderr] | | [INFO] [stderr] | this lifetime flows to the output [INFO] [stderr] | [INFO] [stderr] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stderr] | [INFO] [stderr] 1089 | pub fn new(a: &AtomicUsize) -> Dropper<'_> { [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: `multiqueue` (lib test) generated 39 warnings (36 duplicates) (run `cargo fix --lib -p multiqueue --tests` to apply 2 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)]` 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)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `multiqueue` (test "mpmc_fut") generated 1 warning [INFO] [stderr] warning: `multiqueue` (test "multicast_fut") generated 1 warning [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/multiqueue-64b07f4036218b6a) [INFO] [stdout] [INFO] [stdout] running 37 tests [INFO] [stdout] test broadcast::test::test_baddrop ... ok [INFO] [stdout] test broadcast::test::push_pop_test ... ok [INFO] [stdout] test broadcast::test::test_gooddrop ... ok [INFO] [stdout] test broadcast::test::test_iterator_comp ... ok [INFO] [stdout] test broadcast::test::test_single_leave_multi ... ok [INFO] [stdout] test broadcast::test::build_queue ... ok [INFO] [stdout] test countedindex::tests::test_small ... ok [INFO] [stdout] test broadcast::test::test_remove_reader ... 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 countedindex::tests::test_small_mt ... ok [INFO] [stdout] test mpmc::test::test_baddrop ... ok [INFO] [stdout] test mpmc::test::test_gooddrop ... ok [INFO] [stdout] test mpmc::test::test_iterator_comp ... ok [INFO] [stdout] test mpmc::test::test_recv_clone_item_noclone ... ok [INFO] [stdout] test countedindex::tests::test_tiny_mt ... ok [INFO] [stdout] test mpmc::test::test_single_leave_multi ... 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 broadcast::test::test_mpsc_single ... 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 wait::test::test_busywait ... ok [INFO] [stdout] test broadcast::test::test_spmc ... ok [INFO] [stdout] test mpmc::test::test_spmc ... ok [INFO] [stdout] test mpmc::test::test_mpmc ... ok [INFO] [stdout] test broadcast::test::test_mpmc ... ok [INFO] [stdout] test broadcast::test::test_spmc_broadcast ... ok [INFO] [stdout] test broadcast::test::test_mpsc_broadcast ... ok [INFO] [stdout] test broadcast::test::test_spsc_broadcast ... ok [INFO] [stdout] test broadcast::test::test_mpmc_broadcast ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 37 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 12.92s [INFO] [stdout] [INFO] [stderr] Running unittests src/bin/example.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/example-87093f9f27f1c03d) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stderr] Running unittests src/bin/throughput.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/throughput-65fa02acd53eba3d) [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] [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/x86_64-unknown-linux-musl/debug/deps/mpmc_fut-ca83728eef57219b) [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test bounds ... ok [INFO] [stdout] test send_recv ... ok [INFO] [stdout] test recv_close_gets_none ... 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 1.16s [INFO] [stdout] [INFO] [stderr] Running tests/multicast_fut.rs (/opt/rustwide/target/x86_64-unknown-linux-musl/debug/deps/multicast_fut-aeca08779ec38cf3) [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_recv_threads ... ok [INFO] [stdout] test send_shared_recv ... 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.63s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "a92de290eb78a20eff53c502f91cb123ebc1fb002a8f5073f5fe7a110c90d5db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a92de290eb78a20eff53c502f91cb123ebc1fb002a8f5073f5fe7a110c90d5db", kill_on_drop: false }` [INFO] [stdout] a92de290eb78a20eff53c502f91cb123ebc1fb002a8f5073f5fe7a110c90d5db