[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] building dmitmel/tic-tac-toe-evolution against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdmitmel%2Ftic-tac-toe-evolution" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dmitmel/tic-tac-toe-evolution on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "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-5-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 58a6b1ba94d3530d1294e29e55e5408c37777e56b1c5bdade63cdd0004d1c11f [INFO] running `Command { std: "docker" "start" "-a" "58a6b1ba94d3530d1294e29e55e5408c37777e56b1c5bdade63cdd0004d1c11f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "58a6b1ba94d3530d1294e29e55e5408c37777e56b1c5bdade63cdd0004d1c11f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58a6b1ba94d3530d1294e29e55e5408c37777e56b1c5bdade63cdd0004d1c11f", kill_on_drop: false }` [INFO] [stdout] 58a6b1ba94d3530d1294e29e55e5408c37777e56b1c5bdade63cdd0004d1c11f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e4de06dd80894729038e1913b413d5864df34277baee934ebeb2a83a8bfc7954 [INFO] running `Command { std: "docker" "start" "-a" "e4de06dd80894729038e1913b413d5864df34277baee934ebeb2a83a8bfc7954", kill_on_drop: false }` [INFO] [stderr] Compiling pkg-config v0.3.15 [INFO] [stderr] Compiling libc v0.2.62 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling bitflags v1.1.0 [INFO] [stderr] Compiling gio v0.7.0 [INFO] [stderr] Compiling getrandom v0.1.11 [INFO] [stderr] Compiling pango v0.7.0 [INFO] [stderr] Compiling cairo-rs v0.7.1 [INFO] [stderr] Compiling fragile v0.3.0 [INFO] [stderr] Compiling gdk-pixbuf v0.7.0 [INFO] [stderr] Compiling cfg-if v0.1.9 [INFO] [stderr] Compiling gdk v0.11.0 [INFO] [stderr] Compiling 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 atk-sys v0.9.0 [INFO] [stderr] Compiling gdk-sys v0.9.0 [INFO] [stderr] Compiling gtk-sys v0.9.0 [INFO] [stderr] Compiling c2-chacha v0.2.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling rand v0.7.0 [INFO] [stderr] Compiling glib v0.8.1 [INFO] [stderr] Compiling tic-tac-toe-evolution v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/bot.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | _ => unreachable!(), [INFO] [stdout] | ^ no value can reach this [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: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/bot.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 92 | $($direction => { [INFO] [stdout] | ---------- [INFO] [stdout] | | [INFO] [stdout] | matches some of the same values [INFO] [stdout] | matches some of the same values [INFO] [stdout] | matches some of the same values [INFO] [stdout] | matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 96 | _ => unreachable!(), [INFO] [stdout] | ^ ...and 4 other patterns collectively make this unreachable [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] = 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 `INSTRUCTIONS_PER_MOVE` is never used [INFO] [stdout] --> src/bot.rs:3:11 [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: fields `head_x` and `head_y` are never read [INFO] [stdout] --> src/bot.rs:32:3 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct Bot { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 32 | head_x: Coord, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 33 | head_y: Coord, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Bot` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `head_x`, `head_y`, `make_move`, `execute_instruction`, and `skip_instructions` are never used [INFO] [stdout] --> src/bot.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 36 | impl Bot { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn head_x(&self) -> Coord { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn head_y(&self) -> Coord { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn make_move(&mut self, board: &mut Board) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | fn execute_instruction( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 139 | fn skip_instructions(&mut self, instructions: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 49.95s [INFO] running `Command { std: "docker" "inspect" "e4de06dd80894729038e1913b413d5864df34277baee934ebeb2a83a8bfc7954", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4de06dd80894729038e1913b413d5864df34277baee934ebeb2a83a8bfc7954", kill_on_drop: false }` [INFO] [stdout] e4de06dd80894729038e1913b413d5864df34277baee934ebeb2a83a8bfc7954 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 79b473f422678eeee894830fbfaa8a98a8fdd8d9753371e7f1b3c10d417ce53f [INFO] running `Command { std: "docker" "start" "-a" "79b473f422678eeee894830fbfaa8a98a8fdd8d9753371e7f1b3c10d417ce53f", kill_on_drop: false }` [INFO] [stderr] Compiling tic-tac-toe-evolution v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/bot.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 96 | _ => unreachable!(), [INFO] [stdout] | ^ no value can reach this [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: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/bot.rs:96:13 [INFO] [stdout] | [INFO] [stdout] 92 | $($direction => { [INFO] [stdout] | ---------- [INFO] [stdout] | | [INFO] [stdout] | matches some of the same values [INFO] [stdout] | matches some of the same values [INFO] [stdout] | matches some of the same values [INFO] [stdout] | matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 96 | _ => unreachable!(), [INFO] [stdout] | ^ ...and 4 other patterns collectively make this unreachable [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] = 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: methods `head_x` and `head_y` are never used [INFO] [stdout] --> src/bot.rs:56:10 [INFO] [stdout] | [INFO] [stdout] 36 | impl Bot { [INFO] [stdout] | -------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn head_x(&self) -> Coord { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn head_y(&self) -> Coord { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.88s [INFO] running `Command { std: "docker" "inspect" "79b473f422678eeee894830fbfaa8a98a8fdd8d9753371e7f1b3c10d417ce53f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "79b473f422678eeee894830fbfaa8a98a8fdd8d9753371e7f1b3c10d417ce53f", kill_on_drop: false }` [INFO] [stdout] 79b473f422678eeee894830fbfaa8a98a8fdd8d9753371e7f1b3c10d417ce53f