[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 master#5337252b9952fdd9482ed6a4add17254e5bd2c40 for pr-138785 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fparkerbrown98%2Frust-colony-sim" "/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/parkerbrown98/rust-colony-sim on toolchain 5337252b9952fdd9482ed6a4add17254e5bd2c40 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5337252b9952fdd9482ed6a4add17254e5bd2c40" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-5-tc1/source/Cargo.toml [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" "+5337252b9952fdd9482ed6a4add17254e5bd2c40" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+5337252b9952fdd9482ed6a4add17254e5bd2c40" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 86c50e4b518b1220314438a46df4d77decf383b083b2135fd10842f959299e2d [INFO] running `Command { std: "docker" "start" "-a" "86c50e4b518b1220314438a46df4d77decf383b083b2135fd10842f959299e2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "86c50e4b518b1220314438a46df4d77decf383b083b2135fd10842f959299e2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86c50e4b518b1220314438a46df4d77decf383b083b2135fd10842f959299e2d", kill_on_drop: false }` [INFO] [stdout] 86c50e4b518b1220314438a46df4d77decf383b083b2135fd10842f959299e2d [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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+5337252b9952fdd9482ed6a4add17254e5bd2c40" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8a3e8c14d1d31cfd8510641f130abd043e622c9e7e695ce6fc7893e20e379c0e [INFO] running `Command { std: "docker" "start" "-a" "8a3e8c14d1d31cfd8510641f130abd043e622c9e7e695ce6fc7893e20e379c0e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.89 [INFO] [stderr] Compiling unicode-ident v1.0.13 [INFO] [stderr] Compiling libc v0.2.161 [INFO] [stderr] Compiling serde v1.0.213 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling rustversion v1.0.18 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking allocator-api2 v0.2.18 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking foldhash v0.1.3 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling signal-hook v0.3.17 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking log v0.4.22 [INFO] [stderr] Checking hashbrown v0.15.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Compiling rustix v0.38.37 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking itoa v1.0.11 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Checking ryu v1.0.18 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Compiling quote v1.0.37 [INFO] [stderr] Checking winnow v0.6.20 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking castaway v0.2.3 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking indexmap v2.6.0 [INFO] [stderr] Compiling syn v2.0.82 [INFO] [stderr] Checking unicode-segmentation v1.12.0 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Compiling serde_json v1.0.132 [INFO] [stderr] Checking signal-hook-mio v0.2.4 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking crossterm v0.28.1 [INFO] [stderr] Checking compact_str v0.8.0 [INFO] [stderr] Checking lru v0.12.5 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking unicode-truncate v1.1.0 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Checking bytes v1.8.0 [INFO] [stderr] Compiling indoc v2.0.5 [INFO] [stderr] Checking cassowary v0.3.0 [INFO] [stderr] Checking unicode-width v0.2.0 [INFO] [stderr] Checking pin-project-lite v0.2.14 [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 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)]` 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 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)]` 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)]` on by default [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)]` 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: 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)]` 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: 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: 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)]` 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: 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 21.16s [INFO] running `Command { std: "docker" "inspect" "8a3e8c14d1d31cfd8510641f130abd043e622c9e7e695ce6fc7893e20e379c0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a3e8c14d1d31cfd8510641f130abd043e622c9e7e695ce6fc7893e20e379c0e", kill_on_drop: false }` [INFO] [stdout] 8a3e8c14d1d31cfd8510641f130abd043e622c9e7e695ce6fc7893e20e379c0e