[INFO] cloning repository https://github.com/parkerbrown98/rust-colony-sim [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/parkerbrown98/rust-colony-sim" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fparkerbrown98%2Frust-colony-sim", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fparkerbrown98%2Frust-colony-sim'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5e9d5b2f42b9596b709905e4498202ec6dec8797 [INFO] checking parkerbrown98/rust-colony-sim against try#73ffebff6f34db7eb167bf9edcf2afa19c3073e9 for pr-147841 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fparkerbrown98%2Frust-colony-sim" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/parkerbrown98/rust-colony-sim [INFO] finished tweaking git repo https://github.com/parkerbrown98/rust-colony-sim [INFO] tweaked toml for git repo https://github.com/parkerbrown98/rust-colony-sim written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/parkerbrown98/rust-colony-sim on toolchain 73ffebff6f34db7eb167bf9edcf2afa19c3073e9 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+73ffebff6f34db7eb167bf9edcf2afa19c3073e9" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/parkerbrown98/rust-colony-sim 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" "+73ffebff6f34db7eb167bf9edcf2afa19c3073e9" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde_derive v1.0.213 [INFO] [stderr] Downloaded syn v2.0.82 [INFO] [stderr] Downloaded serde v1.0.213 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+73ffebff6f34db7eb167bf9edcf2afa19c3073e9" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 77e0ae62b31192f6a2240504e53f0a76aa2854ae104926ef976458a481182518 [INFO] running `Command { std: "docker" "start" "-a" "77e0ae62b31192f6a2240504e53f0a76aa2854ae104926ef976458a481182518", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "77e0ae62b31192f6a2240504e53f0a76aa2854ae104926ef976458a481182518", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "77e0ae62b31192f6a2240504e53f0a76aa2854ae104926ef976458a481182518", kill_on_drop: false }` [INFO] [stdout] 77e0ae62b31192f6a2240504e53f0a76aa2854ae104926ef976458a481182518 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+73ffebff6f34db7eb167bf9edcf2afa19c3073e9" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1753bcb11b1d2aa5161cd50dd9a51bf628757976ccb2baa56fd818e9822380cf [INFO] running `Command { std: "docker" "start" "-a" "1753bcb11b1d2aa5161cd50dd9a51bf628757976ccb2baa56fd818e9822380cf", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.161 [INFO] [stderr] Compiling serde v1.0.213 [INFO] [stderr] Checking foldhash v0.1.3 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking unicode-segmentation v1.12.0 [INFO] [stderr] Checking winnow v0.6.20 [INFO] [stderr] Compiling syn v2.0.82 [INFO] [stderr] Checking castaway v0.2.3 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Checking cassowary v0.3.0 [INFO] [stderr] Checking bytes v1.8.0 [INFO] [stderr] Checking compact_str v0.8.0 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking hashbrown v0.15.0 [INFO] [stderr] Checking indexmap v2.6.0 [INFO] [stderr] Checking lru v0.12.5 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking signal-hook-mio v0.2.4 [INFO] [stderr] Checking crossterm v0.28.1 [INFO] [stderr] Checking unicode-truncate v1.1.0 [INFO] [stderr] Compiling serde_derive v1.0.213 [INFO] [stderr] Compiling strum_macros v0.26.4 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling instability v0.3.2 [INFO] [stderr] Checking tokio v1.41.0 [INFO] [stderr] Checking strum v0.26.3 [INFO] [stderr] Checking ratatui v0.29.0 [INFO] [stderr] Checking toml_datetime v0.6.8 [INFO] [stderr] Checking serde_spanned v0.6.8 [INFO] [stderr] Checking serde_json v1.0.132 [INFO] [stderr] Checking toml_edit v0.22.22 [INFO] [stderr] Checking toml v0.8.19 [INFO] [stderr] Checking space_colony_sim v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `KeyCode`, `KeyEvent`, and `KeyModifiers` [INFO] [stdout] --> src/display.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use crossterm::event::{KeyCode, KeyEvent, KeyModifiers}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CompletedFrame` and `text::Text` [INFO] [stdout] --> src/display.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | text::Text, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 5 | widgets::{Block, Borders, Paragraph}, [INFO] [stdout] 6 | CompletedFrame, DefaultTerminal, Frame, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::HashMap` [INFO] [stdout] --> src/display.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | use std::{collections::HashMap, io}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `action` [INFO] [stdout] --> src/game.rs:24:34 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn add_action(&mut self, action: Box) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_action` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/game.rs:74:28 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn load(&mut self, path: &str) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/game.rs:78:24 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn save(&self, path: &str) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `actions` is never read [INFO] [stdout] --> src/game.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct GameState { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 8 | entities: Vec>, [INFO] [stdout] 9 | actions: Vec>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_action` is never used [INFO] [stdout] --> src/game.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl GameState { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn add_action(&mut self, action: Box) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `max_entities` and `max_actions` are never read [INFO] [stdout] --> src/game.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Config { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 47 | tick_rate: f32, [INFO] [stdout] 48 | max_entities: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 49 | max_actions: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` 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 `load` and `save` are never used [INFO] [stdout] --> src/game.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 65 | impl Game { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn load(&mut self, path: &str) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn save(&self, path: &str) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `location` is never used [INFO] [stdout] --> src/game.rs:158:8 [INFO] [stdout] | [INFO] [stdout] 155 | pub trait Entity { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 158 | fn location(&self) -> Coords; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `location` is never read [INFO] [stdout] --> src/game.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 161 | pub struct Ship { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 162 | location: Coords, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_json` is never used [INFO] [stdout] --> src/fsutils.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn write_json(path: &str, data: &T) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_json` is never used [INFO] [stdout] --> src/fsutils.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn read_json Deserialize<'de>>(path: &str) -> std::io::Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `KeyCode`, `KeyEvent`, and `KeyModifiers` [INFO] [stdout] --> src/display.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use crossterm::event::{KeyCode, KeyEvent, KeyModifiers}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `CompletedFrame` and `text::Text` [INFO] [stdout] --> src/display.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | text::Text, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 5 | widgets::{Block, Borders, Paragraph}, [INFO] [stdout] 6 | CompletedFrame, DefaultTerminal, Frame, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `collections::HashMap` [INFO] [stdout] --> src/display.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | use std::{collections::HashMap, io}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `action` [INFO] [stdout] --> src/game.rs:24:34 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn add_action(&mut self, action: Box) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_action` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/game.rs:74:28 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn load(&mut self, path: &str) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/game.rs:78:24 [INFO] [stdout] | [INFO] [stdout] 78 | pub fn save(&self, path: &str) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_path` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `actions` is never read [INFO] [stdout] --> src/game.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct GameState { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] 8 | entities: Vec>, [INFO] [stdout] 9 | actions: Vec>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_action` is never used [INFO] [stdout] --> src/game.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl GameState { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn add_action(&mut self, action: Box) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `max_entities` and `max_actions` are never read [INFO] [stdout] --> src/game.rs:48:5 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Config { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 47 | tick_rate: f32, [INFO] [stdout] 48 | max_entities: u32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 49 | max_actions: u32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Config` 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 `load` and `save` are never used [INFO] [stdout] --> src/game.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 65 | impl Game { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn load(&mut self, path: &str) { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn save(&self, path: &str) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `location` is never used [INFO] [stdout] --> src/game.rs:158:8 [INFO] [stdout] | [INFO] [stdout] 155 | pub trait Entity { [INFO] [stdout] | ------ method in this trait [INFO] [stdout] ... [INFO] [stdout] 158 | fn location(&self) -> Coords; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `location` is never read [INFO] [stdout] --> src/game.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 161 | pub struct Ship { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 162 | location: Coords, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_json` is never used [INFO] [stdout] --> src/fsutils.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn write_json(path: &str, data: &T) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `read_json` is never used [INFO] [stdout] --> src/fsutils.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn read_json Deserialize<'de>>(path: &str) -> std::io::Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.28s [INFO] running `Command { std: "docker" "inspect" "1753bcb11b1d2aa5161cd50dd9a51bf628757976ccb2baa56fd818e9822380cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1753bcb11b1d2aa5161cd50dd9a51bf628757976ccb2baa56fd818e9822380cf", kill_on_drop: false }` [INFO] [stdout] 1753bcb11b1d2aa5161cd50dd9a51bf628757976ccb2baa56fd818e9822380cf