[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#90442458ac46b1d5eed752c316da25450f67285b for pr-81477 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshivenigma%2Fdata-structures-algorithms" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/shivenigma/data-structures-algorithms on toolchain 90442458ac46b1d5eed752c316da25450f67285b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+90442458ac46b1d5eed752c316da25450f67285b" "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-1/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" "+90442458ac46b1d5eed752c316da25450f67285b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+90442458ac46b1d5eed752c316da25450f67285b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8ddb934a84c80abe562109f838821d2479f0c2d8bebe56e6f06e68217c5ed36f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "8ddb934a84c80abe562109f838821d2479f0c2d8bebe56e6f06e68217c5ed36f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8ddb934a84c80abe562109f838821d2479f0c2d8bebe56e6f06e68217c5ed36f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ddb934a84c80abe562109f838821d2479f0c2d8bebe56e6f06e68217c5ed36f", kill_on_drop: false }` [INFO] [stdout] 8ddb934a84c80abe562109f838821d2479f0c2d8bebe56e6f06e68217c5ed36f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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" "+90442458ac46b1d5eed752c316da25450f67285b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 572407ce9bd2fda3e7dc2a67984d50e9212672c0eed64d2663cfb5a32acde867 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "572407ce9bd2fda3e7dc2a67984d50e9212672c0eed64d2663cfb5a32acde867", 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: 10 warnings emitted [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: 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.56s [INFO] running `Command { std: "docker" "inspect" "572407ce9bd2fda3e7dc2a67984d50e9212672c0eed64d2663cfb5a32acde867", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "572407ce9bd2fda3e7dc2a67984d50e9212672c0eed64d2663cfb5a32acde867", kill_on_drop: false }` [INFO] [stdout] 572407ce9bd2fda3e7dc2a67984d50e9212672c0eed64d2663cfb5a32acde867