[INFO] fetching crate cosring 0.1.2... [INFO] testing cosring-0.1.2 against master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] extracting crate cosring 0.1.2 into /workspace/builds/worker-4-tc1/source [INFO] removed /workspace/builds/worker-4-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-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate cosring 0.1.2 on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "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" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded bitflags v2.9.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4caadb63f7d844fc410a98d92d9d0c305f15e74b6225b4ed83e7c8d68d2ea27f [INFO] running `Command { std: "docker" "start" "-a" "4caadb63f7d844fc410a98d92d9d0c305f15e74b6225b4ed83e7c8d68d2ea27f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4caadb63f7d844fc410a98d92d9d0c305f15e74b6225b4ed83e7c8d68d2ea27f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4caadb63f7d844fc410a98d92d9d0c305f15e74b6225b4ed83e7c8d68d2ea27f", kill_on_drop: false }` [INFO] [stdout] 4caadb63f7d844fc410a98d92d9d0c305f15e74b6225b4ed83e7c8d68d2ea27f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b7122984071fd8d1834a73ed19556a19338bf23f72c980a6e0e80df2aaf4e91a [INFO] running `Command { std: "docker" "start" "-a" "b7122984071fd8d1834a73ed19556a19338bf23f72c980a6e0e80df2aaf4e91a", kill_on_drop: false }` [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 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 2.46s [INFO] running `Command { std: "docker" "inspect" "b7122984071fd8d1834a73ed19556a19338bf23f72c980a6e0e80df2aaf4e91a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7122984071fd8d1834a73ed19556a19338bf23f72c980a6e0e80df2aaf4e91a", kill_on_drop: false }` [INFO] [stdout] b7122984071fd8d1834a73ed19556a19338bf23f72c980a6e0e80df2aaf4e91a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 98e66b5038d0828dedc80df8ddd3a69d70d397fc49f2018e53e3c25f8cb6b358 [INFO] running `Command { std: "docker" "start" "-a" "98e66b5038d0828dedc80df8ddd3a69d70d397fc49f2018e53e3c25f8cb6b358", 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] [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] [stderr] Compiling cosring v0.1.2 (/opt/rustwide/workdir) [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.42s [INFO] running `Command { std: "docker" "inspect" "98e66b5038d0828dedc80df8ddd3a69d70d397fc49f2018e53e3c25f8cb6b358", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "98e66b5038d0828dedc80df8ddd3a69d70d397fc49f2018e53e3c25f8cb6b358", kill_on_drop: false }` [INFO] [stdout] 98e66b5038d0828dedc80df8ddd3a69d70d397fc49f2018e53e3c25f8cb6b358 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 892cc8b110485648ad1f2661015a172f39acddf6e850039d036c527886f7a7ce [INFO] running `Command { std: "docker" "start" "-a" "892cc8b110485648ad1f2661015a172f39acddf6e850039d036c527886f7a7ce", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `cap` [INFO] [stderr] --> src/pin/mod.rs:190:16 [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] running 1 test [INFO] [stderr] 190 | pub fn new(cap: usize) -> (Producer, Consumer) { [INFO] [stdout] test spsc::tests::main ... ok [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_cap` [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] test result: ok. 1 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [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 (run `cargo fix --lib -p cosring` to apply 2 suggestions) [INFO] [stderr] warning: `cosring` (lib test) generated 32 warnings (32 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/cosring-a40db526adc5ad88) [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" "892cc8b110485648ad1f2661015a172f39acddf6e850039d036c527886f7a7ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "892cc8b110485648ad1f2661015a172f39acddf6e850039d036c527886f7a7ce", kill_on_drop: false }` [INFO] [stdout] 892cc8b110485648ad1f2661015a172f39acddf6e850039d036c527886f7a7ce