[INFO] cloning repository https://github.com/Ez-FlawLess/rust-playground [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Ez-FlawLess/rust-playground" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEz-FlawLess%2Frust-playground", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEz-FlawLess%2Frust-playground'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] dcc803db8fa14db9435625b8f0402df99b78be19 [INFO] checking Ez-FlawLess/rust-playground against master#bca37a20bd376ce3fd138e7cdee7fe704e0f8814 for pr-150727 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEz-FlawLess%2Frust-playground" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/Ez-FlawLess/rust-playground [INFO] finished tweaking git repo https://github.com/Ez-FlawLess/rust-playground [INFO] tweaked toml for git repo https://github.com/Ez-FlawLess/rust-playground written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Ez-FlawLess/rust-playground on toolchain bca37a20bd376ce3fd138e7cdee7fe704e0f8814 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/Ez-FlawLess/rust-playground 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" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d64bc548c0c89e392df38ae53016db394aa4c10bb335a207b35014c05e4d5c5d [INFO] running `Command { std: "docker" "start" "-a" "d64bc548c0c89e392df38ae53016db394aa4c10bb335a207b35014c05e4d5c5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d64bc548c0c89e392df38ae53016db394aa4c10bb335a207b35014c05e4d5c5d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d64bc548c0c89e392df38ae53016db394aa4c10bb335a207b35014c05e4d5c5d", kill_on_drop: false }` [INFO] [stdout] d64bc548c0c89e392df38ae53016db394aa4c10bb335a207b35014c05e4d5c5d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6ee2e8b817ea989784d2aba76ffcd617077815703b59de15492e4315c0dfde83 [INFO] running `Command { std: "docker" "start" "-a" "6ee2e8b817ea989784d2aba76ffcd617077815703b59de15492e4315c0dfde83", kill_on_drop: false }` [INFO] [stderr] Checking unicode-ident v1.0.18 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Checking proc-macro2 v1.0.95 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Checking quote v1.0.40 [INFO] [stderr] Checking pg_macros v0.1.0 (/opt/rustwide/workdir/pg_macros) [INFO] [stdout] warning: unused macro definition: `error` [INFO] [stdout] --> pg_macros/src/utils.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | macro_rules! error { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> pg_macros/src/utils.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) use error; [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 macro definition: `error` [INFO] [stdout] --> pg_macros/src/utils.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | macro_rules! error { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> pg_macros/src/utils.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) use error; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stdout] warning: unused macro definition: `error` [INFO] [stdout] --> pg_macros/src/utils.rs:1:14 [INFO] [stdout] | [INFO] [stdout] 1 | macro_rules! error { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> pg_macros/src/utils.rs:9:16 [INFO] [stdout] | [INFO] [stdout] 9 | pub(crate) use error; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking tokio v1.46.1 [INFO] [stderr] Checking pg v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Arc` [INFO] [stdout] --> src/my_arc.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | Arc, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BinaryTree` is never constructed [INFO] [stdout] --> src/binary_tree.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct BinaryTree(Option>); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `NextNode` is never used [INFO] [stdout] --> src/binary_tree.rs:5:6 [INFO] [stdout] | [INFO] [stdout] 5 | type NextNode = Option>>; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Node` is never constructed [INFO] [stdout] --> src/binary_tree.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 7 | struct Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `push`, and `exists` are never used [INFO] [stdout] --> src/binary_tree.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 13 | / impl BinaryTree [INFO] [stdout] 14 | | where [INFO] [stdout] 15 | | T: Ord, [INFO] [stdout] | |___________- associated items in this implementation [INFO] [stdout] 16 | { [INFO] [stdout] 17 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn push(&mut self, value: T) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn exists(&self, value: T) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `push`, and `exists` are never used [INFO] [stdout] --> src/binary_tree.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 33 | / impl Node [INFO] [stdout] 34 | | where [INFO] [stdout] 35 | | T: Ord, [INFO] [stdout] | |___________- associated items in this implementation [INFO] [stdout] 36 | { [INFO] [stdout] 37 | fn new(value: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | fn push(&mut self, value: T) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | fn exists(&self, value: T) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ArcData` is never constructed [INFO] [stdout] --> src/my_arc.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | struct ArcData { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Arc` [INFO] [stdout] --> src/my_arc.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | Arc, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MyArc` is never constructed [INFO] [stdout] --> src/my_arc.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub struct MyArc { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `data` are never used [INFO] [stdout] --> src/my_arc.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 27 | impl MyArc { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 28 | pub fn new(data: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | fn data(&self) -> &ArcData { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Weak` is never constructed [INFO] [stdout] --> src/my_arc.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 71 | pub struct Weak { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `data` and `upgrade` are never used [INFO] [stdout] --> src/my_arc.rs:79:8 [INFO] [stdout] | [INFO] [stdout] 78 | impl Weak { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] 79 | fn data(&self) -> &ArcData { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn upgrade(&self) -> Option> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Channel` is never constructed [INFO] [stdout] --> src/my_channel.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Channel { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `send`, and `receive` are never used [INFO] [stdout] --> src/my_channel.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Channel { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 17 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn send(&self, message: T) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn receive(&self) -> T { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OneshotChannel` is never constructed [INFO] [stdout] --> src/my_channel.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct OneshotChannel { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `send`, `is_ready`, and `receive` are never used [INFO] [stdout] --> src/my_channel.rs:48:18 [INFO] [stdout] | [INFO] [stdout] 47 | impl OneshotChannel { [INFO] [stdout] | ------------------------- associated items in this implementation [INFO] [stdout] 48 | pub const fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub unsafe fn send(&self, message: T) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn is_ready(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub unsafe fn receive(&self) -> T { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MyLinkedList` is never constructed [INFO] [stdout] --> src/my_linked_list.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct MyLinkedList{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MyNode` is never constructed [INFO] [stdout] --> src/my_linked_list.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct MyNode{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `push`, `pop`, and `get` are never used [INFO] [stdout] --> src/my_linked_list.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl MyLinkedList { [INFO] [stdout] | ----------------------- associated items in this implementation [INFO] [stdout] 15 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn push(&mut self, data: T) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn pop(&mut self) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn get(&self, index: usize) -> Option<&T> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `push_next`, `pop_next`, and `get` are never used [INFO] [stdout] --> src/my_linked_list.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 62 | impl MyNode { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 63 | fn new(data: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | fn push_next(&mut self, data: T) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | fn pop_next(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | fn get(&self, index: usize) -> Option<&T> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MyVec` is never constructed [INFO] [stdout] --> src/my_vec.rs:4:12 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct MyVec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_CAPACITY` is never used [INFO] [stdout] --> src/my_vec.rs:10:7 [INFO] [stdout] | [INFO] [stdout] 10 | const DEFAULT_CAPACITY: usize = 5; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `initial_layout`, `new`, `push`, `pop`, `get`, and `len` are never used [INFO] [stdout] --> src/my_vec.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 12 | impl MyVec { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 13 | fn initial_layout() -> Layout { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn push(&mut self, item: T) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn pop(&mut self) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | pub fn get(&self, index: usize) -> Option<&T> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 91 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SpinLock` is never constructed [INFO] [stdout] --> src/spin_lock.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct SpinLock { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `lock`, and `unlock` are never used [INFO] [stdout] --> src/spin_lock.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl SpinLock { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 13 | pub fn new(value: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | fn lock(&self) -> Gaurd<'_, T> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | fn unlock(&self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Gaurd` is never constructed [INFO] [stdout] --> src/spin_lock.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct Gaurd<'a, T> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `VoidPtr` is never constructed [INFO] [stdout] --> src/void_ptr.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | struct VoidPtr(*mut std::ffi::c_void, PhantomData); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/void_ptr.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 6 | impl VoidPtr { [INFO] [stdout] | ------------------ associated function in this implementation [INFO] [stdout] 7 | fn new(x: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `num` is assigned to, but never used [INFO] [stdout] --> src/closures.rs:61:21 [INFO] [stdout] | [INFO] [stdout] 61 | let plus = |mut num: u32| num += 1; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_num` instead [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `num` is never read [INFO] [stdout] --> src/closures.rs:61:35 [INFO] [stdout] | [INFO] [stdout] 61 | let plus = |mut num: u32| num += 1; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `plus` [INFO] [stdout] --> src/closures.rs:61:13 [INFO] [stdout] | [INFO] [stdout] 61 | let plus = |mut num: u32| num += 1; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_plus` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `life` [INFO] [stdout] --> src/closures.rs:73:15 [INFO] [stdout] | [INFO] [stdout] 73 | Some(|life: Life<'_>| {}) [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_life` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `item` [INFO] [stdout] --> src/test_allocator.rs:120:17 [INFO] [stdout] | [INFO] [stdout] 120 | let item = Box::new(5); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_item` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Life` is never constructed [INFO] [stdout] --> src/closures.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | struct Life<'a>(&'a mut [u8]); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `push` is never used [INFO] [stdout] --> src/closures.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | fn push() -> Option { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `upgrade` is never used [INFO] [stdout] --> src/my_arc.rs:83:12 [INFO] [stdout] | [INFO] [stdout] 78 | impl Weak { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn upgrade(&self) -> Option> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Channel` is never constructed [INFO] [stdout] --> src/my_channel.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Channel { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `send`, and `receive` are never used [INFO] [stdout] --> src/my_channel.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl Channel { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 17 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn send(&self, message: T) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn receive(&self) -> T { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OneshotChannel` is never constructed [INFO] [stdout] --> src/my_channel.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct OneshotChannel { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `send`, `is_ready`, and `receive` are never used [INFO] [stdout] --> src/my_channel.rs:48:18 [INFO] [stdout] | [INFO] [stdout] 47 | impl OneshotChannel { [INFO] [stdout] | ------------------------- associated items in this implementation [INFO] [stdout] 48 | pub const fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub unsafe fn send(&self, message: T) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn is_ready(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 66 | pub unsafe fn receive(&self) -> T { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `TESTING` is never used [INFO] [stdout] --> src/test_allocator.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | static TESTING: AtomicBool = AtomicBool::new(false); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.08s [INFO] running `Command { std: "docker" "inspect" "6ee2e8b817ea989784d2aba76ffcd617077815703b59de15492e4315c0dfde83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6ee2e8b817ea989784d2aba76ffcd617077815703b59de15492e4315c0dfde83", kill_on_drop: false }` [INFO] [stdout] 6ee2e8b817ea989784d2aba76ffcd617077815703b59de15492e4315c0dfde83