[INFO] cloning repository https://github.com/vladneyo/seabattle [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/vladneyo/seabattle" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvladneyo%2Fseabattle", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvladneyo%2Fseabattle'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 838afc4bcc669686b27037c946b4e3c86b21627a [INFO] checking vladneyo/seabattle against master#cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c for pr-143170 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fvladneyo%2Fseabattle" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/vladneyo/seabattle [INFO] finished tweaking git repo https://github.com/vladneyo/seabattle [INFO] tweaked toml for git repo https://github.com/vladneyo/seabattle written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/vladneyo/seabattle on toolchain cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/vladneyo/seabattle 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" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded colored v3.0.0 [INFO] [stderr] Downloaded rand v0.9.1 [INFO] [stderr] Downloaded syn v2.0.101 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e41fe53ec3244928c5e9328b4fd04b98ccf068ff21a508aaafebabe8db47ce2d [INFO] running `Command { std: "docker" "start" "-a" "e41fe53ec3244928c5e9328b4fd04b98ccf068ff21a508aaafebabe8db47ce2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e41fe53ec3244928c5e9328b4fd04b98ccf068ff21a508aaafebabe8db47ce2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e41fe53ec3244928c5e9328b4fd04b98ccf068ff21a508aaafebabe8db47ce2d", kill_on_drop: false }` [INFO] [stdout] e41fe53ec3244928c5e9328b4fd04b98ccf068ff21a508aaafebabe8db47ce2d [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" "-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+cf38b8e663f15db10ce49d7bbce02c99fc3dbc0c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 091b0b43f2734147205843c386ef48107fb5273ef2bae92321df877916f4270b [INFO] running `Command { std: "docker" "start" "-a" "091b0b43f2734147205843c386ef48107fb5273ef2bae92321df877916f4270b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.172 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling zerocopy v0.8.25 [INFO] [stderr] Checking colored v3.0.0 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.1 [INFO] [stderr] Checking SeaBattle v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `j` [INFO] [stdout] --> src/ship_spawner.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | for j in 0..self.spawn_queue[i].1 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_j` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ship` [INFO] [stdout] --> src/ship_spawner.rs:30:21 [INFO] [stdout] | [INFO] [stdout] 30 | let ship = Ship::new(self.spawn_queue[i].0, Coord::new(s_x, s_y), Coord::new(e_x, e_y)); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_ship` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field` [INFO] [stdout] --> src/ship_spawner.rs:18:32 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn spawn(&mut self, field: &mut Field) [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `matrix` [INFO] [stdout] --> src/ship_spawner.rs:42:24 [INFO] [stdout] | [INFO] [stdout] 42 | fn place_candidate(matrix: &mut Vec>, ship: &mut Ship){ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_matrix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ship` [INFO] [stdout] --> src/ship_spawner.rs:42:51 [INFO] [stdout] | [INFO] [stdout] 42 | fn place_candidate(matrix: &mut Vec>, ship: &mut Ship){ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_ship` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `draw_destoyed_cell` is never used [INFO] [stdout] --> src/display.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Display { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn draw_destoyed_cell(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_hit` is never used [INFO] [stdout] --> src/field.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub trait Cell { [INFO] [stdout] | ---- method in this trait [INFO] [stdout] ... [INFO] [stdout] 26 | fn is_hit(&self) -> bool; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `enemy_strike_history` is never read [INFO] [stdout] --> src/game.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Game{ [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | enemy_strike_history: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `capacity`, `parts`, `start_coord`, and `end_coord` are never read [INFO] [stdout] --> src/ship.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Ship{ [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 7 | capacity: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 8 | parts: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | start_coord: Coord, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 10 | end_coord: Coord, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ship` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `create_empty_matrix` and `place_candidate` are never used [INFO] [stdout] --> src/ship_spawner.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 11 | impl ShipSpawner{ [INFO] [stdout] | ---------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | fn create_empty_matrix() -> Vec>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | fn place_candidate(matrix: &mut Vec>, ship: &mut Ship){ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/point.rs:124:13 [INFO] [stdout] | [INFO] [stdout] 124 | let p = p!(10u8); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/point.rs:137:13 [INFO] [stdout] | [INFO] [stdout] 137 | let p = p!('k'); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `j` [INFO] [stdout] --> src/ship_spawner.rs:23:17 [INFO] [stdout] | [INFO] [stdout] 23 | for j in 0..self.spawn_queue[i].1 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_j` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ship` [INFO] [stdout] --> src/ship_spawner.rs:30:21 [INFO] [stdout] | [INFO] [stdout] 30 | let ship = Ship::new(self.spawn_queue[i].0, Coord::new(s_x, s_y), Coord::new(e_x, e_y)); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_ship` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `field` [INFO] [stdout] --> src/ship_spawner.rs:18:32 [INFO] [stdout] | [INFO] [stdout] 18 | pub fn spawn(&mut self, field: &mut Field) [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_field` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `matrix` [INFO] [stdout] --> src/ship_spawner.rs:42:24 [INFO] [stdout] | [INFO] [stdout] 42 | fn place_candidate(matrix: &mut Vec>, ship: &mut Ship){ [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_matrix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ship` [INFO] [stdout] --> src/ship_spawner.rs:42:51 [INFO] [stdout] | [INFO] [stdout] 42 | fn place_candidate(matrix: &mut Vec>, ship: &mut Ship){ [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_ship` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `draw_destoyed_cell` is never used [INFO] [stdout] --> src/display.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Display { [INFO] [stdout] | ------------ associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn draw_destoyed_cell(){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_hit` is never used [INFO] [stdout] --> src/field.rs:26:8 [INFO] [stdout] | [INFO] [stdout] 23 | pub trait Cell { [INFO] [stdout] | ---- method in this trait [INFO] [stdout] ... [INFO] [stdout] 26 | fn is_hit(&self) -> bool; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `enemy_strike_history` is never read [INFO] [stdout] --> src/game.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Game{ [INFO] [stdout] | ---- field in this struct [INFO] [stdout] ... [INFO] [stdout] 13 | enemy_strike_history: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `capacity`, `parts`, `start_coord`, and `end_coord` are never read [INFO] [stdout] --> src/ship.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct Ship{ [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 7 | capacity: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 8 | parts: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 9 | start_coord: Coord, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 10 | end_coord: Coord, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Ship` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `create_empty_matrix` and `place_candidate` are never used [INFO] [stdout] --> src/ship_spawner.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 11 | impl ShipSpawner{ [INFO] [stdout] | ---------------- associated functions in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | fn create_empty_matrix() -> Vec>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | fn place_candidate(matrix: &mut Vec>, ship: &mut Ship){ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.34s [INFO] running `Command { std: "docker" "inspect" "091b0b43f2734147205843c386ef48107fb5273ef2bae92321df877916f4270b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "091b0b43f2734147205843c386ef48107fb5273ef2bae92321df877916f4270b", kill_on_drop: false }` [INFO] [stdout] 091b0b43f2734147205843c386ef48107fb5273ef2bae92321df877916f4270b