[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] building modulitos/CtCI-rust against master#ad211ced81509462cdfe4c29ed10f97279a0acae for pr-135216 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmodulitos%2FCtCI-rust" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/modulitos/CtCI-rust on toolchain ad211ced81509462cdfe4c29ed10f97279a0acae [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-1-tc1/source/Cargo.toml [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" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c31bb2b64ff1ee223e79899b5249a0905589f3b6e6ece184265519273143f7a4 [INFO] running `Command { std: "docker" "start" "-a" "c31bb2b64ff1ee223e79899b5249a0905589f3b6e6ece184265519273143f7a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c31bb2b64ff1ee223e79899b5249a0905589f3b6e6ece184265519273143f7a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c31bb2b64ff1ee223e79899b5249a0905589f3b6e6ece184265519273143f7a4", kill_on_drop: false }` [INFO] [stdout] c31bb2b64ff1ee223e79899b5249a0905589f3b6e6ece184265519273143f7a4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0cb1a103f3eb821153ff896f1dd64bfd28bf389e62d4daa4c825e04b164134a4 [INFO] running `Command { std: "docker" "start" "-a" "0cb1a103f3eb821153ff896f1dd64bfd28bf389e62d4daa4c825e04b164134a4", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.60 [INFO] [stderr] Compiling lazy_static v1.3.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling ppv-lite86 v0.2.5 [INFO] [stderr] Compiling regex-syntax v0.6.12 [INFO] [stderr] Compiling thread_local v0.3.6 [INFO] [stderr] Compiling c2-chacha v0.2.2 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling aho-corasick v0.7.6 [INFO] [stderr] Compiling getrandom v0.1.7 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling rand v0.7.2 [INFO] [stderr] Compiling regex v1.3.1 [INFO] [stderr] Compiling derive_more v0.15.0 [INFO] [stderr] Compiling 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: 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] 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] = note: `#[warn(dead_code)]` on by default [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: 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: 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`, 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] 76 | pub fn peek_front(&self) -> Option> { [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: field `prev` is never read [INFO] [stdout] --> src/linked_list/brandon.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 22 | struct Node { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 25 | prev: Option>, [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: field `tail` is never read [INFO] [stdout] --> src/linked_list/fifth.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct List { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 8 | head: Link, [INFO] [stdout] 9 | tail: *mut Node, // DANGER - raw pointer [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `List` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [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: unused import: `super::*` [INFO] [stdout] --> src/bin/ch3-p2_stack-with-min.rs:53:9 [INFO] [stdout] | [INFO] [stdout] 53 | 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/ch3-p2_stack-with-min.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | mod test { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `ch3_p2_stack_with_min` [INFO] [stdout] --> src/bin/ch3-p2_stack-with-min.rs:103:2 [INFO] [stdout] | [INFO] [stdout] 103 | } [INFO] [stdout] | ^ consider adding a `main` function to `src/bin/ch3-p2_stack-with-min.rs` [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 "ch3-p2_stack-with-min") due to 1 previous error; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused imports: `BTreeNode as Node` and `BinaryTree` [INFO] [stdout] --> src/bin/ch4-p10_check-subtree.rs:11:31 [INFO] [stdout] | [INFO] [stdout] 11 | use cracking::{BTree as Tree, BTreeNode as Node, 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-p10_check-subtree.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | 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-p10_check-subtree.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | mod tests { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `ch5_p3_flip_bit_to_win` [INFO] [stdout] --> src/bin/ch5-p3_flip-bit-to-win.rs:73:2 [INFO] [stdout] | [INFO] [stdout] 73 | } [INFO] [stdout] | ^ consider adding a `main` function to `src/bin/ch5-p3_flip-bit-to-win.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/bin/ch3-p3_stack-of-plates.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/ch3-p3_stack-of-plates.rs:103:1 [INFO] [stdout] | [INFO] [stdout] 103 | mod test { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `ch3_p3_stack_of_plates` [INFO] [stdout] --> src/bin/ch3-p3_stack-of-plates.rs:196:2 [INFO] [stdout] | [INFO] [stdout] 196 | } [INFO] [stdout] | ^ consider adding a `main` function to `src/bin/ch3-p3_stack-of-plates.rs` [INFO] [stdout] [INFO] [stdout] [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] error[E0601]: `main` function not found in crate `ch4_p10_check_subtree` [INFO] [stdout] --> src/bin/ch4-p10_check-subtree.rs:125:2 [INFO] [stdout] | [INFO] [stdout] 125 | } [INFO] [stdout] | ^ consider adding a `main` function to `src/bin/ch4-p10_check-subtree.rs` [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] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [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] [stderr] error: could not compile `rust-solutions` (bin "ch5-p3_flip-bit-to-win") due to 1 previous error [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/bin/ch4-p2_minimal-tree.rs:66:9 [INFO] [stdout] | [INFO] [stdout] 66 | 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-p2_minimal-tree.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | mod tests { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-solutions` (bin "ch4-p10_check-subtree") due to 1 previous error; 2 warnings emitted [INFO] [stdout] error[E0601]: `main` function not found in crate `ch4_p2_minimal_tree` [INFO] [stdout] --> src/bin/ch4-p2_minimal-tree.rs:102:2 [INFO] [stdout] | [INFO] [stdout] 102 | } [INFO] [stdout] | ^ consider adding a `main` function to `src/bin/ch4-p2_minimal-tree.rs` [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] [stderr] error: could not compile `rust-solutions` (bin "ch4-p8_first-common-ancestor") due to 1 previous error; 2 warnings emitted [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/bin/ch4-p4_check-balanced.rs:43:9 [INFO] [stdout] | [INFO] [stdout] 43 | 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-p4_check-balanced.rs:42:1 [INFO] [stdout] | [INFO] [stdout] 42 | mod tests { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `ch4_p4_check_balanced` [INFO] [stdout] --> src/bin/ch4-p4_check-balanced.rs:98:2 [INFO] [stdout] | [INFO] [stdout] 98 | } [INFO] [stdout] | ^ consider adding a `main` function to `src/bin/ch4-p4_check-balanced.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Matrix` is never used [INFO] [stdout] --> src/bin/ch1-p8_zero-matrix.rs:6:6 [INFO] [stdout] | [INFO] [stdout] 6 | type Matrix<'a> = &'a mut [&'a mut [u32]]; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `zero_matrix` is never used [INFO] [stdout] --> src/bin/ch1-p8_zero-matrix.rs:8:4 [INFO] [stdout] | [INFO] [stdout] 8 | fn zero_matrix(matrix: Matrix) -> Matrix { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stdout] warning: unused import: `Node` [INFO] [stdout] --> src/bin/ch2-p7_check-intersection.rs:11:48 [INFO] [stdout] | [INFO] [stdout] 11 | use cracking::{SinglyLinkedList as LinkedList, Node}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-solutions` (bin "ch4-p2_minimal-tree") due to 1 previous error; 1 warning emitted [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/bin/ch4-p6_successor.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | 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-p6_successor.rs:81:1 [INFO] [stdout] | [INFO] [stdout] 81 | mod tests { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `ch4_p6_successor` [INFO] [stdout] --> src/bin/ch4-p6_successor.rs:163:2 [INFO] [stdout] | [INFO] [stdout] 163 | } [INFO] [stdout] | ^ consider adding a `main` function to `src/bin/ch4-p6_successor.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `ch4_p11_random_node` [INFO] [stdout] --> src/bin/ch4-p11_random-node.rs:205:2 [INFO] [stdout] | [INFO] [stdout] 205 | } [INFO] [stdout] | ^ consider adding a `main` function to `src/bin/ch4-p11_random-node.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cell::RefCell` [INFO] [stdout] --> src/bin/ch2-p7_check-intersection.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | use std::cell::RefCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/bin/ch2-p7_check-intersection.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | 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/ch2-p7_check-intersection.rs:55:1 [INFO] [stdout] | [INFO] [stdout] 55 | mod test { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `ch2_p7_check_intersection` [INFO] [stdout] --> src/bin/ch2-p7_check-intersection.rs:146:2 [INFO] [stdout] | [INFO] [stdout] 146 | } [INFO] [stdout] | ^ consider adding a `main` function to `src/bin/ch2-p7_check-intersection.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `urlify_2` is never used [INFO] [stdout] --> src/bin/ch1-p2_urlify.rs:36:4 [INFO] [stdout] | [INFO] [stdout] 36 | fn urlify_2(url: &str) -> String { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-solutions` (bin "ch4-p4_check-balanced") due to 1 previous error; 1 warning emitted [INFO] [stderr] error: could not compile `rust-solutions` (bin "ch3-p3_stack-of-plates") due to 1 previous error; 1 warning emitted [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-solutions` (bin "ch4-p6_successor") due to 1 previous error; 1 warning emitted [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-solutions` (bin "ch2-p7_check-intersection") due to 1 previous error; 3 warnings emitted [INFO] [stdout] warning: unused variable: `r` [INFO] [stdout] --> src/bin/ch4-p11_random-node.rs:91:24 [INFO] [stdout] | [INFO] [stdout] 91 | (Some(l), Some(r)) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_r` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` 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 "ch4-p11_random-node") due to 1 previous error; 1 warning emitted [INFO] [stderr] rustc-LLVM ERROR: IO failure on output stream: No space left on device [INFO] [stderr] error: could not compile `rust-solutions` (bin "ch7-p1_deck-of-cards") [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `/opt/rustwide/rustup-home/toolchains/ad211ced81509462cdfe4c29ed10f97279a0acae/bin/rustc --crate-name ch7_p1_deck_of_cards --edition=2018 src/bin/ch7-p1_deck-of-cards.rs --error-format=json --json=diagnostic-rendered-ansi,artifacts,future-incompat --crate-type bin --emit=dep-info,link -C embed-bitcode=no -C debuginfo=2 --check-cfg 'cfg(docsrs,test)' --check-cfg 'cfg(feature, values())' -C metadata=4d45155f3816a80a -C extra-filename=-35afe465706c4514 --out-dir /opt/rustwide/target/debug/deps -L dependency=/opt/rustwide/target/debug/deps --extern derive_more=/opt/rustwide/target/debug/deps/libderive_more-9c541127766fbb25.so --extern rand=/opt/rustwide/target/debug/deps/librand-de9a267b6ea8a0f1.rlib --extern cracking=/opt/rustwide/target/debug/deps/libcracking-d885ffb47b69d22f.rlib --cap-lints=forbid` (exit status: 101) [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: LC_ALL="C" PATH="/opt/rustwide/rustup-home/toolchains/ad211ced81509462cdfe4c29ed10f97279a0acae/lib/rustlib/x86_64-unknown-linux-gnu/bin:/opt/rustwide/rustup-home/toolchains/ad211ced81509462cdfe4c29ed10f97279a0acae/lib/rustlib/x86_64-unknown-linux-gnu/bin/self-contained:/opt/rustwide/cargo-home/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" VSLANG="1033" "cc" "-m64" "/tmp/rustcbXRpls/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/rustup-home/toolchains/ad211ced81509462cdfe4c29ed10f97279a0acae/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-d6f1d924b2f4233e.rlib,libpanic_unwind-00eb06e39850f679.rlib,libobject-d0382f11baa011b6.rlib,libmemchr-b7e2e2c1a7e4643d.rlib,libaddr2line-30ced7f1999cfa29.rlib,libgimli-3ee7e14c58e31ebd.rlib,librustc_demangle-a4f649bba77ffcc5.rlib,libstd_detect-c89a3ce7ad7c3dbd.rlib,libhashbrown-e1ce1d3d110c6707.rlib,librustc_std_workspace_alloc-e0604fecbf0f39dc.rlib,libminiz_oxide-0a9c6172f04822cc.rlib,libadler2-14a33f7117abcee7.rlib,libunwind-24c16adbe5e57356.rlib,libcfg_if-d2688d4a5c8e415b.rlib,liblibc-8ff7ba6d97853f27.rlib,liballoc-5c001d095eb077ec.rlib,librustc_std_workspace_core-395a38b8e0851c9b.rlib,libcore-d453bab70303062c.rlib,libcompiler_builtins-dd545221bb4f4734.rlib}" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-B/opt/rustwide/rustup-home/toolchains/ad211ced81509462cdfe4c29ed10f97279a0acae/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/ad211ced81509462cdfe4c29ed10f97279a0acae/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/ch1_p8_zero_matrix-e68b1fd86d664bfd" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: collect2: fatal error: ld terminated with signal 7 [Bus error], core dumped [INFO] [stdout] compilation terminated. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-solutions` (bin "ch1-p8_zero-matrix") due to 1 previous error; 2 warnings emitted [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: LC_ALL="C" PATH="/opt/rustwide/rustup-home/toolchains/ad211ced81509462cdfe4c29ed10f97279a0acae/lib/rustlib/x86_64-unknown-linux-gnu/bin:/opt/rustwide/rustup-home/toolchains/ad211ced81509462cdfe4c29ed10f97279a0acae/lib/rustlib/x86_64-unknown-linux-gnu/bin/self-contained:/opt/rustwide/cargo-home/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" VSLANG="1033" "cc" "-m64" "/tmp/rustcWrNas3/symbols.o" "<4 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/rustup-home/toolchains/ad211ced81509462cdfe4c29ed10f97279a0acae/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-d6f1d924b2f4233e.rlib,libpanic_unwind-00eb06e39850f679.rlib,libobject-d0382f11baa011b6.rlib,libmemchr-b7e2e2c1a7e4643d.rlib,libaddr2line-30ced7f1999cfa29.rlib,libgimli-3ee7e14c58e31ebd.rlib,librustc_demangle-a4f649bba77ffcc5.rlib,libstd_detect-c89a3ce7ad7c3dbd.rlib,libhashbrown-e1ce1d3d110c6707.rlib,librustc_std_workspace_alloc-e0604fecbf0f39dc.rlib,libminiz_oxide-0a9c6172f04822cc.rlib,libadler2-14a33f7117abcee7.rlib,libunwind-24c16adbe5e57356.rlib,libcfg_if-d2688d4a5c8e415b.rlib,liblibc-8ff7ba6d97853f27.rlib,liballoc-5c001d095eb077ec.rlib,librustc_std_workspace_core-395a38b8e0851c9b.rlib,libcore-d453bab70303062c.rlib,libcompiler_builtins-dd545221bb4f4734.rlib}" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-B/opt/rustwide/rustup-home/toolchains/ad211ced81509462cdfe4c29ed10f97279a0acae/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/ad211ced81509462cdfe4c29ed10f97279a0acae/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/ch1_p4_palindrom_permutation-7460fe85a727aef7" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: PLEASE submit a bug report to https://github.com/llvm/llvm-project/issues/ and include the crash backtrace. [INFO] [stdout] collect2: fatal error: ld terminated with signal 7 [Bus error], core dumped [INFO] [stdout] compilation terminated. [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-solutions` (bin "ch1-p4_palindrom-permutation") due to 1 previous error [INFO] running `Command { std: "docker" "inspect" "0cb1a103f3eb821153ff896f1dd64bfd28bf389e62d4daa4c825e04b164134a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0cb1a103f3eb821153ff896f1dd64bfd28bf389e62d4daa4c825e04b164134a4", kill_on_drop: false }` [INFO] [stdout] 0cb1a103f3eb821153ff896f1dd64bfd28bf389e62d4daa4c825e04b164134a4