[INFO] cloning repository https://github.com/modulitos/CtCI-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/modulitos/CtCI-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmodulitos%2FCtCI-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmodulitos%2FCtCI-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8bbaa49c3eca43a77cf1a2cea1b6f98071ad2c78 [INFO] checking modulitos/CtCI-rust against try#e071e73523bfcdcab2878dbf652ac8ebb9b9eee4 for pr-144386 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmodulitos%2FCtCI-rust" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/modulitos/CtCI-rust [INFO] finished tweaking git repo https://github.com/modulitos/CtCI-rust [INFO] tweaked toml for git repo https://github.com/modulitos/CtCI-rust written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/modulitos/CtCI-rust on toolchain e071e73523bfcdcab2878dbf652ac8ebb9b9eee4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e071e73523bfcdcab2878dbf652ac8ebb9b9eee4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/modulitos/CtCI-rust 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" "+e071e73523bfcdcab2878dbf652ac8ebb9b9eee4" "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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+e071e73523bfcdcab2878dbf652ac8ebb9b9eee4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ca772c064076cafde219a4226230b4981c86c0dbced8dbe0c0a7f906bfab84dd [INFO] running `Command { std: "docker" "start" "-a" "ca772c064076cafde219a4226230b4981c86c0dbced8dbe0c0a7f906bfab84dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ca772c064076cafde219a4226230b4981c86c0dbced8dbe0c0a7f906bfab84dd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca772c064076cafde219a4226230b4981c86c0dbced8dbe0c0a7f906bfab84dd", kill_on_drop: false }` [INFO] [stdout] ca772c064076cafde219a4226230b4981c86c0dbced8dbe0c0a7f906bfab84dd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+e071e73523bfcdcab2878dbf652ac8ebb9b9eee4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ca94fce4fde444cb93e15c8958d12495e4de77f7cea2328ecf1b2b2f8d305620 [INFO] running `Command { std: "docker" "start" "-a" "ca94fce4fde444cb93e15c8958d12495e4de77f7cea2328ecf1b2b2f8d305620", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.60 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking cfg-if v0.1.9 [INFO] [stderr] Checking ppv-lite86 v0.2.5 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking lazy_static v1.3.0 [INFO] [stderr] Compiling regex-syntax v0.6.12 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Checking c2-chacha v0.2.2 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Checking getrandom v0.1.7 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking rand v0.7.2 [INFO] [stderr] Compiling regex v1.3.1 [INFO] [stderr] Compiling derive_more v0.15.0 [INFO] [stderr] Checking rust-solutions v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/linked_list/second.rs:11:27 [INFO] [stdout] | [INFO] [stdout] 11 | pub type Link = Option<(Box>)>; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 11 - pub type Link = Option<(Box>)>; [INFO] [stdout] 11 + pub type Link = Option>>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::List` [INFO] [stdout] --> src/linked_list/second.rs:167:9 [INFO] [stdout] | [INFO] [stdout] 167 | use super::List; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/linked_list/third.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/linked_list/fifth.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/linked_list/refcell_singly.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/stack.rs:115:9 [INFO] [stdout] | [INFO] [stdout] 115 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/binary_search_tree.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Ord` and `Ordering` [INFO] [stdout] --> src/graph.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::{Ord, Ordering}; [INFO] [stdout] | ^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/graph.rs:178:9 [INFO] [stdout] | [INFO] [stdout] 178 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/binary_tree.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/binary_tree_refcell.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/binary_search_tree_refcell.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around type [INFO] [stdout] --> src/linked_list/second.rs:11:27 [INFO] [stdout] | [INFO] [stdout] 11 | pub type Link = Option<(Box>)>; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 11 - pub type Link = Option<(Box>)>; [INFO] [stdout] 11 + pub type Link = Option>>; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/linked_list/third.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/linked_list/fifth.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Ord` and `Ordering` [INFO] [stdout] --> src/graph.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::{Ord, Ordering}; [INFO] [stdout] | ^^^ ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `List` is never constructed [INFO] [stdout] --> src/linked_list/second.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct List { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Link` is never used [INFO] [stdout] --> src/linked_list/second.rs:11:10 [INFO] [stdout] | [INFO] [stdout] 11 | pub type Link = Option<(Box>)>; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Node` is never constructed [INFO] [stdout] --> src/linked_list/second.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IntoIter` is never constructed [INFO] [stdout] --> src/linked_list/second.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct IntoIter(List); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Iter` is never constructed [INFO] [stdout] --> src/linked_list/second.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Iter<'a, T> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IterMut` is never constructed [INFO] [stdout] --> src/linked_list/second.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | pub struct IterMut<'a, T> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/linked_list/second.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 66 | impl List { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 67 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn into_iter(self) -> IntoIter { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn iter_mut(&mut self) -> IterMut<'_, T> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 90 | pub fn push(&mut self, elem: T) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn pop(&mut self) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn peek(&self) -> Option<&T> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | pub fn peek_mut(&mut self) -> Option<&mut T> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `List` is never constructed [INFO] [stdout] --> src/linked_list/third.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct List { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Link` is never used [INFO] [stdout] --> src/linked_list/third.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 9 | type Link = Option>>; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Node` is never constructed [INFO] [stdout] --> src/linked_list/third.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | struct Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `append`, `tail`, and `head` are never used [INFO] [stdout] --> src/linked_list/third.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 17 | / impl List [INFO] [stdout] 18 | | where [INFO] [stdout] 19 | | T: std::hash::Hash + std::cmp::Eq + std::marker::Copy, [INFO] [stdout] | |__________________________________________________________- associated items in this implementation [INFO] [stdout] 20 | { [INFO] [stdout] 21 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 25 | pub fn append(&mut self, elem: T) -> Self { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn tail(&self) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn head(&self) -> Option<&T> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Iter` is never constructed [INFO] [stdout] --> src/linked_list/third.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 102 | pub struct Iter<'a, T> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `iter` is never used [INFO] [stdout] --> src/linked_list/third.rs:107:12 [INFO] [stdout] | [INFO] [stdout] 106 | impl List { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] 107 | pub fn iter(&self) -> Iter<'_, T> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `List` is never constructed [INFO] [stdout] --> src/linked_list/fourth.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct List { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Link` is never used [INFO] [stdout] --> src/linked_list/fourth.rs:10:6 [INFO] [stdout] | [INFO] [stdout] 10 | type Link = Option>>>; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Node` is never constructed [INFO] [stdout] --> src/linked_list/fourth.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | struct Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/linked_list/fourth.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 18 | impl Node { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 19 | fn new(elem: T) -> Rc> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `push_front`, `pop_front`, and `peek_front` are never used [INFO] [stdout] --> src/linked_list/fourth.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl List { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 29 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn push_front(&mut self, elem: T) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn pop_front(&mut self) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn peek_front(&self) -> Option> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `NodeRef` is never used [INFO] [stdout] --> src/linked_list/brandon.rs:15:6 [INFO] [stdout] | [INFO] [stdout] 15 | type NodeRef = Rc>>; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LinkedList` is never constructed [INFO] [stdout] --> src/linked_list/brandon.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | struct LinkedList { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Node` is never constructed [INFO] [stdout] --> src/linked_list/brandon.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | struct Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Iter` is never constructed [INFO] [stdout] --> src/linked_list/brandon.rs:34:8 [INFO] [stdout] | [INFO] [stdout] 34 | struct Iter { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `tail` and `remove` are never used [INFO] [stdout] --> src/linked_list/brandon.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 38 | impl Node { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 39 | fn tail(node: &NodeRef) -> Option> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | fn remove(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `append`, `tail`, `iter`, `list_has_duplicates`, and `remove_duplicates` are never used [INFO] [stdout] --> src/linked_list/brandon.rs:64:8 [INFO] [stdout] | [INFO] [stdout] 58 | / impl LinkedList [INFO] [stdout] 59 | | where [INFO] [stdout] 60 | | T: std::cmp::Eq, [INFO] [stdout] 61 | | T: std::hash::Hash, [INFO] [stdout] 62 | | T: std::clone::Clone, [INFO] [stdout] | |_________________________- associated items in this implementation [INFO] [stdout] 63 | { [INFO] [stdout] 64 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | fn append(&mut self, new_value: T) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | fn tail(&self) -> Option> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | fn iter(&self) -> Iter { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | fn list_has_duplicates(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | fn remove_duplicates(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/linked_list/brandon.rs:228:4 [INFO] [stdout] | [INFO] [stdout] 228 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `List` is never constructed [INFO] [stdout] --> src/linked_list/fifth.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct List { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Link` is never used [INFO] [stdout] --> src/linked_list/fifth.rs:12:6 [INFO] [stdout] | [INFO] [stdout] 12 | type Link = Option>>; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Node` is never constructed [INFO] [stdout] --> src/linked_list/fifth.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | struct Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `push`, and `pop` are never used [INFO] [stdout] --> src/linked_list/fifth.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 20 | / impl List [INFO] [stdout] 21 | | where [INFO] [stdout] 22 | | T: std::hash::Hash + std::cmp::Eq + std::marker::Copy, [INFO] [stdout] | |__________________________________________________________- associated items in this implementation [INFO] [stdout] 23 | { [INFO] [stdout] 24 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn push(&mut self, elem: T) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn pop(&mut self) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/linked_list/second.rs:76:17 [INFO] [stdout] | [INFO] [stdout] 76 | 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] 76 | 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/linked_list/fourth.rs:76:23 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn peek_front(&self) -> Option> { [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] 76 | pub fn peek_front(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `ch5_p6_conversion` [INFO] [stdout] --> src/bin/ch5-p6_conversion.rs:42:2 [INFO] [stdout] | [INFO] [stdout] 42 | } [INFO] [stdout] | ^ consider adding a `main` function to `src/bin/ch5-p6_conversion.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `test_conversion_width_1` is never used [INFO] [stdout] --> src/bin/ch5-p8_draw-line.rs:88:4 [INFO] [stdout] | [INFO] [stdout] 88 | fn test_conversion_width_1() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/stack.rs:153:13 [INFO] [stdout] | [INFO] [stdout] 153 | let mut s: Stack = Stack::new(); [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stdout] warning: function `determine_bits_basic` is never used [INFO] [stdout] --> src/bin/ch5-p6_conversion.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn determine_bits_basic(mut n1: u16, mut n2: u16) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `list_has_duplicates` is never used [INFO] [stdout] --> src/linked_list/brandon.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 58 | / impl LinkedList [INFO] [stdout] 59 | | where [INFO] [stdout] 60 | | T: std::cmp::Eq, [INFO] [stdout] 61 | | T: std::hash::Hash, [INFO] [stdout] 62 | | T: std::clone::Clone, [INFO] [stdout] | |_________________________- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 102 | fn list_has_duplicates(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `main` is never used [INFO] [stdout] --> src/linked_list/brandon.rs:228:4 [INFO] [stdout] | [INFO] [stdout] 228 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/linked_list/second.rs:76:17 [INFO] [stdout] | [INFO] [stdout] 76 | 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] 76 | pub fn iter(&self) -> Iter<'_, T> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `ch5_p1_insertaion` [INFO] [stdout] --> src/bin/ch5-p1_insertaion.rs:38:2 [INFO] [stdout] | [INFO] [stdout] 38 | } [INFO] [stdout] | ^ consider adding a `main` function to `src/bin/ch5-p1_insertaion.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/linked_list/fourth.rs:76:23 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn peek_front(&self) -> Option> { [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] 76 | pub fn peek_front(&self) -> Option> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-solutions` (bin "ch5-p6_conversion") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `ch7_p4_parking_lot` [INFO] [stdout] --> src/bin/ch7-p4_parking-lot.rs:351:2 [INFO] [stdout] | [INFO] [stdout] 351 | } [INFO] [stdout] | ^ consider adding a `main` function to `src/bin/ch7-p4_parking-lot.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-solutions` (bin "ch5-p1_insertaion") due to 1 previous error [INFO] [stdout] warning: unused import: `RCBTreeNode as Node` [INFO] [stdout] --> src/bin/ch4-p8_first-common-ancestor.rs:6:33 [INFO] [stdout] | [INFO] [stdout] 6 | use cracking::{RCBTree as Tree, RCBTreeNode as Node, RCBinaryTree as BinaryTree}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/bin/ch4-p8_first-common-ancestor.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> src/bin/ch4-p8_first-common-ancestor.rs:103:1 [INFO] [stdout] | [INFO] [stdout] 103 | mod tests { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `ch4_p8_first_common_ancestor` [INFO] [stdout] --> src/bin/ch4-p8_first-common-ancestor.rs:243:2 [INFO] [stdout] | [INFO] [stdout] 243 | } [INFO] [stdout] | ^ consider adding a `main` function to `src/bin/ch4-p8_first-common-ancestor.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `title`, `artist`, `album`, and `year` are never read [INFO] [stdout] --> src/bin/ch7-p3_jukebox.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | struct Song { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 10 | title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 11 | artist: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 12 | album: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 13 | year: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Song` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `artist` and `album` are never read [INFO] [stdout] --> src/bin/ch7-p3_jukebox.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 9 | struct Song { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 10 | title: String, [INFO] [stdout] 11 | artist: String, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 12 | album: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Song` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_one_away` is never used [INFO] [stdout] --> src/bin/ch1-p5_one-away.rs:7:4 [INFO] [stdout] | [INFO] [stdout] 7 | fn is_one_away(s1: &str, s2: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stdout] warning: methods `partition` and `verify_partition` are never used [INFO] [stdout] --> src/bin/ch2-p4_partition.rs:95:8 [INFO] [stdout] | [INFO] [stdout] 34 | / impl LinkedList [INFO] [stdout] 35 | | where [INFO] [stdout] 36 | | T: std::cmp::Eq [INFO] [stdout] 37 | | + std::hash::Hash [INFO] [stdout] ... | [INFO] [stdout] 40 | | + std::cmp::PartialOrd [INFO] [stdout] 41 | | + std::fmt::Debug, [INFO] [stdout] | |__________________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 95 | fn partition(&mut self, partition_value: T) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | fn verify_partition(&mut self, value: T) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-solutions` (bin "ch7-p4_parking-lot") due to 1 previous error [INFO] [stderr] error: could not compile `rust-solutions` (bin "ch4-p8_first-common-ancestor") due to 1 previous error; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ca94fce4fde444cb93e15c8958d12495e4de77f7cea2328ecf1b2b2f8d305620", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ca94fce4fde444cb93e15c8958d12495e4de77f7cea2328ecf1b2b2f8d305620", kill_on_drop: false }` [INFO] [stdout] ca94fce4fde444cb93e15c8958d12495e4de77f7cea2328ecf1b2b2f8d305620