[INFO] fetching crate cosring 0.1.2... [INFO] testing cosring-0.1.2 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate cosring 0.1.2 into /workspace/builds/worker-4-tc2/source [INFO] removed /workspace/builds/worker-4-tc2/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-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate cosring 0.1.2 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8ab0381305728d7b7cf0f01a53a65ee221c3ca543126fa56746a081f5db6de29 [INFO] running `Command { std: "docker" "start" "-a" "8ab0381305728d7b7cf0f01a53a65ee221c3ca543126fa56746a081f5db6de29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8ab0381305728d7b7cf0f01a53a65ee221c3ca543126fa56746a081f5db6de29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ab0381305728d7b7cf0f01a53a65ee221c3ca543126fa56746a081f5db6de29", kill_on_drop: false }` [INFO] [stdout] 8ab0381305728d7b7cf0f01a53a65ee221c3ca543126fa56746a081f5db6de29 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e94f2318d46ed0e9935d40d6a504b2197177862914f7e862cce4fb877713f322 [INFO] running `Command { std: "docker" "start" "-a" "e94f2318d46ed0e9935d40d6a504b2197177862914f7e862cce4fb877713f322", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Compiling smallvec v1.15.1 [INFO] [stderr] Compiling cfg-if v1.0.3 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling parking_lot v0.12.4 [INFO] [stderr] Compiling 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] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.12s [INFO] running `Command { std: "docker" "inspect" "e94f2318d46ed0e9935d40d6a504b2197177862914f7e862cce4fb877713f322", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e94f2318d46ed0e9935d40d6a504b2197177862914f7e862cce4fb877713f322", kill_on_drop: false }` [INFO] [stdout] e94f2318d46ed0e9935d40d6a504b2197177862914f7e862cce4fb877713f322 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2bd3a160398b141a0a4c5e55e4df34e8617b0d6613cf49dd462cd6e2fbe721af [INFO] running `Command { std: "docker" "start" "-a" "2bd3a160398b141a0a4c5e55e4df34e8617b0d6613cf49dd462cd6e2fbe721af", kill_on_drop: false }` [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] [stderr] Compiling cosring v0.1.2 (/opt/rustwide/workdir) [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] | ^^^ 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] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.52s [INFO] running `Command { std: "docker" "inspect" "2bd3a160398b141a0a4c5e55e4df34e8617b0d6613cf49dd462cd6e2fbe721af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2bd3a160398b141a0a4c5e55e4df34e8617b0d6613cf49dd462cd6e2fbe721af", kill_on_drop: false }` [INFO] [stdout] 2bd3a160398b141a0a4c5e55e4df34e8617b0d6613cf49dd462cd6e2fbe721af [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e42b25e75adbbdc48c468ae7fe543a2d7f4c7080bf7f7c8eb8efbf68565d02c5 [INFO] running `Command { std: "docker" "start" "-a" "e42b25e75adbbdc48c468ae7fe543a2d7f4c7080bf7f7c8eb8efbf68565d02c5", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `cap` [INFO] [stderr] --> src/pin/mod.rs:190:16 [INFO] [stderr] | [INFO] [stderr] 190 | pub fn new(cap: usize) -> (Producer, Consumer) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_cap` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `init` [INFO] [stderr] --> src/pin/mod.rs:199:36 [INFO] [stderr] | [INFO] [stderr] 199 | pub fn try_push_with(&self, init: F) -> Result<(), TryPushErr> [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_init` [INFO] [stderr] [INFO] [stderr] warning: type `pin::ProducerToken` is more private than the item `Producer::::try_acquire_slot` [INFO] [stderr] --> src/pin/mod.rs:70:5 [INFO] [stderr] | [INFO] [stderr] 70 | pub fn try_acquire_slot(&self) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Producer::::try_acquire_slot` is reachable at visibility `pub` [INFO] [stderr] | [INFO] [stderr] note: but type `pin::ProducerToken` is only usable at visibility `pub(crate)` [INFO] [stderr] --> src/pin/mod.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | pub(crate) struct ProducerToken { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] = note: `#[warn(private_interfaces)]` on by default [INFO] [stderr] [INFO] [stderr] warning: type `pin::ProducerToken` is more private than the item `Producer::::write` [INFO] [stderr] --> src/pin/mod.rs:81:5 [INFO] [stderr] | [INFO] [stderr] 81 | pub fn write(self: &Self, token: ProducerToken, val: T) -> ConsumerToken { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Producer::::write` is reachable at visibility `pub` [INFO] [stderr] | [INFO] [stderr] note: but type `pin::ProducerToken` is only usable at visibility `pub(crate)` [INFO] [stderr] --> src/pin/mod.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | pub(crate) struct ProducerToken { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type `pin::ConsumerToken` is more private than the item `Producer::::write` [INFO] [stderr] --> src/pin/mod.rs:81:5 [INFO] [stderr] | [INFO] [stderr] 81 | pub fn write(self: &Self, token: ProducerToken, val: T) -> ConsumerToken { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Producer::::write` is reachable at visibility `pub` [INFO] [stderr] | [INFO] [stderr] note: but type `pin::ConsumerToken` is only usable at visibility `pub(crate)` [INFO] [stderr] --> src/pin/mod.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | pub(crate) struct ConsumerToken { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type `pin::ConsumerToken` is more private than the item `Consumer::::try_acquire_slot` [INFO] [stderr] --> src/pin/mod.rs:100:5 [INFO] [stderr] | [INFO] [stderr] 100 | pub fn try_acquire_slot(&self) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Consumer::::try_acquire_slot` is reachable at visibility `pub` [INFO] [stderr] | [INFO] [stderr] note: but type `pin::ConsumerToken` is only usable at visibility `pub(crate)` [INFO] [stderr] --> src/pin/mod.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | pub(crate) struct ConsumerToken { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type `pin::ConsumerToken` is more private than the item `Consumer::::read` [INFO] [stderr] --> src/pin/mod.rs:112:5 [INFO] [stderr] | [INFO] [stderr] 112 | pub fn read(self: &Self, token: ConsumerToken) -> (T, ProducerToken) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Consumer::::read` is reachable at visibility `pub` [INFO] [stderr] | [INFO] [stderr] note: but type `pin::ConsumerToken` is only usable at visibility `pub(crate)` [INFO] [stderr] --> src/pin/mod.rs:11:1 [INFO] [stderr] | [INFO] [stderr] 11 | pub(crate) struct ConsumerToken { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type `pin::ProducerToken` is more private than the item `Consumer::::read` [INFO] [stderr] --> src/pin/mod.rs:112:5 [INFO] [stderr] | [INFO] [stderr] 112 | pub fn read(self: &Self, token: ConsumerToken) -> (T, ProducerToken) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Consumer::::read` is reachable at visibility `pub` [INFO] [stderr] | [INFO] [stderr] note: but type `pin::ProducerToken` is only usable at visibility `pub(crate)` [INFO] [stderr] --> src/pin/mod.rs:8:1 [INFO] [stderr] | [INFO] [stderr] 8 | pub(crate) struct ProducerToken { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type `TryPopErr` is more private than the item `Consumer::::try_pop` [INFO] [stderr] --> src/pin/mod.rs:123:5 [INFO] [stderr] | [INFO] [stderr] 123 | pub fn try_pop(&self) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ method `Consumer::::try_pop` is reachable at visibility `pub` [INFO] [stderr] | [INFO] [stderr] note: but type `TryPopErr` is only usable at visibility `pub(self)` [INFO] [stderr] --> src/pin/mod.rs:179:1 [INFO] [stderr] | [INFO] [stderr] 179 | enum TryPopErr { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: type `TryPushErr` is more private than the item `Producer::::try_push_with` [INFO] [stderr] --> src/pin/mod.rs:199:5 [INFO] [stderr] | [INFO] [stderr] 199 | / pub fn try_push_with(&self, init: F) -> Result<(), TryPushErr> [INFO] [stderr] 200 | | where [INFO] [stderr] 201 | | F: for<'a> FnOnce(Pin<&'a mut T>), [INFO] [stderr] | |__________________________________________^ method `Producer::::try_push_with` is reachable at visibility `pub` [INFO] [stderr] | [INFO] [stderr] note: but type `TryPushErr` is only usable at visibility `pub(self)` [INFO] [stderr] --> src/pin/mod.rs:185:1 [INFO] [stderr] | [INFO] [stderr] 185 | enum TryPushErr { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `inner` and `wake` are never read [INFO] [stderr] --> src/pin/mod.rs:56:5 [INFO] [stderr] | [INFO] [stderr] 55 | pub struct SpscRing { [INFO] [stderr] | -------- fields in this struct [INFO] [stderr] 56 | inner: Arc>, [INFO] [stderr] | ^^^^^ [INFO] [stderr] 57 | wake: Arc<(Mutex, Condvar)>, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variant `Full` is never constructed [INFO] [stderr] --> src/pin/mod.rs:180:5 [INFO] [stderr] | [INFO] [stderr] 179 | enum TryPopErr { [INFO] [stderr] | --------- variant in this enum [INFO] [stderr] 180 | Full, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `TryPopErr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: variants `Full` and `Empty` are never constructed [INFO] [stderr] --> src/pin/mod.rs:186:5 [INFO] [stderr] | [INFO] [stderr] 185 | enum TryPushErr { [INFO] [stderr] | ---------- variants in this enum [INFO] [stderr] 186 | Full, [INFO] [stderr] | ^^^^ [INFO] [stderr] 187 | Empty, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `TryPushErr` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a module [INFO] [stderr] --> src/lib.rs:14:1 [INFO] [stderr] | [INFO] [stderr] 14 | pub mod spsc; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: the lint level is defined here [INFO] [stderr] --> src/lib.rs:2:9 [INFO] [stderr] | [INFO] [stderr] 2 | #![warn(missing_docs)] [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a module [INFO] [stderr] --> src/lib.rs:17:1 [INFO] [stderr] | [INFO] [stderr] 17 | pub mod lockfree; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a module [INFO] [stderr] --> src/lib.rs:23:1 [INFO] [stderr] | [INFO] [stderr] 23 | pub mod pin; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for an enum [INFO] [stderr] --> src/spsc/mod.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | pub enum Empty {} [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for an enum [INFO] [stderr] --> src/spsc/mod.rs:6:1 [INFO] [stderr] | [INFO] [stderr] 6 | pub enum Full {} [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for an associated function [INFO] [stderr] --> src/spsc/mod.rs:17:5 [INFO] [stderr] | [INFO] [stderr] 17 | pub fn new_initial() -> Self { Self { _pd: PhantomData } } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for an associated type [INFO] [stderr] --> src/spsc/mod.rs:26:5 [INFO] [stderr] | [INFO] [stderr] 26 | type Next where [(); { (I + 1) % N }]:; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a struct [INFO] [stderr] --> src/spsc/mod.rs:29:1 [INFO] [stderr] | [INFO] [stderr] 29 | pub struct Sigma; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a struct [INFO] [stderr] --> src/spsc/mod.rs:40:1 [INFO] [stderr] | [INFO] [stderr] 40 | pub struct SigmaC; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a function [INFO] [stderr] --> src/spsc/mod.rs:57:1 [INFO] [stderr] | [INFO] [stderr] 57 | / pub fn shift_c( [INFO] [stderr] 58 | | _c: ConsumerToken, [INFO] [stderr] 59 | | ) -> >::Next where [(); { (I + 1) % N }]: { [INFO] [stderr] | |________________________________________________________________^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for an associated function [INFO] [stderr] --> src/spsc/mod.rs:71:5 [INFO] [stderr] | [INFO] [stderr] 71 | pub fn new() -> Self { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a struct [INFO] [stderr] --> src/pin/mod.rs:55:1 [INFO] [stderr] | [INFO] [stderr] 55 | pub struct SpscRing { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a struct [INFO] [stderr] --> src/pin/mod.rs:60:1 [INFO] [stderr] | [INFO] [stderr] 60 | pub struct Producer { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a struct [INFO] [stderr] --> src/pin/mod.rs:64:1 [INFO] [stderr] | [INFO] [stderr] 64 | pub struct Consumer { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a method [INFO] [stderr] --> src/pin/mod.rs:70:5 [INFO] [stderr] | [INFO] [stderr] 70 | pub fn try_acquire_slot(&self) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a method [INFO] [stderr] --> src/pin/mod.rs:81:5 [INFO] [stderr] | [INFO] [stderr] 81 | pub fn write(self: &Self, token: ProducerToken, val: T) -> ConsumerToken { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a method [INFO] [stderr] --> src/pin/mod.rs:123:5 [INFO] [stderr] | [INFO] [stderr] 123 | pub fn try_pop(&self) -> Result { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for a method [INFO] [stderr] --> src/pin/mod.rs:138:5 [INFO] [stderr] | [INFO] [stderr] 138 | pub fn pop(&self) -> T { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: missing documentation for an associated function [INFO] [stderr] --> src/pin/mod.rs:190:5 [INFO] [stderr] | [INFO] [stderr] 190 | pub fn new(cap: usize) -> (Producer, Consumer) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `cosring` (lib) generated 32 warnings [INFO] [stderr] warning: `cosring` (lib test) generated 32 warnings (32 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.07s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/cosring-a40db526adc5ad88) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test spsc::tests::main ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests cosring [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "e42b25e75adbbdc48c468ae7fe543a2d7f4c7080bf7f7c8eb8efbf68565d02c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e42b25e75adbbdc48c468ae7fe543a2d7f4c7080bf7f7c8eb8efbf68565d02c5", kill_on_drop: false }` [INFO] [stdout] e42b25e75adbbdc48c468ae7fe543a2d7f4c7080bf7f7c8eb8efbf68565d02c5