[INFO] cloning repository https://github.com/efrenfuentes/battle_snake-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/efrenfuentes/battle_snake-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fefrenfuentes%2Fbattle_snake-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fefrenfuentes%2Fbattle_snake-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] adcdfe8c469ed0ed0a56391214f7db70145bf010 [INFO] checking efrenfuentes/battle_snake-rs against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fefrenfuentes%2Fbattle_snake-rs" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/efrenfuentes/battle_snake-rs [INFO] finished tweaking git repo https://github.com/efrenfuentes/battle_snake-rs [INFO] tweaked toml for git repo https://github.com/efrenfuentes/battle_snake-rs written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/efrenfuentes/battle_snake-rs on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/efrenfuentes/battle_snake-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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c77f6bbadf9742448ffb3dd496ebcc41a76cf4983b74ba340b094abad2ff1675 [INFO] running `Command { std: "docker" "start" "-a" "c77f6bbadf9742448ffb3dd496ebcc41a76cf4983b74ba340b094abad2ff1675", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c77f6bbadf9742448ffb3dd496ebcc41a76cf4983b74ba340b094abad2ff1675", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c77f6bbadf9742448ffb3dd496ebcc41a76cf4983b74ba340b094abad2ff1675", kill_on_drop: false }` [INFO] [stdout] c77f6bbadf9742448ffb3dd496ebcc41a76cf4983b74ba340b094abad2ff1675 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7b2953125aaeae1d4dab42a356f365de7bafee3ffb6aff03695fbb123bdf29bc [INFO] running `Command { std: "docker" "start" "-a" "7b2953125aaeae1d4dab42a356f365de7bafee3ffb6aff03695fbb123bdf29bc", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling pin-project-lite v0.2.14 [INFO] [stderr] Compiling syn v2.0.72 [INFO] [stderr] Checking mio v1.0.1 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Compiling bytes v1.7.1 [INFO] [stderr] Checking is-terminal v0.4.12 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking http v0.2.12 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling time v0.3.36 [INFO] [stderr] Checking yansi v1.0.1 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling httparse v1.9.4 [INFO] [stderr] Checking winnow v0.6.18 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Checking regex-syntax v0.8.4 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling multer v3.1.0 [INFO] [stderr] Compiling tokio v1.39.2 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Compiling either v1.13.0 [INFO] [stderr] Compiling serde_json v1.0.122 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Checking cookie v0.18.1 [INFO] [stderr] Checking http-body v0.4.6 [INFO] [stderr] Compiling indexmap v2.3.0 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Compiling rocket v0.5.1 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Checking fastrand v2.1.0 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Checking regex-automata v0.4.7 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Checking tempfile v3.12.0 [INFO] [stderr] Compiling hyper v0.14.30 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling devise_core v0.4.1 [INFO] [stderr] Checking regex v1.10.6 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Compiling ref-cast-impl v1.0.23 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling async-trait v0.1.81 [INFO] [stderr] Checking env_filter v0.1.2 [INFO] [stderr] Checking env_logger v0.11.5 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Compiling ref-cast v1.0.23 [INFO] [stderr] Compiling pear v0.2.9 [INFO] [stderr] Compiling devise_codegen v0.4.1 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Compiling devise v0.4.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling rocket_http v0.5.1 [INFO] [stderr] Compiling rocket_codegen v0.5.1 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tokio-stream v0.1.15 [INFO] [stderr] Checking serde_spanned v0.6.7 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking ubyte v0.10.4 [INFO] [stderr] Checking toml_edit v0.22.20 [INFO] [stderr] Checking h2 v0.3.26 [INFO] [stderr] Checking toml v0.8.19 [INFO] [stderr] Checking battle_snake-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated items `new`, `is_adjacent`, `closest_safe`, and `move_to` are never used [INFO] [stdout] --> src/model.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 41 | impl Coord { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 42 | pub fn new(x: i32, y: i32) -> Coord { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn is_adjacent(&self, other: &Coord) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn closest_safe(&self, board: &Board, snake: &Snake) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | pub fn move_to(&self, direction: &Direction) -> Coord { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_str`, `opposite`, and `to_coord` are never used [INFO] [stdout] --> src/model.rs:202:12 [INFO] [stdout] | [INFO] [stdout] 182 | impl Direction { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 202 | pub fn from_str(s: &str) -> Option { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 228 | pub fn opposite(&self) -> Direction { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 258 | pub fn to_coord(&self, origin: &Coord) -> Coord { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | fn handle_index(snake: String) -> Json { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:31:24 [INFO] [stdout] | [INFO] [stdout] 31 | fn handle_start(snake: String, start_req: Json) -> Status { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:45:23 [INFO] [stdout] | [INFO] [stdout] 45 | fn handle_move(snake: String, move_req: Json) -> Json { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:59:22 [INFO] [stdout] | [INFO] [stdout] 59 | fn handle_end(snake: String, end_req: Json) -> Status { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `battle_snake-rs` (bin "battle_snake-rs") due to 4 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: associated items `new`, `is_adjacent`, `closest_safe`, and `move_to` are never used [INFO] [stdout] --> src/model.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 41 | impl Coord { [INFO] [stdout] | ---------- associated items in this implementation [INFO] [stdout] 42 | pub fn new(x: i32, y: i32) -> Coord { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn is_adjacent(&self, other: &Coord) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn closest_safe(&self, board: &Board, snake: &Snake) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | pub fn move_to(&self, direction: &Direction) -> Coord { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:25:24 [INFO] [stdout] | [INFO] [stdout] 25 | fn handle_index(snake: String) -> Json { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:31:24 [INFO] [stdout] | [INFO] [stdout] 31 | fn handle_start(snake: String, start_req: Json) -> Status { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:45:23 [INFO] [stdout] | [INFO] [stdout] 45 | fn handle_move(snake: String, move_req: Json) -> Json { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/main.rs:59:22 [INFO] [stdout] | [INFO] [stdout] 59 | fn handle_end(snake: String, end_req: Json) -> Status { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `battle_snake-rs` (bin "battle_snake-rs" test) due to 4 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "7b2953125aaeae1d4dab42a356f365de7bafee3ffb6aff03695fbb123bdf29bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7b2953125aaeae1d4dab42a356f365de7bafee3ffb6aff03695fbb123bdf29bc", kill_on_drop: false }` [INFO] [stdout] 7b2953125aaeae1d4dab42a356f365de7bafee3ffb6aff03695fbb123bdf29bc