[INFO] cloning repository https://github.com/dougli1sqrd/rustship [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/dougli1sqrd/rustship" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdougli1sqrd%2Frustship", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdougli1sqrd%2Frustship'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a05705123fb3459213ee90de466d8b4867a031d9 [INFO] checking dougli1sqrd/rustship against try#3652eaba14e5de752eaa5a8ffcac7132f9244f07 for pr-139272 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdougli1sqrd%2Frustship" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dougli1sqrd/rustship on toolchain 3652eaba14e5de752eaa5a8ffcac7132f9244f07 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3652eaba14e5de752eaa5a8ffcac7132f9244f07" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dougli1sqrd/rustship [INFO] finished tweaking git repo https://github.com/dougli1sqrd/rustship [INFO] tweaked toml for git repo https://github.com/dougli1sqrd/rustship written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/dougli1sqrd/rustship 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" "+3652eaba14e5de752eaa5a8ffcac7132f9244f07" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking dougli1sqrd/rustship against try#3652eaba14e5de752eaa5a8ffcac7132f9244f07 for pr-139272 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdougli1sqrd%2Frustship" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/dougli1sqrd/rustship on toolchain 3652eaba14e5de752eaa5a8ffcac7132f9244f07 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3652eaba14e5de752eaa5a8ffcac7132f9244f07" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/dougli1sqrd/rustship [INFO] finished tweaking git repo https://github.com/dougli1sqrd/rustship [INFO] tweaked toml for git repo https://github.com/dougli1sqrd/rustship written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/dougli1sqrd/rustship 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" "+3652eaba14e5de752eaa5a8ffcac7132f9244f07" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+3652eaba14e5de752eaa5a8ffcac7132f9244f07" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6d0d873d7d78684cd3d6d4399ddd0d118225ab630b0264ba42a29beeb3f4d413 [INFO] running `Command { std: "docker" "start" "-a" "6d0d873d7d78684cd3d6d4399ddd0d118225ab630b0264ba42a29beeb3f4d413", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6d0d873d7d78684cd3d6d4399ddd0d118225ab630b0264ba42a29beeb3f4d413", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6d0d873d7d78684cd3d6d4399ddd0d118225ab630b0264ba42a29beeb3f4d413", kill_on_drop: false }` [INFO] [stdout] 6d0d873d7d78684cd3d6d4399ddd0d118225ab630b0264ba42a29beeb3f4d413 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+3652eaba14e5de752eaa5a8ffcac7132f9244f07" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f81a2ac685763675d37d26e0e64d00a2875ad6020058f42537a1ca054da24903 [INFO] running `Command { std: "docker" "start" "-a" "f81a2ac685763675d37d26e0e64d00a2875ad6020058f42537a1ca054da24903", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking rustship v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `coordinate` [INFO] [stdout] --> src/board/board.rs:95:32 [INFO] [stdout] | [INFO] [stdout] 95 | fn resolve_hit(& mut self, coordinate: Coordinate) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_coordinate` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `place` is never used [INFO] [stdout] --> src/grid/grid.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait GridType { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 6 | fn place(& mut self, column: usize, row: usize, item: T); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Horizontal` and `Vertical` are never constructed [INFO] [stdout] --> src/board/orientation.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum Orientation { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] 9 | Horizontal, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 10 | Vertical [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Orientation` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `rotate` is never used [INFO] [stdout] --> src/board/orientation.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Orientation { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 20 | pub fn rotate(self) -> Orientation { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `place`, `place_ship`, `receive_shot`, and `update_grid` are never used [INFO] [stdout] --> src/board/board.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl<'a> Board<'a> { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn place(& mut self, ship_type: ShipType, position: Coordinate, direction: Orientation) -> Result<(), Vec> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn place_ship(& mut self, ship: Ship<'a>) -> Result<(), Vec> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 52 | pub fn receive_shot(& mut self, coordinate: Coordinate) -> HitStatus { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | fn update_grid(& mut self, coordinates: &[Coordinate], ship: Ship<'a>) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `resolve_hit`, `resolve_miss`, and `receive_shot` are never used [INFO] [stdout] --> src/board/shot.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub trait Hit { [INFO] [stdout] | --- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 23 | fn resolve_hit(& mut self, coordinate: Coordinate); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | fn resolve_miss(& mut self, coordinate: Coordinate) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | fn receive_shot(& mut self, coordinate: Coordinate) -> HitStatus { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ShipType` is never used [INFO] [stdout] --> src/pieces/ship.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub enum ShipType { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `symbol` and `name` are never read [INFO] [stdout] --> src/pieces/ship.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 25 | struct ShipTypeData<'a> { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 26 | symbol: char, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 27 | name: & 'a str, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ShipTypeData` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/pieces/ship.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl<'a> ShipTypeData<'a> { [INFO] [stdout] | ------------------------- associated function in this implementation [INFO] [stdout] 32 | pub fn new(ship_type: ShipType) -> ShipTypeData<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `symbol`, `rotate`, `change_pos`, and `get_position` are never used [INFO] [stdout] --> src/pieces/ship.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 63 | impl<'a> Ship<'a> { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 64 | pub fn new(ship_type: ShipType) -> Ship<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | pub fn symbol(&self) -> char { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn rotate(& mut self) -> & Ship { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn change_pos(& mut self, position: Coordinate) -> & Ship { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn get_position(&self) -> Coordinate { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `coordinate` [INFO] [stdout] --> src/board/board.rs:95:32 [INFO] [stdout] | [INFO] [stdout] 95 | fn resolve_hit(& mut self, coordinate: Coordinate) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_coordinate` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `resolve_hit`, `resolve_miss`, and `receive_shot` are never used [INFO] [stdout] --> src/board/shot.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 20 | pub trait Hit { [INFO] [stdout] | --- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 23 | fn resolve_hit(& mut self, coordinate: Coordinate); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | fn resolve_miss(& mut self, coordinate: Coordinate) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | fn receive_shot(& mut self, coordinate: Coordinate) -> HitStatus { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/pieces/ship.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 25 | struct ShipTypeData<'a> { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 26 | symbol: char, [INFO] [stdout] 27 | name: & 'a str, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ShipTypeData` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.12s [INFO] running `Command { std: "docker" "inspect" "f81a2ac685763675d37d26e0e64d00a2875ad6020058f42537a1ca054da24903", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f81a2ac685763675d37d26e0e64d00a2875ad6020058f42537a1ca054da24903", kill_on_drop: false }` [INFO] [stdout] f81a2ac685763675d37d26e0e64d00a2875ad6020058f42537a1ca054da24903