[INFO] cloning repository https://github.com/jerrymusaga/algorithms [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/jerrymusaga/algorithms" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjerrymusaga%2Falgorithms", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjerrymusaga%2Falgorithms'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c32504c726338922ff6788e29fa19843307921ac [INFO] checking jerrymusaga/algorithms against try#b10dae361a61486cfbdcd3aae3877ee17e00d192 for pr-153912 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjerrymusaga%2Falgorithms" "/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/jerrymusaga/algorithms [INFO] finished tweaking git repo https://github.com/jerrymusaga/algorithms [INFO] tweaked toml for git repo https://github.com/jerrymusaga/algorithms written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/jerrymusaga/algorithms on toolchain b10dae361a61486cfbdcd3aae3877ee17e00d192 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b10dae361a61486cfbdcd3aae3877ee17e00d192" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/jerrymusaga/algorithms 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" "+b10dae361a61486cfbdcd3aae3877ee17e00d192" "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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b10dae361a61486cfbdcd3aae3877ee17e00d192" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4c827e85cc611d58fe0abf9f2aa18d0e2992d7d3565937d14a8bdbaf25ea81de [INFO] running `Command { std: "docker" "start" "-a" "4c827e85cc611d58fe0abf9f2aa18d0e2992d7d3565937d14a8bdbaf25ea81de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4c827e85cc611d58fe0abf9f2aa18d0e2992d7d3565937d14a8bdbaf25ea81de", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c827e85cc611d58fe0abf9f2aa18d0e2992d7d3565937d14a8bdbaf25ea81de", kill_on_drop: false }` [INFO] [stdout] 4c827e85cc611d58fe0abf9f2aa18d0e2992d7d3565937d14a8bdbaf25ea81de [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+b10dae361a61486cfbdcd3aae3877ee17e00d192" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fc754b68cd65a863626bd7c2b25c2b90969ae8cde172e10ead0bae1754180790 [INFO] running `Command { std: "docker" "start" "-a" "fc754b68cd65a863626bd7c2b25c2b90969ae8cde172e10ead0bae1754180790", kill_on_drop: false }` [INFO] [stderr] Checking sha2 v0.10.8 [INFO] [stderr] Checking sha3 v0.10.8 [INFO] [stderr] Checking algo_with_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `new_head` [INFO] [stdout] --> src/doublylinkedlist.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | let new_head = Some(Rc::new(RefCell::new(Node { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_head` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Node` is never constructed [INFO] [stdout] --> src/singlylinkedlist.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | struct Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LinkedList` is never constructed [INFO] [stdout] --> src/singlylinkedlist.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct LinkedList { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add`, `remove`, and `print` are never used [INFO] [stdout] --> src/singlylinkedlist.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 12 | impl LinkedList { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 13 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | fn add(&mut self, element: i32) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | fn remove(&mut self) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | fn print(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Pointer` is never used [INFO] [stdout] --> src/singlylinkedlist.rs:68:6 [INFO] [stdout] | [INFO] [stdout] 68 | type Pointer = Option>; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/singlylinkedlist.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MyNode` is never constructed [INFO] [stdout] --> src/binarytree.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct MyNode{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/binarytree.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 12 | impl MyNode{ [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 13 | fn new(value: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MyBinaryTree` is never constructed [INFO] [stdout] --> src/binarytree.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | struct MyBinaryTree{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `insert_new_node`, `breadth_first`, `dfs`, and `dfs_recursive` are never used [INFO] [stdout] --> src/binarytree.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 27 | impl MyBinaryTree{ [INFO] [stdout] | --------------------------------------- associated items in this implementation [INFO] [stdout] 28 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | fn insert_new_node(&mut self, value: T){ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | fn breadth_first(&mut self){ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | fn dfs(&self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | fn dfs_recursive(my_node: &Option>>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/binarytree.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bubblesort` is never used [INFO] [stdout] --> src/bubblesort.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn bubblesort(mut array: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/bubblesort.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Node` is never constructed [INFO] [stdout] --> src/doublylinkedlist.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct Node{ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DoublyLinkedList` is never constructed [INFO] [stdout] --> src/doublylinkedlist.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct DoublyLinkedList { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `add` are never used [INFO] [stdout] --> src/doublylinkedlist.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 14 | impl DoublyLinkedList { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 15 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | fn add(&mut self, element: i32){ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Pointer` is never used [INFO] [stdout] --> src/doublylinkedlist.rs:37:6 [INFO] [stdout] | [INFO] [stdout] 37 | type Pointer = Option>>; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `new_head` [INFO] [stdout] --> src/doublylinkedlist.rs:23:13 [INFO] [stdout] | [INFO] [stdout] 23 | let new_head = Some(Rc::new(RefCell::new(Node { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_new_head` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Node` is never constructed [INFO] [stdout] --> src/singlylinkedlist.rs:2:8 [INFO] [stdout] | [INFO] [stdout] 2 | struct Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LinkedList` is never constructed [INFO] [stdout] --> src/singlylinkedlist.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct LinkedList { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add`, `remove`, and `print` are never used [INFO] [stdout] --> src/singlylinkedlist.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 12 | impl LinkedList { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 13 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | fn add(&mut self, element: i32) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | fn remove(&mut self) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | fn print(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Pointer` is never used [INFO] [stdout] --> src/singlylinkedlist.rs:68:6 [INFO] [stdout] | [INFO] [stdout] 68 | type Pointer = Option>; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/singlylinkedlist.rs:70:8 [INFO] [stdout] | [INFO] [stdout] 70 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MyNode` is never constructed [INFO] [stdout] --> src/binarytree.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | struct MyNode{ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/binarytree.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 12 | impl MyNode{ [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 13 | fn new(value: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MyBinaryTree` is never constructed [INFO] [stdout] --> src/binarytree.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | struct MyBinaryTree{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `insert_new_node`, `breadth_first`, `dfs`, and `dfs_recursive` are never used [INFO] [stdout] --> src/binarytree.rs:28:8 [INFO] [stdout] | [INFO] [stdout] 27 | impl MyBinaryTree{ [INFO] [stdout] | --------------------------------------- associated items in this implementation [INFO] [stdout] 28 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | fn insert_new_node(&mut self, value: T){ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | fn breadth_first(&mut self){ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | fn dfs(&self) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | fn dfs_recursive(my_node: &Option>>) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/binarytree.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 76 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bubblesort` is never used [INFO] [stdout] --> src/bubblesort.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn bubblesort(mut array: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run` is never used [INFO] [stdout] --> src/bubblesort.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn run() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Node` is never constructed [INFO] [stdout] --> src/doublylinkedlist.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct Node{ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DoublyLinkedList` is never constructed [INFO] [stdout] --> src/doublylinkedlist.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct DoublyLinkedList { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `add` are never used [INFO] [stdout] --> src/doublylinkedlist.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 14 | impl DoublyLinkedList { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 15 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | fn add(&mut self, element: i32){ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `Pointer` is never used [INFO] [stdout] --> src/doublylinkedlist.rs:37:6 [INFO] [stdout] | [INFO] [stdout] 37 | type Pointer = Option>>; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.31s [INFO] running `Command { std: "docker" "inspect" "fc754b68cd65a863626bd7c2b25c2b90969ae8cde172e10ead0bae1754180790", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fc754b68cd65a863626bd7c2b25c2b90969ae8cde172e10ead0bae1754180790", kill_on_drop: false }` [INFO] [stdout] fc754b68cd65a863626bd7c2b25c2b90969ae8cde172e10ead0bae1754180790