[INFO] cloning repository https://github.com/gdgiangi/agi-garden [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gdgiangi/agi-garden" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgdgiangi%2Fagi-garden", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgdgiangi%2Fagi-garden'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bdbb03e4ba444a0a31f8a9f9dbeb13d88697a872 [INFO] testing gdgiangi/agi-garden against 1.91.0 for beta-1.92-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgdgiangi%2Fagi-garden" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/gdgiangi/agi-garden [INFO] finished tweaking git repo https://github.com/gdgiangi/agi-garden [INFO] tweaked toml for git repo https://github.com/gdgiangi/agi-garden written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/gdgiangi/agi-garden on toolchain 1.91.0 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.91.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/gdgiangi/agi-garden 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" "+1.91.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ordinalizer v0.1.0 [INFO] [stderr] Downloaded lebe v0.5.3 [INFO] [stderr] Downloaded bit_field v0.10.3 [INFO] [stderr] Downloaded avif-serialize v0.8.6 [INFO] [stderr] Downloaded image-webp v0.2.4 [INFO] [stderr] Downloaded imgref v1.12.0 [INFO] [stderr] Downloaded half v2.7.0 [INFO] [stderr] Downloaded moxcms v0.7.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 95cdc695867d658cd55df4354580f47527ad0095389a486f6ecfcd749dc50322 [INFO] running `Command { std: "docker" "start" "-a" "95cdc695867d658cd55df4354580f47527ad0095389a486f6ecfcd749dc50322", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "95cdc695867d658cd55df4354580f47527ad0095389a486f6ecfcd749dc50322", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95cdc695867d658cd55df4354580f47527ad0095389a486f6ecfcd749dc50322", kill_on_drop: false }` [INFO] [stdout] 95cdc695867d658cd55df4354580f47527ad0095389a486f6ecfcd749dc50322 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3cf8d240098a696c3b57f457282041c269915c5a9c13931faba99ffcc2b07fb2 [INFO] running `Command { std: "docker" "start" "-a" "3cf8d240098a696c3b57f457282041c269915c5a9c13931faba99ffcc2b07fb2", kill_on_drop: false }` [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling stable_deref_trait v1.2.1 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling adler2 v2.0.1 [INFO] [stderr] Compiling built v0.7.7 [INFO] [stderr] Compiling rayon v1.11.0 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling anstyle v1.0.13 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling anstream v0.6.21 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling imgref v1.12.0 [INFO] [stderr] Compiling bitstream-io v2.6.0 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Compiling weezl v0.1.10 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling indexmap v2.11.4 [INFO] [stderr] Compiling loop9 v0.1.5 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling flate2 v1.1.4 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Compiling crypto-common v0.1.6 [INFO] [stderr] Compiling zune-jpeg v0.4.21 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling avif-serialize v0.8.6 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling sha1 v0.10.6 [INFO] [stderr] Compiling mio v1.0.4 [INFO] [stderr] Compiling socket2 v0.6.0 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling signal-hook-registry v1.4.6 [INFO] [stderr] Compiling toml_write v0.1.2 [INFO] [stderr] Compiling bitflags v2.9.4 [INFO] [stderr] Compiling lebe v0.5.3 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling data-encoding v2.9.0 [INFO] [stderr] Compiling strsim v0.11.1 [INFO] [stderr] Compiling bit_field v0.10.3 [INFO] [stderr] Compiling bytemuck v1.24.0 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling byteorder-lite v0.1.0 [INFO] [stderr] Compiling rgb v0.8.52 [INFO] [stderr] Compiling clap_lex v0.7.5 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling image-webp v0.2.4 [INFO] [stderr] Compiling clap_builder v4.5.48 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling gif v0.13.3 [INFO] [stderr] Compiling png v0.18.0 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling iana-time-zone v0.1.64 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling hound v3.5.1 [INFO] [stderr] Compiling regex-automata v0.4.11 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling pxfm v0.1.25 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling ordinalizer v0.1.0 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling regex v1.11.3 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling moxcms v0.7.6 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling zerocopy-derive v0.8.27 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling equator-macro v0.4.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling profiling-procmacros v1.0.17 [INFO] [stderr] Compiling fax_derive v0.2.0 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling profiling v1.0.17 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling fax v0.2.6 [INFO] [stderr] Compiling clap_derive v4.5.47 [INFO] [stderr] Compiling equator v0.4.2 [INFO] [stderr] Compiling aligned-vec v0.6.4 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling v_frame v0.3.9 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling zerofrom v0.1.6 [INFO] [stderr] Compiling av1-grain v0.2.4 [INFO] [stderr] Compiling yoke v0.8.0 [INFO] [stderr] Compiling zerovec v0.11.4 [INFO] [stderr] Compiling zerotrie v0.2.2 [INFO] [stderr] Compiling clap v4.5.48 [INFO] [stderr] Compiling tinystr v0.8.1 [INFO] [stderr] Compiling potential_utf v0.1.3 [INFO] [stderr] Compiling icu_collections v2.0.0 [INFO] [stderr] Compiling icu_locale_core v2.0.0 [INFO] [stderr] Compiling icu_provider v2.0.0 [INFO] [stderr] Compiling icu_normalizer v2.0.0 [INFO] [stderr] Compiling icu_properties v2.0.1 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling uuid v1.18.1 [INFO] [stderr] Compiling chrono v0.4.42 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling half v2.7.0 [INFO] [stderr] Compiling exr v1.73.0 [INFO] [stderr] Compiling tiff v0.10.3 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling idna_adapter v1.2.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling idna v1.1.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling url v2.5.7 [INFO] [stderr] Compiling rand_distr v0.4.3 [INFO] [stderr] Compiling tungstenite v0.21.0 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling tokio-tungstenite v0.21.0 [INFO] [stderr] Compiling ravif v0.11.20 [INFO] [stderr] Compiling image v0.25.8 [INFO] [stderr] Compiling agi-garden v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Mutex` [INFO] [stdout] --> src/world.rs:17:22 [INFO] [stdout] | [INFO] [stdout] 17 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude` [INFO] [stdout] --> src/world.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/world.rs:1251:13 [INFO] [stdout] | [INFO] [stdout] 1251 | let mut devices = DeviceSet::new_with_config(messaging_cfg.msg_channels, messaging_cfg.msg_capacity, coord_cfg); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `write_free_pos` [INFO] [stdout] --> src/genome.rs:171:9 [INFO] [stdout] | [INFO] [stdout] 171 | let write_free_pos = code.len(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 171 | let _write_free_pos = code.len(); [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `N` [INFO] [stdout] | [INFO] [stdout] 171 - let write_free_pos = code.len(); [INFO] [stdout] 171 + let devices::coordination::CoordinationGame::update_ngrams::N = code.len(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/genome.rs:552:21 [INFO] [stdout] | [INFO] [stdout] 552 | let mut chunk = vec![Op::DevCall as u8, pref_dev.unwrap(), rng.gen_range(0..=3)]; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tick` [INFO] [stdout] --> src/meta.rs:86:64 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn submit_proposal(&mut self, proposal: PatchProposal, tick: u64) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tick` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `proposal` [INFO] [stdout] --> src/meta.rs:470:40 [INFO] [stdout] | [INFO] [stdout] 470 | fn calculate_founder_reward(&self, proposal: &PatchProposal, _baseline: &MetaScore, patched: &MetaScore) -> f64 { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_proposal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/meta.rs:490:13 [INFO] [stdout] | [INFO] [stdout] 490 | let mut proposals: Vec = self.proposal_queue.drain(..).collect(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `human_response_scale`, `human_corr_scale`, `human_ascii_match`, and `conv_pred_correct` are never read [INFO] [stdout] --> src/world.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 76 | pub struct WCRewards { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 87 | pub human_response_scale: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 88 | pub human_corr_scale: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 89 | pub human_ascii_match: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 90 | pub human_pred_correct: f64, [INFO] [stdout] 91 | pub conv_pred_correct: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WCRewards` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `episodic_read`, `episodic_write`, and `conv_context` are never read [INFO] [stdout] --> src/world.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 101 | pub struct WCRents { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 119 | pub episodic_read: f64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 120 | pub episodic_write: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 121 | pub conv_context: f64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WCRents` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tasks` is never read [INFO] [stdout] --> src/world.rs:176:9 [INFO] [stdout] | [INFO] [stdout] 170 | pub struct World { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 176 | pub tasks: TaskEngine, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `update_caps_for` is never used [INFO] [stdout] --> src/world.rs:443:8 [INFO] [stdout] | [INFO] [stdout] 186 | impl World { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 443 | fn update_caps_for(&self, org: &mut Organism) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ewma_human_pred` and `ewma_conv_goodness` are never read [INFO] [stdout] --> src/organism.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct LearningStats { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 32 | pub ewma_human_pred: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 33 | pub ewma_conv_goodness: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LearningStats` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `signals_sent`, `signals_received`, and `role_specialization` are never read [INFO] [stdout] --> src/organism.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct LineageStats { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 46 | pub signals_sent: u64, // Count of coordination signals sent [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 47 | pub signals_received: u64, // Count of coordination signals received [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 48 | pub role_specialization: f64, // 0.0 = decoder, 1.0 = signaler, 0.5 = balanced [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LineageStats` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `last_text_correct`, `audio_rmse_accum`, `image_rmse_accum`, and `coord_pool` are never read [INFO] [stdout] --> src/tasks.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct TaskEngine { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 8 | last_text_correct: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | audio_rmse_accum: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | image_rmse_accum: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | coord_pool: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RewardSignals` is never constructed [INFO] [stdout] --> src/tasks.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct RewardSignals { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `total` is never used [INFO] [stdout] --> src/tasks.rs:22:29 [INFO] [stdout] | [INFO] [stdout] 22 | impl RewardSignals { pub fn total(&self)->f64 { self.text+self.audio+self.image+self.compress+self.coordination } } [INFO] [stdout] | ------------------ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | method in this implementation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `pay_rewards` and `end_tick` are never used [INFO] [stdout] --> src/tasks.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl TaskEngine { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] 25 | pub fn pay_rewards(&mut self, _org: &mut Organism, r: &WCRewards, _tick:u64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn end_tick(&mut self, _tick:u64) {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `conv_goodness` is never read [INFO] [stdout] --> src/devices/mod.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct DeviceUsage { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 55 | pub conv_goodness: f64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DeviceUsage` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `value` is never read [INFO] [stdout] --> src/devices/mod.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 68 | struct EmissionRecord { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 71 | value: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EmissionRecord` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `human_last_resp` is never read [INFO] [stdout] --> src/devices/mod.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct DeviceSet { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 99 | human_last_resp: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/devices/audio.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl AudioDevice { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 17 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_channel_stats` and `reset_stats` are never used [INFO] [stdout] --> src/devices/message.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl MessageBus { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn get_channel_stats(&self, chan: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn reset_stats(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_tokens` is never used [INFO] [stdout] --> src/devices/human.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl HumanDevice { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn get_tokens(&self) -> Vec { self.input_tokens.clone() } [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `value` is never read [INFO] [stdout] --> src/devices/coordination.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct CoordinationAction { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | pub value: Vec, // Could be a guess vector, marker emission, etc. [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CoordinationAction` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `channel` is never read [INFO] [stdout] --> src/devices/coordination.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 91 | struct MessageRecord { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 94 | pub channel: usize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MessageRecord` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `take_credits` is never used [INFO] [stdout] --> src/devices/coordination.rs:609:12 [INFO] [stdout] | [INFO] [stdout] 99 | impl CoordinationGame { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 609 | pub fn take_credits(&mut self, org_id: usize) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `client_count` is never used [INFO] [stdout] --> src/realtime.rs:283:12 [INFO] [stdout] | [INFO] [stdout] 207 | impl RealtimeServer { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 283 | pub fn client_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `baseline_score`, `patched_score`, `adoption_tick`, and `founder_reward` are never read [INFO] [stdout] --> src/meta.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct AdoptedPatch { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 28 | pub proposal: PatchProposal, [INFO] [stdout] 29 | pub baseline_score: MetaScore, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 30 | pub patched_score: MetaScore, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 31 | pub adoption_tick: u64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 32 | pub founder_reward: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AdoptedPatch` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `proposal`, `baseline_score`, `patched_score`, `rejection_tick`, and `rejection_reason` are never read [INFO] [stdout] --> src/meta.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct RejectedPatch { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 37 | pub proposal: PatchProposal, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 38 | pub baseline_score: MetaScore, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 39 | pub patched_score: MetaScore, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 40 | pub rejection_tick: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 41 | pub rejection_reason: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RejectedPatch` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_stats` is never used [INFO] [stdout] --> src/meta.rs:479:12 [INFO] [stdout] | [INFO] [stdout] 80 | impl MetaGov { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 479 | pub fn get_stats(&self) -> (usize, usize, usize) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `log_meta_governance` and `log_error` are never used [INFO] [stdout] --> src/logger.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl AdvancedLogger { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn log_meta_governance(&self, message: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn log_error(&self, message: &str) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `log_meta_governance` and `log_error` are never used [INFO] [stdout] --> src/logger.rs:123:8 [INFO] [stdout] | [INFO] [stdout] 109 | pub trait LoggingCapable { [INFO] [stdout] | -------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 123 | fn log_meta_governance(&self, message: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | fn log_error(&self, message: &str) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 41s [INFO] running `Command { std: "docker" "inspect" "3cf8d240098a696c3b57f457282041c269915c5a9c13931faba99ffcc2b07fb2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3cf8d240098a696c3b57f457282041c269915c5a9c13931faba99ffcc2b07fb2", kill_on_drop: false }` [INFO] [stdout] 3cf8d240098a696c3b57f457282041c269915c5a9c13931faba99ffcc2b07fb2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1ba30a44189bb6d4c238789e3cac3725987d54b3b2b10cd5e5efcf5404c761e3 [INFO] running `Command { std: "docker" "start" "-a" "1ba30a44189bb6d4c238789e3cac3725987d54b3b2b10cd5e5efcf5404c761e3", kill_on_drop: false }` [INFO] [stderr] Compiling agi-garden v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Mutex` [INFO] [stdout] --> src/world.rs:17:22 [INFO] [stdout] | [INFO] [stdout] 17 | use std::sync::{Arc, Mutex}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/sandbox.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude` [INFO] [stdout] --> src/world.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/world.rs:1251:13 [INFO] [stdout] | [INFO] [stdout] 1251 | let mut devices = DeviceSet::new_with_config(messaging_cfg.msg_channels, messaging_cfg.msg_capacity, coord_cfg); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `write_free_pos` [INFO] [stdout] --> src/genome.rs:171:9 [INFO] [stdout] | [INFO] [stdout] 171 | let write_free_pos = code.len(); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 171 | let _write_free_pos = code.len(); [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `N` [INFO] [stdout] | [INFO] [stdout] 171 - let write_free_pos = code.len(); [INFO] [stdout] 171 + let devices::coordination::CoordinationGame::update_ngrams::N = code.len(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/genome.rs:552:21 [INFO] [stdout] | [INFO] [stdout] 552 | let mut chunk = vec![Op::DevCall as u8, pref_dev.unwrap(), rng.gen_range(0..=3)]; [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tick` [INFO] [stdout] --> src/meta.rs:86:64 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn submit_proposal(&mut self, proposal: PatchProposal, tick: u64) -> Result { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tick` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `proposal` [INFO] [stdout] --> src/meta.rs:470:40 [INFO] [stdout] | [INFO] [stdout] 470 | fn calculate_founder_reward(&self, proposal: &PatchProposal, _baseline: &MetaScore, patched: &MetaScore) -> f64 { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_proposal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/meta.rs:490:13 [INFO] [stdout] | [INFO] [stdout] 490 | let mut proposals: Vec = self.proposal_queue.drain(..).collect(); [INFO] [stdout] | ----^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `human_response_scale`, `human_corr_scale`, `human_ascii_match`, and `conv_pred_correct` are never read [INFO] [stdout] --> src/world.rs:87:9 [INFO] [stdout] | [INFO] [stdout] 76 | pub struct WCRewards { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 87 | pub human_response_scale: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 88 | pub human_corr_scale: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 89 | pub human_ascii_match: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 90 | pub human_pred_correct: f64, [INFO] [stdout] 91 | pub conv_pred_correct: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WCRewards` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `episodic_read`, `episodic_write`, and `conv_context` are never read [INFO] [stdout] --> src/world.rs:119:9 [INFO] [stdout] | [INFO] [stdout] 101 | pub struct WCRents { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 119 | pub episodic_read: f64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 120 | pub episodic_write: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 121 | pub conv_context: f64, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WCRents` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tasks` is never read [INFO] [stdout] --> src/world.rs:176:9 [INFO] [stdout] | [INFO] [stdout] 170 | pub struct World { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 176 | pub tasks: TaskEngine, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `update_caps_for` is never used [INFO] [stdout] --> src/world.rs:443:8 [INFO] [stdout] | [INFO] [stdout] 186 | impl World { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 443 | fn update_caps_for(&self, org: &mut Organism) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ewma_human_pred` and `ewma_conv_goodness` are never read [INFO] [stdout] --> src/organism.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub struct LearningStats { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 32 | pub ewma_human_pred: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 33 | pub ewma_conv_goodness: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LearningStats` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `signals_sent`, `signals_received`, and `role_specialization` are never read [INFO] [stdout] --> src/organism.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 42 | pub struct LineageStats { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 46 | pub signals_sent: u64, // Count of coordination signals sent [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 47 | pub signals_received: u64, // Count of coordination signals received [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 48 | pub role_specialization: f64, // 0.0 = decoder, 1.0 = signaler, 0.5 = balanced [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `LineageStats` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `last_text_correct`, `audio_rmse_accum`, `image_rmse_accum`, and `coord_pool` are never read [INFO] [stdout] --> src/tasks.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct TaskEngine { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 8 | last_text_correct: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | audio_rmse_accum: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 10 | image_rmse_accum: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 11 | coord_pool: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `RewardSignals` is never constructed [INFO] [stdout] --> src/tasks.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct RewardSignals { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `total` is never used [INFO] [stdout] --> src/tasks.rs:22:29 [INFO] [stdout] | [INFO] [stdout] 22 | impl RewardSignals { pub fn total(&self)->f64 { self.text+self.audio+self.image+self.compress+self.coordination } } [INFO] [stdout] | ------------------ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | method in this implementation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `pay_rewards` and `end_tick` are never used [INFO] [stdout] --> src/tasks.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl TaskEngine { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] 25 | pub fn pay_rewards(&mut self, _org: &mut Organism, r: &WCRewards, _tick:u64) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn end_tick(&mut self, _tick:u64) {} [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `conv_goodness` is never read [INFO] [stdout] --> src/devices/mod.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 24 | pub struct DeviceUsage { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 55 | pub conv_goodness: f64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DeviceUsage` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `value` is never read [INFO] [stdout] --> src/devices/mod.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 68 | struct EmissionRecord { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 71 | value: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EmissionRecord` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `human_last_resp` is never read [INFO] [stdout] --> src/devices/mod.rs:99:5 [INFO] [stdout] | [INFO] [stdout] 74 | pub struct DeviceSet { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 99 | human_last_resp: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/devices/audio.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl AudioDevice { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 17 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_channel_stats` and `reset_stats` are never used [INFO] [stdout] --> src/devices/message.rs:99:12 [INFO] [stdout] | [INFO] [stdout] 34 | impl MessageBus { [INFO] [stdout] | --------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 99 | pub fn get_channel_stats(&self, chan: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn reset_stats(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_tokens` is never used [INFO] [stdout] --> src/devices/human.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl HumanDevice { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn get_tokens(&self) -> Vec { self.input_tokens.clone() } [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `value` is never read [INFO] [stdout] --> src/devices/coordination.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct CoordinationAction { [INFO] [stdout] | ------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | pub value: Vec, // Could be a guess vector, marker emission, etc. [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CoordinationAction` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `channel` is never read [INFO] [stdout] --> src/devices/coordination.rs:94:9 [INFO] [stdout] | [INFO] [stdout] 91 | struct MessageRecord { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 94 | pub channel: usize, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MessageRecord` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `take_credits` is never used [INFO] [stdout] --> src/devices/coordination.rs:609:12 [INFO] [stdout] | [INFO] [stdout] 99 | impl CoordinationGame { [INFO] [stdout] | --------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 609 | pub fn take_credits(&mut self, org_id: usize) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `client_count` is never used [INFO] [stdout] --> src/realtime.rs:283:12 [INFO] [stdout] | [INFO] [stdout] 207 | impl RealtimeServer { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 283 | pub fn client_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `baseline_score`, `patched_score`, `adoption_tick`, and `founder_reward` are never read [INFO] [stdout] --> src/meta.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct AdoptedPatch { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 28 | pub proposal: PatchProposal, [INFO] [stdout] 29 | pub baseline_score: MetaScore, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 30 | pub patched_score: MetaScore, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 31 | pub adoption_tick: u64, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 32 | pub founder_reward: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AdoptedPatch` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `proposal`, `baseline_score`, `patched_score`, `rejection_tick`, and `rejection_reason` are never read [INFO] [stdout] --> src/meta.rs:37:9 [INFO] [stdout] | [INFO] [stdout] 36 | pub struct RejectedPatch { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 37 | pub proposal: PatchProposal, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 38 | pub baseline_score: MetaScore, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 39 | pub patched_score: MetaScore, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 40 | pub rejection_tick: u64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 41 | pub rejection_reason: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `RejectedPatch` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_stats` is never used [INFO] [stdout] --> src/meta.rs:479:12 [INFO] [stdout] | [INFO] [stdout] 80 | impl MetaGov { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 479 | pub fn get_stats(&self) -> (usize, usize, usize) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `log_meta_governance` and `log_error` are never used [INFO] [stdout] --> src/logger.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 42 | impl AdvancedLogger { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 69 | pub fn log_meta_governance(&self, message: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn log_error(&self, message: &str) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `log_meta_governance` and `log_error` are never used [INFO] [stdout] --> src/logger.rs:123:8 [INFO] [stdout] | [INFO] [stdout] 109 | pub trait LoggingCapable { [INFO] [stdout] | -------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 123 | fn log_meta_governance(&self, message: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 133 | fn log_error(&self, message: &str) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.49s [INFO] running `Command { std: "docker" "inspect" "1ba30a44189bb6d4c238789e3cac3725987d54b3b2b10cd5e5efcf5404c761e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ba30a44189bb6d4c238789e3cac3725987d54b3b2b10cd5e5efcf5404c761e3", kill_on_drop: false }` [INFO] [stdout] 1ba30a44189bb6d4c238789e3cac3725987d54b3b2b10cd5e5efcf5404c761e3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1.91.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 95cdecd4d77401855f9e3a7705eeb2968d98ddc53cb16f7f8f008187826216b8 [INFO] running `Command { std: "docker" "start" "-a" "95cdecd4d77401855f9e3a7705eeb2968d98ddc53cb16f7f8f008187826216b8", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Mutex` [INFO] [stderr] --> src/world.rs:17:22 [INFO] [stderr] | [INFO] [stderr] 17 | use std::sync::{Arc, Mutex}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `super::*` [INFO] [stderr] --> src/sandbox.rs:93:9 [INFO] [stderr] | [INFO] [stderr] 93 | use super::*; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `rayon::prelude` [INFO] [stderr] --> src/world.rs:13:5 [INFO] [stderr] | [INFO] [stderr] 13 | use rayon::prelude::*; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/world.rs:1251:13 [INFO] [stderr] | [INFO] [stderr] 1251 | let mut devices = DeviceSet::new_with_config(messaging_cfg.msg_channels, messaging_cfg.msg_capacity, coord_cfg); [INFO] [stderr] | ----^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `write_free_pos` [INFO] [stderr] --> src/genome.rs:171:9 [INFO] [stderr] | [INFO] [stderr] 171 | let write_free_pos = code.len(); [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: if this is intentional, prefix it with an underscore [INFO] [stderr] | [INFO] [stderr] 171 | let _write_free_pos = code.len(); [INFO] [stderr] | + [INFO] [stderr] help: you might have meant to pattern match on the similarly named constant `N` [INFO] [stderr] | [INFO] [stderr] 171 - let write_free_pos = code.len(); [INFO] [stderr] 171 + let devices::coordination::CoordinationGame::update_ngrams::N = code.len(); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/genome.rs:552:21 [INFO] [stderr] | [INFO] [stderr] 552 | let mut chunk = vec![Op::DevCall as u8, pref_dev.unwrap(), rng.gen_range(0..=3)]; [INFO] [stderr] | ----^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `tick` [INFO] [stderr] --> src/meta.rs:86:64 [INFO] [stderr] | [INFO] [stderr] 86 | pub fn submit_proposal(&mut self, proposal: PatchProposal, tick: u64) -> Result { [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_tick` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `proposal` [INFO] [stderr] --> src/meta.rs:470:40 [INFO] [stderr] | [INFO] [stderr] 470 | fn calculate_founder_reward(&self, proposal: &PatchProposal, _baseline: &MetaScore, patched: &MetaScore) -> f64 { [INFO] [stderr] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_proposal` [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/meta.rs:490:13 [INFO] [stderr] | [INFO] [stderr] 490 | let mut proposals: Vec = self.proposal_queue.drain(..).collect(); [INFO] [stderr] | ----^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: fields `human_response_scale`, `human_corr_scale`, `human_ascii_match`, and `conv_pred_correct` are never read [INFO] [stderr] --> src/world.rs:87:9 [INFO] [stderr] | [INFO] [stderr] 76 | pub struct WCRewards { [INFO] [stderr] | --------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 87 | pub human_response_scale: f64, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] 88 | pub human_corr_scale: f64, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] 89 | pub human_ascii_match: f64, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] 90 | pub human_pred_correct: f64, [INFO] [stderr] 91 | pub conv_pred_correct: f64, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `WCRewards` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: fields `episodic_read`, `episodic_write`, and `conv_context` are never read [INFO] [stderr] --> src/world.rs:119:9 [INFO] [stderr] | [INFO] [stderr] 101 | pub struct WCRents { [INFO] [stderr] | ------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 119 | pub episodic_read: f64, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 120 | pub episodic_write: f64, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] 121 | pub conv_context: f64, [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `WCRents` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `tasks` is never read [INFO] [stderr] --> src/world.rs:176:9 [INFO] [stderr] | [INFO] [stderr] 170 | pub struct World { [INFO] [stderr] | ----- field in this struct [INFO] [stderr] ... [INFO] [stderr] 176 | pub tasks: TaskEngine, [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `update_caps_for` is never used [INFO] [stderr] --> src/world.rs:443:8 [INFO] [stderr] | [INFO] [stderr] 186 | impl World { [INFO] [stderr] | ---------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 443 | fn update_caps_for(&self, org: &mut Organism) { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `ewma_human_pred` and `ewma_conv_goodness` are never read [INFO] [stderr] --> src/organism.rs:32:9 [INFO] [stderr] | [INFO] [stderr] 14 | pub struct LearningStats { [INFO] [stderr] | ------------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 32 | pub ewma_human_pred: f64, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] 33 | pub ewma_conv_goodness: f64, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `LearningStats` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `signals_sent`, `signals_received`, and `role_specialization` are never read [INFO] [stderr] --> src/organism.rs:46:9 [INFO] [stderr] | [INFO] [stderr] 42 | pub struct LineageStats { [INFO] [stderr] | ------------ fields in this struct [INFO] [stderr] ... [INFO] [stderr] 46 | pub signals_sent: u64, // Count of coordination signals sent [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] 47 | pub signals_received: u64, // Count of coordination signals received [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] 48 | pub role_specialization: f64, // 0.0 = decoder, 1.0 = signaler, 0.5 = balanced [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `LineageStats` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `last_text_correct`, `audio_rmse_accum`, `image_rmse_accum`, and `coord_pool` are never read [INFO] [stderr] --> src/tasks.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 7 | pub struct TaskEngine { [INFO] [stderr] | ---------- fields in this struct [INFO] [stderr] 8 | last_text_correct: usize, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] 9 | audio_rmse_accum: f64, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] 10 | image_rmse_accum: f64, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] 11 | coord_pool: Vec, [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `RewardSignals` is never constructed [INFO] [stderr] --> src/tasks.rs:15:12 [INFO] [stderr] | [INFO] [stderr] 15 | pub struct RewardSignals { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `total` is never used [INFO] [stderr] --> src/tasks.rs:22:29 [INFO] [stderr] | [INFO] [stderr] 22 | impl RewardSignals { pub fn total(&self)->f64 { self.text+self.audio+self.image+self.compress+self.coordination } } [INFO] [stderr] | ------------------ ^^^^^ [INFO] [stderr] | | [INFO] [stderr] | method in this implementation [INFO] [stderr] [INFO] [stderr] warning: methods `pay_rewards` and `end_tick` are never used [INFO] [stderr] --> src/tasks.rs:25:12 [INFO] [stderr] | [INFO] [stderr] 24 | impl TaskEngine { [INFO] [stderr] | --------------- methods in this implementation [INFO] [stderr] 25 | pub fn pay_rewards(&mut self, _org: &mut Organism, r: &WCRewards, _tick:u64) -> Result { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 58 | pub fn end_tick(&mut self, _tick:u64) {} [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `conv_goodness` is never read [INFO] [stderr] --> src/devices/mod.rs:55:9 [INFO] [stderr] | [INFO] [stderr] 24 | pub struct DeviceUsage { [INFO] [stderr] | ----------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 55 | pub conv_goodness: f64, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `DeviceUsage` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `value` is never read [INFO] [stderr] --> src/devices/mod.rs:71:5 [INFO] [stderr] | [INFO] [stderr] 68 | struct EmissionRecord { [INFO] [stderr] | -------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 71 | value: f64, [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `EmissionRecord` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `human_last_resp` is never read [INFO] [stderr] --> src/devices/mod.rs:99:5 [INFO] [stderr] | [INFO] [stderr] 74 | pub struct DeviceSet { [INFO] [stderr] | --------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 99 | human_last_resp: HashMap, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function `new` is never used [INFO] [stderr] --> src/devices/audio.rs:17:12 [INFO] [stderr] | [INFO] [stderr] 16 | impl AudioDevice { [INFO] [stderr] | ---------------- associated function in this implementation [INFO] [stderr] 17 | pub fn new() -> Self { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `get_channel_stats` and `reset_stats` are never used [INFO] [stderr] --> src/devices/message.rs:99:12 [INFO] [stderr] | [INFO] [stderr] 34 | impl MessageBus { [INFO] [stderr] | --------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 99 | pub fn get_channel_stats(&self, chan: usize) -> Option { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 119 | pub fn reset_stats(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `get_tokens` is never used [INFO] [stderr] --> src/devices/human.rs:95:12 [INFO] [stderr] | [INFO] [stderr] 21 | impl HumanDevice { [INFO] [stderr] | ---------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 95 | pub fn get_tokens(&self) -> Vec { self.input_tokens.clone() } [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `value` is never read [INFO] [stderr] --> src/devices/coordination.rs:12:9 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct CoordinationAction { [INFO] [stderr] | ------------------ field in this struct [INFO] [stderr] ... [INFO] [stderr] 12 | pub value: Vec, // Could be a guess vector, marker emission, etc. [INFO] [stderr] | ^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `CoordinationAction` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `channel` is never read [INFO] [stderr] --> src/devices/coordination.rs:94:9 [INFO] [stderr] | [INFO] [stderr] 91 | struct MessageRecord { [INFO] [stderr] | ------------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 94 | pub channel: usize, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `MessageRecord` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: method `take_credits` is never used [INFO] [stderr] --> src/devices/coordination.rs:609:12 [INFO] [stderr] | [INFO] [stderr] 99 | impl CoordinationGame { [INFO] [stderr] | --------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 609 | pub fn take_credits(&mut self, org_id: usize) -> f64 { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `client_count` is never used [INFO] [stderr] --> src/realtime.rs:283:12 [INFO] [stderr] | [INFO] [stderr] 207 | impl RealtimeServer { [INFO] [stderr] | ------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 283 | pub fn client_count(&self) -> usize { [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `baseline_score`, `patched_score`, `adoption_tick`, and `founder_reward` are never read [INFO] [stderr] --> src/meta.rs:29:9 [INFO] [stderr] | [INFO] [stderr] 27 | pub struct AdoptedPatch { [INFO] [stderr] | ------------ fields in this struct [INFO] [stderr] 28 | pub proposal: PatchProposal, [INFO] [stderr] 29 | pub baseline_score: MetaScore, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] 30 | pub patched_score: MetaScore, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 31 | pub adoption_tick: u64, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 32 | pub founder_reward: f64, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `AdoptedPatch` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `proposal`, `baseline_score`, `patched_score`, `rejection_tick`, and `rejection_reason` are never read [INFO] [stderr] --> src/meta.rs:37:9 [INFO] [stderr] | [INFO] [stderr] 36 | pub struct RejectedPatch { [INFO] [stderr] | ------------- fields in this struct [INFO] [stderr] 37 | pub proposal: PatchProposal, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] 38 | pub baseline_score: MetaScore, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] 39 | pub patched_score: MetaScore, [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] 40 | pub rejection_tick: u64, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] 41 | pub rejection_reason: String, [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `RejectedPatch` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: method `get_stats` is never used [INFO] [stderr] --> src/meta.rs:479:12 [INFO] [stderr] | [INFO] [stderr] 80 | impl MetaGov { [INFO] [stderr] | ------------ method in this implementation [INFO] [stderr] ... [INFO] [stderr] 479 | pub fn get_stats(&self) -> (usize, usize, usize) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `log_meta_governance` and `log_error` are never used [INFO] [stderr] --> src/logger.rs:69:12 [INFO] [stderr] | [INFO] [stderr] 42 | impl AdvancedLogger { [INFO] [stderr] | ------------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 69 | pub fn log_meta_governance(&self, message: &str) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 89 | pub fn log_error(&self, message: &str) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `log_meta_governance` and `log_error` are never used [INFO] [stderr] --> src/logger.rs:123:8 [INFO] [stderr] | [INFO] [stderr] 109 | pub trait LoggingCapable { [INFO] [stderr] | -------------- methods in this trait [INFO] [stderr] ... [INFO] [stderr] 123 | fn log_meta_governance(&self, message: &str) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 133 | fn log_error(&self, message: &str) { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `agi-garden` (bin "agi-garden" test) generated 34 warnings (run `cargo fix --bin "agi-garden" --tests` to apply 6 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.24s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/agi_garden-3de9910b1615192a) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test devices::coordination::tests::test_coordination_basic ... ok [INFO] [stdout] test sandbox::tests::test_patch_evaluation ... ok [INFO] [stdout] test devices::coordination::tests::test_marker_stacking ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "95cdecd4d77401855f9e3a7705eeb2968d98ddc53cb16f7f8f008187826216b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "95cdecd4d77401855f9e3a7705eeb2968d98ddc53cb16f7f8f008187826216b8", kill_on_drop: false }` [INFO] [stdout] 95cdecd4d77401855f9e3a7705eeb2968d98ddc53cb16f7f8f008187826216b8