[INFO] cloning repository https://github.com/tlehman/gogame [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tlehman/gogame" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftlehman%2Fgogame", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftlehman%2Fgogame'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 13b2e1aba16fa8bb1eee115933bdd5f194c2ebaa [INFO] testing tlehman/gogame against 1.59.0 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftlehman%2Fgogame" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tlehman/gogame on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/tlehman/gogame [INFO] finished tweaking git repo https://github.com/tlehman/gogame [INFO] tweaked toml for git repo https://github.com/tlehman/gogame written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/tlehman/gogame already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 91ff6a97741ad027e4099ef0bc049d60d2dfec8951eda33a1eec84f8284f09e6 [INFO] running `Command { std: "docker" "start" "-a" "91ff6a97741ad027e4099ef0bc049d60d2dfec8951eda33a1eec84f8284f09e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "91ff6a97741ad027e4099ef0bc049d60d2dfec8951eda33a1eec84f8284f09e6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "91ff6a97741ad027e4099ef0bc049d60d2dfec8951eda33a1eec84f8284f09e6", kill_on_drop: false }` [INFO] [stdout] 91ff6a97741ad027e4099ef0bc049d60d2dfec8951eda33a1eec84f8284f09e6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 86680ca5b3ae93064e864cd0ae053b06fd753c3dd07b07986f942eb207bef889 [INFO] running `Command { std: "docker" "start" "-a" "86680ca5b3ae93064e864cd0ae053b06fd753c3dd07b07986f942eb207bef889", kill_on_drop: false }` [INFO] [stderr] Compiling gogame v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning[E0170]: pattern binding `Empty` is named the same as one of the variants of the type `Color` [INFO] [stdout] --> src/main.rs:36:36 [INFO] [stdout] | [INFO] [stdout] 36 | let s: &str = match self { Empty => "", White => "white", Black => "black", }; [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `Color::Empty` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bindings_with_variant_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `White` is named the same as one of the variants of the type `Color` [INFO] [stdout] --> src/main.rs:36:49 [INFO] [stdout] | [INFO] [stdout] 36 | let s: &str = match self { Empty => "", White => "white", Black => "black", }; [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `Color::White` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `Black` is named the same as one of the variants of the type `Color` [INFO] [stdout] --> src/main.rs:36:67 [INFO] [stdout] | [INFO] [stdout] 36 | let s: &str = match self { Empty => "", White => "white", Black => "black", }; [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `Color::Black` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:36:49 [INFO] [stdout] | [INFO] [stdout] 36 | let s: &str = match self { Empty => "", White => "white", Black => "black", }; [INFO] [stdout] | ----- ^^^^^ unreachable pattern [INFO] [stdout] | | [INFO] [stdout] | matches any value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:36:67 [INFO] [stdout] | [INFO] [stdout] 36 | let s: &str = match self { Empty => "", White => "white", Black => "black", }; [INFO] [stdout] | ----- matches any value ^^^^^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Empty` [INFO] [stdout] --> src/main.rs:36:36 [INFO] [stdout] | [INFO] [stdout] 36 | let s: &str = match self { Empty => "", White => "white", Black => "black", }; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_Empty` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `White` [INFO] [stdout] --> src/main.rs:36:49 [INFO] [stdout] | [INFO] [stdout] 36 | let s: &str = match self { Empty => "", White => "white", Black => "black", }; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_White` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Black` [INFO] [stdout] --> src/main.rs:36:67 [INFO] [stdout] | [INFO] [stdout] 36 | let s: &str = match self { Empty => "", White => "white", Black => "black", }; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_Black` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `to_add_node` is never read [INFO] [stdout] --> src/main.rs:95:17 [INFO] [stdout] | [INFO] [stdout] 95 | to_add_node = false; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Empty` [INFO] [stdout] --> src/main.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | enum Color { Empty, Black, White } [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `contained_in` [INFO] [stdout] --> src/main.rs:20:4 [INFO] [stdout] | [INFO] [stdout] 20 | fn contained_in(n: &Node, v: &VecDeque) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `neighbors_of` [INFO] [stdout] --> src/main.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 71 | fn neighbors_of(&self, n: Node) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find_component_containing` [INFO] [stdout] --> src/main.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 119 | fn find_component_containing(&mut self, u: Node) -> HashSet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_edge_black` [INFO] [stdout] --> src/main.rs:156:8 [INFO] [stdout] | [INFO] [stdout] 156 | fn add_edge_black(&mut self, src: (i16, i16), dst: (i16, i16)) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_edge_white` [INFO] [stdout] --> src/main.rs:168:8 [INFO] [stdout] | [INFO] [stdout] 168 | fn add_edge_white(&mut self, src: (i16, i16), dst: (i16, i16)) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `find_component_doubleton` [INFO] [stdout] --> src/main.rs:263:4 [INFO] [stdout] | [INFO] [stdout] 263 | fn find_component_doubleton() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Empty` should have a snake case name [INFO] [stdout] --> src/main.rs:36:36 [INFO] [stdout] | [INFO] [stdout] 36 | let s: &str = match self { Empty => "", White => "white", Black => "black", }; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `empty` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `White` should have a snake case name [INFO] [stdout] --> src/main.rs:36:49 [INFO] [stdout] | [INFO] [stdout] 36 | let s: &str = match self { Empty => "", White => "white", Black => "black", }; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `white` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Black` should have a snake case name [INFO] [stdout] --> src/main.rs:36:67 [INFO] [stdout] | [INFO] [stdout] 36 | let s: &str = match self { Empty => "", White => "white", Black => "black", }; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `black` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | write!(f, "\"({},{})\" [pos=\"{},{}!\"", self.x, self.y, self.x, self.y); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | / match self.c { [INFO] [stdout] 51 | | Color::Black => write!(f, ",style=filled,fillcolor=\"#666666\"];"), [INFO] [stdout] 52 | | Color::White => write!(f, ",style=filled,fillcolor=\"white\"];"), [INFO] [stdout] 53 | | Color::Empty => write!(f, "];") [INFO] [stdout] 54 | | }; [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:184:9 [INFO] [stdout] | [INFO] [stdout] 184 | write!(f, "graph {{\n"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:186:13 [INFO] [stdout] | [INFO] [stdout] 186 | write!(f, "{}\n", self.nodes[i]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:189:13 [INFO] [stdout] | [INFO] [stdout] 189 | write!(f, "{}\n", self.edges[i]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 24 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0170`. [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.71s [INFO] running `Command { std: "docker" "inspect" "86680ca5b3ae93064e864cd0ae053b06fd753c3dd07b07986f942eb207bef889", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86680ca5b3ae93064e864cd0ae053b06fd753c3dd07b07986f942eb207bef889", kill_on_drop: false }` [INFO] [stdout] 86680ca5b3ae93064e864cd0ae053b06fd753c3dd07b07986f942eb207bef889 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ae84ff14273fadbe7a90e2fba49acc8ce6fb39df2cb3f95f00d464f3901fef33 [INFO] running `Command { std: "docker" "start" "-a" "ae84ff14273fadbe7a90e2fba49acc8ce6fb39df2cb3f95f00d464f3901fef33", kill_on_drop: false }` [INFO] [stderr] Compiling gogame v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning[E0170]: pattern binding `Empty` is named the same as one of the variants of the type `Color` [INFO] [stdout] --> src/main.rs:36:36 [INFO] [stdout] | [INFO] [stdout] 36 | let s: &str = match self { Empty => "", White => "white", Black => "black", }; [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `Color::Empty` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bindings_with_variant_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `White` is named the same as one of the variants of the type `Color` [INFO] [stdout] --> src/main.rs:36:49 [INFO] [stdout] | [INFO] [stdout] 36 | let s: &str = match self { Empty => "", White => "white", Black => "black", }; [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `Color::White` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0170]: pattern binding `Black` is named the same as one of the variants of the type `Color` [INFO] [stdout] --> src/main.rs:36:67 [INFO] [stdout] | [INFO] [stdout] 36 | let s: &str = match self { Empty => "", White => "white", Black => "black", }; [INFO] [stdout] | ^^^^^ help: to match on the variant, qualify the path: `Color::Black` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:36:49 [INFO] [stdout] | [INFO] [stdout] 36 | let s: &str = match self { Empty => "", White => "white", Black => "black", }; [INFO] [stdout] | ----- ^^^^^ unreachable pattern [INFO] [stdout] | | [INFO] [stdout] | matches any value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/main.rs:36:67 [INFO] [stdout] | [INFO] [stdout] 36 | let s: &str = match self { Empty => "", White => "white", Black => "black", }; [INFO] [stdout] | ----- matches any value ^^^^^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Empty` [INFO] [stdout] --> src/main.rs:36:36 [INFO] [stdout] | [INFO] [stdout] 36 | let s: &str = match self { Empty => "", White => "white", Black => "black", }; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_Empty` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `White` [INFO] [stdout] --> src/main.rs:36:49 [INFO] [stdout] | [INFO] [stdout] 36 | let s: &str = match self { Empty => "", White => "white", Black => "black", }; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_White` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Black` [INFO] [stdout] --> src/main.rs:36:67 [INFO] [stdout] | [INFO] [stdout] 36 | let s: &str = match self { Empty => "", White => "white", Black => "black", }; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_Black` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `to_add_node` is never read [INFO] [stdout] --> src/main.rs:95:17 [INFO] [stdout] | [INFO] [stdout] 95 | to_add_node = false; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Empty` [INFO] [stdout] --> src/main.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | enum Color { Empty, Black, White } [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `find_component_containing` [INFO] [stdout] --> src/main.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 119 | fn find_component_containing(&mut self, u: Node) -> HashSet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_edge_black` [INFO] [stdout] --> src/main.rs:156:8 [INFO] [stdout] | [INFO] [stdout] 156 | fn add_edge_black(&mut self, src: (i16, i16), dst: (i16, i16)) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `add_edge_white` [INFO] [stdout] --> src/main.rs:168:8 [INFO] [stdout] | [INFO] [stdout] 168 | fn add_edge_white(&mut self, src: (i16, i16), dst: (i16, i16)) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `find_component_doubleton` [INFO] [stdout] --> src/main.rs:263:4 [INFO] [stdout] | [INFO] [stdout] 263 | fn find_component_doubleton() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Empty` should have a snake case name [INFO] [stdout] --> src/main.rs:36:36 [INFO] [stdout] | [INFO] [stdout] 36 | let s: &str = match self { Empty => "", White => "white", Black => "black", }; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `empty` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `White` should have a snake case name [INFO] [stdout] --> src/main.rs:36:49 [INFO] [stdout] | [INFO] [stdout] 36 | let s: &str = match self { Empty => "", White => "white", Black => "black", }; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `white` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Black` should have a snake case name [INFO] [stdout] --> src/main.rs:36:67 [INFO] [stdout] | [INFO] [stdout] 36 | let s: &str = match self { Empty => "", White => "white", Black => "black", }; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `black` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | write!(f, "\"({},{})\" [pos=\"{},{}!\"", self.x, self.y, self.x, self.y); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:50:9 [INFO] [stdout] | [INFO] [stdout] 50 | / match self.c { [INFO] [stdout] 51 | | Color::Black => write!(f, ",style=filled,fillcolor=\"#666666\"];"), [INFO] [stdout] 52 | | Color::White => write!(f, ",style=filled,fillcolor=\"white\"];"), [INFO] [stdout] 53 | | Color::Empty => write!(f, "];") [INFO] [stdout] 54 | | }; [INFO] [stdout] | |__________^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:184:9 [INFO] [stdout] | [INFO] [stdout] 184 | write!(f, "graph {{\n"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:186:13 [INFO] [stdout] | [INFO] [stdout] 186 | write!(f, "{}\n", self.nodes[i]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:189:13 [INFO] [stdout] | [INFO] [stdout] 189 | write!(f, "{}\n", self.edges[i]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0170`. [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.49s [INFO] running `Command { std: "docker" "inspect" "ae84ff14273fadbe7a90e2fba49acc8ce6fb39df2cb3f95f00d464f3901fef33", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ae84ff14273fadbe7a90e2fba49acc8ce6fb39df2cb3f95f00d464f3901fef33", kill_on_drop: false }` [INFO] [stdout] ae84ff14273fadbe7a90e2fba49acc8ce6fb39df2cb3f95f00d464f3901fef33 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4fc064127cb70372044f6ea112e5d44caf150a0bed24b2290a4ffa820a45b24d [INFO] running `Command { std: "docker" "start" "-a" "4fc064127cb70372044f6ea112e5d44caf150a0bed24b2290a4ffa820a45b24d", kill_on_drop: false }` [INFO] [stderr] warning[E0170]: pattern binding `Empty` is named the same as one of the variants of the type `Color` [INFO] [stderr] --> src/main.rs:36:36 [INFO] [stderr] | [INFO] [stderr] 36 | let s: &str = match self { Empty => "", White => "white", Black => "black", }; [INFO] [stderr] | ^^^^^ help: to match on the variant, qualify the path: `Color::Empty` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(bindings_with_variant_name)]` on by default [INFO] [stderr] [INFO] [stderr] warning[E0170]: pattern binding `White` is named the same as one of the variants of the type `Color` [INFO] [stderr] --> src/main.rs:36:49 [INFO] [stderr] | [INFO] [stderr] 36 | let s: &str = match self { Empty => "", White => "white", Black => "black", }; [INFO] [stderr] | ^^^^^ help: to match on the variant, qualify the path: `Color::White` [INFO] [stderr] [INFO] [stderr] warning[E0170]: pattern binding `Black` is named the same as one of the variants of the type `Color` [INFO] [stderr] --> src/main.rs:36:67 [INFO] [stderr] | [INFO] [stderr] 36 | let s: &str = match self { Empty => "", White => "white", Black => "black", }; [INFO] [stderr] | ^^^^^ help: to match on the variant, qualify the path: `Color::Black` [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/main.rs:36:49 [INFO] [stderr] | [INFO] [stderr] 36 | let s: &str = match self { Empty => "", White => "white", Black => "black", }; [INFO] [stderr] | ----- ^^^^^ unreachable pattern [INFO] [stderr] | | [INFO] [stderr] | matches any value [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unreachable pattern [INFO] [stderr] --> src/main.rs:36:67 [INFO] [stderr] | [INFO] [stderr] 36 | let s: &str = match self { Empty => "", White => "white", Black => "black", }; [INFO] [stderr] | ----- matches any value ^^^^^ unreachable pattern [INFO] [stderr] [INFO] [stderr] warning: unused variable: `Empty` [INFO] [stderr] --> src/main.rs:36:36 [INFO] [stderr] | [INFO] [stderr] 36 | let s: &str = match self { Empty => "", White => "white", Black => "black", }; [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_Empty` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `White` [INFO] [stderr] --> src/main.rs:36:49 [INFO] [stderr] | [INFO] [stderr] 36 | let s: &str = match self { Empty => "", White => "white", Black => "black", }; [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_White` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `Black` [INFO] [stderr] --> src/main.rs:36:67 [INFO] [stderr] | [INFO] [stderr] 36 | let s: &str = match self { Empty => "", White => "white", Black => "black", }; [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_Black` [INFO] [stderr] [INFO] [stderr] warning: value assigned to `to_add_node` is never read [INFO] [stderr] --> src/main.rs:95:17 [INFO] [stderr] | [INFO] [stderr] 95 | to_add_node = false; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_assignments)]` on by default [INFO] [stderr] = help: maybe it is overwritten before being read? [INFO] [stderr] [INFO] [stderr] warning: variant is never constructed: `Empty` [INFO] [stderr] --> src/main.rs:8:14 [INFO] [stderr] | [INFO] [stderr] 8 | enum Color { Empty, Black, White } [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `find_component_containing` [INFO] [stderr] --> src/main.rs:119:8 [INFO] [stderr] | [INFO] [stderr] 119 | fn find_component_containing(&mut self, u: Node) -> HashSet { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `add_edge_black` [INFO] [stderr] --> src/main.rs:156:8 [INFO] [stderr] | [INFO] [stderr] 156 | fn add_edge_black(&mut self, src: (i16, i16), dst: (i16, i16)) { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `add_edge_white` [INFO] [stderr] --> src/main.rs:168:8 [INFO] [stderr] | [INFO] [stderr] 168 | fn add_edge_white(&mut self, src: (i16, i16), dst: (i16, i16)) { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function is never used: `find_component_doubleton` [INFO] [stderr] --> src/main.rs:263:4 [INFO] [stderr] | [INFO] [stderr] 263 | fn find_component_doubleton() { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable `Empty` should have a snake case name [INFO] [stderr] --> src/main.rs:36:36 [INFO] [stderr] | [INFO] [stderr] 36 | let s: &str = match self { Empty => "", White => "white", Black => "black", }; [INFO] [stderr] | ^^^^^ help: convert the identifier to snake case: `empty` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: variable `White` should have a snake case name [INFO] [stderr] --> src/main.rs:36:49 [INFO] [stderr] | [INFO] [stderr] 36 | let s: &str = match self { Empty => "", White => "white", Black => "black", }; [INFO] [stderr] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `white` [INFO] [stderr] [INFO] [stderr] warning: variable `Black` should have a snake case name [INFO] [stderr] --> src/main.rs:36:67 [INFO] [stderr] | [INFO] [stderr] 36 | let s: &str = match self { Empty => "", White => "white", Black => "black", }; [INFO] [stderr] | ^^^^^ help: convert the identifier to snake case: `black` [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:49:9 [INFO] [stderr] | [INFO] [stderr] 49 | write!(f, "\"({},{})\" [pos=\"{},{}!\"", self.x, self.y, self.x, self.y); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:50:9 [INFO] [stderr] | [INFO] [stderr] 50 | / match self.c { [INFO] [stderr] 51 | | Color::Black => write!(f, ",style=filled,fillcolor=\"#666666\"];"), [INFO] [stderr] 52 | | Color::White => write!(f, ",style=filled,fillcolor=\"white\"];"), [INFO] [stderr] 53 | | Color::Empty => write!(f, "];") [INFO] [stderr] 54 | | }; [INFO] [stderr] | |__________^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:184:9 [INFO] [stderr] | [INFO] [stderr] 184 | write!(f, "graph {{\n"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:186:13 [INFO] [stderr] | [INFO] [stderr] 186 | write!(f, "{}\n", self.nodes[i]); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:189:13 [INFO] [stderr] | [INFO] [stderr] 189 | write!(f, "{}\n", self.edges[i]); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] For more information about this error, try `rustc --explain E0170`. [INFO] [stderr] warning: `gogame` (bin "gogame" test) generated 22 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.04s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/gogame-568348f7b0b84c26) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test add_node_increases_edge_count ... ok [INFO] [stdout] test capture_single_works ... ok [INFO] [stdout] test add_node_increases_node_count ... ok [INFO] [stdout] test contained_in_works ... ok [INFO] [stdout] test neighbors_of_works ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "4fc064127cb70372044f6ea112e5d44caf150a0bed24b2290a4ffa820a45b24d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4fc064127cb70372044f6ea112e5d44caf150a0bed24b2290a4ffa820a45b24d", kill_on_drop: false }` [INFO] [stdout] 4fc064127cb70372044f6ea112e5d44caf150a0bed24b2290a4ffa820a45b24d