[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] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftlehman%2Fgogame: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 1) [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] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftlehman%2Fgogame: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 2) [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] [stderr] error: unable to write symref for HEAD: No space left on device [INFO] [stderr] fatal: unable to update HEAD [WARN] Retrying crate fetch in 3 seconds (attempt 3) [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] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftlehman%2Fgogame/refs/heads: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 4) [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] [stderr] error: copy-fd: write returned: No space left on device [INFO] [stderr] fatal: cannot copy '/usr/share/git-core/templates/info/exclude' to '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftlehman%2Fgogame/info/exclude': No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 5) [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] [stderr] error: copy-fd: write returned: No space left on device [INFO] [stderr] fatal: cannot copy '/usr/share/git-core/templates/hooks/update.sample' to '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftlehman%2Fgogame/hooks/update.sample': No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 6) [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] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftlehman%2Fgogame: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 7) [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] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftlehman%2Fgogame: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 8) [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] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftlehman%2Fgogame: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 9) [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] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftlehman%2Fgogame: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 10) [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] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftlehman%2Fgogame: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 11) [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] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftlehman%2Fgogame: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 12) [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] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftlehman%2Fgogame: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 13) [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] [stderr] /workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftlehman%2Fgogame: No space left on device [WARN] Retrying crate fetch in 3 seconds (attempt 14) [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 master#5337252b9952fdd9482ed6a4add17254e5bd2c40 for pr-138785 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftlehman%2Fgogame" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/tlehman/gogame on toolchain 5337252b9952fdd9482ed6a4add17254e5bd2c40 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5337252b9952fdd9482ed6a4add17254e5bd2c40" "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-7-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5337252b9952fdd9482ed6a4add17254e5bd2c40" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+5337252b9952fdd9482ed6a4add17254e5bd2c40" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d1916c655de7b9d822e2ca5b91361f55e1cb1a03ec64e979907bc643f961518f [INFO] running `Command { std: "docker" "start" "-a" "d1916c655de7b9d822e2ca5b91361f55e1cb1a03ec64e979907bc643f961518f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d1916c655de7b9d822e2ca5b91361f55e1cb1a03ec64e979907bc643f961518f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1916c655de7b9d822e2ca5b91361f55e1cb1a03ec64e979907bc643f961518f", kill_on_drop: false }` [INFO] [stdout] d1916c655de7b9d822e2ca5b91361f55e1cb1a03ec64e979907bc643f961518f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+5337252b9952fdd9482ed6a4add17254e5bd2c40" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dc1e365ee0db9c4fffb6dffa307589e51c9bda7afe2b92fbec4ceba872ff2bc8 [INFO] running `Command { std: "docker" "start" "-a" "dc1e365ee0db9c4fffb6dffa307589e51c9bda7afe2b92fbec4ceba872ff2bc8", kill_on_drop: false }` [INFO] [stderr] Checking gogame v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[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: `#[deny(bindings_with_variant_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[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] error[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] | ----- ^^^^^ no value can reach this [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 ^^^^^ no value can reach this [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] error[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: `#[deny(bindings_with_variant_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[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] error[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: 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] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [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] | ----- ^^^^^ no value can reach this [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 ^^^^^ no value can reach this [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 `Empty` is never constructed [INFO] [stdout] --> src/main.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | enum Color { Empty, Black, White } [INFO] [stdout] | ----- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | variant in this enum [INFO] [stdout] | [INFO] [stdout] = note: `Color` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `contained_in` is never used [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: methods `neighbors_of`, `find_component_containing`, `add_edge_black`, and `add_edge_white` are never used [INFO] [stdout] --> src/main.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 66 | impl Graph { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 71 | fn neighbors_of(&self, n: Node) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | fn find_component_containing(&mut self, u: Node) -> HashSet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | fn add_edge_black(&mut self, src: (i16, i16), dst: (i16, i16)) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [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 `find_component_doubleton` is never used [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: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 50 | let _ = match self.c { [INFO] [stdout] | +++++++ [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: 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] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0170`. [INFO] [stdout] [INFO] [stdout] warning: variant `Empty` is never constructed [INFO] [stdout] --> src/main.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | enum Color { Empty, Black, White } [INFO] [stdout] | ----- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | variant in this enum [INFO] [stdout] | [INFO] [stdout] = note: `Color` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `find_component_containing`, `add_edge_black`, and `add_edge_white` are never used [INFO] [stdout] --> src/main.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 66 | impl Graph { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 119 | fn find_component_containing(&mut self, u: Node) -> HashSet { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 156 | fn add_edge_black(&mut self, src: (i16, i16), dst: (i16, i16)) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [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 `find_component_doubleton` is never used [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: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 50 | let _ = match self.c { [INFO] [stdout] | +++++++ [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] For more information about this error, try `rustc --explain E0170`. [INFO] [stdout] [INFO] [stderr] error: could not compile `gogame` (bin "gogame") due to 3 previous errors; 18 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `gogame` (bin "gogame" test) due to 3 previous errors; 17 warnings emitted [INFO] running `Command { std: "docker" "inspect" "dc1e365ee0db9c4fffb6dffa307589e51c9bda7afe2b92fbec4ceba872ff2bc8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dc1e365ee0db9c4fffb6dffa307589e51c9bda7afe2b92fbec4ceba872ff2bc8", kill_on_drop: false }` [INFO] [stdout] dc1e365ee0db9c4fffb6dffa307589e51c9bda7afe2b92fbec4ceba872ff2bc8