[INFO] cloning repository https://github.com/LOKESH-999/mpsc-channels [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/mpsc-channels" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLOKESH-999%2Fmpsc-channels", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLOKESH-999%2Fmpsc-channels'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ab3a40204cbe266e63fe91fcd31b0125ff24235c [INFO] checking LOKESH-999/mpsc-channels against try#349c4bfa6ac87b818f6fd19d4869c0b24790ac6a for pr-152856 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLOKESH-999%2Fmpsc-channels" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/LOKESH-999/mpsc-channels [INFO] finished tweaking git repo https://github.com/LOKESH-999/mpsc-channels [INFO] tweaked toml for git repo https://github.com/LOKESH-999/mpsc-channels written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/LOKESH-999/mpsc-channels on toolchain 349c4bfa6ac87b818f6fd19d4869c0b24790ac6a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+349c4bfa6ac87b818f6fd19d4869c0b24790ac6a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/LOKESH-999/mpsc-channels 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" "+349c4bfa6ac87b818f6fd19d4869c0b24790ac6a" "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-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+349c4bfa6ac87b818f6fd19d4869c0b24790ac6a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c2f91ac8972255f1c502c60e7caceb2545d6ef8c2a09dc29aeaea73f4c508a66 [INFO] running `Command { std: "docker" "start" "-a" "c2f91ac8972255f1c502c60e7caceb2545d6ef8c2a09dc29aeaea73f4c508a66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c2f91ac8972255f1c502c60e7caceb2545d6ef8c2a09dc29aeaea73f4c508a66", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c2f91ac8972255f1c502c60e7caceb2545d6ef8c2a09dc29aeaea73f4c508a66", kill_on_drop: false }` [INFO] [stdout] c2f91ac8972255f1c502c60e7caceb2545d6ef8c2a09dc29aeaea73f4c508a66 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+349c4bfa6ac87b818f6fd19d4869c0b24790ac6a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b8f0756750602940452e4ee4c20e6c37318c51cd90f9bb25cf93e9c8ba0dad04 [INFO] running `Command { std: "docker" "start" "-a" "b8f0756750602940452e4ee4c20e6c37318c51cd90f9bb25cf93e9c8ba0dad04", kill_on_drop: false }` [INFO] [stderr] Checking channels v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `ptr::NonNull` [INFO] [stdout] --> src/new_chanel.rs:1:34 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::VecDeque, ptr::NonNull}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Acquire` and `Release` [INFO] [stdout] --> src/new_chanel.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | Acquire, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 7 | Release, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ptr::NonNull` [INFO] [stdout] --> src/new_chanel.rs:1:34 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::VecDeque, ptr::NonNull}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Acquire` and `Release` [INFO] [stdout] --> src/new_chanel.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | Acquire, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 7 | Release, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/channel.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | let mut x=self.ptr.as_ref(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/channel.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | let mut x=self.ptr.read(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/channel.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | let b=Base{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `base` [INFO] [stdout] --> src/channel.rs:107:17 [INFO] [stdout] | [INFO] [stdout] 107 | let base=self.ptr.read(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_base` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/channel.rs:30:17 [INFO] [stdout] | [INFO] [stdout] 30 | let mut x=self.ptr.as_ref(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/channel.rs:42:17 [INFO] [stdout] | [INFO] [stdout] 42 | let mut x=self.ptr.read(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b` [INFO] [stdout] --> src/channel.rs:59:13 [INFO] [stdout] | [INFO] [stdout] 59 | let b=Base{ [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_b` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `base` [INFO] [stdout] --> src/channel.rs:107:17 [INFO] [stdout] | [INFO] [stdout] 107 | let base=self.ptr.read(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_base` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `barrier_clone` [INFO] [stdout] --> src/main.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | let barrier_clone = Arc::clone(&barrier); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_barrier_clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Base` is never constructed [INFO] [stdout] --> src/channel.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Base{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Channel` is never constructed [INFO] [stdout] --> src/channel.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Channel; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Sender` is never constructed [INFO] [stdout] --> src/channel.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Sender{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Reciver` is never constructed [INFO] [stdout] --> src/channel.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Reciver{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `send` is never used [INFO] [stdout] --> src/channel.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl Sender{ [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 28 | pub fn send(&self,data:T){ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `read` and `is_available` are never used [INFO] [stdout] --> src/channel.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl Reciver{ [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] 40 | pub fn read(&self)->Option{ [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub unsafe fn is_available(&self)->bool{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/channel.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 57 | impl Channel{ [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 58 | pub fn new()->(Sender,Reciver){ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clone` is never used [INFO] [stdout] --> src/channel.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 91 | impl Sender{ [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 92 | pub fn clone(&self)->Self{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BaseData` is never constructed [INFO] [stdout] --> src/new_chanel.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct BaseData{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Base` is never constructed [INFO] [stdout] --> src/new_chanel.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Base{ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Channel` is never constructed [INFO] [stdout] --> src/new_chanel.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Channel; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Sender` is never constructed [INFO] [stdout] --> src/new_chanel.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct Sender{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Reciver` is never constructed [INFO] [stdout] --> src/new_chanel.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Reciver{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/new_chanel.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 53 | impl Channel { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 54 | pub fn new()->(Sender,Reciver){ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/channel.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | &mut(*x.data.get()).push_front(data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 34 | let _ = &mut(*x.data.get()).push_front(data); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/dequeue.rs:162:17 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn iter(&self)->Iter{ [INFO] [stdout] | ^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 162 | pub fn iter(&self)->Iter<'_, T>{ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/dequeue.rs:169:21 [INFO] [stdout] | [INFO] [stdout] 169 | pub fn iter_mut(&mut self)->IterMut{ [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 169 | pub fn iter_mut(&mut self)->IterMut<'_, T>{ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `barrier_clone` [INFO] [stdout] --> src/main.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | let barrier_clone = Arc::clone(&barrier); [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_barrier_clone` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Base` is never constructed [INFO] [stdout] --> src/channel.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct Base{ [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Channel` is never constructed [INFO] [stdout] --> src/channel.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct Channel; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Sender` is never constructed [INFO] [stdout] --> src/channel.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Sender{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Reciver` is never constructed [INFO] [stdout] --> src/channel.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct Reciver{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `send` is never used [INFO] [stdout] --> src/channel.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl Sender{ [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 28 | pub fn send(&self,data:T){ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `read` and `is_available` are never used [INFO] [stdout] --> src/channel.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl Reciver{ [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] 40 | pub fn read(&self)->Option{ [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub unsafe fn is_available(&self)->bool{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/channel.rs:58:12 [INFO] [stdout] | [INFO] [stdout] 57 | impl Channel{ [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 58 | pub fn new()->(Sender,Reciver){ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clone` is never used [INFO] [stdout] --> src/channel.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 91 | impl Sender{ [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] 92 | pub fn clone(&self)->Self{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BaseData` is never constructed [INFO] [stdout] --> src/new_chanel.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | struct BaseData{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Base` is never constructed [INFO] [stdout] --> src/new_chanel.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Base{ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Channel` is never constructed [INFO] [stdout] --> src/new_chanel.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct Channel; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Sender` is never constructed [INFO] [stdout] --> src/new_chanel.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 26 | pub struct Sender{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Reciver` is never constructed [INFO] [stdout] --> src/new_chanel.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct Reciver{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/new_chanel.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 53 | impl Channel { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] 54 | pub fn new()->(Sender,Reciver){ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/channel.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 34 | &mut(*x.data.get()).push_front(data); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 34 | let _ = &mut(*x.data.get()).push_front(data); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/dequeue.rs:162:17 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn iter(&self)->Iter{ [INFO] [stdout] | ^^^^^ ^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 162 | pub fn iter(&self)->Iter<'_, T>{ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/dequeue.rs:169:21 [INFO] [stdout] | [INFO] [stdout] 169 | pub fn iter_mut(&mut self)->IterMut{ [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 169 | pub fn iter_mut(&mut self)->IterMut<'_, T>{ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.13s [INFO] running `Command { std: "docker" "inspect" "b8f0756750602940452e4ee4c20e6c37318c51cd90f9bb25cf93e9c8ba0dad04", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b8f0756750602940452e4ee4c20e6c37318c51cd90f9bb25cf93e9c8ba0dad04", kill_on_drop: false }` [INFO] [stdout] b8f0756750602940452e4ee4c20e6c37318c51cd90f9bb25cf93e9c8ba0dad04