[INFO] cloning repository https://github.com/shivenigma/data-structures-algorithms [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shivenigma/data-structures-algorithms" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshivenigma%2Fdata-structures-algorithms", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshivenigma%2Fdata-structures-algorithms'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f28a6f363eed2e6320d497c7c6072a6f3feee124 [INFO] checking shivenigma/data-structures-algorithms against master#c5fbcd35a8217a17f6b63a22217ace06cf8f5f02 for pr-86194 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshivenigma%2Fdata-structures-algorithms" "/workspace/builds/worker-15/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-15/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/shivenigma/data-structures-algorithms on toolchain c5fbcd35a8217a17f6b63a22217ace06cf8f5f02 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c5fbcd35a8217a17f6b63a22217ace06cf8f5f02" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/shivenigma/data-structures-algorithms [INFO] finished tweaking git repo https://github.com/shivenigma/data-structures-algorithms [INFO] tweaked toml for git repo https://github.com/shivenigma/data-structures-algorithms written to /workspace/builds/worker-15/source/Cargo.toml [INFO] crate git repo https://github.com/shivenigma/data-structures-algorithms already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+c5fbcd35a8217a17f6b63a22217ace06cf8f5f02" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+c5fbcd35a8217a17f6b63a22217ace06cf8f5f02" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] a397ffce58ae528ce7aba93581289258d3dd5628b24a5b5ea896c6c93af81b2e [INFO] running `Command { std: "docker" "start" "-a" "a397ffce58ae528ce7aba93581289258d3dd5628b24a5b5ea896c6c93af81b2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "a397ffce58ae528ce7aba93581289258d3dd5628b24a5b5ea896c6c93af81b2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a397ffce58ae528ce7aba93581289258d3dd5628b24a5b5ea896c6c93af81b2e", kill_on_drop: false }` [INFO] [stdout] a397ffce58ae528ce7aba93581289258d3dd5628b24a5b5ea896c6c93af81b2e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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" "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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+c5fbcd35a8217a17f6b63a22217ace06cf8f5f02" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 58883497f1822f95b45cc1e72e2d123a0bd805553cf8fa4839cb401182f6f1b8 [INFO] running `Command { std: "docker" "start" "-a" "58883497f1822f95b45cc1e72e2d123a0bd805553cf8fa4839cb401182f6f1b8", kill_on_drop: false }` [INFO] [stderr] Checking data-structures v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `element` [INFO] [stdout] --> src/ds/singly_linked_list.rs:12:30 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn push_front(&self, element: T) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_element` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `element` [INFO] [stdout] --> src/ds/singly_linked_list.rs:21:29 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn push_back(&self, element: T){ [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `element` [INFO] [stdout] --> src/ds/singly_linked_list.rs:29:30 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn add_before(&self, element:T, index: i32){ [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/ds/singly_linked_list.rs:29:41 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn add_before(&self, element:T, index: i32){ [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `element` [INFO] [stdout] --> src/ds/singly_linked_list.rs:31:29 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn add_after(&self, element: T, index: i32){} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/ds/singly_linked_list.rs:31:41 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn add_after(&self, element: T, index: i32){} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `element` [INFO] [stdout] --> src/ds/singly_linked_list.rs:32:24 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn find(&self, element: T) -> Option{ [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `element` [INFO] [stdout] --> src/ds/singly_linked_list.rs:35:25 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn erase(&self, element: T){ [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `value` [INFO] [stdout] --> src/ds/singly_linked_list.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | value: Box, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `next` [INFO] [stdout] --> src/ds/singly_linked_list.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | next: Option> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `element` [INFO] [stdout] --> src/ds/singly_linked_list.rs:12:30 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn push_front(&self, element: T) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_element` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `element` [INFO] [stdout] --> src/ds/singly_linked_list.rs:21:29 [INFO] [stdout] | [INFO] [stdout] 21 | pub fn push_back(&self, element: T){ [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `element` [INFO] [stdout] --> src/ds/singly_linked_list.rs:29:30 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn add_before(&self, element:T, index: i32){ [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/ds/singly_linked_list.rs:29:41 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn add_before(&self, element:T, index: i32){ [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `element` [INFO] [stdout] --> src/ds/singly_linked_list.rs:31:29 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn add_after(&self, element: T, index: i32){} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/ds/singly_linked_list.rs:31:41 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn add_after(&self, element: T, index: i32){} [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `element` [INFO] [stdout] --> src/ds/singly_linked_list.rs:32:24 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn find(&self, element: T) -> Option{ [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `element` [INFO] [stdout] --> src/ds/singly_linked_list.rs:35:25 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn erase(&self, element: T){ [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_element` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `value` [INFO] [stdout] --> src/ds/singly_linked_list.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | value: Box, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `next` [INFO] [stdout] --> src/ds/singly_linked_list.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | next: Option> [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 10 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.11s [INFO] running `Command { std: "docker" "inspect" "58883497f1822f95b45cc1e72e2d123a0bd805553cf8fa4839cb401182f6f1b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58883497f1822f95b45cc1e72e2d123a0bd805553cf8fa4839cb401182f6f1b8", kill_on_drop: false }` [INFO] [stdout] 58883497f1822f95b45cc1e72e2d123a0bd805553cf8fa4839cb401182f6f1b8