[INFO] cloning repository https://github.com/mirumirumo/algo_rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mirumirumo/algo_rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmirumirumo%2Falgo_rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmirumirumo%2Falgo_rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3dc92c5d36c1d6c08a84590a84627645ac6ec7ca [INFO] checking mirumirumo/algo_rs against master#613bdd49978298648ed05ace086bd1ecad54b44a for pr-136458 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmirumirumo%2Falgo_rs" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mirumirumo/algo_rs on toolchain 613bdd49978298648ed05ace086bd1ecad54b44a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+613bdd49978298648ed05ace086bd1ecad54b44a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mirumirumo/algo_rs [INFO] finished tweaking git repo https://github.com/mirumirumo/algo_rs [INFO] tweaked toml for git repo https://github.com/mirumirumo/algo_rs written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/mirumirumo/algo_rs 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" "+613bdd49978298648ed05ace086bd1ecad54b44a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded proconio v0.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+613bdd49978298648ed05ace086bd1ecad54b44a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c0bb745ed12e7355f271f54098fbbe25a66e4f71fa9bd3851fad3107daaaa064 [INFO] running `Command { std: "docker" "start" "-a" "c0bb745ed12e7355f271f54098fbbe25a66e4f71fa9bd3851fad3107daaaa064", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c0bb745ed12e7355f271f54098fbbe25a66e4f71fa9bd3851fad3107daaaa064", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c0bb745ed12e7355f271f54098fbbe25a66e4f71fa9bd3851fad3107daaaa064", kill_on_drop: false }` [INFO] [stdout] c0bb745ed12e7355f271f54098fbbe25a66e4f71fa9bd3851fad3107daaaa064 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+613bdd49978298648ed05ace086bd1ecad54b44a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ff1dc1ea15ab3b5671f5c2c18e399cbac320b8b92c34f0ec96c1f18e929536b1 [INFO] running `Command { std: "docker" "start" "-a" "ff1dc1ea15ab3b5671f5c2c18e399cbac320b8b92c34f0ec96c1f18e929536b1", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Compiling proconio-derive v0.2.1 [INFO] [stderr] Checking proconio v0.5.0 [INFO] [stderr] Checking algo_rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `uf` [INFO] [stdout] --> src/main.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | let uf = UnionFind::new(10); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_uf` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `linked_list` [INFO] [stdout] --> src/main.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | let mut linked_list = List::::new(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_linked_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | let mut linked_list = List::::new(); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `element`, `prev`, and `next` are never read [INFO] [stdout] --> src/container/linkedList.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | struct Node { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 8 | element: T, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 9 | prev: Option>>>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | next: Option>>>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `head`, `tail`, and `size` are never read [INFO] [stdout] --> src/container/linkedList.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct List { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 15 | head: Option>>>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 16 | tail: Option>>>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 17 | size: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `List` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `push`, `pop`, and `add` are never used [INFO] [stdout] --> src/container/linkedList.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl List { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn push(&mut self, element: T) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn pop(&mut self) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn add(&mut self, element: T) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Deque` is never constructed [INFO] [stdout] --> src/container/queue.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Deque { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/container/queue.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Deque { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 10 | pub fn new(n: usize) -> Deque { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn push_back(&mut self, x: T) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn push_front(&mut self, x: T) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn pop_back(&mut self) -> Option<&T> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn pop_front(&mut self) -> Option<&T> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn front(&self) -> Option<&T> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn back(&self) -> Option<&T> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `parent` and `rank` are never read [INFO] [stdout] --> src/container/uf.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct UnionFind { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 4 | parent: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 5 | rank: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UnionFind` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_root`, `find`, and `union` are never used [INFO] [stdout] --> src/container/uf.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl UnionFind { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn is_root(&self, x: usize) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn find(&mut self, x: usize) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn union(&mut self, x: usize, y: usize) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `linkedList` should have a snake case name [INFO] [stdout] --> src/container.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod linkedList; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `linked_list` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `uf` [INFO] [stdout] --> src/main.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | let uf = UnionFind::new(10); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_uf` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `linked_list` [INFO] [stdout] --> src/main.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | let mut linked_list = List::::new(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_linked_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | let mut linked_list = List::::new(); [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `element`, `prev`, and `next` are never read [INFO] [stdout] --> src/container/linkedList.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | struct Node { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 8 | element: T, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 9 | prev: Option>>>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | next: Option>>>, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Node` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `head`, `tail`, and `size` are never read [INFO] [stdout] --> src/container/linkedList.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct List { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 15 | head: Option>>>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 16 | tail: Option>>>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 17 | size: usize, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `List` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `push`, `pop`, and `add` are never used [INFO] [stdout] --> src/container/linkedList.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl List { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn push(&mut self, element: T) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn pop(&mut self) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn add(&mut self, element: T) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Deque` is never constructed [INFO] [stdout] --> src/container/queue.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Deque { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/container/queue.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Deque { [INFO] [stdout] | ---------------- associated items in this implementation [INFO] [stdout] 10 | pub fn new(n: usize) -> Deque { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn push_back(&mut self, x: T) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn push_front(&mut self, x: T) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn pop_back(&mut self) -> Option<&T> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn pop_front(&mut self) -> Option<&T> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn front(&self) -> Option<&T> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 49 | pub fn back(&self) -> Option<&T> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `parent` and `rank` are never read [INFO] [stdout] --> src/container/uf.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct UnionFind { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 4 | parent: Vec, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 5 | rank: Vec, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UnionFind` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_root`, `find`, and `union` are never used [INFO] [stdout] --> src/container/uf.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 7 | impl UnionFind { [INFO] [stdout] | -------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 15 | pub fn is_root(&self, x: usize) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | pub fn find(&mut self, x: usize) -> usize { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn union(&mut self, x: usize, y: usize) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `linkedList` should have a snake case name [INFO] [stdout] --> src/container.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod linkedList; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `linked_list` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.81s [INFO] running `Command { std: "docker" "inspect" "ff1dc1ea15ab3b5671f5c2c18e399cbac320b8b92c34f0ec96c1f18e929536b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff1dc1ea15ab3b5671f5c2c18e399cbac320b8b92c34f0ec96c1f18e929536b1", kill_on_drop: false }` [INFO] [stdout] ff1dc1ea15ab3b5671f5c2c18e399cbac320b8b92c34f0ec96c1f18e929536b1