[INFO] fetching crate fibre 0.5.0... [INFO] checking fibre-0.5.0 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate fibre 0.5.0 into /workspace/builds/worker-4-tc1/source [INFO] started tweaking crates.io crate fibre 0.5.0 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate fibre 0.5.0 [INFO] tweaked toml for crates.io crate fibre 0.5.0 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate fibre 0.5.0 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate fibre 0.5.0 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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded seize v0.5.0 [INFO] [stderr] Downloaded bench_matrix v0.2.0 [INFO] [stderr] Downloaded papaya v0.2.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 90da1fa459f1c8498037d4c4ecf67c114800c9086edd7d420ce329e7833f3b2a [INFO] running `Command { std: "docker" "start" "-a" "90da1fa459f1c8498037d4c4ecf67c114800c9086edd7d420ce329e7833f3b2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "90da1fa459f1c8498037d4c4ecf67c114800c9086edd7d420ce329e7833f3b2a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "90da1fa459f1c8498037d4c4ecf67c114800c9086edd7d420ce329e7833f3b2a", kill_on_drop: false }` [INFO] [stdout] 90da1fa459f1c8498037d4c4ecf67c114800c9086edd7d420ce329e7833f3b2a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bae72229eda2cfe518c1de2054ad46287252fa145fbcf0a91da409c13d933fa3 [INFO] running `Command { std: "docker" "start" "-a" "bae72229eda2cfe518c1de2054ad46287252fa145fbcf0a91da409c13d933fa3", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.173 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking futures-sink v0.3.31 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Checking slab v0.4.10 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling syn v2.0.103 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking half v2.6.0 [INFO] [stderr] Checking clap_lex v0.7.5 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking ciborium-io v0.2.2 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking anstyle v1.0.11 [INFO] [stderr] Checking plotters-backend v0.3.7 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking cast v0.3.0 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Checking anes v0.1.6 [INFO] [stderr] Checking equivalent v1.0.2 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking sdd v3.0.8 [INFO] [stderr] Checking oorandom v11.1.5 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking plotters-svg v0.3.7 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking lazy_static v1.5.0 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking clap_builder v4.5.40 [INFO] [stderr] Checking scc v2.3.4 [INFO] [stderr] Checking log v0.4.27 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Checking is-terminal v0.4.16 [INFO] [stderr] Checking seize v0.5.0 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking criterion-plot v0.5.0 [INFO] [stderr] Checking futures-intrusive v0.5.0 [INFO] [stderr] Checking papaya v0.2.1 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking clap v4.5.40 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.1 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking fibre v0.5.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused macro definition: `impl_error_with_inner` [INFO] [stdout] --> src/error.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | macro_rules! impl_error_with_inner { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RecvErrorTimeout`, `SendError`, `TryRecvError`, and `TrySendError` [INFO] [stdout] --> src/spsc/shared.rs:2:31 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::error::{RecvError, RecvErrorTimeout, SendError, TryRecvError, TrySendError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::marker::PhantomData` [INFO] [stdout] --> src/spsc/shared.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::marker::PhantomData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/spsc/shared.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/spsc/shared.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | use std::thread::{self, Thread}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Duration` and `Instant` [INFO] [stdout] --> src/spsc/shared.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::marker::PhantomData` [INFO] [stdout] --> src/mpsc/unbounded.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::marker::PhantomData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TryRecvError` [INFO] [stdout] --> src/mpmc/async_impl.rs:8:31 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::error::{SendError, TryRecvError, TrySendError}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::future::PollFn` [INFO] [stdout] --> src/mpmc/core.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use core::future::PollFn; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling serial_test_derive v3.2.0 [INFO] [stdout] warning: constant `LOC_C_RECV` is never used [INFO] [stdout] --> src/spmc/ring_buffer.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 26 | const LOC_C_RECV: &str = "Receiver::recv"; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EVT_P_ENTER_LOOP` is never used [INFO] [stdout] --> src/spmc/ring_buffer.rs:31:7 [INFO] [stdout] | [INFO] [stdout] 31 | const EVT_P_ENTER_LOOP: &str = "P:EnterLoop"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EVT_P_GOT_MIN_TAIL` is never used [INFO] [stdout] --> src/spmc/ring_buffer.rs:32:7 [INFO] [stdout] | [INFO] [stdout] 32 | const EVT_P_GOT_MIN_TAIL: &str = "P:GotMinTail"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `capacity` and `is_empty` are never used [INFO] [stdout] --> src/spmc/topic/mailbox.rs:126:17 [INFO] [stdout] | [INFO] [stdout] 97 | impl MailboxProducer { [INFO] [stdout] | -------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 126 | pub(crate) fn capacity(&self) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | pub(crate) fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AlignedInner128` is never constructed [INFO] [stdout] --> src/internal/cache_padded.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | struct AlignedInner128 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `park_thread_timeout_cond` is never used [INFO] [stdout] --> src/sync_util.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn park_thread_timeout_cond(timeout: Option, stop_condition: F) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking tokio v1.45.1 [INFO] [stderr] Checking serial_test v3.2.0 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.5.1 [INFO] [stderr] Checking bench_matrix v0.2.0 [INFO] [stdout] warning: unused import: `SendError` [INFO] [stdout] --> examples/mpsc.rs:2:31 [INFO] [stdout] | [INFO] [stdout] 2 | use fibre::error::{RecvError, SendError}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AsyncTeardownFn` and `ExtractorFn` [INFO] [stdout] --> benches/oneshot.rs:5:40 [INFO] [stdout] | [INFO] [stdout] 5 | async_suite::{AsyncBenchmarkSuite, AsyncTeardownFn}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | ExtractorFn, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cvar` [INFO] [stdout] --> tests/spmc_repro.rs:119:16 [INFO] [stdout] | [INFO] [stdout] 119 | let (lock, cvar) = &*timeout_signal; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_cvar` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/spmc_repro.rs:22:10 [INFO] [stdout] | [INFO] [stdout] 22 | let (mut tx, rx_orig) = spmc::bounded(capacity); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/spmc_repro.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 34 | let mut rx_clone = rx_orig.clone(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/spmc_repro.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | let mut timed_out = *lock.lock().unwrap(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TryRecvError` [INFO] [stdout] --> tests/topic_spmc_async.rs:6:42 [INFO] [stdout] | [INFO] [stdout] 6 | use fibre::error::{RecvError, SendError, TryRecvError}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> tests/topic_spmc_async.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> benches/oneshot.rs:68:23 [INFO] [stdout] | [INFO] [stdout] 68 | let (p_oneshot, mut r_oneshot) = oneshot::oneshot(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/mpsc.rs:59:14 [INFO] [stdout] | [INFO] [stdout] 59 | let (tx, mut rx) = mpsc::unbounded_async::(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/mpsc.rs:99:20 [INFO] [stdout] | [INFO] [stdout] 99 | let (tx_async, mut rx_async) = mpsc::unbounded_async::(); // Start with async channel [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/mpsc.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | let (tx, mut rx) = mpsc::unbounded::(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/mpsc.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | let mut rx_sync = rx_async.to_sync(); // Convert receiver [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/spmc_async.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | let (mut tx, rx) = spmc::bounded_async(2); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> benches/mpsc_sync.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 52 | let (tx, mut rx) = mpsc::unbounded(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/spmc_async.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | let (mut tx, rx) = spmc::bounded_async::(2); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/spmc_async.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | let (mut tx, rx1) = spmc::bounded_async(ITEMS_LOW); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/spmc_async.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | let (mut tx, rx_fast) = spmc::bounded_async(1); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LONG_TIMEOUT` is never used [INFO] [stdout] --> tests/common/mod.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const LONG_TIMEOUT: Duration = Duration::from_secs(3); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `STRESS_TIMEOUT` is never used [INFO] [stdout] --> tests/common/mod.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const STRESS_TIMEOUT: Duration = Duration::from_secs(15); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ITEMS_MEDIUM` is never used [INFO] [stdout] --> tests/common/mod.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub const ITEMS_MEDIUM: usize = 200; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ITEMS_HIGH` is never used [INFO] [stdout] --> tests/common/mod.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub const ITEMS_HIGH: usize = 1000; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AsyncTeardownFn` and `ExtractorFn` [INFO] [stdout] --> benches/spsc_async.rs:5:40 [INFO] [stdout] | [INFO] [stdout] 5 | async_suite::{AsyncBenchmarkSuite, AsyncTeardownFn}, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | ExtractorFn, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> benches/spmc_async.rs:54:10 [INFO] [stdout] | [INFO] [stdout] 54 | let (mut tx, rx) = spmc::bounded_async(cfg_clone.capacity); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> benches/spmc_async.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | for mut receiver in receivers { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SHORT_TIMEOUT` is never used [INFO] [stdout] --> tests/common/mod.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub const SHORT_TIMEOUT: Duration = Duration::from_millis(500); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LONG_TIMEOUT` is never used [INFO] [stdout] --> tests/common/mod.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const LONG_TIMEOUT: Duration = Duration::from_secs(3); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `STRESS_TIMEOUT` is never used [INFO] [stdout] --> tests/common/mod.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const STRESS_TIMEOUT: Duration = Duration::from_secs(15); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ITEMS_LOW` is never used [INFO] [stdout] --> tests/common/mod.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const ITEMS_LOW: usize = 50; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LONG_TIMEOUT` is never used [INFO] [stdout] --> tests/common/mod.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const LONG_TIMEOUT: Duration = Duration::from_secs(3); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `STRESS_TIMEOUT` is never used [INFO] [stdout] --> tests/common/mod.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const STRESS_TIMEOUT: Duration = Duration::from_secs(15); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ITEMS_LOW` is never used [INFO] [stdout] --> tests/common/mod.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const ITEMS_LOW: usize = 50; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ITEMS_MEDIUM` is never used [INFO] [stdout] --> tests/common/mod.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub const ITEMS_MEDIUM: usize = 200; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ITEMS_HIGH` is never used [INFO] [stdout] --> tests/common/mod.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub const ITEMS_HIGH: usize = 1000; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/spmc_sync.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | let (mut tx, mut rx) = spmc::bounded(2); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/spmc_sync.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | let (mut tx, mut rx) = spmc::bounded(2); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/spmc_sync.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | let (mut tx, mut rx) = spmc::bounded::(2); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/spmc_sync.rs:16:16 [INFO] [stdout] | [INFO] [stdout] 16 | let (mut tx, mut rx) = spmc::bounded::(2); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/spmc_sync.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | let (mut tx, mut rx1) = spmc::bounded(ITEMS_LOW); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/spmc_sync.rs:25:16 [INFO] [stdout] | [INFO] [stdout] 25 | let (mut tx, mut rx1) = spmc::bounded(ITEMS_LOW); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/spmc_sync.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 26 | let mut rx2 = rx1.clone(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/spmc_sync.rs:27:7 [INFO] [stdout] | [INFO] [stdout] 27 | let mut rx3 = rx1.clone(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/spmc_sync.rs:56:8 [INFO] [stdout] | [INFO] [stdout] 56 | let (mut tx, mut rx_fast) = spmc::bounded(1); // Capacity of 1 [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/spmc_sync.rs:56:16 [INFO] [stdout] | [INFO] [stdout] 56 | let (mut tx, mut rx_fast) = spmc::bounded(1); // Capacity of 1 [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/spmc_sync.rs:57:7 [INFO] [stdout] | [INFO] [stdout] 57 | let mut rx_slow = rx_fast.clone(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/spmc_sync.rs:87:8 [INFO] [stdout] | [INFO] [stdout] 87 | let (mut tx, rx) = spmc::bounded(2); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LONG_TIMEOUT` is never used [INFO] [stdout] --> tests/common/mod.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const LONG_TIMEOUT: Duration = Duration::from_secs(3); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `STRESS_TIMEOUT` is never used [INFO] [stdout] --> tests/common/mod.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const STRESS_TIMEOUT: Duration = Duration::from_secs(15); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ITEMS_MEDIUM` is never used [INFO] [stdout] --> tests/common/mod.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub const ITEMS_MEDIUM: usize = 200; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ITEMS_HIGH` is never used [INFO] [stdout] --> tests/common/mod.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub const ITEMS_HIGH: usize = 1000; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> benches/mpsc_async.rs:59:14 [INFO] [stdout] | [INFO] [stdout] 59 | let (tx, mut rx) = mpsc::unbounded_async(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `impl_error_with_inner` [INFO] [stdout] --> src/error.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | macro_rules! impl_error_with_inner { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RecvErrorTimeout`, `SendError`, `TryRecvError`, and `TrySendError` [INFO] [stdout] --> src/spsc/shared.rs:2:31 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::error::{RecvError, RecvErrorTimeout, SendError, TryRecvError, TrySendError}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::marker::PhantomData` [INFO] [stdout] --> src/spsc/shared.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::marker::PhantomData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/spsc/shared.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/spsc/shared.rs:13:19 [INFO] [stdout] | [INFO] [stdout] 13 | use std::thread::{self, Thread}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Duration` and `Instant` [INFO] [stdout] --> src/spsc/shared.rs:14:17 [INFO] [stdout] | [INFO] [stdout] 14 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::marker::PhantomData` [INFO] [stdout] --> src/mpsc/unbounded.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use std::marker::PhantomData; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TryRecvError` [INFO] [stdout] --> src/mpmc/async_impl.rs:8:31 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::error::{SendError, TryRecvError, TrySendError}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::future::PollFn` [INFO] [stdout] --> src/mpmc/core.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | use core::future::PollFn; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SendError` [INFO] [stdout] --> examples/spmc.rs:2:31 [INFO] [stdout] | [INFO] [stdout] 2 | use fibre::error::{RecvError, SendError}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AtomicUsize`, `Ordering`, and `sync::Arc` [INFO] [stdout] --> examples/spmc.rs:5:18 [INFO] [stdout] | [INFO] [stdout] 5 | sync::atomic::{AtomicUsize, Ordering}, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^ [INFO] [stdout] 6 | sync::Arc, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LONG_TIMEOUT` is never used [INFO] [stdout] --> tests/common/mod.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const LONG_TIMEOUT: Duration = Duration::from_secs(3); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `STRESS_TIMEOUT` is never used [INFO] [stdout] --> tests/common/mod.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const STRESS_TIMEOUT: Duration = Duration::from_secs(15); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ITEMS_LOW` is never used [INFO] [stdout] --> tests/common/mod.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const ITEMS_LOW: usize = 50; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ITEMS_MEDIUM` is never used [INFO] [stdout] --> tests/common/mod.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub const ITEMS_MEDIUM: usize = 200; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ITEMS_HIGH` is never used [INFO] [stdout] --> tests/common/mod.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub const ITEMS_HIGH: usize = 1000; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `producer_task_handle` [INFO] [stdout] --> examples/spmc.rs:161:9 [INFO] [stdout] | [INFO] [stdout] 161 | let producer_task_handle = common_async::block_on_tokio_task(async move { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_producer_task_handle` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/spmc.rs:65:10 [INFO] [stdout] | [INFO] [stdout] 65 | let (mut tx, rx1_orig) = spmc::bounded_async::(capacity); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/spmc.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | let mut rx1 = rx1_orig.clone(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/spmc.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | let mut rx2 = rx1_orig.clone(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/spmc.rs:112:9 [INFO] [stdout] | [INFO] [stdout] 112 | let mut tx_sync_converted = tx_async.to_sync(); // Convert producer [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/spmc.rs:113:9 [INFO] [stdout] | [INFO] [stdout] 113 | let mut rx_async1 = rx_async1_orig.clone(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/spmc.rs:114:9 [INFO] [stdout] | [INFO] [stdout] 114 | let mut rx_async2 = rx_async1_orig.clone(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/spmc.rs:162:11 [INFO] [stdout] | [INFO] [stdout] 162 | let mut tx_async_local = tx_async; // Avoid capturing the original tx_async if it's used elsewhere [INFO] [stdout] | ----^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/spmc.rs:18:10 [INFO] [stdout] | [INFO] [stdout] 18 | let (mut tx, rx1_orig) = spmc::bounded::(capacity); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/spmc.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | let mut rx1 = rx1_orig.clone(); // Keep original alive for other clones [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/spmc.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let mut rx2 = rx1_orig.clone(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/spmc.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 | let mut rx_sync1 = rx_async1_orig.clone().to_sync(); // Convert receivers [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/spmc.rs:157:9 [INFO] [stdout] | [INFO] [stdout] 157 | let mut rx_sync2 = rx_async1_orig.to_sync(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/mpsc_sync.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | let (tx, mut rx) = mpsc::unbounded_async(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/mpsc_sync.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | let (tx, mut rx) = mpsc::unbounded_async(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/mpsc_sync.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | let (tx, mut rx) = mpsc::unbounded_async::<()>(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/mpsc_sync.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | let (tx, mut rx) = mpsc::unbounded_async(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/mpsc_sync.rs:104:18 [INFO] [stdout] | [INFO] [stdout] 104 | let (tx_async, mut rx_async) = mpsc::unbounded_async(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LONG_TIMEOUT` is never used [INFO] [stdout] --> tests/common/mod.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const LONG_TIMEOUT: Duration = Duration::from_secs(3); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `STRESS_TIMEOUT` is never used [INFO] [stdout] --> tests/common/mod.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const STRESS_TIMEOUT: Duration = Duration::from_secs(15); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ITEMS_LOW` is never used [INFO] [stdout] --> tests/common/mod.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const ITEMS_LOW: usize = 50; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ITEMS_MEDIUM` is never used [INFO] [stdout] --> tests/common/mod.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub const ITEMS_MEDIUM: usize = 200; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LONG_TIMEOUT` is never used [INFO] [stdout] --> tests/common/mod.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const LONG_TIMEOUT: Duration = Duration::from_secs(3); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `STRESS_TIMEOUT` is never used [INFO] [stdout] --> tests/common/mod.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const STRESS_TIMEOUT: Duration = Duration::from_secs(15); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ITEMS_LOW` is never used [INFO] [stdout] --> tests/common/mod.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const ITEMS_LOW: usize = 50; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> benches/spmc_sync.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | for mut receiver in receivers { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> benches/spmc_sync.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | let (mut tx, rx) = spmc::bounded(cfg.capacity); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ExtractorFn` and `SyncTeardownFn` [INFO] [stdout] --> benches/spsc_sync.rs:5:38 [INFO] [stdout] | [INFO] [stdout] 5 | sync_suite::{SyncBenchmarkSuite, SyncTeardownFn}, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 6 | ExtractorFn, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `future::Future` and `pin::Pin` [INFO] [stdout] --> benches/spsc_sync.rs:12:3 [INFO] [stdout] | [INFO] [stdout] 12 | future::Future, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 13 | pin::Pin, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `tokio::runtime::Runtime` [INFO] [stdout] --> benches/spsc_sync.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use tokio::runtime::Runtime; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LONG_TIMEOUT` is never used [INFO] [stdout] --> tests/common/mod.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const LONG_TIMEOUT: Duration = Duration::from_secs(3); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `STRESS_TIMEOUT` is never used [INFO] [stdout] --> tests/common/mod.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const STRESS_TIMEOUT: Duration = Duration::from_secs(15); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ITEMS_LOW` is never used [INFO] [stdout] --> tests/common/mod.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const ITEMS_LOW: usize = 50; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ITEMS_MEDIUM` is never used [INFO] [stdout] --> tests/common/mod.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub const ITEMS_MEDIUM: usize = 200; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> benches/spsc_sync.rs:91:3 [INFO] [stdout] | [INFO] [stdout] 91 | mut state: SpscSyncState, [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> examples/oneshot.rs:145:7 [INFO] [stdout] | [INFO] [stdout] 141 | Err(RecvError::Disconnected) => { [INFO] [stdout] | ---------------------------- matches all the relevant values [INFO] [stdout] ... [INFO] [stdout] 145 | Err(e) => panic!("Unexpected error: {:?}", e), [INFO] [stdout] | ^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/oneshot.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | let (tx, mut rx) = oneshot::oneshot::(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/oneshot.rs:39:14 [INFO] [stdout] | [INFO] [stdout] 39 | let (tx, mut rx) = oneshot::oneshot::(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/oneshot.rs:71:14 [INFO] [stdout] | [INFO] [stdout] 71 | let (tx, mut rx) = oneshot::oneshot::(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/oneshot.rs:138:14 [INFO] [stdout] | [INFO] [stdout] 138 | let (tx, mut rx) = oneshot::oneshot::(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/oneshot.rs:104:26 [INFO] [stdout] | [INFO] [stdout] 104 | let (tx_async_to_sync, mut rx_async_for_sync) = oneshot::oneshot::(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/spsc.rs:48:14 [INFO] [stdout] | [INFO] [stdout] 48 | let (tx, mut rx) = spsc::bounded_async::(capacity); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/spsc.rs:82:10 [INFO] [stdout] | [INFO] [stdout] 82 | let (mut tx_s, rx_s) = spsc::bounded_sync::(capacity); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/spsc.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | let mut rx_a = rx_s.to_async(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/spsc.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | let (mut tx, mut rx) = spsc::bounded_sync::(capacity); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/spsc.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | let (mut tx, mut rx) = spsc::bounded_sync::(capacity); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> examples/spsc.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | let mut rx_s = rx_a.to_sync(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/oneshot/tests.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | let (tx, mut rx) = oneshot::(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/oneshot/tests.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 27 | let (tx, mut rx) = oneshot::(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/oneshot/tests.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | let (tx, mut rx) = oneshot::(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/oneshot/tests.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | let (tx1, mut rx) = oneshot::(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/oneshot/tests.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | let (tx1, mut rx) = oneshot::(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/oneshot/tests.rs:120:14 [INFO] [stdout] | [INFO] [stdout] 120 | let (tx, mut rx) = oneshot::(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/oneshot/tests.rs:161:13 [INFO] [stdout] | [INFO] [stdout] 161 | let (tx1, mut rx1) = oneshot::(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/oneshot/tests.rs:162:14 [INFO] [stdout] | [INFO] [stdout] 162 | let (_tx2, mut rx2) = oneshot::(); // This one won't receive anything [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/oneshot/tests.rs:187:17 [INFO] [stdout] | [INFO] [stdout] 187 | let (tx_orig, mut rx) = oneshot::<()>(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/oneshot/tests.rs:205:12 [INFO] [stdout] | [INFO] [stdout] 205 | let (tx, mut rx) = oneshot::(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/oneshot/tests.rs:222:13 [INFO] [stdout] | [INFO] [stdout] 222 | let (tx1, mut rx) = oneshot::(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/spsc/bounded_async.rs:451:13 [INFO] [stdout] | [INFO] [stdout] 451 | let (p, mut c) = bounded_async(1); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/spsc/bounded_async.rs:468:13 [INFO] [stdout] | [INFO] [stdout] 468 | let (p, mut c) = bounded_async::(1); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/spsc/bounded_async.rs:494:13 [INFO] [stdout] | [INFO] [stdout] 494 | let (p, mut c) = bounded_async::(1); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/spsc/bounded_async.rs:528:13 [INFO] [stdout] | [INFO] [stdout] 528 | let (p, mut c) = bounded_async::(1); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/spsc/bounded_async.rs:555:13 [INFO] [stdout] | [INFO] [stdout] 555 | let (p, mut c) = bounded_async::(1); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/spsc/bounded_async.rs:570:13 [INFO] [stdout] | [INFO] [stdout] 570 | let (p, mut c) = bounded_async::(1); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/spsc/bounded_async.rs:592:14 [INFO] [stdout] | [INFO] [stdout] 592 | let (p1, mut c1) = bounded_async::(1); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/spsc/bounded_async.rs:593:15 [INFO] [stdout] | [INFO] [stdout] 593 | let (_p2, mut c2) = bounded_async::(1); // This consumer will never receive [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/spsc/bounded_async.rs:615:22 [INFO] [stdout] | [INFO] [stdout] 615 | let (p_can_send, mut c_can_send) = bounded_async::(1); [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/spsc/bounded_async.rs:645:9 [INFO] [stdout] | [INFO] [stdout] 645 | let mut sync_p = BoundedSyncSender::from_shared(core_shared.clone()); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/spsc/bounded_async.rs:688:9 [INFO] [stdout] | [INFO] [stdout] 688 | let mut sync_c = BoundedSyncReceiver::from_shared(core_shared); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/spsc/bounded_async.rs:749:13 [INFO] [stdout] | [INFO] [stdout] 749 | let (p, mut c) = bounded_async::(1); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/spsc/bounded_sync.rs:553:10 [INFO] [stdout] | [INFO] [stdout] 553 | let (mut p, mut c) = bounded_sync(1); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/spsc/bounded_sync.rs:553:17 [INFO] [stdout] | [INFO] [stdout] 553 | let (mut p, mut c) = bounded_sync(1); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/spsc/bounded_sync.rs:572:10 [INFO] [stdout] | [INFO] [stdout] 572 | let (mut p, mut c) = bounded_sync::(1); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/spsc/bounded_sync.rs:572:17 [INFO] [stdout] | [INFO] [stdout] 572 | let (mut p, mut c) = bounded_sync::(1); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/spsc/bounded_sync.rs:596:13 [INFO] [stdout] | [INFO] [stdout] 596 | let (p, mut c) = bounded_sync::(1); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/spsc/bounded_sync.rs:616:10 [INFO] [stdout] | [INFO] [stdout] 616 | let (mut p, mut c) = bounded_sync::(1); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/spsc/bounded_sync.rs:616:17 [INFO] [stdout] | [INFO] [stdout] 616 | let (mut p, mut c) = bounded_sync::(1); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/spsc/bounded_sync.rs:634:10 [INFO] [stdout] | [INFO] [stdout] 634 | let (mut p, mut c) = bounded_sync::(1); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/spsc/bounded_sync.rs:634:17 [INFO] [stdout] | [INFO] [stdout] 634 | let (mut p, mut c) = bounded_sync::(1); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/spsc/bounded_sync.rs:649:13 [INFO] [stdout] | [INFO] [stdout] 649 | let (p, mut c) = bounded_sync::(1); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/spsc/bounded_sync.rs:661:10 [INFO] [stdout] | [INFO] [stdout] 661 | let (mut p, c) = bounded_sync::(1); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/spsc/bounded_sync.rs:675:10 [INFO] [stdout] | [INFO] [stdout] 675 | let (mut p, mut c) = bounded_sync(CAPACITY); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/spsc/bounded_sync.rs:675:17 [INFO] [stdout] | [INFO] [stdout] 675 | let (mut p, mut c) = bounded_sync(CAPACITY); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/spsc/bounded_sync.rs:696:10 [INFO] [stdout] | [INFO] [stdout] 696 | let (mut p, c) = bounded_sync::(5); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/spsc/bounded_sync.rs:708:10 [INFO] [stdout] | [INFO] [stdout] 708 | let (mut p, mut c) = bounded_sync::(5); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/spsc/bounded_sync.rs:708:17 [INFO] [stdout] | [INFO] [stdout] 708 | let (mut p, mut c) = bounded_sync::(5); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/spsc/bounded_sync.rs:722:13 [INFO] [stdout] | [INFO] [stdout] 722 | let (p, mut c) = bounded_sync::(5); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/spsc/bounded_sync.rs:745:12 [INFO] [stdout] | [INFO] [stdout] 745 | let (mut p, mut c) = bounded_sync::(2); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/spsc/bounded_sync.rs:745:19 [INFO] [stdout] | [INFO] [stdout] 745 | let (mut p, mut c) = bounded_sync::(2); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/spsc/bounded_sync.rs:769:12 [INFO] [stdout] | [INFO] [stdout] 769 | let (mut p, c) = bounded_sync::(2); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/spsc/bounded_sync.rs:779:12 [INFO] [stdout] | [INFO] [stdout] 779 | let (mut p, c) = bounded_sync::(1); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/spsc/bounded_sync.rs:796:10 [INFO] [stdout] | [INFO] [stdout] 796 | let (mut p, mut c) = bounded_sync::(1); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/spsc/bounded_sync.rs:817:10 [INFO] [stdout] | [INFO] [stdout] 817 | let (mut p, mut c) = bounded_sync::(1); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/spsc/bounded_sync.rs:829:10 [INFO] [stdout] | [INFO] [stdout] 829 | let (mut p, c) = bounded_sync::(5); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/spmc/mod.rs:196:10 [INFO] [stdout] | [INFO] [stdout] 196 | let (mut tx, rx) = bounded(2); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/spmc/mod.rs:219:10 [INFO] [stdout] | [INFO] [stdout] 219 | let (mut tx, rx1) = bounded(4); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/spmc/mod.rs:265:10 [INFO] [stdout] | [INFO] [stdout] 265 | let (mut tx, rx1) = bounded(1); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/spmc/mod.rs:294:10 [INFO] [stdout] | [INFO] [stdout] 294 | let (mut tx, rx1) = bounded(ITEMS_LOW); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/spmc/mod.rs:327:10 [INFO] [stdout] | [INFO] [stdout] 327 | let (mut tx, rx_fast) = bounded(1); // Capacity of 1 [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/spmc/mod.rs:369:10 [INFO] [stdout] | [INFO] [stdout] 369 | let (mut tx, rx) = bounded(2); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/spmc/mod.rs:406:8 [INFO] [stdout] | [INFO] [stdout] 406 | let (mut tx, rx1) = bounded(2); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `DROP_COUNT` is never used [INFO] [stdout] --> src/spsc/bounded_sync.rs:733:12 [INFO] [stdout] | [INFO] [stdout] 733 | static DROP_COUNT: AtomicUsize = AtomicUsize::new(0); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/spsc/bounded_sync.rs:735:22 [INFO] [stdout] | [INFO] [stdout] 735 | struct Droppable(usize, Arc); [INFO] [stdout] | --------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `Droppable` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 735 - struct Droppable(usize, Arc); [INFO] [stdout] 735 + struct Droppable((), Arc); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LOC_C_RECV` is never used [INFO] [stdout] --> src/spmc/ring_buffer.rs:26:7 [INFO] [stdout] | [INFO] [stdout] 26 | const LOC_C_RECV: &str = "Receiver::recv"; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EVT_P_ENTER_LOOP` is never used [INFO] [stdout] --> src/spmc/ring_buffer.rs:31:7 [INFO] [stdout] | [INFO] [stdout] 31 | const EVT_P_ENTER_LOOP: &str = "P:EnterLoop"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `EVT_P_GOT_MIN_TAIL` is never used [INFO] [stdout] --> src/spmc/ring_buffer.rs:32:7 [INFO] [stdout] | [INFO] [stdout] 32 | const EVT_P_GOT_MIN_TAIL: &str = "P:GotMinTail"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `capacity` and `is_empty` are never used [INFO] [stdout] --> src/spmc/topic/mailbox.rs:126:17 [INFO] [stdout] | [INFO] [stdout] 97 | impl MailboxProducer { [INFO] [stdout] | -------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 126 | pub(crate) fn capacity(&self) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 131 | pub(crate) fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LONG_TIMEOUT` is never used [INFO] [stdout] --> src/spmc/mod.rs:188:13 [INFO] [stdout] | [INFO] [stdout] 188 | pub const LONG_TIMEOUT: Duration = Duration::from_secs(3); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `STRESS_TIMEOUT` is never used [INFO] [stdout] --> src/spmc/mod.rs:189:13 [INFO] [stdout] | [INFO] [stdout] 189 | pub const STRESS_TIMEOUT: Duration = Duration::from_secs(15); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ITEMS_MEDIUM` is never used [INFO] [stdout] --> src/spmc/mod.rs:191:13 [INFO] [stdout] | [INFO] [stdout] 191 | pub const ITEMS_MEDIUM: usize = 200; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ITEMS_HIGH` is never used [INFO] [stdout] --> src/spmc/mod.rs:192:13 [INFO] [stdout] | [INFO] [stdout] 192 | pub const ITEMS_HIGH: usize = 1000; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AlignedInner128` is never constructed [INFO] [stdout] --> src/internal/cache_padded.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | struct AlignedInner128 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/internal/cache_padded.rs:120:19 [INFO] [stdout] | [INFO] [stdout] 120 | struct MyData(u64); [INFO] [stdout] | ------ ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `MyData` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `park_thread_timeout_cond` is never used [INFO] [stdout] --> src/sync_util.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn park_thread_timeout_cond(timeout: Option, stop_condition: F) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [optimized + debuginfo] target(s) in 18.32s [INFO] running `Command { std: "docker" "inspect" "bae72229eda2cfe518c1de2054ad46287252fa145fbcf0a91da409c13d933fa3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bae72229eda2cfe518c1de2054ad46287252fa145fbcf0a91da409c13d933fa3", kill_on_drop: false }` [INFO] [stdout] bae72229eda2cfe518c1de2054ad46287252fa145fbcf0a91da409c13d933fa3