[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 try#f93f9bd1edfdb032bbf1c02773329541b22aa5a7 for pr-150727-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEz-FlawLess%2Frust-playground" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/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-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/Ez-FlawLess/rust-playground on toolchain f93f9bd1edfdb032bbf1c02773329541b22aa5a7 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f93f9bd1edfdb032bbf1c02773329541b22aa5a7" "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" "+f93f9bd1edfdb032bbf1c02773329541b22aa5a7" "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-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+f93f9bd1edfdb032bbf1c02773329541b22aa5a7" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 985bb2b701bd3f97f11ab6d0674ea08d7fdfdde3ece7f6d0064da99d44b131f0 [INFO] running `Command { std: "docker" "start" "-a" "985bb2b701bd3f97f11ab6d0674ea08d7fdfdde3ece7f6d0064da99d44b131f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "985bb2b701bd3f97f11ab6d0674ea08d7fdfdde3ece7f6d0064da99d44b131f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "985bb2b701bd3f97f11ab6d0674ea08d7fdfdde3ece7f6d0064da99d44b131f0", kill_on_drop: false }` [INFO] [stdout] 985bb2b701bd3f97f11ab6d0674ea08d7fdfdde3ece7f6d0064da99d44b131f0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+f93f9bd1edfdb032bbf1c02773329541b22aa5a7" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 23526ccd618864521c1e1e081dbab60e18aadb37f5afe3a3a379fb082d70736d [INFO] running `Command { std: "docker" "start" "-a" "23526ccd618864521c1e1e081dbab60e18aadb37f5afe3a3a379fb082d70736d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling parking_lot_core v0.9.11 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Checking bytes v1.10.1 [INFO] [stderr] Compiling lock_api v0.4.13 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking mio v1.0.4 [INFO] [stderr] Checking socket2 v0.5.10 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Checking parking_lot v0.12.4 [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: 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] error: `#[should_panic]` should only be applied to functions annotated with `#[test]` or `#[bench]` [INFO] [stdout] --> src/test_allocator.rs:140:5 [INFO] [stdout] | [INFO] [stdout] 140 | #[should_panic(expected = "There was no heap memory allocation done in this test")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `#[should_panic]` should only be applied to functions annotated with `#[test]` or `#[bench]` [INFO] [stdout] --> src/test_allocator.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 149 | #[should_panic(expected = "This test leaked 4 bytes of memory")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [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: 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] [stderr] error: could not compile `pg` (bin "pg" test) due to 2 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "23526ccd618864521c1e1e081dbab60e18aadb37f5afe3a3a379fb082d70736d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23526ccd618864521c1e1e081dbab60e18aadb37f5afe3a3a379fb082d70736d", kill_on_drop: false }` [INFO] [stdout] 23526ccd618864521c1e1e081dbab60e18aadb37f5afe3a3a379fb082d70736d