[INFO] fetching crate cosring 0.1.2... [INFO] checking cosring-0.1.2 against master#42b384ec0dfcd528d99a4db0a337d9188a9eecaa for pr-133502-16 [INFO] extracting crate cosring 0.1.2 into /workspace/builds/worker-1-tc1/source [INFO] removed /workspace/builds/worker-1-tc1/source/rust-toolchain.toml [INFO] started tweaking crates.io crate cosring 0.1.2 [INFO] finished tweaking crates.io crate cosring 0.1.2 [INFO] tweaked toml for crates.io crate cosring 0.1.2 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate cosring 0.1.2 on toolchain 42b384ec0dfcd528d99a4db0a337d9188a9eecaa [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+42b384ec0dfcd528d99a4db0a337d9188a9eecaa" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate cosring 0.1.2 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" "+42b384ec0dfcd528d99a4db0a337d9188a9eecaa" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+42b384ec0dfcd528d99a4db0a337d9188a9eecaa" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5bd1e76c6b4e1a3d5b327b068283b696faaabed907145720b59cec26f0265363 [INFO] running `Command { std: "docker" "start" "-a" "5bd1e76c6b4e1a3d5b327b068283b696faaabed907145720b59cec26f0265363", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5bd1e76c6b4e1a3d5b327b068283b696faaabed907145720b59cec26f0265363", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5bd1e76c6b4e1a3d5b327b068283b696faaabed907145720b59cec26f0265363", kill_on_drop: false }` [INFO] [stdout] 5bd1e76c6b4e1a3d5b327b068283b696faaabed907145720b59cec26f0265363 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+42b384ec0dfcd528d99a4db0a337d9188a9eecaa" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b2d2628e9e72d07ed7ba5802cfce6c4505df77b07fc632a32b7b01d2d0d5bb9c [INFO] running `Command { std: "docker" "start" "-a" "b2d2628e9e72d07ed7ba5802cfce6c4505df77b07fc632a32b7b01d2d0d5bb9c", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Checking cfg-if v1.0.3 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking cosring v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `cap` [INFO] [stdout] --> src/pin/mod.rs:190:16 [INFO] [stdout] | [INFO] [stdout] 190 | pub fn new(cap: usize) -> (Producer, Consumer) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cap` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `init` [INFO] [stdout] --> src/pin/mod.rs:199:36 [INFO] [stdout] | [INFO] [stdout] 199 | pub fn try_push_with(&self, init: F) -> Result<(), TryPushErr> [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_init` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `pin::ProducerToken` is more private than the item `Producer::::try_acquire_slot` [INFO] [stdout] --> src/pin/mod.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn try_acquire_slot(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Producer::::try_acquire_slot` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `pin::ProducerToken` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/pin/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) struct ProducerToken { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `pin::ProducerToken` is more private than the item `Producer::::write` [INFO] [stdout] --> src/pin/mod.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn write(self: &Self, token: ProducerToken, val: T) -> ConsumerToken { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Producer::::write` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `pin::ProducerToken` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/pin/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) struct ProducerToken { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `pin::ConsumerToken` is more private than the item `Producer::::write` [INFO] [stdout] --> src/pin/mod.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn write(self: &Self, token: ProducerToken, val: T) -> ConsumerToken { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Producer::::write` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `pin::ConsumerToken` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/pin/mod.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) struct ConsumerToken { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `pin::ConsumerToken` is more private than the item `Consumer::::try_acquire_slot` [INFO] [stdout] --> src/pin/mod.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn try_acquire_slot(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Consumer::::try_acquire_slot` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `pin::ConsumerToken` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/pin/mod.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) struct ConsumerToken { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `pin::ConsumerToken` is more private than the item `Consumer::::read` [INFO] [stdout] --> src/pin/mod.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn read(self: &Self, token: ConsumerToken) -> (T, ProducerToken) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Consumer::::read` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `pin::ConsumerToken` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/pin/mod.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) struct ConsumerToken { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `pin::ProducerToken` is more private than the item `Consumer::::read` [INFO] [stdout] --> src/pin/mod.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn read(self: &Self, token: ConsumerToken) -> (T, ProducerToken) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Consumer::::read` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `pin::ProducerToken` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/pin/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) struct ProducerToken { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `TryPopErr` is more private than the item `Consumer::::try_pop` [INFO] [stdout] --> src/pin/mod.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn try_pop(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Consumer::::try_pop` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `TryPopErr` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/pin/mod.rs:179:1 [INFO] [stdout] | [INFO] [stdout] 179 | enum TryPopErr { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `TryPushErr` is more private than the item `Producer::::try_push_with` [INFO] [stdout] --> src/pin/mod.rs:199:5 [INFO] [stdout] | [INFO] [stdout] 199 | / pub fn try_push_with(&self, init: F) -> Result<(), TryPushErr> [INFO] [stdout] 200 | | where [INFO] [stdout] 201 | | F: for<'a> FnOnce(Pin<&'a mut T>), [INFO] [stdout] | |__________________________________________^ method `Producer::::try_push_with` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `TryPushErr` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/pin/mod.rs:185:1 [INFO] [stdout] | [INFO] [stdout] 185 | enum TryPushErr { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `inner` and `wake` are never read [INFO] [stdout] --> src/pin/mod.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct SpscRing { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 56 | inner: Arc>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 57 | wake: Arc<(Mutex, Condvar)>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Full` is never constructed [INFO] [stdout] --> src/pin/mod.rs:180:5 [INFO] [stdout] | [INFO] [stdout] 179 | enum TryPopErr { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 180 | Full, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TryPopErr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Full` and `Empty` are never constructed [INFO] [stdout] --> src/pin/mod.rs:186:5 [INFO] [stdout] | [INFO] [stdout] 185 | enum TryPushErr { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 186 | Full, [INFO] [stdout] | ^^^^ [INFO] [stdout] 187 | Empty, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TryPushErr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/lib.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub mod spsc; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | #![warn(missing_docs)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/lib.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub mod lockfree; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/lib.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | pub mod pin; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an enum [INFO] [stdout] --> src/spsc/mod.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Empty {} [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an enum [INFO] [stdout] --> src/spsc/mod.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum Full {} [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/spsc/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new_initial() -> Self { Self { _pd: PhantomData } } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated type [INFO] [stdout] --> src/spsc/mod.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | type Next where [(); { (I + 1) % N }]:; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> src/spsc/mod.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Sigma; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> src/spsc/mod.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct SigmaC; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/spsc/mod.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | / pub fn shift_c( [INFO] [stdout] 58 | | _c: ConsumerToken, [INFO] [stdout] 59 | | ) -> >::Next where [(); { (I + 1) % N }]: { [INFO] [stdout] | |________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/spsc/mod.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn new() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> src/pin/mod.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct SpscRing { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> src/pin/mod.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct Producer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> src/pin/mod.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct Consumer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/pin/mod.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn try_acquire_slot(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/pin/mod.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn write(self: &Self, token: ProducerToken, val: T) -> ConsumerToken { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/pin/mod.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn try_pop(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/pin/mod.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn pop(&self) -> T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/pin/mod.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 190 | pub fn new(cap: usize) -> (Producer, Consumer) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cap` [INFO] [stdout] --> src/pin/mod.rs:190:16 [INFO] [stdout] | [INFO] [stdout] 190 | pub fn new(cap: usize) -> (Producer, Consumer) { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 190 | pub fn new(_cap: usize) -> (Producer, Consumer) { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `N` [INFO] [stdout] | [INFO] [stdout] 190 - pub fn new(cap: usize) -> (Producer, Consumer) { [INFO] [stdout] 190 + pub fn new(spsc::tests::main::N: usize) -> (Producer, Consumer) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `init` [INFO] [stdout] --> src/pin/mod.rs:199:36 [INFO] [stdout] | [INFO] [stdout] 199 | pub fn try_push_with(&self, init: F) -> Result<(), TryPushErr> [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_init` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `pin::ProducerToken` is more private than the item `Producer::::try_acquire_slot` [INFO] [stdout] --> src/pin/mod.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn try_acquire_slot(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Producer::::try_acquire_slot` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `pin::ProducerToken` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/pin/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) struct ProducerToken { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `pin::ProducerToken` is more private than the item `Producer::::write` [INFO] [stdout] --> src/pin/mod.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn write(self: &Self, token: ProducerToken, val: T) -> ConsumerToken { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Producer::::write` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `pin::ProducerToken` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/pin/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) struct ProducerToken { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `pin::ConsumerToken` is more private than the item `Producer::::write` [INFO] [stdout] --> src/pin/mod.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn write(self: &Self, token: ProducerToken, val: T) -> ConsumerToken { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Producer::::write` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `pin::ConsumerToken` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/pin/mod.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) struct ConsumerToken { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `pin::ConsumerToken` is more private than the item `Consumer::::try_acquire_slot` [INFO] [stdout] --> src/pin/mod.rs:100:5 [INFO] [stdout] | [INFO] [stdout] 100 | pub fn try_acquire_slot(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Consumer::::try_acquire_slot` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `pin::ConsumerToken` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/pin/mod.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) struct ConsumerToken { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `pin::ConsumerToken` is more private than the item `Consumer::::read` [INFO] [stdout] --> src/pin/mod.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn read(self: &Self, token: ConsumerToken) -> (T, ProducerToken) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Consumer::::read` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `pin::ConsumerToken` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/pin/mod.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | pub(crate) struct ConsumerToken { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `pin::ProducerToken` is more private than the item `Consumer::::read` [INFO] [stdout] --> src/pin/mod.rs:112:5 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn read(self: &Self, token: ConsumerToken) -> (T, ProducerToken) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Consumer::::read` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `pin::ProducerToken` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/pin/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub(crate) struct ProducerToken { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `TryPopErr` is more private than the item `Consumer::::try_pop` [INFO] [stdout] --> src/pin/mod.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn try_pop(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Consumer::::try_pop` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `TryPopErr` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/pin/mod.rs:179:1 [INFO] [stdout] | [INFO] [stdout] 179 | enum TryPopErr { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `TryPushErr` is more private than the item `Producer::::try_push_with` [INFO] [stdout] --> src/pin/mod.rs:199:5 [INFO] [stdout] | [INFO] [stdout] 199 | / pub fn try_push_with(&self, init: F) -> Result<(), TryPushErr> [INFO] [stdout] 200 | | where [INFO] [stdout] 201 | | F: for<'a> FnOnce(Pin<&'a mut T>), [INFO] [stdout] | |__________________________________________^ method `Producer::::try_push_with` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `TryPushErr` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/pin/mod.rs:185:1 [INFO] [stdout] | [INFO] [stdout] 185 | enum TryPushErr { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `inner` and `wake` are never read [INFO] [stdout] --> src/pin/mod.rs:56:5 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct SpscRing { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 56 | inner: Arc>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 57 | wake: Arc<(Mutex, Condvar)>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Full` is never constructed [INFO] [stdout] --> src/pin/mod.rs:180:5 [INFO] [stdout] | [INFO] [stdout] 179 | enum TryPopErr { [INFO] [stdout] | --------- variant in this enum [INFO] [stdout] 180 | Full, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TryPopErr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Full` and `Empty` are never constructed [INFO] [stdout] --> src/pin/mod.rs:186:5 [INFO] [stdout] | [INFO] [stdout] 185 | enum TryPushErr { [INFO] [stdout] | ---------- variants in this enum [INFO] [stdout] 186 | Full, [INFO] [stdout] | ^^^^ [INFO] [stdout] 187 | Empty, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `TryPushErr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/lib.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub mod spsc; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | #![warn(missing_docs)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/lib.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | pub mod lockfree; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a module [INFO] [stdout] --> src/lib.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | pub mod pin; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an enum [INFO] [stdout] --> src/spsc/mod.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Empty {} [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an enum [INFO] [stdout] --> src/spsc/mod.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum Full {} [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/spsc/mod.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn new_initial() -> Self { Self { _pd: PhantomData } } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated type [INFO] [stdout] --> src/spsc/mod.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | type Next where [(); { (I + 1) % N }]:; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> src/spsc/mod.rs:29:1 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Sigma; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> src/spsc/mod.rs:40:1 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct SigmaC; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/spsc/mod.rs:57:1 [INFO] [stdout] | [INFO] [stdout] 57 | / pub fn shift_c( [INFO] [stdout] 58 | | _c: ConsumerToken, [INFO] [stdout] 59 | | ) -> >::Next where [(); { (I + 1) % N }]: { [INFO] [stdout] | |________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/spsc/mod.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn new() -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> src/pin/mod.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | pub struct SpscRing { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> src/pin/mod.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | pub struct Producer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> src/pin/mod.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | pub struct Consumer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/pin/mod.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn try_acquire_slot(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/pin/mod.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn write(self: &Self, token: ProducerToken, val: T) -> ConsumerToken { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/pin/mod.rs:123:5 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn try_pop(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/pin/mod.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn pop(&self) -> T { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/pin/mod.rs:190:5 [INFO] [stdout] | [INFO] [stdout] 190 | pub fn new(cap: usize) -> (Producer, Consumer) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.45s [INFO] running `Command { std: "docker" "inspect" "b2d2628e9e72d07ed7ba5802cfce6c4505df77b07fc632a32b7b01d2d0d5bb9c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b2d2628e9e72d07ed7ba5802cfce6c4505df77b07fc632a32b7b01d2d0d5bb9c", kill_on_drop: false }` [INFO] [stdout] b2d2628e9e72d07ed7ba5802cfce6c4505df77b07fc632a32b7b01d2d0d5bb9c