[INFO] cloning repository https://github.com/leana56/ring-buffers-research [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/leana56/ring-buffers-research" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleana56%2Fring-buffers-research", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleana56%2Fring-buffers-research'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 13fe11560308feccc9810d327be61d5c40f85019 [INFO] checking leana56/ring-buffers-research against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fleana56%2Fring-buffers-research" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/leana56/ring-buffers-research [INFO] finished tweaking git repo https://github.com/leana56/ring-buffers-research [INFO] tweaked toml for git repo https://github.com/leana56/ring-buffers-research written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/leana56/ring-buffers-research on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/leana56/ring-buffers-research already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded core_affinity v0.8.3 [INFO] [stderr] Downloaded minstant v0.1.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fe22196ad4959b805aaba2b1b3fe74e5d483ccc19a2548943435c6f4ecdb922f [INFO] running `Command { std: "docker" "start" "-a" "fe22196ad4959b805aaba2b1b3fe74e5d483ccc19a2548943435c6f4ecdb922f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fe22196ad4959b805aaba2b1b3fe74e5d483ccc19a2548943435c6f4ecdb922f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe22196ad4959b805aaba2b1b3fe74e5d483ccc19a2548943435c6f4ecdb922f", kill_on_drop: false }` [INFO] [stdout] fe22196ad4959b805aaba2b1b3fe74e5d483ccc19a2548943435c6f4ecdb922f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ecebcc88454dc879dbe56fa887892afd4dbd82fc15a51e5de16c22c9a2601dc1 [INFO] running `Command { std: "docker" "start" "-a" "ecebcc88454dc879dbe56fa887892afd4dbd82fc15a51e5de16c22c9a2601dc1", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking web-time v1.1.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.101 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking core_affinity v0.8.3 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling ctor v0.1.26 [INFO] [stderr] Checking minstant v0.1.7 [INFO] [stderr] Checking ring-buffers v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::sync::Weak` [INFO] [stdout] --> src/rings/spmc/broadcaster.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::sync::Weak; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::RwLock` [INFO] [stdout] --> src/rings/spmc/broadcaster_unsafe_local_tails.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::sync::RwLock; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Weak` [INFO] [stdout] --> src/rings/spmc/broadcaster_padded.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::sync::Weak; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::RwLock` [INFO] [stdout] --> src/rings/mpsc/local_tail_lossy.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::sync::RwLock; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Weak` [INFO] [stdout] --> src/rings/mpsc/local_tail_lossy.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::sync::Weak; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::RwLock` [INFO] [stdout] --> src/rings/mpsc/global_tail.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::sync::RwLock; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Weak` [INFO] [stdout] --> src/rings/mpsc/global_tail.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::sync::Weak; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::RwLock` [INFO] [stdout] --> src/rings/mpsc/global_tail_lossy.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::sync::RwLock; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Weak` [INFO] [stdout] --> src/rings/mpsc/global_tail_lossy.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::sync::Weak; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::RwLock` [INFO] [stdout] --> src/rings/mpsc/indiv_spsc_group.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::sync::RwLock; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Weak` [INFO] [stdout] --> src/rings/mpsc/indiv_spsc_group.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::sync::Weak; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem::size_of` [INFO] [stdout] --> src/rings/mpmc/load_balancer.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::mem::size_of; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem::size_of` [INFO] [stdout] --> src/rings/mpmc/broadcaster.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::mem::size_of; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem::size_of` [INFO] [stdout] --> src/rings/mpmc/broadcaster_unsafe_indiv_spmc_copy.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::mem::size_of; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Mutex` [INFO] [stdout] --> src/rings/mpmc/broadcaster_unsafe_indiv_spmc_copy.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `new_uninit` has been stable since 1.82.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(get_mut_unchecked, new_uninit)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Weak` [INFO] [stdout] --> src/rings/spmc/broadcaster.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::sync::Weak; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::RwLock` [INFO] [stdout] --> src/rings/spmc/broadcaster_unsafe_local_tails.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::sync::RwLock; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Weak` [INFO] [stdout] --> src/rings/spmc/broadcaster_padded.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::sync::Weak; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::RwLock` [INFO] [stdout] --> src/rings/mpsc/local_tail_lossy.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::sync::RwLock; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Weak` [INFO] [stdout] --> src/rings/mpsc/local_tail_lossy.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::sync::Weak; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::RwLock` [INFO] [stdout] --> src/rings/mpsc/global_tail.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::sync::RwLock; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Weak` [INFO] [stdout] --> src/rings/mpsc/global_tail.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::sync::Weak; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::RwLock` [INFO] [stdout] --> src/rings/mpsc/global_tail_lossy.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::sync::RwLock; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Weak` [INFO] [stdout] --> src/rings/mpsc/global_tail_lossy.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::sync::Weak; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::RwLock` [INFO] [stdout] --> src/rings/mpsc/indiv_spsc_group.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::sync::RwLock; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Weak` [INFO] [stdout] --> src/rings/mpsc/indiv_spsc_group.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::sync::Weak; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem::size_of` [INFO] [stdout] --> src/rings/mpmc/load_balancer.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::mem::size_of; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem::size_of` [INFO] [stdout] --> src/rings/mpmc/broadcaster.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::mem::size_of; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem::size_of` [INFO] [stdout] --> src/rings/mpmc/broadcaster_unsafe_indiv_spmc_copy.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::mem::size_of; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Mutex` [INFO] [stdout] --> src/rings/mpmc/broadcaster_unsafe_indiv_spmc_copy.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `new_uninit` has been stable since 1.82.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(get_mut_unchecked, new_uninit)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `producer_id` [INFO] [stdout] --> src/rings/spsc/dual_index_pad_false_sharing.rs:59:20 [INFO] [stdout] | [INFO] [stdout] 59 | fn push(&self, producer_id: usize, item: T) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_producer_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `local_tail` [INFO] [stdout] --> src/rings/spsc/dual_index_pad_false_sharing.rs:90:19 [INFO] [stdout] | [INFO] [stdout] 90 | fn pop(&self, local_tail: &mut usize) -> T { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_local_tail` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `producer_id` [INFO] [stdout] --> src/rings/spsc/dual_index_false_sharing.rs:54:20 [INFO] [stdout] | [INFO] [stdout] 54 | fn push(&self, producer_id: usize, item: T) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_producer_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `local_tail` [INFO] [stdout] --> src/rings/spsc/dual_index_false_sharing.rs:86:19 [INFO] [stdout] | [INFO] [stdout] 86 | fn pop(&self, local_tail: &mut usize) -> T { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_local_tail` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `producer_id` [INFO] [stdout] --> src/rings/spsc/safe_skipping.rs:71:20 [INFO] [stdout] | [INFO] [stdout] 71 | fn push(&self, producer_id: usize, item: T) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_producer_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `producer_id` [INFO] [stdout] --> src/rings/spsc/safe_skipping_no_box_ptr.rs:87:20 [INFO] [stdout] | [INFO] [stdout] 87 | fn push(&self, producer_id: usize, item: T) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_producer_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `producer_id` [INFO] [stdout] --> src/rings/spsc/safe_skipping_outside_arc.rs:56:20 [INFO] [stdout] | [INFO] [stdout] 56 | fn push(&self, producer_id: usize, item: T) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_producer_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `producer_id` [INFO] [stdout] --> src/rings/spsc/slot_lock_local_tail_copy.rs:66:20 [INFO] [stdout] | [INFO] [stdout] 66 | fn push(&self, producer_id: usize, item: T) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_producer_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `producer_id` [INFO] [stdout] --> src/rings/spsc/full_lock_local_tail_copy.rs:55:20 [INFO] [stdout] | [INFO] [stdout] 55 | fn push(&self, producer_id: usize, item: T) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_producer_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `producer_id` [INFO] [stdout] --> src/rings/spmc/broadcaster.rs:55:20 [INFO] [stdout] | [INFO] [stdout] 55 | fn push(&self, producer_id: usize, item: T) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_producer_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `local_tail` [INFO] [stdout] --> src/rings/spmc/broadcaster.rs:101:19 [INFO] [stdout] | [INFO] [stdout] 101 | fn pop(&self, local_tail: &mut usize) -> T { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_local_tail` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `producer_id` [INFO] [stdout] --> src/rings/spmc/broadcaster_unsafe_local_tails_outside_arc.rs:36:20 [INFO] [stdout] | [INFO] [stdout] 36 | fn push(&self, producer_id: usize, item: T) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_producer_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `producer_id` [INFO] [stdout] --> src/rings/spmc/broadcaster_unsafe_local_tails.rs:56:20 [INFO] [stdout] | [INFO] [stdout] 56 | fn push(&self, producer_id: usize, item: T) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_producer_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `producer_id` [INFO] [stdout] --> src/rings/spmc/broadcaster_padded.rs:71:20 [INFO] [stdout] | [INFO] [stdout] 71 | fn push(&self, producer_id: usize, item: T) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_producer_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `local_tail` [INFO] [stdout] --> src/rings/spmc/broadcaster_padded.rs:119:19 [INFO] [stdout] | [INFO] [stdout] 119 | fn pop(&self, local_tail: &mut usize) -> T { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_local_tail` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `producer_id` [INFO] [stdout] --> src/rings/spmc/load_balancer_copy.rs:54:20 [INFO] [stdout] | [INFO] [stdout] 54 | fn push(&self, producer_id: usize, item: T) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_producer_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `local_tail` [INFO] [stdout] --> src/rings/spmc/load_balancer_copy.rs:85:19 [INFO] [stdout] | [INFO] [stdout] 85 | fn pop(&self, local_tail: &mut usize) -> T { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_local_tail` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `producer_id` [INFO] [stdout] --> src/rings/mpsc/local_tail_lossy.rs:67:20 [INFO] [stdout] | [INFO] [stdout] 67 | fn push(&self, producer_id: usize, item: T) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_producer_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `producer_id` [INFO] [stdout] --> src/rings/mpsc/local_tail_lossy_padded.rs:70:20 [INFO] [stdout] | [INFO] [stdout] 70 | fn push(&self, producer_id: usize, item: T) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_producer_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `producer_id` [INFO] [stdout] --> src/rings/mpsc/global_tail.rs:68:20 [INFO] [stdout] | [INFO] [stdout] 68 | fn push(&self, producer_id: usize, item: T) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_producer_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `local_tail` [INFO] [stdout] --> src/rings/mpsc/global_tail.rs:112:19 [INFO] [stdout] | [INFO] [stdout] 112 | fn pop(&self, local_tail: &mut usize) -> T { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_local_tail` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `producer_id` [INFO] [stdout] --> src/rings/mpsc/global_tail_lossy.rs:68:20 [INFO] [stdout] | [INFO] [stdout] 68 | fn push(&self, producer_id: usize, item: T) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_producer_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `local_tail` [INFO] [stdout] --> src/rings/mpsc/global_tail_lossy.rs:110:19 [INFO] [stdout] | [INFO] [stdout] 110 | fn pop(&self, local_tail: &mut usize) -> T { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_local_tail` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `local_tail` [INFO] [stdout] --> src/rings/mpsc/indiv_spsc_group.rs:125:19 [INFO] [stdout] | [INFO] [stdout] 125 | fn pop(&self, local_tail: &mut usize) -> T { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_local_tail` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `producer_id` [INFO] [stdout] --> src/rings/mpmc/load_balancer.rs:67:20 [INFO] [stdout] | [INFO] [stdout] 67 | fn push(&self, producer_id: usize, item: T) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_producer_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `local_tail` [INFO] [stdout] --> src/rings/mpmc/load_balancer.rs:108:19 [INFO] [stdout] | [INFO] [stdout] 108 | fn pop(&self, local_tail: &mut usize) -> T { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_local_tail` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `producer_id` [INFO] [stdout] --> src/rings/mpmc/load_balancer_padded.rs:74:20 [INFO] [stdout] | [INFO] [stdout] 74 | fn push(&self, producer_id: usize, item: T) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_producer_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `local_tail` [INFO] [stdout] --> src/rings/mpmc/load_balancer_padded.rs:115:19 [INFO] [stdout] | [INFO] [stdout] 115 | fn pop(&self, local_tail: &mut usize) -> T { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_local_tail` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `producer_id` [INFO] [stdout] --> src/rings/mpmc/broadcaster.rs:67:20 [INFO] [stdout] | [INFO] [stdout] 67 | fn push(&self, producer_id: usize, item: T) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_producer_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/rings/mpmc/broadcaster_unsafe_indiv_spmc_copy.rs:47:56 [INFO] [stdout] | [INFO] [stdout] 47 | producer_rings: (0..producer_threads).map(|i| IndivRing::new()).collect::>().into_boxed_slice(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `local_tail` [INFO] [stdout] --> src/rings/mpmc/broadcaster_unsafe_indiv_spmc_copy.rs:112:19 [INFO] [stdout] | [INFO] [stdout] 112 | fn pop(&self, local_tail: &mut usize) -> T { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_local_tail` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/experiment.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | _ => panic!("Invalid ring name: {:?}", ring_name), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/experiment.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 14 | RingName::MPMCLoadBalancer => { [INFO] [stdout] | -------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 18 | RingName::MPMCLoadBalancerPadded => { [INFO] [stdout] | -------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 22 | RingName::MPMCBroadcaster => { [INFO] [stdout] | ------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 26 | RingName::MPMCBroadcasterUnsafeIndivSPMCCopy => { [INFO] [stdout] | -------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 129 | _ => panic!("Invalid ring name: {:?}", ring_name), [INFO] [stdout] | ^ ...and 17 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `producer_id` [INFO] [stdout] --> src/rings/spsc/dual_index_pad_false_sharing.rs:59:20 [INFO] [stdout] | [INFO] [stdout] 59 | fn push(&self, producer_id: usize, item: T) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_producer_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `local_tail` [INFO] [stdout] --> src/rings/spsc/dual_index_pad_false_sharing.rs:90:19 [INFO] [stdout] | [INFO] [stdout] 90 | fn pop(&self, local_tail: &mut usize) -> T { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_local_tail` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `producer_id` [INFO] [stdout] --> src/rings/spsc/dual_index_false_sharing.rs:54:20 [INFO] [stdout] | [INFO] [stdout] 54 | fn push(&self, producer_id: usize, item: T) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_producer_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `local_tail` [INFO] [stdout] --> src/rings/spsc/dual_index_false_sharing.rs:86:19 [INFO] [stdout] | [INFO] [stdout] 86 | fn pop(&self, local_tail: &mut usize) -> T { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_local_tail` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `producer_id` [INFO] [stdout] --> src/rings/spsc/safe_skipping.rs:71:20 [INFO] [stdout] | [INFO] [stdout] 71 | fn push(&self, producer_id: usize, item: T) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_producer_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `producer_id` [INFO] [stdout] --> src/rings/spsc/safe_skipping_no_box_ptr.rs:87:20 [INFO] [stdout] | [INFO] [stdout] 87 | fn push(&self, producer_id: usize, item: T) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_producer_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `producer_id` [INFO] [stdout] --> src/rings/spsc/safe_skipping_outside_arc.rs:56:20 [INFO] [stdout] | [INFO] [stdout] 56 | fn push(&self, producer_id: usize, item: T) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_producer_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `producer_id` [INFO] [stdout] --> src/rings/spsc/slot_lock_local_tail_copy.rs:66:20 [INFO] [stdout] | [INFO] [stdout] 66 | fn push(&self, producer_id: usize, item: T) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_producer_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `producer_id` [INFO] [stdout] --> src/rings/spsc/full_lock_local_tail_copy.rs:55:20 [INFO] [stdout] | [INFO] [stdout] 55 | fn push(&self, producer_id: usize, item: T) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_producer_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `producer_id` [INFO] [stdout] --> src/rings/spmc/broadcaster.rs:55:20 [INFO] [stdout] | [INFO] [stdout] 55 | fn push(&self, producer_id: usize, item: T) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_producer_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `local_tail` [INFO] [stdout] --> src/rings/spmc/broadcaster.rs:101:19 [INFO] [stdout] | [INFO] [stdout] 101 | fn pop(&self, local_tail: &mut usize) -> T { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_local_tail` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `producer_id` [INFO] [stdout] --> src/rings/spmc/broadcaster_unsafe_local_tails_outside_arc.rs:36:20 [INFO] [stdout] | [INFO] [stdout] 36 | fn push(&self, producer_id: usize, item: T) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_producer_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `producer_id` [INFO] [stdout] --> src/rings/spmc/broadcaster_unsafe_local_tails.rs:56:20 [INFO] [stdout] | [INFO] [stdout] 56 | fn push(&self, producer_id: usize, item: T) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_producer_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `producer_id` [INFO] [stdout] --> src/rings/spmc/broadcaster_padded.rs:71:20 [INFO] [stdout] | [INFO] [stdout] 71 | fn push(&self, producer_id: usize, item: T) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_producer_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Blank` is never constructed [INFO] [stdout] --> src/payload.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 110 | pub enum PayloadByteType { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] 111 | Random, [INFO] [stdout] 112 | Blank, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PayloadByteType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `data` is never read [INFO] [stdout] --> src/payload.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 118 | pub struct CopyablePayload { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 119 | pub data: [u8; PAYLOAD_SIZE], [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CopyablePayload` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HeapPayload` is never constructed [INFO] [stdout] --> src/payload.rs:158:12 [INFO] [stdout] | [INFO] [stdout] 158 | pub struct HeapPayload { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/utils.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum CL { [INFO] [stdout] | -- variants in this enum [INFO] [stdout] 11 | Pink, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | Purple, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | DullGreen, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 16 | Blue, [INFO] [stdout] | ^^^^ [INFO] [stdout] 17 | DimLightBlue, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 18 | DullRed, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 19 | Red, [INFO] [stdout] 20 | UrgentRed, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 21 | PeachRed, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | DullTeal, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `wipe_file` is never used [INFO] [stdout] --> src/utils.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 58 | impl FileHandler { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn wipe_file(&mut self) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `local_tail` [INFO] [stdout] --> src/rings/spmc/broadcaster_padded.rs:119:19 [INFO] [stdout] | [INFO] [stdout] 119 | fn pop(&self, local_tail: &mut usize) -> T { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_local_tail` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `producer_id` [INFO] [stdout] --> src/rings/spmc/load_balancer_copy.rs:54:20 [INFO] [stdout] | [INFO] [stdout] 54 | fn push(&self, producer_id: usize, item: T) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_producer_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `local_tail` [INFO] [stdout] --> src/rings/spmc/load_balancer_copy.rs:85:19 [INFO] [stdout] | [INFO] [stdout] 85 | fn pop(&self, local_tail: &mut usize) -> T { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_local_tail` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `producer_id` [INFO] [stdout] --> src/rings/mpsc/local_tail_lossy.rs:67:20 [INFO] [stdout] | [INFO] [stdout] 67 | fn push(&self, producer_id: usize, item: T) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_producer_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `producer_id` [INFO] [stdout] --> src/rings/mpsc/local_tail_lossy_padded.rs:70:20 [INFO] [stdout] | [INFO] [stdout] 70 | fn push(&self, producer_id: usize, item: T) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_producer_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `producer_id` [INFO] [stdout] --> src/rings/mpsc/global_tail.rs:68:20 [INFO] [stdout] | [INFO] [stdout] 68 | fn push(&self, producer_id: usize, item: T) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_producer_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `local_tail` [INFO] [stdout] --> src/rings/mpsc/global_tail.rs:112:19 [INFO] [stdout] | [INFO] [stdout] 112 | fn pop(&self, local_tail: &mut usize) -> T { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_local_tail` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `producer_id` [INFO] [stdout] --> src/rings/mpsc/global_tail_lossy.rs:68:20 [INFO] [stdout] | [INFO] [stdout] 68 | fn push(&self, producer_id: usize, item: T) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_producer_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `local_tail` [INFO] [stdout] --> src/rings/mpsc/global_tail_lossy.rs:110:19 [INFO] [stdout] | [INFO] [stdout] 110 | fn pop(&self, local_tail: &mut usize) -> T { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_local_tail` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `local_tail` [INFO] [stdout] --> src/rings/mpsc/indiv_spsc_group.rs:125:19 [INFO] [stdout] | [INFO] [stdout] 125 | fn pop(&self, local_tail: &mut usize) -> T { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_local_tail` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `producer_id` [INFO] [stdout] --> src/rings/mpmc/load_balancer.rs:67:20 [INFO] [stdout] | [INFO] [stdout] 67 | fn push(&self, producer_id: usize, item: T) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_producer_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `local_tail` [INFO] [stdout] --> src/rings/mpmc/load_balancer.rs:108:19 [INFO] [stdout] | [INFO] [stdout] 108 | fn pop(&self, local_tail: &mut usize) -> T { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_local_tail` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `producer_id` [INFO] [stdout] --> src/rings/mpmc/load_balancer_padded.rs:74:20 [INFO] [stdout] | [INFO] [stdout] 74 | fn push(&self, producer_id: usize, item: T) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_producer_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `local_tail` [INFO] [stdout] --> src/rings/mpmc/load_balancer_padded.rs:115:19 [INFO] [stdout] | [INFO] [stdout] 115 | fn pop(&self, local_tail: &mut usize) -> T { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_local_tail` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `producer_id` [INFO] [stdout] --> src/rings/mpmc/broadcaster.rs:67:20 [INFO] [stdout] | [INFO] [stdout] 67 | fn push(&self, producer_id: usize, item: T) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_producer_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/rings/mpmc/broadcaster_unsafe_indiv_spmc_copy.rs:47:56 [INFO] [stdout] | [INFO] [stdout] 47 | producer_rings: (0..producer_threads).map(|i| IndivRing::new()).collect::>().into_boxed_slice(), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `local_tail` [INFO] [stdout] --> src/rings/mpmc/broadcaster_unsafe_indiv_spmc_copy.rs:112:19 [INFO] [stdout] | [INFO] [stdout] 112 | fn pop(&self, local_tail: &mut usize) -> T { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_local_tail` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/experiment.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | _ => panic!("Invalid ring name: {:?}", ring_name), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/experiment.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 14 | RingName::MPMCLoadBalancer => { [INFO] [stdout] | -------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 18 | RingName::MPMCLoadBalancerPadded => { [INFO] [stdout] | -------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 22 | RingName::MPMCBroadcaster => { [INFO] [stdout] | ------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 26 | RingName::MPMCBroadcasterUnsafeIndivSPMCCopy => { [INFO] [stdout] | -------------------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 129 | _ => panic!("Invalid ring name: {:?}", ring_name), [INFO] [stdout] | ^ ...and 17 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Blank` is never constructed [INFO] [stdout] --> src/payload.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 110 | pub enum PayloadByteType { [INFO] [stdout] | --------------- variant in this enum [INFO] [stdout] 111 | Random, [INFO] [stdout] 112 | Blank, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PayloadByteType` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.47s [INFO] [stdout] warning: field `data` is never read [INFO] [stdout] --> src/payload.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 118 | pub struct CopyablePayload { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 119 | pub data: [u8; PAYLOAD_SIZE], [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CopyablePayload` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HeapPayload` is never constructed [INFO] [stdout] --> src/payload.rs:158:12 [INFO] [stdout] | [INFO] [stdout] 158 | pub struct HeapPayload { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/utils.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub enum CL { [INFO] [stdout] | -- variants in this enum [INFO] [stdout] 11 | Pink, [INFO] [stdout] | ^^^^ [INFO] [stdout] 12 | Purple, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | DullGreen, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 16 | Blue, [INFO] [stdout] | ^^^^ [INFO] [stdout] 17 | DimLightBlue, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 18 | DullRed, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 19 | Red, [INFO] [stdout] 20 | UrgentRed, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 21 | PeachRed, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | DullTeal, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `wipe_file` is never used [INFO] [stdout] --> src/utils.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 58 | impl FileHandler { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn wipe_file(&mut self) -> io::Result<()> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "ecebcc88454dc879dbe56fa887892afd4dbd82fc15a51e5de16c22c9a2601dc1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ecebcc88454dc879dbe56fa887892afd4dbd82fc15a51e5de16c22c9a2601dc1", kill_on_drop: false }` [INFO] [stdout] ecebcc88454dc879dbe56fa887892afd4dbd82fc15a51e5de16c22c9a2601dc1