[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] checking tlehman/gogame against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftlehman%2Fgogame" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tlehman/gogame on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "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-13/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" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2b5b8017944b9ef84f3bc0834df04cb7906c00ad755ef8f3eb06abb53ac3886d [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" "2b5b8017944b9ef84f3bc0834df04cb7906c00ad755ef8f3eb06abb53ac3886d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2b5b8017944b9ef84f3bc0834df04cb7906c00ad755ef8f3eb06abb53ac3886d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2b5b8017944b9ef84f3bc0834df04cb7906c00ad755ef8f3eb06abb53ac3886d", kill_on_drop: false }` [INFO] [stdout] 2b5b8017944b9ef84f3bc0834df04cb7906c00ad755ef8f3eb06abb53ac3886d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 679ed0a708768f96fe3bb462931cb52dfb587744dd6af8882dcd7fd736818d4c [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" "679ed0a708768f96fe3bb462931cb52dfb587744dd6af8882dcd7fd736818d4c", kill_on_drop: false }` [INFO] [stderr] Checking 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[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: 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: 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: 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 a macro (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 a macro (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 a macro (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 a macro (in Nightly builds, run with -Z macro-backtrace for more info) [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 a macro (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 a macro (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 a macro (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 a macro (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] [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 dev [unoptimized + debuginfo] target(s) in 0.73s [INFO] running `Command { std: "docker" "inspect" "679ed0a708768f96fe3bb462931cb52dfb587744dd6af8882dcd7fd736818d4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "679ed0a708768f96fe3bb462931cb52dfb587744dd6af8882dcd7fd736818d4c", kill_on_drop: false }` [INFO] [stdout] 679ed0a708768f96fe3bb462931cb52dfb587744dd6af8882dcd7fd736818d4c