[INFO] cloning repository https://github.com/elementalcollision/Drug-Discovery-Idle [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/elementalcollision/Drug-Discovery-Idle" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Felementalcollision%2FDrug-Discovery-Idle", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Felementalcollision%2FDrug-Discovery-Idle'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b018be9fab3f4403c7aa6c4e2bc9df0c564c8773 [INFO] building elementalcollision/Drug-Discovery-Idle against master#44f415c1d617ebc7b931a243b7b321ef8a6ca47c for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Felementalcollision%2FDrug-Discovery-Idle" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/elementalcollision/Drug-Discovery-Idle on toolchain 44f415c1d617ebc7b931a243b7b321ef8a6ca47c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/elementalcollision/Drug-Discovery-Idle [INFO] finished tweaking git repo https://github.com/elementalcollision/Drug-Discovery-Idle [INFO] tweaked toml for git repo https://github.com/elementalcollision/Drug-Discovery-Idle written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/elementalcollision/Drug-Discovery-Idle 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" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c7d1c59bd5c3b00c20a8c5a48b52bb2c046ee4c0934a1e0c5c03f191fe47b588 [INFO] running `Command { std: "docker" "start" "-a" "c7d1c59bd5c3b00c20a8c5a48b52bb2c046ee4c0934a1e0c5c03f191fe47b588", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c7d1c59bd5c3b00c20a8c5a48b52bb2c046ee4c0934a1e0c5c03f191fe47b588", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c7d1c59bd5c3b00c20a8c5a48b52bb2c046ee4c0934a1e0c5c03f191fe47b588", kill_on_drop: false }` [INFO] [stdout] c7d1c59bd5c3b00c20a8c5a48b52bb2c046ee4c0934a1e0c5c03f191fe47b588 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f50b85921d675a4fabb4bfe496a2da82f077a3a9353dde7d22676d0525d332d6 [INFO] running `Command { std: "docker" "start" "-a" "f50b85921d675a4fabb4bfe496a2da82f077a3a9353dde7d22676d0525d332d6", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling pin-project-lite v0.2.16 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling smallvec v1.14.0 [INFO] [stderr] Compiling stable_deref_trait v1.2.0 [INFO] [stderr] Compiling log v0.4.27 [INFO] [stderr] Compiling bytes v1.10.1 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Compiling scopeguard v1.2.0 [INFO] [stderr] Compiling futures-core v0.3.31 [INFO] [stderr] Compiling litemap v0.7.5 [INFO] [stderr] Compiling writeable v0.5.5 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling typenum v1.18.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling icu_locid_transform_data v1.5.1 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling itoa v1.0.15 [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Compiling icu_properties_data v1.5.1 [INFO] [stderr] Compiling getrandom v0.3.2 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling tracing-core v0.1.33 [INFO] [stderr] Compiling icu_normalizer_data v1.5.1 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling futures-sink v0.3.31 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling futures-task v0.3.31 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling write16 v1.0.0 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling alloc-no-stdlib v2.0.4 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling utf16_iter v1.0.5 [INFO] [stderr] Compiling local-waker v0.1.4 [INFO] [stderr] Compiling utf8_iter v1.0.4 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling alloc-stdlib v0.2.2 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling http v0.2.12 [INFO] [stderr] Compiling tracing v0.1.41 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling num-conv v0.1.0 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling unicode-xid v0.2.6 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling jobserver v0.1.33 [INFO] [stderr] Compiling mio v1.0.3 [INFO] [stderr] Compiling parking_lot v0.12.3 [INFO] [stderr] Compiling signal-hook-registry v1.4.2 [INFO] [stderr] Compiling socket2 v0.5.9 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling cc v1.2.17 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling time-core v0.1.4 [INFO] [stderr] Compiling regex-lite v0.1.6 [INFO] [stderr] Compiling hashbrown v0.15.2 [INFO] [stderr] Compiling adler2 v2.0.0 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling miniz_oxide v0.8.5 [INFO] [stderr] Compiling time-macros v0.2.22 [INFO] [stderr] Compiling deranged v0.4.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling bytestring v1.4.0 [INFO] [stderr] Compiling brotli-decompressor v4.0.2 [INFO] [stderr] Compiling indexmap v2.8.0 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling actix-utils v3.0.1 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling ahash v0.7.8 [INFO] [stderr] Compiling cookie v0.16.2 [INFO] [stderr] Compiling form_urlencoded v1.2.1 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling actix-service v2.0.3 [INFO] [stderr] Compiling crc32fast v1.4.2 [INFO] [stderr] Compiling mime v0.3.17 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Compiling bitflags v2.9.0 [INFO] [stderr] Compiling cpufeatures v0.2.17 [INFO] [stderr] Compiling ryu v1.0.20 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling brotli v7.0.0 [INFO] [stderr] Compiling flate2 v1.1.1 [INFO] [stderr] Compiling rand v0.9.0 [INFO] [stderr] Compiling local-channel v0.1.5 [INFO] [stderr] Compiling encoding_rs v0.8.35 [INFO] [stderr] Compiling unicase v2.8.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling language-tags v0.3.2 [INFO] [stderr] Compiling time v0.3.41 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling foldhash v0.1.5 [INFO] [stderr] Compiling convert_case v0.4.0 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling socket2 v0.4.10 [INFO] [stderr] Compiling zstd-sys v2.0.15+zstd.1.5.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling is-terminal v0.4.16 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling http-range v0.1.5 [INFO] [stderr] Compiling termcolor v1.4.1 [INFO] [stderr] Compiling humantime v2.2.0 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling askama_escape v0.10.3 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling synstructure v0.13.1 [INFO] [stderr] Compiling env_logger v0.10.2 [INFO] [stderr] Compiling actix-router v0.5.3 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.7.5 [INFO] [stderr] Compiling zerovec-derive v0.10.3 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling icu_provider_macros v1.5.0 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling derive_more-impl v2.0.1 [INFO] [stderr] Compiling actix-macros v0.2.4 [INFO] [stderr] Compiling derive_more v0.99.19 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling actix-web-codegen v4.3.0 [INFO] [stderr] Compiling tokio v1.44.1 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling yoke v0.7.5 [INFO] [stderr] Compiling zerovec v0.10.4 [INFO] [stderr] Compiling zstd v0.13.3 [INFO] [stderr] Compiling tinystr v0.7.6 [INFO] [stderr] Compiling icu_collections v1.5.0 [INFO] [stderr] Compiling icu_locid v1.5.0 [INFO] [stderr] Compiling derive_more v2.0.1 [INFO] [stderr] Compiling icu_provider v1.5.0 [INFO] [stderr] Compiling icu_locid_transform v1.5.0 [INFO] [stderr] Compiling icu_properties v1.5.1 [INFO] [stderr] Compiling serde_urlencoded v0.7.1 [INFO] [stderr] Compiling chrono v0.4.40 [INFO] [stderr] Compiling uuid v1.16.0 [INFO] [stderr] Compiling tokio-util v0.7.14 [INFO] [stderr] Compiling actix-rt v2.10.0 [INFO] [stderr] Compiling actix-server v2.5.1 [INFO] [stderr] Compiling actix-codec v0.5.2 [INFO] [stderr] Compiling h2 v0.3.26 [INFO] [stderr] Compiling icu_normalizer v1.5.0 [INFO] [stderr] Compiling idna_adapter v1.2.0 [INFO] [stderr] Compiling idna v1.0.3 [INFO] [stderr] Compiling url v2.5.4 [INFO] [stderr] Compiling actix-http v3.10.0 [INFO] [stderr] Compiling actix-web v4.3.1 [INFO] [stderr] Compiling actix-cors v0.6.4 [INFO] [stderr] Compiling actix-files v0.6.2 [INFO] [stderr] Compiling drug-discovery-idle v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/api/game_routes.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use log::{info, error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_era` [INFO] [stdout] --> src/api/game_routes.rs:173:13 [INFO] [stdout] | [INFO] [stdout] 173 | let current_era = state.research_tree.current_era.clone(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_era` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/api/game_routes.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 69 | state.action_manager.start_action(action.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 69 | let _ = state.action_manager.start_action(action.clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `drug_discovery_idle::api` [INFO] [stdout] --> src/bin/web.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use drug_discovery_idle::api; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/api/game_routes.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use log::{info, error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_era` [INFO] [stdout] --> src/api/game_routes.rs:173:13 [INFO] [stdout] | [INFO] [stdout] 173 | let current_era = state.research_tree.current_era.clone(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_era` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/game/state.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 52 | impl GameState { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 53 | pub fn new(player_id: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn update(&mut self, elapsed_real_seconds: f64) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn add_starter_research_projects(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | pub fn start_research(&mut self, research_id: &str) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | pub fn apply_research_rewards(&mut self, project: &ResearchProject) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 192 | pub fn discover_new_drug(&mut self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 239 | pub fn start_drug_trial(&mut self, drug_id: &str) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 297 | pub fn collect_resources(&mut self) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 309 | pub fn get_completed_research(&mut self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 322 | pub fn get_completed_drug_trials(&mut self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 336 | pub fn get_resource_milestones(&self) -> Vec<(String, i64)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `state` and `last_tick` are never read [INFO] [stdout] --> src/game/engine.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct GameEngine { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 10 | state: Arc>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 11 | last_tick: Instant, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/game/engine.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl GameEngine { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 18 | pub fn new(state: GameState) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn get_state(&self) -> Arc> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn update(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | fn check_events_separate(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | fn process_completed_research(&mut self, completed_research: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | fn process_completed_trials(&mut self, completed_trials: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | fn process_resource_milestones(&mut self, milestones: Vec<(String, i64)>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | pub fn start_tick_loop(engine: Arc>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | pub fn get_events(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 225 | pub fn acknowledge_event(&mut self, event_id: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 229 | pub fn start_research(&self, research_id: &str) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 237 | pub fn start_drug_trial(&self, drug_id: &str) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 245 | pub fn collect_resources(&self) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `acknowledge` is never used [INFO] [stdout] --> src/game/events.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl GameEvent { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn acknowledge(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/game/research/research_system.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl ResearchSystem { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 38 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn update(&mut self, elapsed_seconds: f64) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn start_research_project(&mut self, project_id: &str) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn create_research_project( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn invest_in_era(&mut self, research_points: u64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | pub fn invest_in_discovery(&mut self, discovery_id: &str, research_points: u64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | fn generate_era_research_projects(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 400 | fn generate_discovery_research_projects(&mut self, discovery_id: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 551 | pub fn get_active_projects(&self) -> &HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 555 | pub fn get_completed_projects(&self) -> &HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 559 | pub fn get_current_era(&self) -> ResearchEra { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 563 | pub fn get_current_era_progress(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 568 | pub fn get_available_discoveries(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 572 | pub fn get_discovery_details(&self, discovery_id: &str) -> Option<(&Discovery, f64)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 577 | pub fn increase_research_rate(&mut self, amount: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/game/lore/timeline.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl HistoricalEvent { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 15 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Timeline` is never constructed [INFO] [stdout] --> src/game/lore/timeline.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct Timeline { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `initialize_events`, `get_events_by_era`, `get_events_by_year_range`, `get_events_by_key_figure`, and `get_major_events` are never used [INFO] [stdout] --> src/game/lore/timeline.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 38 | impl Timeline { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 39 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | fn initialize_events() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 454 | pub fn get_events_by_era(&self, era: &ResearchEra) -> Vec<&HistoricalEvent> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 460 | pub fn get_events_by_year_range(&self, start_year: u16, end_year: u16) -> Vec<&HistoricalEvent> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 466 | pub fn get_events_by_key_figure(&self, key_figure: &str) -> Vec<&HistoricalEvent> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 478 | pub fn get_major_events(&self, min_impact: u8) -> Vec<&HistoricalEvent> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/game/lore/discoveries.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl Discovery { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 32 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `invest_research_points` is never used [INFO] [stdout] --> src/game/lore/discoveries.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 68 | impl DiscoveryProgress { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn invest_research_points(&mut self, points: u64, required_points: u64) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_available_discoveries`, `invest_in_discovery`, `get_discovery_details`, `get_era_discoveries`, `get_milestone_discoveries`, and `get_research_bonus` are never used [INFO] [stdout] --> src/game/lore/discoveries.rs:384:12 [INFO] [stdout] | [INFO] [stdout] 105 | impl DiscoveryTree { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 384 | pub fn get_available_discoveries(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 408 | pub fn invest_in_discovery(&mut self, discovery_id: &str, research_points: u64) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 438 | pub fn get_discovery_details(&self, discovery_id: &str) -> Option<(&Discovery, &DiscoveryProgress)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 446 | pub fn get_era_discoveries(&self, era: &ResearchEra) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 453 | pub fn get_milestone_discoveries(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 460 | pub fn get_research_bonus(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/game/lore/research_eras.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl ResearchEra { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn description(&self) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn year_range(&self) -> (u16, u16) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn key_technologies(&self) -> Vec<&'static str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn key_figures(&self) -> Vec<&'static str> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 185 | pub fn breakthrough_drugs(&self) -> Vec<&'static str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 257 | pub fn required_research_points(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 269 | pub fn unlocks(&self) -> Vec<&'static str> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `invest_research_points`, `is_complete`, `unlock_technology`, and `add_discovery` are never used [INFO] [stdout] --> src/game/lore/research_eras.rs:346:12 [INFO] [stdout] | [INFO] [stdout] 333 | impl ResearchEraProgress { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 346 | pub fn invest_research_points(&mut self, points: u64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 360 | pub fn is_complete(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 364 | pub fn unlock_technology(&mut self, technology: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 370 | pub fn add_discovery(&mut self, discovery: String) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `invest_in_current_era`, `get_current_era_progress`, `get_unlocked_eras`, `unlock_technology`, and `add_discovery` are never used [INFO] [stdout] --> src/game/lore/research_eras.rs:408:12 [INFO] [stdout] | [INFO] [stdout] 407 | impl ResearchTimeline { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] 408 | pub fn invest_in_current_era(&mut self, research_points: u64) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 430 | pub fn get_current_era_progress(&self) -> Option<&ResearchEraProgress> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 434 | pub fn get_unlocked_eras(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 441 | pub fn unlock_technology(&mut self, era: &ResearchEra, technology: String) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 454 | pub fn add_discovery(&mut self, era: &ResearchEra, discovery: String) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_completed_actions` is never used [INFO] [stdout] --> src/game/gameplay/actions.rs:636:12 [INFO] [stdout] | [INFO] [stdout] 576 | impl ActionManager { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 636 | pub fn get_completed_actions(&self) -> Vec<(GameAction, u32)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_experience`, `add_resource`, and `get_resource` are never used [INFO] [stdout] --> src/models/player.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Player { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn add_experience(&mut self, amount: u32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn add_resource(&mut self, resource_type: &str, amount: i64) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn get_resource(&self, resource_type: &str) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `advance_trial_phase`, `get_property_value`, `discover_property`, `add_research_progress`, and `calculate_market_value` are never used [INFO] [stdout] --> src/models/drug.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 51 | impl Drug { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 52 | pub fn new(id: String, name: String, formula: String, drug_class: DrugClass) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn advance_trial_phase(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn get_property_value(&self, property_name: &str) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | pub fn discover_property(&mut self, property_name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | pub fn add_research_progress(&mut self, amount: f64) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | fn calculate_market_value(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `start`, `update_progress`, `get_rewards`, and `increase_success_chance` are never used [INFO] [stdout] --> src/models/research.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 41 | impl ResearchProject { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 42 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn start(&mut self) -> Result<(), String> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn update_progress(&mut self, additional_seconds: u32) -> ResearchStatus { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | pub fn get_rewards(&self) -> Result<&HashMap, String> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | pub fn increase_success_chance(&mut self, amount: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/api/game_routes.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 69 | state.action_manager.start_action(action.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 69 | let _ = state.action_manager.start_action(action.clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 14s [INFO] running `Command { std: "docker" "inspect" "f50b85921d675a4fabb4bfe496a2da82f077a3a9353dde7d22676d0525d332d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f50b85921d675a4fabb4bfe496a2da82f077a3a9353dde7d22676d0525d332d6", kill_on_drop: false }` [INFO] [stdout] f50b85921d675a4fabb4bfe496a2da82f077a3a9353dde7d22676d0525d332d6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+44f415c1d617ebc7b931a243b7b321ef8a6ca47c" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0cf5b0ccca7a3713754f81e76e84edbb63db6f872c02ba3007419a148be570d3 [INFO] running `Command { std: "docker" "start" "-a" "0cf5b0ccca7a3713754f81e76e84edbb63db6f872c02ba3007419a148be570d3", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/api/game_routes.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use log::{info, error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_era` [INFO] [stdout] --> src/api/game_routes.rs:173:13 [INFO] [stdout] | [INFO] [stdout] 173 | let current_era = state.research_tree.current_era.clone(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_era` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/api/game_routes.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 69 | state.action_manager.start_action(action.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 69 | let _ = state.action_manager.start_action(action.clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling drug-discovery-idle v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `drug_discovery_idle::api` [INFO] [stdout] --> src/bin/web.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use drug_discovery_idle::api; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/api/game_routes.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use log::{info, error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `error` [INFO] [stdout] --> src/api/game_routes.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use log::{info, error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_era` [INFO] [stdout] --> src/api/game_routes.rs:173:13 [INFO] [stdout] | [INFO] [stdout] 173 | let current_era = state.research_tree.current_era.clone(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_era` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_era` [INFO] [stdout] --> src/api/game_routes.rs:173:13 [INFO] [stdout] | [INFO] [stdout] 173 | let current_era = state.research_tree.current_era.clone(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_era` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/game/state.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 52 | impl GameState { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 53 | pub fn new(player_id: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn update(&mut self, elapsed_real_seconds: f64) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn add_starter_research_projects(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | pub fn start_research(&mut self, research_id: &str) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | pub fn apply_research_rewards(&mut self, project: &ResearchProject) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 192 | pub fn discover_new_drug(&mut self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 239 | pub fn start_drug_trial(&mut self, drug_id: &str) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 297 | pub fn collect_resources(&mut self) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 309 | pub fn get_completed_research(&mut self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 322 | pub fn get_completed_drug_trials(&mut self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 336 | pub fn get_resource_milestones(&self) -> Vec<(String, i64)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `state` and `last_tick` are never read [INFO] [stdout] --> src/game/engine.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct GameEngine { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 10 | state: Arc>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 11 | last_tick: Instant, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/game/engine.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl GameEngine { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 18 | pub fn new(state: GameState) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn get_state(&self) -> Arc> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn update(&mut self) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | fn check_events_separate(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | fn process_completed_research(&mut self, completed_research: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | fn process_completed_trials(&mut self, completed_trials: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 99 | fn process_resource_milestones(&mut self, milestones: Vec<(String, i64)>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 115 | pub fn start_tick_loop(engine: Arc>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | pub fn get_events(&self) -> &Vec { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 225 | pub fn acknowledge_event(&mut self, event_id: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 229 | pub fn start_research(&self, research_id: &str) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 237 | pub fn start_drug_trial(&self, drug_id: &str) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 245 | pub fn collect_resources(&self) -> Result, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `acknowledge` is never used [INFO] [stdout] --> src/game/events.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl GameEvent { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn acknowledge(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/game/research/research_system.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 37 | impl ResearchSystem { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 38 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn update(&mut self, elapsed_seconds: f64) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 72 | pub fn start_research_project(&mut self, project_id: &str) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 80 | pub fn create_research_project( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn invest_in_era(&mut self, research_points: u64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 127 | pub fn invest_in_discovery(&mut self, discovery_id: &str, research_points: u64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 165 | fn generate_era_research_projects(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 400 | fn generate_discovery_research_projects(&mut self, discovery_id: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 551 | pub fn get_active_projects(&self) -> &HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 555 | pub fn get_completed_projects(&self) -> &HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 559 | pub fn get_current_era(&self) -> ResearchEra { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 563 | pub fn get_current_era_progress(&self) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 568 | pub fn get_available_discoveries(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 572 | pub fn get_discovery_details(&self, discovery_id: &str) -> Option<(&Discovery, f64)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 577 | pub fn increase_research_rate(&mut self, amount: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/game/lore/timeline.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl HistoricalEvent { [INFO] [stdout] | -------------------- associated function in this implementation [INFO] [stdout] 15 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Timeline` is never constructed [INFO] [stdout] --> src/game/lore/timeline.rs:34:12 [INFO] [stdout] | [INFO] [stdout] 34 | pub struct Timeline { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `initialize_events`, `get_events_by_era`, `get_events_by_year_range`, `get_events_by_key_figure`, and `get_major_events` are never used [INFO] [stdout] --> src/game/lore/timeline.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 38 | impl Timeline { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 39 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | fn initialize_events() -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 454 | pub fn get_events_by_era(&self, era: &ResearchEra) -> Vec<&HistoricalEvent> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 460 | pub fn get_events_by_year_range(&self, start_year: u16, end_year: u16) -> Vec<&HistoricalEvent> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 466 | pub fn get_events_by_key_figure(&self, key_figure: &str) -> Vec<&HistoricalEvent> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 478 | pub fn get_major_events(&self, min_impact: u8) -> Vec<&HistoricalEvent> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/game/lore/discoveries.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl Discovery { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 32 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `invest_research_points` is never used [INFO] [stdout] --> src/game/lore/discoveries.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 68 | impl DiscoveryProgress { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn invest_research_points(&mut self, points: u64, required_points: u64) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_available_discoveries`, `invest_in_discovery`, `get_discovery_details`, `get_era_discoveries`, `get_milestone_discoveries`, and `get_research_bonus` are never used [INFO] [stdout] --> src/game/lore/discoveries.rs:384:12 [INFO] [stdout] | [INFO] [stdout] 105 | impl DiscoveryTree { [INFO] [stdout] | ------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 384 | pub fn get_available_discoveries(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 408 | pub fn invest_in_discovery(&mut self, discovery_id: &str, research_points: u64) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 438 | pub fn get_discovery_details(&self, discovery_id: &str) -> Option<(&Discovery, &DiscoveryProgress)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 446 | pub fn get_era_discoveries(&self, era: &ResearchEra) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 453 | pub fn get_milestone_discoveries(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 460 | pub fn get_research_bonus(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/game/lore/research_eras.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl ResearchEra { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn description(&self) -> &'static str { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn year_range(&self) -> (u16, u16) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 65 | pub fn key_technologies(&self) -> Vec<&'static str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn key_figures(&self) -> Vec<&'static str> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 185 | pub fn breakthrough_drugs(&self) -> Vec<&'static str> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 257 | pub fn required_research_points(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 269 | pub fn unlocks(&self) -> Vec<&'static str> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `invest_research_points`, `is_complete`, `unlock_technology`, and `add_discovery` are never used [INFO] [stdout] --> src/game/lore/research_eras.rs:346:12 [INFO] [stdout] | [INFO] [stdout] 333 | impl ResearchEraProgress { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 346 | pub fn invest_research_points(&mut self, points: u64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 360 | pub fn is_complete(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 364 | pub fn unlock_technology(&mut self, technology: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 370 | pub fn add_discovery(&mut self, discovery: String) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `invest_in_current_era`, `get_current_era_progress`, `get_unlocked_eras`, `unlock_technology`, and `add_discovery` are never used [INFO] [stdout] --> src/game/lore/research_eras.rs:408:12 [INFO] [stdout] | [INFO] [stdout] 407 | impl ResearchTimeline { [INFO] [stdout] | --------------------- methods in this implementation [INFO] [stdout] 408 | pub fn invest_in_current_era(&mut self, research_points: u64) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 430 | pub fn get_current_era_progress(&self) -> Option<&ResearchEraProgress> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 434 | pub fn get_unlocked_eras(&self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 441 | pub fn unlock_technology(&mut self, era: &ResearchEra, technology: String) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 454 | pub fn add_discovery(&mut self, era: &ResearchEra, discovery: String) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_completed_actions` is never used [INFO] [stdout] --> src/game/gameplay/actions.rs:636:12 [INFO] [stdout] | [INFO] [stdout] 576 | impl ActionManager { [INFO] [stdout] | ------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 636 | pub fn get_completed_actions(&self) -> Vec<(GameAction, u32)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_experience`, `add_resource`, and `get_resource` are never used [INFO] [stdout] --> src/models/player.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Player { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn add_experience(&mut self, amount: u32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn add_resource(&mut self, resource_type: &str, amount: i64) -> Result<(), String> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn get_resource(&self, resource_type: &str) -> i64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `advance_trial_phase`, `get_property_value`, `discover_property`, `add_research_progress`, and `calculate_market_value` are never used [INFO] [stdout] --> src/models/drug.rs:52:12 [INFO] [stdout] | [INFO] [stdout] 51 | impl Drug { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 52 | pub fn new(id: String, name: String, formula: String, drug_class: DrugClass) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn advance_trial_phase(&mut self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 134 | pub fn get_property_value(&self, property_name: &str) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | pub fn discover_property(&mut self, property_name: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 151 | pub fn add_research_progress(&mut self, amount: f64) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | fn calculate_market_value(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `start`, `update_progress`, `get_rewards`, and `increase_success_chance` are never used [INFO] [stdout] --> src/models/research.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 41 | impl ResearchProject { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 42 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn start(&mut self) -> Result<(), String> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 116 | pub fn update_progress(&mut self, additional_seconds: u32) -> ResearchStatus { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 143 | pub fn get_rewards(&self) -> Result<&HashMap, String> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 150 | pub fn increase_success_chance(&mut self, amount: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/api/game_routes.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 69 | state.action_manager.start_action(action.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 69 | let _ = state.action_manager.start_action(action.clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/api/game_routes.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 69 | state.action_manager.start_action(action.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 69 | let _ = state.action_manager.start_action(action.clone()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 3.10s [INFO] running `Command { std: "docker" "inspect" "0cf5b0ccca7a3713754f81e76e84edbb63db6f872c02ba3007419a148be570d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0cf5b0ccca7a3713754f81e76e84edbb63db6f872c02ba3007419a148be570d3", kill_on_drop: false }` [INFO] [stdout] 0cf5b0ccca7a3713754f81e76e84edbb63db6f872c02ba3007419a148be570d3