[INFO] cloning repository https://github.com/dmitmel/tic-tac-toe-evolution [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dmitmel/tic-tac-toe-evolution" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdmitmel%2Ftic-tac-toe-evolution", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdmitmel%2Ftic-tac-toe-evolution'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 920485fabbb0e4f663ebdd2065f361c3f7936332 [INFO] checking dmitmel/tic-tac-toe-evolution against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdmitmel%2Ftic-tac-toe-evolution" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dmitmel/tic-tac-toe-evolution on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dmitmel/tic-tac-toe-evolution [INFO] finished tweaking git repo https://github.com/dmitmel/tic-tac-toe-evolution [INFO] tweaked toml for git repo https://github.com/dmitmel/tic-tac-toe-evolution written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/dmitmel/tic-tac-toe-evolution already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded glib v0.8.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dbee6806014f93da05b460c612af1e3dcdcf8e9a51e4f9993ffe7a99b98d3517 [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" "dbee6806014f93da05b460c612af1e3dcdcf8e9a51e4f9993ffe7a99b98d3517", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dbee6806014f93da05b460c612af1e3dcdcf8e9a51e4f9993ffe7a99b98d3517", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dbee6806014f93da05b460c612af1e3dcdcf8e9a51e4f9993ffe7a99b98d3517", kill_on_drop: false }` [INFO] [stdout] dbee6806014f93da05b460c612af1e3dcdcf8e9a51e4f9993ffe7a99b98d3517 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] db7b8e4bf9cb7abc77bf120dbc5f342c39d746e89870f0c7d4a46607e2933864 [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" "db7b8e4bf9cb7abc77bf120dbc5f342c39d746e89870f0c7d4a46607e2933864", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling gio v0.7.0 [INFO] [stderr] Compiling gdk-pixbuf v0.7.0 [INFO] [stderr] Compiling pango v0.7.0 [INFO] [stderr] Compiling cairo-rs v0.7.1 [INFO] [stderr] Checking fragile v0.3.0 [INFO] [stderr] Compiling gdk v0.11.0 [INFO] [stderr] Checking ppv-lite86 v0.2.5 [INFO] [stderr] Compiling atk v0.7.0 [INFO] [stderr] Compiling gtk v0.7.0 [INFO] [stderr] Compiling glib-sys v0.9.0 [INFO] [stderr] Compiling gobject-sys v0.9.0 [INFO] [stderr] Compiling gio-sys v0.9.0 [INFO] [stderr] Compiling pango-sys v0.9.0 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.9.0 [INFO] [stderr] Compiling cairo-sys-rs v0.9.0 [INFO] [stderr] Compiling gdk-sys v0.9.0 [INFO] [stderr] Compiling atk-sys v0.9.0 [INFO] [stderr] Compiling gtk-sys v0.9.0 [INFO] [stderr] Checking c2-chacha v0.2.2 [INFO] [stderr] Checking getrandom v0.1.11 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking rand v0.7.0 [INFO] [stderr] Checking glib v0.8.1 [INFO] [stderr] Checking tic-tac-toe-evolution v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/bot.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | _ => unreachable!(), [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 105 | Move(direction) => movement_instruction! { [INFO] [stdout] | __________________________- [INFO] [stdout] 106 | | direction; [INFO] [stdout] 107 | | Up => (0, -), [INFO] [stdout] 108 | | UpRight => (+, -), [INFO] [stdout] ... | [INFO] [stdout] 114 | | UpLeft => (-, -), [INFO] [stdout] 115 | | }, [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] = note: this warning originates in the macro `movement_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `head_x` [INFO] [stdout] --> src/bot.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn head_x(&self) -> Coord { [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: `head_y` [INFO] [stdout] --> src/bot.rs:59:10 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn head_y(&self) -> Coord { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/bot.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | _ => unreachable!(), [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 105 | Move(direction) => movement_instruction! { [INFO] [stdout] | __________________________- [INFO] [stdout] 106 | | direction; [INFO] [stdout] 107 | | Up => (0, -), [INFO] [stdout] 108 | | UpRight => (+, -), [INFO] [stdout] ... | [INFO] [stdout] 114 | | UpLeft => (-, -), [INFO] [stdout] 115 | | }, [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] = note: this warning originates in the macro `movement_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `INSTRUCTIONS_PER_MOVE` [INFO] [stdout] --> src/bot.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub const INSTRUCTIONS_PER_MOVE: usize = 25; [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: `head_x` [INFO] [stdout] --> src/bot.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn head_x(&self) -> Coord { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `head_y` [INFO] [stdout] --> src/bot.rs:59:10 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn head_y(&self) -> Coord { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `make_move` [INFO] [stdout] --> src/bot.rs:63:10 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn make_move(&mut self, board: &mut Board) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `execute_instruction` [INFO] [stdout] --> src/bot.rs:73:6 [INFO] [stdout] | [INFO] [stdout] 73 | fn execute_instruction( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `skip_instructions` [INFO] [stdout] --> src/bot.rs:139:6 [INFO] [stdout] | [INFO] [stdout] 139 | fn skip_instructions(&mut self, instructions: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 07s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Checking tic-tac-toe-evolution v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/bot.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | _ => unreachable!(), [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 105 | Move(direction) => movement_instruction! { [INFO] [stdout] | __________________________- [INFO] [stdout] 106 | | direction; [INFO] [stdout] 107 | | Up => (0, -), [INFO] [stdout] 108 | | UpRight => (+, -), [INFO] [stdout] ... | [INFO] [stdout] 114 | | UpLeft => (-, -), [INFO] [stdout] 115 | | }, [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] = note: this warning originates in the macro `movement_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `INSTRUCTIONS_PER_MOVE` [INFO] [stdout] --> src/bot.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | pub const INSTRUCTIONS_PER_MOVE: usize = 25; [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: `head_x` [INFO] [stdout] --> src/bot.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn head_x(&self) -> Coord { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `head_y` [INFO] [stdout] --> src/bot.rs:59:10 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn head_y(&self) -> Coord { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `make_move` [INFO] [stdout] --> src/bot.rs:63:10 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn make_move(&mut self, board: &mut Board) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `execute_instruction` [INFO] [stdout] --> src/bot.rs:73:6 [INFO] [stdout] | [INFO] [stdout] 73 | fn execute_instruction( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `skip_instructions` [INFO] [stdout] --> src/bot.rs:139:6 [INFO] [stdout] | [INFO] [stdout] 139 | fn skip_instructions(&mut self, instructions: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/bot.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | _ => unreachable!(), [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 105 | Move(direction) => movement_instruction! { [INFO] [stdout] | __________________________- [INFO] [stdout] 106 | | direction; [INFO] [stdout] 107 | | Up => (0, -), [INFO] [stdout] 108 | | UpRight => (+, -), [INFO] [stdout] ... | [INFO] [stdout] 114 | | UpLeft => (-, -), [INFO] [stdout] 115 | | }, [INFO] [stdout] | |_______- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] = note: this warning originates in the macro `movement_instruction` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `head_x` [INFO] [stdout] --> src/bot.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 56 | pub fn head_x(&self) -> Coord { [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: `head_y` [INFO] [stdout] --> src/bot.rs:59:10 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn head_y(&self) -> Coord { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.58s [INFO] running `Command { std: "docker" "inspect" "db7b8e4bf9cb7abc77bf120dbc5f342c39d746e89870f0c7d4a46607e2933864", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "db7b8e4bf9cb7abc77bf120dbc5f342c39d746e89870f0c7d4a46607e2933864", kill_on_drop: false }` [INFO] [stdout] db7b8e4bf9cb7abc77bf120dbc5f342c39d746e89870f0c7d4a46607e2933864