[INFO] cloning repository https://github.com/LOKESH-999/lock-free-mpsc [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LOKESH-999/lock-free-mpsc" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLOKESH-999%2Flock-free-mpsc", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLOKESH-999%2Flock-free-mpsc'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2d4e197e34ca1bec71b6c588c28980d37dd4be07 [INFO] checking LOKESH-999/lock-free-mpsc against try#7b3da9103634dffd4f4365cfd8642427c781d99f+rustflags=-Dinherent-method-on-receiver for 152214-denied [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLOKESH-999%2Flock-free-mpsc" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/LOKESH-999/lock-free-mpsc [INFO] finished tweaking git repo https://github.com/LOKESH-999/lock-free-mpsc [INFO] tweaked toml for git repo https://github.com/LOKESH-999/lock-free-mpsc written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/LOKESH-999/lock-free-mpsc on toolchain 7b3da9103634dffd4f4365cfd8642427c781d99f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/LOKESH-999/lock-free-mpsc 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" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9e02b69b9aac226d5f56ee3f1d4ded49d793d2e58b4341b2ee753dc9228e885c [INFO] running `Command { std: "docker" "start" "-a" "9e02b69b9aac226d5f56ee3f1d4ded49d793d2e58b4341b2ee753dc9228e885c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9e02b69b9aac226d5f56ee3f1d4ded49d793d2e58b4341b2ee753dc9228e885c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e02b69b9aac226d5f56ee3f1d4ded49d793d2e58b4341b2ee753dc9228e885c", kill_on_drop: false }` [INFO] [stdout] 9e02b69b9aac226d5f56ee3f1d4ded49d793d2e58b4341b2ee753dc9228e885c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Dinherent-method-on-receiver" "-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+7b3da9103634dffd4f4365cfd8642427c781d99f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3c15835c0cc75adc899406028717157ad60bb1c76da4693753ceee2dafe1f00d [INFO] running `Command { std: "docker" "start" "-a" "3c15835c0cc75adc899406028717157ad60bb1c76da4693753ceee2dafe1f00d", kill_on_drop: false }` [INFO] [stderr] Checking lock-free-mpsc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `no_std` [INFO] [stdout] --> src/mpsc/bounded_mpsc/raw_mpsc.rs:143:21 [INFO] [stdout] | [INFO] [stdout] 143 | #[cfg(all(test, not(no_std)))] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(no_std)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(no_std)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `no_std` [INFO] [stdout] --> src/mpsc/bounded_mpsc/raw_mpsc.rs:143:21 [INFO] [stdout] | [INFO] [stdout] 143 | #[cfg(all(test, not(no_std)))] [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `docsrs`, `feature`, and `test` and 31 more [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(no_std)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(no_std)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RawMpsc` is never constructed [INFO] [stdout] --> src/mpsc/bounded_mpsc/raw_mpsc.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct RawMpsc { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `push`, and `pop` are never used [INFO] [stdout] --> src/mpsc/bounded_mpsc/raw_mpsc.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl RawMpsc { [INFO] [stdout] | ------------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn new(capacity: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn push(&self, data: T) -> Result<(), T> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn pop(&self) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SlotArr` is never constructed [INFO] [stdout] --> src/mpsc/bounded_mpsc/slot_arr.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct SlotArr { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `init_slots`, `set`, and `unset` are never used [INFO] [stdout] --> src/mpsc/bounded_mpsc/slot_arr.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl SlotArr { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 17 | pub fn new(capacity: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | fn init_slots(ptr: NonNull>, capacity: usize) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn set(&self, index: usize, data: T) -> Result<(), T> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn unset(&self, index: usize) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RawMpsc` is never constructed [INFO] [stdout] --> src/mpsc/unbounded_mpsc/raw_mpsc.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct RawMpsc { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `wait_for_seg_alloc`, `push`, `pop`, `segment_push`, and `segment_pop` are never used [INFO] [stdout] --> src/mpsc/unbounded_mpsc/raw_mpsc.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl RawMpsc { [INFO] [stdout] | ------------------------- associated items in this implementation [INFO] [stdout] 19 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | fn wait_for_seg_alloc(&self){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn push(&self, mut data: T) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn pop(&self) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | fn segment_push(segment: &Segment, data: T) -> Result<(), T> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | fn segment_pop(segment: &Segment) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SEGMENT_SIZE` is never used [INFO] [stdout] --> src/mpsc/unbounded_mpsc/segment_arr.rs:12:18 [INFO] [stdout] | [INFO] [stdout] 12 | pub(crate) const SEGMENT_SIZE: usize = 128; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Segment` is never constructed [INFO] [stdout] --> src/mpsc/unbounded_mpsc/segment_arr.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Segment { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `layout`, `set`, `unset`, `set_unchecked`, and `unset_unchecked` are never used [INFO] [stdout] --> src/mpsc/unbounded_mpsc/segment_arr.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Segment { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 22 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | const fn layout() -> Layout { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn set(&self, index: usize, data: T) -> Result<(), T> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn unset(&self, index: usize) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub unsafe fn set_unchecked(&self, index: usize, data: T) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub unsafe fn unset_unchecked(&self, index: usize) -> T { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Slot` is never constructed [INFO] [stdout] --> src/mpsc/slot.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct Slot { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `set`, `unset`, `unchecked_set`, and `unchecked_unset` are never used [INFO] [stdout] --> src/mpsc/slot.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl Slot { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn set(&self, data: T) -> Result<(), T> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn unset(&self) -> Result { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 88 | pub unsafe fn unchecked_set(&self, data: T) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub unsafe fn unchecked_unset(&self) -> T { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `READY` is never used [INFO] [stdout] --> src/mpsc/slot.rs:107:18 [INFO] [stdout] | [INFO] [stdout] 107 | pub(super) const READY: u8 = 0; // Slot is empty [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RESERVED` is never used [INFO] [stdout] --> src/mpsc/slot.rs:108:7 [INFO] [stdout] | [INFO] [stdout] 108 | const RESERVED: u8 = 1; // Slot is reserved for writing [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REGISTERED` is never used [INFO] [stdout] --> src/mpsc/slot.rs:109:7 [INFO] [stdout] | [INFO] [stdout] 109 | const REGISTERED: u8 = 2; // Slot contains data [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/cache_padded.rs:180:23 [INFO] [stdout] | [INFO] [stdout] 180 | pub fn into_inner(self) -> T { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 185 | impl Deref for CachePadded { [INFO] [stdout] | -------------------------------- trait implemented here [INFO] [stdout] 186 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D inherent-method-on-receiver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/mpsc/bounded_mpsc/raw_mpsc.rs:64:26 [INFO] [stdout] | [INFO] [stdout] 64 | unsafe { transmute::(-((next_head < self.slots.capacity) as isize)) }; [INFO] [stdout] | -------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `isize::cast_unsigned` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/mpsc/bounded_mpsc/raw_mpsc.rs:100:25 [INFO] [stdout] | [INFO] [stdout] 100 | transmute::(-((next_tail < self.slots.capacity) as isize)) [INFO] [stdout] | -------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `isize::cast_unsigned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/mpsc/bounded_mpsc/raw_mpsc.rs:130:30 [INFO] [stdout] | [INFO] [stdout] 130 | unsafe { transmute::(-((next < self.slots.capacity) as isize)) }; [INFO] [stdout] | -------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `isize::cast_unsigned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/mpsc/unbounded_mpsc/raw_mpsc.rs:90:26 [INFO] [stdout] | [INFO] [stdout] 90 | unsafe { transmute::(-((next_unbound < SEGMENT_SIZE) as isize)) }; [INFO] [stdout] | -------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `isize::cast_unsigned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/mpsc/unbounded_mpsc/raw_mpsc.rs:117:37 [INFO] [stdout] | [INFO] [stdout] 117 | let is_bound = unsafe { transmute::(-((tail + 1 < SEGMENT_SIZE) as isize)) }; [INFO] [stdout] | -------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `isize::cast_unsigned` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lock-free-mpsc` (lib) due to 1 previous error; 20 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: function `test_multi_producer_single_consumer_basic` is never used [INFO] [stdout] --> src/mpsc/unbounded_mpsc/raw_mpsc.rs:175:8 [INFO] [stdout] | [INFO] [stdout] 175 | fn test_multi_producer_single_consumer_basic() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `unset`, `set_unchecked`, and `unset_unchecked` are never used [INFO] [stdout] --> src/mpsc/unbounded_mpsc/segment_arr.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl Segment { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn unset(&self, index: usize) -> Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub unsafe fn set_unchecked(&self, index: usize, data: T) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub unsafe fn unset_unchecked(&self, index: usize) -> T { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: inherent methods on types that implement `Deref` or `Receiver` shadow methods of their target [INFO] [stdout] --> src/cache_padded.rs:180:23 [INFO] [stdout] | [INFO] [stdout] 180 | pub fn into_inner(self) -> T { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 185 | impl Deref for CachePadded { [INFO] [stdout] | -------------------------------- trait implemented here [INFO] [stdout] 186 | type Target = T; [INFO] [stdout] | ----------- with `Target` set here [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D inherent-method-on-receiver` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/mpsc/bounded_mpsc/raw_mpsc.rs:64:26 [INFO] [stdout] | [INFO] [stdout] 64 | unsafe { transmute::(-((next_head < self.slots.capacity) as isize)) }; [INFO] [stdout] | -------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `isize::cast_unsigned` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unnecessary_transmutes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/mpsc/bounded_mpsc/raw_mpsc.rs:100:25 [INFO] [stdout] | [INFO] [stdout] 100 | transmute::(-((next_tail < self.slots.capacity) as isize)) [INFO] [stdout] | -------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `isize::cast_unsigned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/mpsc/bounded_mpsc/raw_mpsc.rs:130:30 [INFO] [stdout] | [INFO] [stdout] 130 | unsafe { transmute::(-((next < self.slots.capacity) as isize)) }; [INFO] [stdout] | -------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `isize::cast_unsigned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/mpsc/unbounded_mpsc/raw_mpsc.rs:90:26 [INFO] [stdout] | [INFO] [stdout] 90 | unsafe { transmute::(-((next_unbound < SEGMENT_SIZE) as isize)) }; [INFO] [stdout] | -------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `isize::cast_unsigned` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary transmute [INFO] [stdout] --> src/mpsc/unbounded_mpsc/raw_mpsc.rs:117:37 [INFO] [stdout] | [INFO] [stdout] 117 | let is_bound = unsafe { transmute::(-((tail + 1 < SEGMENT_SIZE) as isize)) }; [INFO] [stdout] | -------------------------^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: replace this with: `isize::cast_unsigned` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lock-free-mpsc` (lib test) due to 1 previous error; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "3c15835c0cc75adc899406028717157ad60bb1c76da4693753ceee2dafe1f00d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3c15835c0cc75adc899406028717157ad60bb1c76da4693753ceee2dafe1f00d", kill_on_drop: false }` [INFO] [stdout] 3c15835c0cc75adc899406028717157ad60bb1c76da4693753ceee2dafe1f00d