[INFO] cloning repository https://github.com/mfro/btd6-tool [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/mfro/btd6-tool" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmfro%2Fbtd6-tool", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmfro%2Fbtd6-tool'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 40e53fc5e7e52c578cb5dd2c7f9dcd7a25feec1f [INFO] checking mfro/btd6-tool against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmfro%2Fbtd6-tool" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mfro/btd6-tool on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mfro/btd6-tool [INFO] finished tweaking git repo https://github.com/mfro/btd6-tool [INFO] tweaked toml for git repo https://github.com/mfro/btd6-tool written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/mfro/btd6-tool 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded strum_macros v0.26.1 [INFO] [stderr] Downloaded strum v0.26.1 [INFO] [stderr] Downloaded indoc v2.0.4 [INFO] [stderr] Downloaded lru v0.12.3 [INFO] [stderr] Downloaded compact_str v0.7.1 [INFO] [stderr] Downloaded stability v0.1.1 [INFO] [stderr] Downloaded castaway v0.2.2 [INFO] [stderr] Downloaded ahash v0.8.10 [INFO] [stderr] Downloaded ratatui v0.26.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 00ba845ce60223f91b83ad617ef9eb5f5580f03731f42995cf930d82d51e2a5b [INFO] running `Command { std: "docker" "start" "-a" "00ba845ce60223f91b83ad617ef9eb5f5580f03731f42995cf930d82d51e2a5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "00ba845ce60223f91b83ad617ef9eb5f5580f03731f42995cf930d82d51e2a5b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00ba845ce60223f91b83ad617ef9eb5f5580f03731f42995cf930d82d51e2a5b", kill_on_drop: false }` [INFO] [stdout] 00ba845ce60223f91b83ad617ef9eb5f5580f03731f42995cf930d82d51e2a5b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2de633de20f02106eefc13f362a84ef6aafcbda28bc88917cc9087c23eb6c1cc [INFO] running `Command { std: "docker" "start" "-a" "2de633de20f02106eefc13f362a84ef6aafcbda28bc88917cc9087c23eb6c1cc", kill_on_drop: false }` [INFO] [stderr] Compiling windows_x86_64_gnu v0.52.0 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling ahash v0.8.10 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Compiling indoc v2.0.4 [INFO] [stderr] Checking unicode-segmentation v1.11.0 [INFO] [stderr] Compiling syn v2.0.51 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking castaway v0.2.2 [INFO] [stderr] Checking cassowary v0.3.0 [INFO] [stderr] Checking bytemuck v1.14.3 [INFO] [stderr] Checking signal-hook v0.3.17 [INFO] [stderr] Checking compact_str v0.7.1 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking windows-targets v0.52.0 [INFO] [stderr] Checking windows-core v0.52.0 [INFO] [stderr] Checking signal-hook-mio v0.2.3 [INFO] [stderr] Checking crossterm v0.27.0 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking windows v0.52.0 [INFO] [stderr] Checking lru v0.12.3 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling strum_macros v0.26.1 [INFO] [stderr] Compiling stability v0.1.1 [INFO] [stderr] Checking strum v0.26.1 [INFO] [stderr] Checking ratatui v0.26.1 [INFO] [stderr] Checking btd6-tool-cli v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `HashMap`, `HashSet`, `fs::File`, `time::Duration` [INFO] [stdout] --> src/main.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | collections::{HashMap, HashSet}, [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] 9 | fs::File, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 10 | time::Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BloonModelCache`, `ObjectId`, `Simulation` [INFO] [stdout] --> src/main.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | types::{ObjectId, Simulation}, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] 16 | BloonModelCache, BloonsGame, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize` [INFO] [stdout] --> src/main.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashMap`, `HashSet`, `fs::File`, `time::Duration` [INFO] [stdout] --> src/main.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | collections::{HashMap, HashSet}, [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] 9 | fs::File, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 10 | time::Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BloonModelCache`, `ObjectId`, `Simulation` [INFO] [stdout] --> src/main.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | types::{ObjectId, Simulation}, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] 16 | BloonModelCache, BloonsGame, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize` [INFO] [stdout] --> src/main.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `out` is never read [INFO] [stdout] --> src/app/mod.rs:132:5 [INFO] [stdout] | [INFO] [stdout] 131 | struct GameLogThread { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 132 | out: SyncSender, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BloonsThread` is never constructed [INFO] [stdout] --> src/app/mod.rs:173:8 [INFO] [stdout] | [INFO] [stdout] 173 | struct BloonsThread { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `run` are never used [INFO] [stdout] --> src/app/mod.rs:180:8 [INFO] [stdout] | [INFO] [stdout] 179 | impl BloonsThread { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 180 | fn new(out: SyncSender, game: BloonsGame) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | fn run(&mut self) -> Result<()> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_available_upgrades` is never used [INFO] [stdout] --> src/btd/mod.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn get_available_upgrades( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `values` is never read [INFO] [stdout] --> src/btd/mod.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 97 | struct BloonModelCacheBuilder { [INFO] [stdout] | ---------------------- field in this struct [INFO] [stdout] 98 | values: HashMap, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `build` is never used [INFO] [stdout] --> src/btd/mod.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 101 | impl BloonModelCacheBuilder { [INFO] [stdout] | --------------------------- method in this implementation [INFO] [stdout] 102 | fn build(&mut self, raw: &BloonModel) -> Result<&BloonModelCacheEntry> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BloonModelCache` is never constructed [INFO] [stdout] --> src/btd/mod.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 131 | pub struct BloonModelCache { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `load` and `get` are never used [INFO] [stdout] --> src/btd/mod.rs:136:12 [INFO] [stdout] | [INFO] [stdout] 135 | impl BloonModelCache { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 136 | pub fn load(model: &GameModel) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | pub fn get(&self, id: impl AsRef) -> Option<&BloonModelCacheEntry> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `base_health`, `base_total_rbe`, and `base_total_worth` are never read [INFO] [stdout] --> src/btd/mod.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 154 | pub struct BloonModelCacheEntry { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 155 | pub base_health: u64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 156 | [INFO] [stdout] 157 | pub base_total_rbe: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 158 | pub base_total_worth: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BloonModelCacheEntry` 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 `worth` is never used [INFO] [stdout] --> src/btd/mod.rs:162:12 [INFO] [stdout] | [INFO] [stdout] 161 | impl BloonModelCacheEntry { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] 162 | pub fn worth(&self, round: u64) -> f32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `try_get_bloons` is never used [INFO] [stdout] --> src/btd/mod.rs:236:12 [INFO] [stdout] | [INFO] [stdout] 211 | impl BloonsGame { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 236 | pub fn try_get_bloons(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/btd/mod.rs:313:12 [INFO] [stdout] | [INFO] [stdout] 312 | impl BloonsState { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 313 | pub fn new(bloons: Vec, max_path: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `load` is never used [INFO] [stdout] --> src/btd/mod.rs:325:8 [INFO] [stdout] | [INFO] [stdout] 324 | impl Bloon { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 325 | fn load(bloon: types::BloonTargetProxy) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BloonsHistogram` is never constructed [INFO] [stdout] --> src/btd/mod.rs:333:12 [INFO] [stdout] | [INFO] [stdout] 333 | pub struct BloonsHistogram { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_one`, and `get_percentile` are never used [INFO] [stdout] --> src/btd/mod.rs:339:12 [INFO] [stdout] | [INFO] [stdout] 338 | impl BloonsHistogram { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 339 | pub fn new(bucket_count: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 346 | pub fn add_one(&mut self, value: f32) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 353 | pub fn get_percentile(&self, value: f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `out` is never read [INFO] [stdout] --> src/app/mod.rs:132:5 [INFO] [stdout] | [INFO] [stdout] 131 | struct GameLogThread { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 132 | out: SyncSender, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BloonsThread` is never constructed [INFO] [stdout] --> src/app/mod.rs:173:8 [INFO] [stdout] | [INFO] [stdout] 173 | struct BloonsThread { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `run` are never used [INFO] [stdout] --> src/app/mod.rs:180:8 [INFO] [stdout] | [INFO] [stdout] 179 | impl BloonsThread { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 180 | fn new(out: SyncSender, game: BloonsGame) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | fn run(&mut self) -> Result<()> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_available_upgrades` is never used [INFO] [stdout] --> src/btd/mod.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn get_available_upgrades( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `values` is never read [INFO] [stdout] --> src/btd/mod.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 97 | struct BloonModelCacheBuilder { [INFO] [stdout] | ---------------------- field in this struct [INFO] [stdout] 98 | values: HashMap, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `build` is never used [INFO] [stdout] --> src/btd/mod.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 101 | impl BloonModelCacheBuilder { [INFO] [stdout] | --------------------------- method in this implementation [INFO] [stdout] 102 | fn build(&mut self, raw: &BloonModel) -> Result<&BloonModelCacheEntry> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BloonModelCache` is never constructed [INFO] [stdout] --> src/btd/mod.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 131 | pub struct BloonModelCache { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `load` and `get` are never used [INFO] [stdout] --> src/btd/mod.rs:136:12 [INFO] [stdout] | [INFO] [stdout] 135 | impl BloonModelCache { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 136 | pub fn load(model: &GameModel) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | pub fn get(&self, id: impl AsRef) -> Option<&BloonModelCacheEntry> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `base_health`, `base_total_rbe`, and `base_total_worth` are never read [INFO] [stdout] --> src/btd/mod.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 154 | pub struct BloonModelCacheEntry { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 155 | pub base_health: u64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 156 | [INFO] [stdout] 157 | pub base_total_rbe: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 158 | pub base_total_worth: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BloonModelCacheEntry` 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 `worth` is never used [INFO] [stdout] --> src/btd/mod.rs:162:12 [INFO] [stdout] | [INFO] [stdout] 161 | impl BloonModelCacheEntry { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] 162 | pub fn worth(&self, round: u64) -> f32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `try_get_bloons` is never used [INFO] [stdout] --> src/btd/mod.rs:236:12 [INFO] [stdout] | [INFO] [stdout] 211 | impl BloonsGame { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 236 | pub fn try_get_bloons(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/btd/mod.rs:313:12 [INFO] [stdout] | [INFO] [stdout] 312 | impl BloonsState { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 313 | pub fn new(bloons: Vec, max_path: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `load` is never used [INFO] [stdout] --> src/btd/mod.rs:325:8 [INFO] [stdout] | [INFO] [stdout] 324 | impl Bloon { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 325 | fn load(bloon: types::BloonTargetProxy) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BloonsHistogram` is never constructed [INFO] [stdout] --> src/btd/mod.rs:333:12 [INFO] [stdout] | [INFO] [stdout] 333 | pub struct BloonsHistogram { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_one`, and `get_percentile` are never used [INFO] [stdout] --> src/btd/mod.rs:339:12 [INFO] [stdout] | [INFO] [stdout] 338 | impl BloonsHistogram { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 339 | pub fn new(bucket_count: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 346 | pub fn add_one(&mut self, value: f32) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 353 | pub fn get_percentile(&self, value: f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 16.31s [INFO] running `Command { std: "docker" "inspect" "2de633de20f02106eefc13f362a84ef6aafcbda28bc88917cc9087c23eb6c1cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2de633de20f02106eefc13f362a84ef6aafcbda28bc88917cc9087c23eb6c1cc", kill_on_drop: false }` [INFO] [stdout] 2de633de20f02106eefc13f362a84ef6aafcbda28bc88917cc9087c23eb6c1cc [INFO] checking mfro/btd6-tool against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmfro%2Fbtd6-tool" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/mfro/btd6-tool on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/mfro/btd6-tool [INFO] finished tweaking git repo https://github.com/mfro/btd6-tool [INFO] tweaked toml for git repo https://github.com/mfro/btd6-tool written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/mfro/btd6-tool 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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c8c2945e9f6535ca47d4f9aac8071cc38e54d1190363119fa7fbfaa071405613 [INFO] running `Command { std: "docker" "start" "-a" "c8c2945e9f6535ca47d4f9aac8071cc38e54d1190363119fa7fbfaa071405613", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c8c2945e9f6535ca47d4f9aac8071cc38e54d1190363119fa7fbfaa071405613", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8c2945e9f6535ca47d4f9aac8071cc38e54d1190363119fa7fbfaa071405613", kill_on_drop: false }` [INFO] [stdout] c8c2945e9f6535ca47d4f9aac8071cc38e54d1190363119fa7fbfaa071405613 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b737024805d24a21925f95cd68a8b53ba614f9d006f7f217731621d4a9833e3d [INFO] running `Command { std: "docker" "start" "-a" "b737024805d24a21925f95cd68a8b53ba614f9d006f7f217731621d4a9833e3d", kill_on_drop: false }` [INFO] [stderr] Compiling windows_x86_64_gnu v0.52.0 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking once_cell v1.19.0 [INFO] [stderr] Compiling ahash v0.8.10 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling serde v1.0.197 [INFO] [stderr] Compiling serde_json v1.0.114 [INFO] [stderr] Checking either v1.10.0 [INFO] [stderr] Checking unicode-segmentation v1.11.0 [INFO] [stderr] Compiling syn v2.0.51 [INFO] [stderr] Checking signal-hook-registry v1.4.1 [INFO] [stderr] Checking mio v0.8.10 [INFO] [stderr] Checking parking_lot_core v0.9.9 [INFO] [stderr] Checking castaway v0.2.2 [INFO] [stderr] Checking cassowary v0.3.0 [INFO] [stderr] Compiling indoc v2.0.4 [INFO] [stderr] Checking compact_str v0.7.1 [INFO] [stderr] Checking bytemuck v1.14.3 [INFO] [stderr] Checking signal-hook v0.3.17 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking parking_lot v0.12.1 [INFO] [stderr] Checking windows-targets v0.52.0 [INFO] [stderr] Checking windows-core v0.52.0 [INFO] [stderr] Checking signal-hook-mio v0.2.3 [INFO] [stderr] Checking hashbrown v0.14.3 [INFO] [stderr] Checking crossterm v0.27.0 [INFO] [stderr] Checking lru v0.12.3 [INFO] [stderr] Checking windows v0.52.0 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling strum_macros v0.26.1 [INFO] [stderr] Compiling stability v0.1.1 [INFO] [stderr] Checking strum v0.26.1 [INFO] [stderr] Checking ratatui v0.26.1 [INFO] [stderr] Checking btd6-tool-cli v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `HashMap`, `HashSet`, `fs::File`, `time::Duration` [INFO] [stdout] --> src/main.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | collections::{HashMap, HashSet}, [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] 9 | fs::File, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 10 | time::Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BloonModelCache`, `ObjectId`, `Simulation` [INFO] [stdout] --> src/main.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | types::{ObjectId, Simulation}, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] 16 | BloonModelCache, BloonsGame, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize` [INFO] [stdout] --> src/main.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashMap`, `HashSet`, `fs::File`, `time::Duration` [INFO] [stdout] --> src/main.rs:8:19 [INFO] [stdout] | [INFO] [stdout] 8 | collections::{HashMap, HashSet}, [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] 9 | fs::File, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 10 | time::Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BloonModelCache`, `ObjectId`, `Simulation` [INFO] [stdout] --> src/main.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | types::{ObjectId, Simulation}, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] 16 | BloonModelCache, BloonsGame, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Deserialize`, `Serialize` [INFO] [stdout] --> src/main.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `out` is never read [INFO] [stdout] --> src/app/mod.rs:132:5 [INFO] [stdout] | [INFO] [stdout] 131 | struct GameLogThread { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 132 | out: SyncSender, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BloonsThread` is never constructed [INFO] [stdout] --> src/app/mod.rs:173:8 [INFO] [stdout] | [INFO] [stdout] 173 | struct BloonsThread { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `run` are never used [INFO] [stdout] --> src/app/mod.rs:180:8 [INFO] [stdout] | [INFO] [stdout] 179 | impl BloonsThread { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 180 | fn new(out: SyncSender, game: BloonsGame) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | fn run(&mut self) -> Result<()> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_available_upgrades` is never used [INFO] [stdout] --> src/btd/mod.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn get_available_upgrades( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `values` is never read [INFO] [stdout] --> src/btd/mod.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 97 | struct BloonModelCacheBuilder { [INFO] [stdout] | ---------------------- field in this struct [INFO] [stdout] 98 | values: HashMap, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `build` is never used [INFO] [stdout] --> src/btd/mod.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 101 | impl BloonModelCacheBuilder { [INFO] [stdout] | --------------------------- method in this implementation [INFO] [stdout] 102 | fn build(&mut self, raw: &BloonModel) -> Result<&BloonModelCacheEntry> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BloonModelCache` is never constructed [INFO] [stdout] --> src/btd/mod.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 131 | pub struct BloonModelCache { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `load` and `get` are never used [INFO] [stdout] --> src/btd/mod.rs:136:12 [INFO] [stdout] | [INFO] [stdout] 135 | impl BloonModelCache { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 136 | pub fn load(model: &GameModel) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | pub fn get(&self, id: impl AsRef) -> Option<&BloonModelCacheEntry> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `base_health`, `base_total_rbe`, and `base_total_worth` are never read [INFO] [stdout] --> src/btd/mod.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 154 | pub struct BloonModelCacheEntry { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 155 | pub base_health: u64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 156 | [INFO] [stdout] 157 | pub base_total_rbe: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 158 | pub base_total_worth: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BloonModelCacheEntry` 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 `worth` is never used [INFO] [stdout] --> src/btd/mod.rs:162:12 [INFO] [stdout] | [INFO] [stdout] 161 | impl BloonModelCacheEntry { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] 162 | pub fn worth(&self, round: u64) -> f32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `try_get_bloons` is never used [INFO] [stdout] --> src/btd/mod.rs:236:12 [INFO] [stdout] | [INFO] [stdout] 211 | impl BloonsGame { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 236 | pub fn try_get_bloons(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/btd/mod.rs:313:12 [INFO] [stdout] | [INFO] [stdout] 312 | impl BloonsState { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 313 | pub fn new(bloons: Vec, max_path: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `load` is never used [INFO] [stdout] --> src/btd/mod.rs:325:8 [INFO] [stdout] | [INFO] [stdout] 324 | impl Bloon { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 325 | fn load(bloon: types::BloonTargetProxy) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BloonsHistogram` is never constructed [INFO] [stdout] --> src/btd/mod.rs:333:12 [INFO] [stdout] | [INFO] [stdout] 333 | pub struct BloonsHistogram { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_one`, and `get_percentile` are never used [INFO] [stdout] --> src/btd/mod.rs:339:12 [INFO] [stdout] | [INFO] [stdout] 338 | impl BloonsHistogram { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 339 | pub fn new(bucket_count: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 346 | pub fn add_one(&mut self, value: f32) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 353 | pub fn get_percentile(&self, value: f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `out` is never read [INFO] [stdout] --> src/app/mod.rs:132:5 [INFO] [stdout] | [INFO] [stdout] 131 | struct GameLogThread { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 132 | out: SyncSender, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BloonsThread` is never constructed [INFO] [stdout] --> src/app/mod.rs:173:8 [INFO] [stdout] | [INFO] [stdout] 173 | struct BloonsThread { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `run` are never used [INFO] [stdout] --> src/app/mod.rs:180:8 [INFO] [stdout] | [INFO] [stdout] 179 | impl BloonsThread { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 180 | fn new(out: SyncSender, game: BloonsGame) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 190 | fn run(&mut self) -> Result<()> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_available_upgrades` is never used [INFO] [stdout] --> src/btd/mod.rs:58:8 [INFO] [stdout] | [INFO] [stdout] 58 | pub fn get_available_upgrades( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `values` is never read [INFO] [stdout] --> src/btd/mod.rs:98:5 [INFO] [stdout] | [INFO] [stdout] 97 | struct BloonModelCacheBuilder { [INFO] [stdout] | ---------------------- field in this struct [INFO] [stdout] 98 | values: HashMap, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `build` is never used [INFO] [stdout] --> src/btd/mod.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 101 | impl BloonModelCacheBuilder { [INFO] [stdout] | --------------------------- method in this implementation [INFO] [stdout] 102 | fn build(&mut self, raw: &BloonModel) -> Result<&BloonModelCacheEntry> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BloonModelCache` is never constructed [INFO] [stdout] --> src/btd/mod.rs:131:12 [INFO] [stdout] | [INFO] [stdout] 131 | pub struct BloonModelCache { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `load` and `get` are never used [INFO] [stdout] --> src/btd/mod.rs:136:12 [INFO] [stdout] | [INFO] [stdout] 135 | impl BloonModelCache { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 136 | pub fn load(model: &GameModel) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | pub fn get(&self, id: impl AsRef) -> Option<&BloonModelCacheEntry> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `base_health`, `base_total_rbe`, and `base_total_worth` are never read [INFO] [stdout] --> src/btd/mod.rs:155:9 [INFO] [stdout] | [INFO] [stdout] 154 | pub struct BloonModelCacheEntry { [INFO] [stdout] | -------------------- fields in this struct [INFO] [stdout] 155 | pub base_health: u64, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 156 | [INFO] [stdout] 157 | pub base_total_rbe: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 158 | pub base_total_worth: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BloonModelCacheEntry` 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 `worth` is never used [INFO] [stdout] --> src/btd/mod.rs:162:12 [INFO] [stdout] | [INFO] [stdout] 161 | impl BloonModelCacheEntry { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] 162 | pub fn worth(&self, round: u64) -> f32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `try_get_bloons` is never used [INFO] [stdout] --> src/btd/mod.rs:236:12 [INFO] [stdout] | [INFO] [stdout] 211 | impl BloonsGame { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 236 | pub fn try_get_bloons(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/btd/mod.rs:313:12 [INFO] [stdout] | [INFO] [stdout] 312 | impl BloonsState { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 313 | pub fn new(bloons: Vec, max_path: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `load` is never used [INFO] [stdout] --> src/btd/mod.rs:325:8 [INFO] [stdout] | [INFO] [stdout] 324 | impl Bloon { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 325 | fn load(bloon: types::BloonTargetProxy) -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BloonsHistogram` is never constructed [INFO] [stdout] --> src/btd/mod.rs:333:12 [INFO] [stdout] | [INFO] [stdout] 333 | pub struct BloonsHistogram { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_one`, and `get_percentile` are never used [INFO] [stdout] --> src/btd/mod.rs:339:12 [INFO] [stdout] | [INFO] [stdout] 338 | impl BloonsHistogram { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 339 | pub fn new(bucket_count: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 346 | pub fn add_one(&mut self, value: f32) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 353 | pub fn get_percentile(&self, value: f32) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.25s [INFO] running `Command { std: "docker" "inspect" "b737024805d24a21925f95cd68a8b53ba614f9d006f7f217731621d4a9833e3d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b737024805d24a21925f95cd68a8b53ba614f9d006f7f217731621d4a9833e3d", kill_on_drop: false }` [INFO] [stdout] b737024805d24a21925f95cd68a8b53ba614f9d006f7f217731621d4a9833e3d