[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 master#507271bc119683008ec719ecee48814e8ac86c65 for pr-146440
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBHChen24%2FRust-LinkedList" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/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-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/BHChen24/Rust-LinkedList on toolchain 507271bc119683008ec719ecee48814e8ac86c65
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+507271bc119683008ec719ecee48814e8ac86c65" "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" "+507271bc119683008ec719ecee48814e8ac86c65" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+507271bc119683008ec719ecee48814e8ac86c65" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] bcb150ff72ab18823d5d97166084e65d44c31bf1a2ed68b58387edf23adb0bca
[INFO] running `Command { std: "docker" "start" "-a" "bcb150ff72ab18823d5d97166084e65d44c31bf1a2ed68b58387edf23adb0bca", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "bcb150ff72ab18823d5d97166084e65d44c31bf1a2ed68b58387edf23adb0bca", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bcb150ff72ab18823d5d97166084e65d44c31bf1a2ed68b58387edf23adb0bca", kill_on_drop: false }`
[INFO] [stdout] bcb150ff72ab18823d5d97166084e65d44c31bf1a2ed68b58387edf23adb0bca
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+507271bc119683008ec719ecee48814e8ac86c65" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6a84a3f6d670156f8ac8d1c012a4b4fcd5d1ae1576a50bd6492f6d8a506383ac
[INFO] running `Command { std: "docker" "start" "-a" "6a84a3f6d670156f8ac8d1c012a4b4fcd5d1ae1576a50bd6492f6d8a506383ac", 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<i32> = 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`, `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<T> MyLinkedList2<T> {
[INFO] [stdout]     | ------------------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 112 |     fn check_available_index(&self, idx: usize) -> Result<(), Box<dyn Error>> {
[INFO] [stdout]     |        ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 304 |     fn into_iter(self) -> IntoIter<T> {
[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<T> {
[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] 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<T> BSTNode<T>
[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<T: Ord>
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout] 87 | {
[INFO] [stdout] 88 |     tree: MyBST<T>,
[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<T>>,
[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<T>>,
[INFO] [stdout]     |     ^^^^^
[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<T> MyLinkedList2<T> {
[INFO] [stdout]     | ------------------------ methods in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 112 |     fn check_available_index(&self, idx: usize) -> Result<(), Box<dyn Error>> {
[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] 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<T> BSTNode<T>
[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<T: Ord>
[INFO] [stdout]    |            ----------- field in this struct
[INFO] [stdout] 87 | {
[INFO] [stdout] 88 |     tree: MyBST<T>,
[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<T>>,
[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<T>>,
[INFO] [stdout]     |     ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cmp::Reverse`
[INFO] [stdout]  --> src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::cmp::Reverse;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::cmp::Reverse`
[INFO] [stdout]  --> src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::cmp::Reverse;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.43s
[INFO] running `Command { std: "docker" "inspect" "6a84a3f6d670156f8ac8d1c012a4b4fcd5d1ae1576a50bd6492f6d8a506383ac", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6a84a3f6d670156f8ac8d1c012a4b4fcd5d1ae1576a50bd6492f6d8a506383ac", kill_on_drop: false }`
[INFO] [stdout] 6a84a3f6d670156f8ac8d1c012a4b4fcd5d1ae1576a50bd6492f6d8a506383ac
