[INFO] cloning repository https://github.com/colinthatcher/checkers-engine-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/colinthatcher/checkers-engine-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcolinthatcher%2Fcheckers-engine-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcolinthatcher%2Fcheckers-engine-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 76a1523e4daa42c027267615eb20a5b033f6ba55 [INFO] checking colinthatcher/checkers-engine-rs against master#ceab6128fa48a616bfd3e3adf4bc80133b8ee223 for no-never-type-fallback [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcolinthatcher%2Fcheckers-engine-rs" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/colinthatcher/checkers-engine-rs on toolchain ceab6128fa48a616bfd3e3adf4bc80133b8ee223 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/colinthatcher/checkers-engine-rs [INFO] finished tweaking git repo https://github.com/colinthatcher/checkers-engine-rs [INFO] tweaked toml for git repo https://github.com/colinthatcher/checkers-engine-rs written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/colinthatcher/checkers-engine-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" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded thiserror-impl v1.0.34 [INFO] [stderr] Downloaded thiserror v1.0.34 [INFO] [stderr] Downloaded url v2.3.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 05c3e53f2af5f707fb4f49b5e3767c75fa2140ec17f6882ef428b5064f31400b [INFO] running `Command { std: "docker" "start" "-a" "05c3e53f2af5f707fb4f49b5e3767c75fa2140ec17f6882ef428b5064f31400b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "05c3e53f2af5f707fb4f49b5e3767c75fa2140ec17f6882ef428b5064f31400b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "05c3e53f2af5f707fb4f49b5e3767c75fa2140ec17f6882ef428b5064f31400b", kill_on_drop: false }` [INFO] [stdout] 05c3e53f2af5f707fb4f49b5e3767c75fa2140ec17f6882ef428b5064f31400b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+ceab6128fa48a616bfd3e3adf4bc80133b8ee223" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dcfc8cf1f8d70d14437535ae9c1c24a993f03cefc7684d173fcd0ae7b892dd74 [INFO] running `Command { std: "docker" "start" "-a" "dcfc8cf1f8d70d14437535ae9c1c24a993f03cefc7684d173fcd0ae7b892dd74", kill_on_drop: false }` [INFO] [stderr] Compiling generic-array v0.14.6 [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling proc-macro2 v1.0.43 [INFO] [stderr] Compiling quote v1.0.21 [INFO] [stderr] Compiling unicode-ident v1.0.3 [INFO] [stderr] Compiling syn v1.0.99 [INFO] [stderr] Checking unicode-normalization v0.1.21 [INFO] [stderr] Checking cpufeatures v0.2.5 [INFO] [stderr] Checking bytes v1.2.1 [INFO] [stderr] Checking itoa v1.0.3 [INFO] [stderr] Checking http v0.2.8 [INFO] [stderr] Checking idna v0.2.3 [INFO] [stderr] Checking crypto-common v0.1.6 [INFO] [stderr] Checking block-buffer v0.10.3 [INFO] [stderr] Checking getrandom v0.2.7 [INFO] [stderr] Checking digest v0.10.3 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking url v2.3.0 [INFO] [stderr] Checking sha-1 v0.10.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling thiserror-impl v1.0.34 [INFO] [stderr] Checking thiserror v1.0.34 [INFO] [stderr] Checking tungstenite v0.17.3 [INFO] [stderr] Checking checkers-engine-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::borrow::BorrowMut` [INFO] [stdout] --> src/game.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::borrow::BorrowMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc`, `MutexGuard`, `Mutex` [INFO] [stdout] --> src/game.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use std::sync::{Arc, Mutex, MutexGuard}; [INFO] [stdout] | ^^^ ^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::game::EMPTY_POS` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::game::EMPTY_POS; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::BorrowMut` [INFO] [stdout] --> src/game.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::borrow::BorrowMut; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Arc`, `MutexGuard`, `Mutex` [INFO] [stdout] --> src/game.rs:7:17 [INFO] [stdout] | [INFO] [stdout] 7 | use std::sync::{Arc, Mutex, MutexGuard}; [INFO] [stdout] | ^^^ ^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::game::EMPTY_POS` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::game::EMPTY_POS; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `checkers` [INFO] [stdout] --> src/game.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | let mut checkers: Checkers = Checkers::init(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_checkers` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | let mut checkers: Checkers = Checkers::init(); [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: unused variable: `all_jumpable_pieces2` [INFO] [stdout] --> src/game.rs:214:22 [INFO] [stdout] | [INFO] [stdout] 214 | let (all_jumpable_pieces2, all_available_jumps2) = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_all_jumpable_pieces2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | let mut checkers = &mut checkers_arc.lock().unwrap(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `init_with_players` and `set_completed` are never used [INFO] [stdout] --> src/game.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl Checkers { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn init_with_players(&mut self, player1: String, player2: String) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | fn set_completed(&mut self, completed: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `move_piece` is never used [INFO] [stdout] --> src/game/checkers_board.rs:313:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl CheckersBoard { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 313 | pub fn move_piece( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `init` is never used [INFO] [stdout] --> src/game/checkers_board/checkers_piece.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 11 | impl CheckerPiece { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 12 | fn init() -> CheckerPiece { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `checkers` [INFO] [stdout] --> src/game.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | let mut checkers: Checkers = Checkers::init(); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_checkers` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/game.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | let mut checkers: Checkers = Checkers::init(); [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: unused variable: `all_jumpable_pieces2` [INFO] [stdout] --> src/game.rs:214:22 [INFO] [stdout] | [INFO] [stdout] 214 | let (all_jumpable_pieces2, all_available_jumps2) = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_all_jumpable_pieces2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:176:9 [INFO] [stdout] | [INFO] [stdout] 176 | / websocket.write_message(Message::Text(String::from( [INFO] [stdout] 177 | | "SERVER ERROR: Please notify dumb admin that checker board failed to setup!", [INFO] [stdout] 178 | | ))); [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 176 | let _ = websocket.write_message(Message::Text(String::from( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:51:21 [INFO] [stdout] | [INFO] [stdout] 51 | let mut checkers = &mut checkers_arc.lock().unwrap(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:210:13 [INFO] [stdout] | [INFO] [stdout] 210 | let mut checkers = game::Checkers::init(); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `option` [INFO] [stdout] --> src/main.rs:221:13 [INFO] [stdout] | [INFO] [stdout] 221 | let option = checkers.init_with_players("test1".to_string(), "test2".to_string()); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_completed` is never used [INFO] [stdout] --> src/game.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 23 | impl Checkers { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 102 | fn set_completed(&mut self, completed: bool) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `move_piece` is never used [INFO] [stdout] --> src/game/checkers_board.rs:313:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl CheckersBoard { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 313 | pub fn move_piece( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `init` is never used [INFO] [stdout] --> src/game/checkers_board/checkers_piece.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 11 | impl CheckerPiece { [INFO] [stdout] | ----------------- associated function in this implementation [INFO] [stdout] 12 | fn init() -> CheckerPiece { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:176:9 [INFO] [stdout] | [INFO] [stdout] 176 | / websocket.write_message(Message::Text(String::from( [INFO] [stdout] 177 | | "SERVER ERROR: Please notify dumb admin that checker board failed to setup!", [INFO] [stdout] 178 | | ))); [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] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 176 | let _ = websocket.write_message(Message::Text(String::from( [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.90s [INFO] running `Command { std: "docker" "inspect" "dcfc8cf1f8d70d14437535ae9c1c24a993f03cefc7684d173fcd0ae7b892dd74", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dcfc8cf1f8d70d14437535ae9c1c24a993f03cefc7684d173fcd0ae7b892dd74", kill_on_drop: false }` [INFO] [stdout] dcfc8cf1f8d70d14437535ae9c1c24a993f03cefc7684d173fcd0ae7b892dd74