[INFO] cloning repository https://github.com/bradleygichuru/singly-linkedlist [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bradleygichuru/singly-linkedlist" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbradleygichuru%2Fsingly-linkedlist", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbradleygichuru%2Fsingly-linkedlist'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c775106727cef1bfc1bcb289c3cc624d21fd0a8d [INFO] checking bradleygichuru/singly-linkedlist against try#9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 for pr-129249 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbradleygichuru%2Fsingly-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] validating manifest of git repo https://github.com/bradleygichuru/singly-linkedlist on toolchain 9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/bradleygichuru/singly-linkedlist [INFO] finished tweaking git repo https://github.com/bradleygichuru/singly-linkedlist [INFO] tweaked toml for git repo https://github.com/bradleygichuru/singly-linkedlist written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/bradleygichuru/singly-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" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 69d27e30d9da47f2c1e66b99a5e4abd9c90798e5fce78bcf2dcd994aa321a6d2 [INFO] running `Command { std: "docker" "start" "-a" "69d27e30d9da47f2c1e66b99a5e4abd9c90798e5fce78bcf2dcd994aa321a6d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "69d27e30d9da47f2c1e66b99a5e4abd9c90798e5fce78bcf2dcd994aa321a6d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "69d27e30d9da47f2c1e66b99a5e4abd9c90798e5fce78bcf2dcd994aa321a6d2", kill_on_drop: false }` [INFO] [stdout] 69d27e30d9da47f2c1e66b99a5e4abd9c90798e5fce78bcf2dcd994aa321a6d2 [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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+9543f8ea2aae74b8f13ac2a6e6c0ecdca9810869" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 06a150cde4c5d73bb3123b1726474fca4228eac1ceeef70f076bb318ffd95153 [INFO] running `Command { std: "docker" "start" "-a" "06a150cde4c5d73bb3123b1726474fca4228eac1ceeef70f076bb318ffd95153", kill_on_drop: false }` [INFO] [stderr] Checking my-linkedlist-imp v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: struct `Node` is never constructed [INFO] [stdout] --> src/main.rs:3:8 [INFO] [stdout] | [INFO] [stdout] 3 | struct Node { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `SinglyLinkedList` is never constructed [INFO] [stdout] --> src/main.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | struct SinglyLinkedList { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `insert_beginning`, `insert_end`, `delete_node`, `search`, and `traverse` are never used [INFO] [stdout] --> src/main.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 12 | impl SinglyLinkedList { [INFO] [stdout] | ------------------------------------------------------------------ associated items in this implementation [INFO] [stdout] 13 | fn new() -> SinglyLinkedList { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | fn insert_beginning(&mut self, data: T) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | fn insert_end(&mut self, data: T) -> bool { //TODO test [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 68 | fn delete_node(&mut self, data: T) {//TODO test [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 109 | fn search(&mut self,data: T) -> Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | fn traverse(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&mut Option>>` to `&mut Option>>` [INFO] [stdout] --> src/main.rs:53:17 [INFO] [stdout] | [INFO] [stdout] 53 | Box::leak(current_node).into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&mut Option>>` to `&mut Option>>` [INFO] [stdout] --> src/main.rs:58:40 [INFO] [stdout] | [INFO] [stdout] 58 | current_node_ptr = Box::leak(current_node).into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&mut Option>>` to `&mut Option>>` [INFO] [stdout] --> src/main.rs:72:68 [INFO] [stdout] | [INFO] [stdout] 72 | let mut prev_node_ptr: &mut Option>> = Box::leak(prev_node).into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&mut Option>>` to `&mut Option>>` [INFO] [stdout] --> src/main.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | Box::leak(current_node).into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&mut Option>>` to `&mut Option>>` [INFO] [stdout] --> src/main.rs:101:44 [INFO] [stdout] | [INFO] [stdout] 101 | current_node_ptr = Box::leak(current_node).into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&mut Option>>` to `&mut Option>>` [INFO] [stdout] --> src/main.rs:115:17 [INFO] [stdout] | [INFO] [stdout] 115 | Box::leak(current_node).into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&mut Option>>` to `&mut Option>>` [INFO] [stdout] --> src/main.rs:152:44 [INFO] [stdout] | [INFO] [stdout] 152 | current_node_ptr = Box::leak(current_node).into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&mut Option>>` to `&mut Option>>` [INFO] [stdout] --> src/main.rs:168:17 [INFO] [stdout] | [INFO] [stdout] 168 | Box::leak(current_node).into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&mut Option>>` to `&mut Option>>` [INFO] [stdout] --> src/main.rs:199:44 [INFO] [stdout] | [INFO] [stdout] 199 | current_node_ptr = Box::leak(current_node).into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `is_head` is never read [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 3 | struct Node { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 6 | is_head: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `delete_node` is never used [INFO] [stdout] --> src/main.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 12 | impl SinglyLinkedList { [INFO] [stdout] | ------------------------------------------------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 68 | fn delete_node(&mut self, data: T) {//TODO test [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&mut Option>>` to `&mut Option>>` [INFO] [stdout] --> src/main.rs:53:17 [INFO] [stdout] | [INFO] [stdout] 53 | Box::leak(current_node).into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&mut Option>>` to `&mut Option>>` [INFO] [stdout] --> src/main.rs:58:40 [INFO] [stdout] | [INFO] [stdout] 58 | current_node_ptr = Box::leak(current_node).into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&mut Option>>` to `&mut Option>>` [INFO] [stdout] --> src/main.rs:72:68 [INFO] [stdout] | [INFO] [stdout] 72 | let mut prev_node_ptr: &mut Option>> = Box::leak(prev_node).into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&mut Option>>` to `&mut Option>>` [INFO] [stdout] --> src/main.rs:74:17 [INFO] [stdout] | [INFO] [stdout] 74 | Box::leak(current_node).into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&mut Option>>` to `&mut Option>>` [INFO] [stdout] --> src/main.rs:101:44 [INFO] [stdout] | [INFO] [stdout] 101 | current_node_ptr = Box::leak(current_node).into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&mut Option>>` to `&mut Option>>` [INFO] [stdout] --> src/main.rs:115:17 [INFO] [stdout] | [INFO] [stdout] 115 | Box::leak(current_node).into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&mut Option>>` to `&mut Option>>` [INFO] [stdout] --> src/main.rs:152:44 [INFO] [stdout] | [INFO] [stdout] 152 | current_node_ptr = Box::leak(current_node).into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&mut Option>>` to `&mut Option>>` [INFO] [stdout] --> src/main.rs:168:17 [INFO] [stdout] | [INFO] [stdout] 168 | Box::leak(current_node).into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this conversion is useless `&mut Option>>` to `&mut Option>>` [INFO] [stdout] --> src/main.rs:199:44 [INFO] [stdout] | [INFO] [stdout] 199 | current_node_ptr = Box::leak(current_node).into(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `my-linkedlist-imp` (bin "my-linkedlist-imp") due to 9 previous errors; 3 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `my-linkedlist-imp` (bin "my-linkedlist-imp" test) due to 9 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "06a150cde4c5d73bb3123b1726474fca4228eac1ceeef70f076bb318ffd95153", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06a150cde4c5d73bb3123b1726474fca4228eac1ceeef70f076bb318ffd95153", kill_on_drop: false }` [INFO] [stdout] 06a150cde4c5d73bb3123b1726474fca4228eac1ceeef70f076bb318ffd95153