[INFO] fetching crate fibre 0.5.0... [INFO] building fibre-0.5.0 against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] extracting crate fibre 0.5.0 into /workspace/builds/worker-3-tc2/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-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate fibre 0.5.0 on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0039c286c442b2ce00c62b7c60876e5a5cdc7bb9f9670c9df2fa4de0fb0773c5 [INFO] running `Command { std: "docker" "start" "-a" "0039c286c442b2ce00c62b7c60876e5a5cdc7bb9f9670c9df2fa4de0fb0773c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0039c286c442b2ce00c62b7c60876e5a5cdc7bb9f9670c9df2fa4de0fb0773c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0039c286c442b2ce00c62b7c60876e5a5cdc7bb9f9670c9df2fa4de0fb0773c5", kill_on_drop: false }` [INFO] [stdout] 0039c286c442b2ce00c62b7c60876e5a5cdc7bb9f9670c9df2fa4de0fb0773c5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a19fbb52387bcb4d4053a70f274445c9659b61e9590c3056b06cfcc16c8083b1 [INFO] running `Command { std: "docker" "start" "-a" "a19fbb52387bcb4d4053a70f274445c9659b61e9590c3056b06cfcc16c8083b1", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.173 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling cfg-if v1.0.1 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling slab v0.4.10 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling seize v0.5.0 [INFO] [stderr] Compiling papaya v0.2.1 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Compiling 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: 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)]` (part of `#[warn(unused)]`) on by default [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] [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] [stderr] Finished `dev` profile [optimized + debuginfo] target(s) in 9.61s [INFO] running `Command { std: "docker" "inspect" "a19fbb52387bcb4d4053a70f274445c9659b61e9590c3056b06cfcc16c8083b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a19fbb52387bcb4d4053a70f274445c9659b61e9590c3056b06cfcc16c8083b1", kill_on_drop: false }` [INFO] [stdout] a19fbb52387bcb4d4053a70f274445c9659b61e9590c3056b06cfcc16c8083b1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 101d91e472807ce7ad038d3a891442baf81dbacae11803d6ba9b80ea8fb17a41 [INFO] running `Command { std: "docker" "start" "-a" "101d91e472807ce7ad038d3a891442baf81dbacae11803d6ba9b80ea8fb17a41", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling either v1.15.0 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling futures-channel v0.3.31 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling anstyle v1.0.11 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling syn v2.0.103 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling ciborium-io v0.2.2 [INFO] [stderr] Compiling plotters-backend v0.3.7 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling crossbeam-deque v0.8.6 [INFO] [stderr] Compiling plotters-svg v0.3.7 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling clap_builder v4.5.40 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling socket2 v0.5.10 [INFO] [stderr] Compiling futures-executor v0.3.31 [INFO] [stderr] Compiling futures v0.3.31 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling signal-hook-registry v1.4.5 [INFO] [stderr] Compiling cast v0.3.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling tokio v1.45.1 [INFO] [stderr] Compiling clap v4.5.40 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rayon v1.10.0 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling sdd v3.0.8 [INFO] [stderr] Compiling oorandom v11.1.5 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling scc v2.3.4 [INFO] [stderr] Compiling rand v0.9.1 [INFO] [stderr] Compiling serial_test_derive v3.2.0 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling serial_test v3.2.0 [INFO] [stderr] Compiling 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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] Compiling ciborium v0.2.2 [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)]` (part of `#[warn(unused)]`) 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] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stderr] Compiling bench_matrix v0.2.0 [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)]` (part of `#[warn(unused)]`) 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] --> 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)]` (part of `#[warn(unused)]`) 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] --> 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)]` (part of `#[warn(unused)]`) on by default [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)]` (part of `#[warn(unused)]`) 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/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/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/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/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)]` (part of `#[warn(unused)]`) 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] --> 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)]` (part of `#[warn(unused)]`) 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: 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)]` (part of `#[warn(unused)]`) 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: 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)]` (part of `#[warn(unused)]`) 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: 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)]` (part of `#[warn(unused)]`) 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: 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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] --> 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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] [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)]` (part of `#[warn(unused)]`) 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: 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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: 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)]` (part of `#[warn(unused)]`) 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 `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)]` (part of `#[warn(unused)]`) 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] [stderr] Finished `test` profile [optimized + debuginfo] target(s) in 4m 51s [INFO] running `Command { std: "docker" "inspect" "101d91e472807ce7ad038d3a891442baf81dbacae11803d6ba9b80ea8fb17a41", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "101d91e472807ce7ad038d3a891442baf81dbacae11803d6ba9b80ea8fb17a41", kill_on_drop: false }` [INFO] [stdout] 101d91e472807ce7ad038d3a891442baf81dbacae11803d6ba9b80ea8fb17a41