[INFO] cloning repository https://github.com/BHChen24/Rust-LinkedList [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/BHChen24/Rust-LinkedList" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBHChen24%2FRust-LinkedList", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBHChen24%2FRust-LinkedList'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f66914303d4c6080783e261e5d475b181218d8c1 [INFO] checking BHChen24/Rust-LinkedList against try#93086cfebfccb79083c59d0d3b2052944bba643c for pr-146440-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBHChen24%2FRust-LinkedList" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/BHChen24/Rust-LinkedList [INFO] finished tweaking git repo https://github.com/BHChen24/Rust-LinkedList [INFO] tweaked toml for git repo https://github.com/BHChen24/Rust-LinkedList written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/BHChen24/Rust-LinkedList on toolchain 93086cfebfccb79083c59d0d3b2052944bba643c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+93086cfebfccb79083c59d0d3b2052944bba643c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/BHChen24/Rust-LinkedList 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" "+93086cfebfccb79083c59d0d3b2052944bba643c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+93086cfebfccb79083c59d0d3b2052944bba643c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b4660b66d72e20556e8a2c58d426a5d34e0e815e17cc85bc98e3f150bc4b024e [INFO] running `Command { std: "docker" "start" "-a" "b4660b66d72e20556e8a2c58d426a5d34e0e815e17cc85bc98e3f150bc4b024e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b4660b66d72e20556e8a2c58d426a5d34e0e815e17cc85bc98e3f150bc4b024e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4660b66d72e20556e8a2c58d426a5d34e0e815e17cc85bc98e3f150bc4b024e", kill_on_drop: false }` [INFO] [stdout] b4660b66d72e20556e8a2c58d426a5d34e0e815e17cc85bc98e3f150bc4b024e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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" "+93086cfebfccb79083c59d0d3b2052944bba643c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c39a3cab7721e1376321eaee9417e3beb3335e285d2305c419d9a534b1d7bf2f [INFO] running `Command { std: "docker" "start" "-a" "c39a3cab7721e1376321eaee9417e3beb3335e285d2305c419d9a534b1d7bf2f", kill_on_drop: false }` [INFO] [stderr] Checking rust-dsa v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `my_list` [INFO] [stdout] --> src/my_linked_list_2.rs:472:13 [INFO] [stdout] | [INFO] [stdout] 472 | let my_list: MyLinkedList2 = MyLinkedList2::new(); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_my_list` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `check_available_index`, `iter`, and `iter_mut` are never used [INFO] [stdout] --> src/my_linked_list_2.rs:112:8 [INFO] [stdout] | [INFO] [stdout] 78 | impl MyLinkedList2 { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 112 | fn check_available_index(&self, idx: usize) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 308 | fn iter(&self) -> Iter<'_, T> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 317 | fn iter_mut(&mut self) -> IterMut<'_, T> { [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 `Iter` is never constructed [INFO] [stdout] --> src/my_linked_list_2.rs:373:8 [INFO] [stdout] | [INFO] [stdout] 373 | struct Iter<'a, T> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IterMut` is never constructed [INFO] [stdout] --> src/my_linked_list_2.rs:414:8 [INFO] [stdout] | [INFO] [stdout] 414 | struct IterMut<'a, T> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `BSTIter` is never constructed [INFO] [stdout] --> src/mybst.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct BSTIter<'a, T> [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] = note: `#[deny(unused_unconstructable_pub_structs)]` (part of `#[deny(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `BSTIterMut` is never constructed [INFO] [stdout] --> src/mybst.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 99 | pub struct BSTIterMut<'a, T> [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_ref`, `get_mut`, and `take` are never used [INFO] [stdout] --> src/mybst.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 14 | / impl BSTNode [INFO] [stdout] 15 | | where [INFO] [stdout] 16 | | T: Ord, [INFO] [stdout] | |___________- associated items in this implementation [INFO] [stdout] 17 | { [INFO] [stdout] 18 | fn new(data: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | fn get_ref(&self) -> &T { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | fn get_mut(&mut self) -> &mut T { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | fn take(self) -> T { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tree` is never read [INFO] [stdout] --> src/mybst.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct BSTIntoIter [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 87 | { [INFO] [stdout] 88 | tree: MyBST, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `stack` is never read [INFO] [stdout] --> src/mybst.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct BSTIter<'a, T> [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 96 | stack: Vec<&'a BSTNode>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `stack` is never read [INFO] [stdout] --> src/mybst.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 99 | pub struct BSTIterMut<'a, T> [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 103 | stack: Vec<&'a mut BSTNode>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-dsa` (lib test) due to 2 previous errors; 8 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: methods `check_available_index`, `into_iter`, `iter`, and `iter_mut` are never used [INFO] [stdout] --> src/my_linked_list_2.rs:112:8 [INFO] [stdout] | [INFO] [stdout] 78 | impl MyLinkedList2 { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 112 | fn check_available_index(&self, idx: usize) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 304 | fn into_iter(self) -> IntoIter { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 308 | fn iter(&self) -> Iter<'_, T> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 317 | fn iter_mut(&mut self) -> IterMut<'_, T> { [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 `IntoIter` is never constructed [INFO] [stdout] --> src/my_linked_list_2.rs:345:8 [INFO] [stdout] | [INFO] [stdout] 345 | struct IntoIter { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Iter` is never constructed [INFO] [stdout] --> src/my_linked_list_2.rs:373:8 [INFO] [stdout] | [INFO] [stdout] 373 | struct Iter<'a, T> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `IterMut` is never constructed [INFO] [stdout] --> src/my_linked_list_2.rs:414:8 [INFO] [stdout] | [INFO] [stdout] 414 | struct IterMut<'a, T> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `BSTIter` is never constructed [INFO] [stdout] --> src/mybst.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct BSTIter<'a, T> [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] = note: `#[deny(unused_unconstructable_pub_structs)]` (part of `#[deny(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: struct `BSTIterMut` is never constructed [INFO] [stdout] --> src/mybst.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 99 | pub struct BSTIterMut<'a, T> [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `pub` struct has private fields, no public constructor, and is not otherwise reachable through the external API, so consider providing a public constructor or removing it [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `get_ref`, `get_mut`, and `take` are never used [INFO] [stdout] --> src/mybst.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 14 | / impl BSTNode [INFO] [stdout] 15 | | where [INFO] [stdout] 16 | | T: Ord, [INFO] [stdout] | |___________- associated items in this implementation [INFO] [stdout] 17 | { [INFO] [stdout] 18 | fn new(data: T) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | fn get_ref(&self) -> &T { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | fn get_mut(&mut self) -> &mut T { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | fn take(self) -> T { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tree` is never read [INFO] [stdout] --> src/mybst.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 86 | pub struct BSTIntoIter [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] 87 | { [INFO] [stdout] 88 | tree: MyBST, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `stack` is never read [INFO] [stdout] --> src/mybst.rs:96:5 [INFO] [stdout] | [INFO] [stdout] 92 | pub struct BSTIter<'a, T> [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 96 | stack: Vec<&'a BSTNode>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `stack` is never read [INFO] [stdout] --> src/mybst.rs:103:5 [INFO] [stdout] | [INFO] [stdout] 99 | pub struct BSTIterMut<'a, T> [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 103 | stack: Vec<&'a mut BSTNode>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rust-dsa` (lib) due to 2 previous errors; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "c39a3cab7721e1376321eaee9417e3beb3335e285d2305c419d9a534b1d7bf2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c39a3cab7721e1376321eaee9417e3beb3335e285d2305c419d9a534b1d7bf2f", kill_on_drop: false }` [INFO] [stdout] c39a3cab7721e1376321eaee9417e3beb3335e285d2305c419d9a534b1d7bf2f