[INFO] cloning repository https://github.com/BirdMan-Studio/life_paper [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/BirdMan-Studio/life_paper" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBirdMan-Studio%2Flife_paper", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBirdMan-Studio%2Flife_paper'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6203f56049259d6a1f40ca41973e6f4ad4045439 [INFO] checking BirdMan-Studio/life_paper against 0cefa27fe3deee26fc98ee44249406358d9f0d26 for pr-164789 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBirdMan-Studio%2Flife_paper" "/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/BirdMan-Studio/life_paper [INFO] finished tweaking git repo https://github.com/BirdMan-Studio/life_paper [INFO] tweaked toml for git repo https://github.com/BirdMan-Studio/life_paper written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/BirdMan-Studio/life_paper on toolchain 0cefa27fe3deee26fc98ee44249406358d9f0d26 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0cefa27fe3deee26fc98ee44249406358d9f0d26" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/BirdMan-Studio/life_paper 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" "+0cefa27fe3deee26fc98ee44249406358d9f0d26" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded config v0.15.26 [INFO] [stderr] Downloaded deadpool-runtime v0.3.1 [INFO] [stderr] Downloaded deadpool v0.13.1 [INFO] [stderr] Downloaded deadpool-redis v0.23.1 [INFO] [stderr] Downloaded yaml-rust2 v0.11.1 [INFO] [stderr] Downloaded redis v1.7.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:c0af3998e971868164375a7dfb646c9933ddd1a3bdb00fa2041266763dc1eeab" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] f311443b2e4324e5797a0c22fc727533d35eb5e59484670056bba1d1a5d83fcf [INFO] running `Command { std: "docker" "start" "f311443b2e4324e5797a0c22fc727533d35eb5e59484670056bba1d1a5d83fcf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f311443b2e4324e5797a0c22fc727533d35eb5e59484670056bba1d1a5d83fcf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f311443b2e4324e5797a0c22fc727533d35eb5e59484670056bba1d1a5d83fcf" "/opt/rustwide/cargo-home/bin/cargo" "+0cefa27fe3deee26fc98ee44249406358d9f0d26" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f311443b2e4324e5797a0c22fc727533d35eb5e59484670056bba1d1a5d83fcf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "f311443b2e4324e5797a0c22fc727533d35eb5e59484670056bba1d1a5d83fcf" "/opt/rustwide/cargo-home/bin/cargo" "+0cefa27fe3deee26fc98ee44249406358d9f0d26" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.229 [INFO] [stderr] Compiling serde_core v1.0.229 [INFO] [stderr] Compiling cfg-if v1.0.5 [INFO] [stderr] Compiling typenum v1.20.1 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling syn v2.0.119 [INFO] [stderr] Compiling ring v0.17.14 [INFO] [stderr] Compiling litemap v0.8.3 [INFO] [stderr] Compiling serde_json v1.0.151 [INFO] [stderr] Compiling writeable v0.6.4 [INFO] [stderr] Compiling zerofrom v0.1.8 [INFO] [stderr] Checking crypto-common v0.1.7 [INFO] [stderr] Compiling zeroize v1.9.0 [INFO] [stderr] Compiling rustls v0.23.45 [INFO] [stderr] Compiling icu_properties_data v2.3.0 [INFO] [stderr] Compiling icu_normalizer_data v2.3.0 [INFO] [stderr] Compiling futures-core v0.3.34 [INFO] [stderr] Compiling rustls-pki-types v1.15.1 [INFO] [stderr] Compiling yoke v0.8.3 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking futures-util v0.3.34 [INFO] [stderr] Checking event-listener v5.4.2 [INFO] [stderr] Compiling lock_api v0.4.14 [INFO] [stderr] Compiling zerocopy v0.8.59 [INFO] [stderr] Compiling mio v1.2.3 [INFO] [stderr] Compiling socket2 v0.6.5 [INFO] [stderr] Compiling futures-sink v0.3.34 [INFO] [stderr] Compiling zerovec v0.11.8 [INFO] [stderr] Compiling zerotrie v0.2.5 [INFO] [stderr] Compiling bytes v1.12.1 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling form_urlencoded v1.2.2 [INFO] [stderr] Compiling webpki-roots v1.0.9 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.23 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling iana-time-zone v0.1.65 [INFO] [stderr] Compiling futures-io v0.3.34 [INFO] [stderr] Compiling parking v2.2.1 [INFO] [stderr] Compiling crc-catalog v2.5.0 [INFO] [stderr] Compiling slab v0.4.12 [INFO] [stderr] Compiling tinyvec v1.13.3 [INFO] [stderr] Compiling futures-task v0.3.34 [INFO] [stderr] Compiling crc v3.4.0 [INFO] [stderr] Compiling tokio v1.53.1 [INFO] [stderr] Compiling hashlink v0.10.0 [INFO] [stderr] Compiling tinystr v0.8.4 [INFO] [stderr] Compiling icu_locale_core v2.3.0 [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Compiling potential_utf v0.1.6 [INFO] [stderr] Compiling crossbeam-queue v0.3.14 [INFO] [stderr] Compiling chrono v0.4.45 [INFO] [stderr] Compiling icu_collections v2.3.0 [INFO] [stderr] Compiling webpki-roots v0.26.11 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Compiling thiserror v2.0.21 [INFO] [stderr] Compiling base64 v0.22.1 [INFO] [stderr] Compiling unicode-normalization v0.1.25 [INFO] [stderr] Compiling uuid v1.26.1 [INFO] [stderr] Compiling unicode-properties v0.1.4 [INFO] [stderr] Checking const-random v0.1.18 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Compiling atoi v2.0.0 [INFO] [stderr] Compiling block-buffer v0.10.4 [INFO] [stderr] Checking getrandom v0.4.3 [INFO] [stderr] Compiling futures-channel v0.3.34 [INFO] [stderr] Compiling bitflags v2.13.2 [INFO] [stderr] Compiling stringprep v0.1.5 [INFO] [stderr] Checking hashbrown v0.16.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking dlv-list v0.5.2 [INFO] [stderr] Compiling hmac v0.12.1 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling hkdf v0.12.4 [INFO] [stderr] Compiling md-5 v0.10.6 [INFO] [stderr] Checking event-listener-strategy v0.5.4 [INFO] [stderr] Checking num-integer v0.1.47 [INFO] [stderr] Checking winnow v1.0.4 [INFO] [stderr] Checking regex-automata v0.4.18 [INFO] [stderr] Compiling icu_provider v2.3.1 [INFO] [stderr] Checking num-bigint v0.5.1 [INFO] [stderr] Checking ordered-multimap v0.7.3 [INFO] [stderr] Checking hashlink v0.11.1 [INFO] [stderr] Compiling icu_properties v2.3.0 [INFO] [stderr] Checking async-lock v3.4.2 [INFO] [stderr] Checking toml_parser v1.1.3+spec-1.1.0 [INFO] [stderr] Checking erased-serde v0.4.10 [INFO] [stderr] Checking serde_spanned v1.1.1 [INFO] [stderr] Checking smallvec v1.16.2 [INFO] [stderr] Checking either v1.18.0 [INFO] [stderr] Checking toml_datetime v1.1.1+spec-1.1.0 [INFO] [stderr] Checking rand v0.8.8 [INFO] [stderr] Checking parking_lot_core v0.9.12 [INFO] [stderr] Checking icu_normalizer v2.3.0 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Checking idna_adapter v1.2.2 [INFO] [stderr] Checking rustls-webpki v0.103.15 [INFO] [stderr] Compiling futures-intrusive v0.5.0 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking unicode-ident v1.0.26 [INFO] [stderr] Checking arcstr v1.2.0 [INFO] [stderr] Checking xxhash-rust v0.8.18 [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Checking whoami v1.6.1 [INFO] [stderr] Checking ucd-trie v0.1.7 [INFO] [stderr] Checking home v0.5.12 [INFO] [stderr] Checking arraydeque v0.5.1 [INFO] [stderr] Checking toml v1.1.6+spec-1.1.0 [INFO] [stderr] Checking password-hash v0.5.0 [INFO] [stderr] Checking convert_case v0.6.0 [INFO] [stderr] Checking json5 v1.3.1 [INFO] [stderr] Checking yaml-rust2 v0.11.1 [INFO] [stderr] Checking ron v0.12.2 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Checking serde-untagged v0.1.9 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking serde_path_to_error v0.1.20 [INFO] [stderr] Checking rust-ini v0.21.3 [INFO] [stderr] Checking blake2 v0.10.6 [INFO] [stderr] Compiling async-trait v0.1.92 [INFO] [stderr] Checking thread_local v1.1.10 [INFO] [stderr] Checking pathdiff v0.2.3 [INFO] [stderr] Checking argon2 v0.5.3 [INFO] [stderr] Checking tower-http v0.6.11 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Checking config v0.15.26 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Compiling tokio-stream v0.1.19 [INFO] [stderr] Checking axum-core v0.5.6 [INFO] [stderr] Checking tracing-subscriber v0.3.23 [INFO] [stderr] Checking tokio-util v0.7.19 [INFO] [stderr] Checking deadpool-runtime v0.3.1 [INFO] [stderr] Checking hyper v1.11.1 [INFO] [stderr] Checking tower v0.5.3 [INFO] [stderr] Checking deadpool v0.13.1 [INFO] [stderr] Checking hyper-util v0.1.21 [INFO] [stderr] Checking combine v4.6.8 [INFO] [stderr] Checking sqlx-core v0.8.6 [INFO] [stderr] Checking axum v0.8.9 [INFO] [stderr] Checking sqlx-postgres v0.8.6 [INFO] [stderr] Checking redis v1.7.1 [INFO] [stderr] Compiling sqlx-macros-core v0.8.6 [INFO] [stderr] Compiling sqlx-macros v0.8.6 [INFO] [stderr] Checking sqlx v0.8.6 [INFO] [stderr] Checking deadpool-redis v0.23.1 [INFO] [stderr] Checking server v0.0.0 (/opt/rustwide/workdir/server) [INFO] [stdout] warning: unused import: `crate::domain::world::MapPosition` [INFO] [stdout] --> server/src/domain/matter/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use crate::domain::world::MapPosition; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BASIC_WORLD_SIZE_PX`, `BASIC_WORLD_WALL_THICKNESS_PX`, and `BASIC_WORLD_WATER_RADIUS_PX` [INFO] [stdout] --> server/src/domain/world/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | BASIC_WORLD_SIZE_PX, BASIC_WORLD_WALL_THICKNESS_PX, BASIC_WORLD_WATER_RADIUS_PX, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ElementDefinition`, `ElementId`, `ElementPhysicalProperties`, `ElementRecipe`, `ElementRegistrationError`, `ElementStorage`, `PhaseArealDensity`, and `Phase` [INFO] [stdout] --> server/src/domain/mod.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | ElementCategory, ElementDefinition, ElementId, ElementPhysicalProperties, ElementRecipe, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] 11 | ElementRegistrationError, ElementRegistry, ElementStorage, Phase, PhaseArealDensity, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ElementMixture`, `MatterEntity`, `MatterError`, and `MatterStructure` [INFO] [stdout] --> server/src/domain/mod.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | pub use matter::{ElementMixture, MatterEntity, MatterError, MatterStructure}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ComponentConnection`, `OrganismError`, `OrganismProgram`, and `ProgramFolderRecord` [INFO] [stdout] --> server/src/domain/mod.rs:16:25 [INFO] [stdout] | [INFO] [stdout] 16 | BiologicalOrganism, ComponentConnection, ComponentInstance, OrganismError, OrganismProgram, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | OrganismProgramId, ProgramFolderRecord, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ComponentId`, `ComponentRegistrationError`, `ComponentSlots`, and `ComponentUnlockRule` [INFO] [stdout] --> server/src/domain/mod.rs:20:45 [INFO] [stdout] | [INFO] [stdout] 20 | ComponentCategory, ComponentDefinition, ComponentId, ComponentRegistrationError, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 21 | ComponentRegistry, ComponentSlots, ComponentUnlockMethod, ComponentUnlockRule, [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TerrainDefinition`, `TerrainId`, and `TerrainRegistrationError` [INFO] [stdout] --> server/src/domain/mod.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | TerrainDefinition, TerrainId, TerrainRegistrationError, TerrainRegistry, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MAX_LEVEL_ID_LENGTH`, `MAX_TOTAL_WORLDS`, `MAX_WORLDS_PER_USER`, `MapPosition`, `TerrainArea`, `TerrainLayer`, `WorldGenerationError`, `WorldGeneratorEditor`, `World`, and `generate_basic_world` [INFO] [stdout] --> server/src/domain/mod.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | MAX_LEVEL_ID_LENGTH, MAX_TOTAL_WORLDS, MAX_WORLDS_PER_USER, MapPosition, TerrainArea, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] 31 | TerrainLayer, World, WorldDirectory, WorldDirectoryError, WorldGenerationError, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 32 | WorldGeneratorEditor, WorldInstance, WorldKind, WorldStatus, generate_basic_world, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::domain::world::MapPosition` [INFO] [stdout] --> server/src/domain/matter/mod.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use crate::domain::world::MapPosition; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BASIC_WORLD_SIZE_PX`, `BASIC_WORLD_WALL_THICKNESS_PX`, and `BASIC_WORLD_WATER_RADIUS_PX` [INFO] [stdout] --> server/src/domain/world/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | BASIC_WORLD_SIZE_PX, BASIC_WORLD_WALL_THICKNESS_PX, BASIC_WORLD_WATER_RADIUS_PX, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ElementDefinition`, `ElementId`, `ElementPhysicalProperties`, `ElementRecipe`, `ElementRegistrationError`, `ElementStorage`, `PhaseArealDensity`, and `Phase` [INFO] [stdout] --> server/src/domain/mod.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | ElementCategory, ElementDefinition, ElementId, ElementPhysicalProperties, ElementRecipe, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] 11 | ElementRegistrationError, ElementRegistry, ElementStorage, Phase, PhaseArealDensity, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ElementMixture`, `MatterEntity`, `MatterError`, and `MatterStructure` [INFO] [stdout] --> server/src/domain/mod.rs:14:18 [INFO] [stdout] | [INFO] [stdout] 14 | pub use matter::{ElementMixture, MatterEntity, MatterError, MatterStructure}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ComponentConnection`, `OrganismError`, `OrganismProgram`, and `ProgramFolderRecord` [INFO] [stdout] --> server/src/domain/mod.rs:16:25 [INFO] [stdout] | [INFO] [stdout] 16 | BiologicalOrganism, ComponentConnection, ComponentInstance, OrganismError, OrganismProgram, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] 17 | OrganismProgramId, ProgramFolderRecord, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ComponentId`, `ComponentRegistrationError`, and `ComponentUnlockRule` [INFO] [stdout] --> server/src/domain/mod.rs:20:45 [INFO] [stdout] | [INFO] [stdout] 20 | ComponentCategory, ComponentDefinition, ComponentId, ComponentRegistrationError, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 21 | ComponentRegistry, ComponentSlots, ComponentUnlockMethod, ComponentUnlockRule, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `TerrainDefinition`, `TerrainId`, and `TerrainRegistrationError` [INFO] [stdout] --> server/src/domain/mod.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | TerrainDefinition, TerrainId, TerrainRegistrationError, TerrainRegistry, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MAX_LEVEL_ID_LENGTH`, `MAX_TOTAL_WORLDS`, `MAX_WORLDS_PER_USER`, `MapPosition`, `TerrainArea`, `TerrainLayer`, `WorldGenerationError`, `WorldGeneratorEditor`, `World`, and `generate_basic_world` [INFO] [stdout] --> server/src/domain/mod.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | MAX_LEVEL_ID_LENGTH, MAX_TOTAL_WORLDS, MAX_WORLDS_PER_USER, MapPosition, TerrainArea, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] 31 | TerrainLayer, World, WorldDirectory, WorldDirectoryError, WorldGenerationError, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 32 | WorldGeneratorEditor, WorldInstance, WorldKind, WorldStatus, generate_basic_world, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `update_username`, `update_email`, and `update_password_hash` are never used [INFO] [stdout] --> server/src/db/user.rs:80:18 [INFO] [stdout] | [INFO] [stdout] 23 | impl UserRepository { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 80 | pub async fn update_username( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub async fn update_email(&self, id: i64, email: &str) -> Result, sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub async fn update_password_hash( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Phase` is never used [INFO] [stdout] --> server/src/domain/element/definition.rs:46:10 [INFO] [stdout] | [INFO] [stdout] 46 | pub enum Phase { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get` is never used [INFO] [stdout] --> server/src/domain/element/definition.rs:65:18 [INFO] [stdout] | [INFO] [stdout] 60 | impl PhaseArealDensity { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 65 | pub const fn get(self, phase: Phase) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `areal_density` is never used [INFO] [stdout] --> server/src/domain/element/definition.rs:117:18 [INFO] [stdout] | [INFO] [stdout] 116 | impl ElementDefinition { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] 117 | pub const fn areal_density(&self, phase: Phase) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get`, `contains`, `len`, and `is_empty` are never used [INFO] [stdout] --> server/src/domain/element/registry.rs:43:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl ElementRegistry { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn get(&self, id: &str) -> Option<&ElementDefinition> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn contains(&self, id: &str) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ElementStorage` is never constructed [INFO] [stdout] --> server/src/domain/element/storage.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct ElementStorage { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> server/src/domain/element/storage.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl ElementStorage { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 14 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn from_pairs(pairs: impl IntoIterator) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn get(&self, element: &str) -> u64 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn iter(&self) -> impl Iterator { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn set(&mut self, element: ElementId, amount: u64) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | pub fn add(&mut self, element: ElementId, amount: u64) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 54 | pub fn try_remove(&mut self, element: &str, amount: u64) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ElementRecipe` is never constructed [INFO] [stdout] --> server/src/domain/element/storage.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct ElementRecipe { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `MatterError` is never used [INFO] [stdout] --> server/src/domain/matter/mod.rs:13:10 [INFO] [stdout] | [INFO] [stdout] 13 | pub enum MatterError { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ElementMixture` is never constructed [INFO] [stdout] --> server/src/domain/matter/composition.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct ElementMixture { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `mass_grams`, `total_mass_grams`, `element_mass_per_occupied_pixel`, and `iter` are never used [INFO] [stdout] --> server/src/domain/matter/composition.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl ElementMixture { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 15 | /// 根据元素注册表创建混合物。重复元素会自动合并质量。 [INFO] [stdout] 16 | pub fn new(registry: &ElementRegistry, masses: I) -> Result [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn mass_grams(&self, element_id: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn total_mass_grams(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn element_mass_per_occupied_pixel( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn iter(&self) -> impl Iterator { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MatterEntity` is never constructed [INFO] [stdout] --> server/src/domain/matter/entity.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct MatterEntity { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `with_id`, and `element_mass_per_occupied_pixel` are never used [INFO] [stdout] --> server/src/domain/matter/entity.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl MatterEntity { [INFO] [stdout] | ----------------- associated items in this implementation [INFO] [stdout] 17 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn with_id( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn element_mass_per_occupied_pixel(&self, element_id: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `MatterStructure` is never constructed [INFO] [stdout] --> server/src/domain/matter/structure.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct MatterStructure { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> server/src/domain/matter/structure.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl MatterStructure { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 15 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 53 | pub fn filled(size_x_px: u32, size_y_px: u32) -> Result { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 70 | pub const fn size_x_px(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub const fn size_y_px(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn occupied_pixel_count(&self) -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 85 | pub fn is_occupied(&self, x: u32, y: u32) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn occupied_pixels(&self) -> &[bool] { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> server/src/domain/organism/model.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl ComponentInstance { [INFO] [stdout] | ---------------------- associated function in this implementation [INFO] [stdout] 17 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_component`, `connection_count`, and `remove_component` are never used [INFO] [stdout] --> server/src/domain/organism/model.rs:71:12 [INFO] [stdout] | [INFO] [stdout] 61 | impl BiologicalOrganism { [INFO] [stdout] | ----------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn add_component( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 130 | pub fn connection_count(&self, instance: Uuid) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 174 | pub fn remove_component(&mut self, instance: Uuid) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_uuid` is never used [INFO] [stdout] --> server/src/domain/organism/program.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 10 | impl OrganismProgramId { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | pub const fn as_uuid(self) -> Uuid { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProgramFolderRecord` is never constructed [INFO] [stdout] --> server/src/domain/organism/program.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct ProgramFolderRecord { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `entry_path` are never used [INFO] [stdout] --> server/src/domain/organism/program.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 50 | impl ProgramFolderRecord { [INFO] [stdout] | ------------------------ associated items in this implementation [INFO] [stdout] 51 | pub fn new(program_id: OrganismProgramId, folder: impl Into) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn entry_path(&self) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OrganismProgram` is never constructed [INFO] [stdout] --> server/src/domain/organism/program.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct OrganismProgram { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `total` and `iter` are never used [INFO] [stdout] --> server/src/domain/organism_component/definition.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 56 | impl ComponentSlots { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn total(&self) -> u32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn iter(&self) -> impl Iterator + '_ { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `paid` and `achievement` are never used [INFO] [stdout] --> server/src/domain/organism_component/definition.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 101 | impl ComponentUnlockRule { [INFO] [stdout] | ------------------------ associated functions in this implementation [INFO] [stdout] 102 | pub fn paid(energy_coin_cost: u64, gold_coin_cost: u64) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn achievement(achievement_id: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `contains`, `len`, and `is_empty` are never used [INFO] [stdout] --> server/src/domain/organism_component/registry.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl ComponentRegistry { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn contains(&self, id: &str) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `len` and `iter` are never used [INFO] [stdout] --> server/src/domain/terrain/registry.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl TerrainRegistry { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn iter(&self) -> impl Iterator { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> server/src/domain/world/directory.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 85 | impl WorldDirectory { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 86 | pub fn new(terrains: Arc) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `contains` is never used [INFO] [stdout] --> server/src/domain/world/structure.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl TerrainArea { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] 32 | pub fn contains(&self, position: MapPosition) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rectangle_contains` is never used [INFO] [stdout] --> server/src/domain/world/structure.rs:66:4 [INFO] [stdout] | [INFO] [stdout] 66 | fn rectangle_contains( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `terrain_at`, `default_terrain`, and `terrain_layers` are never used [INFO] [stdout] --> server/src/domain/world/structure.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 92 | impl World { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn terrain_at(&self, position: MapPosition) -> &TerrainId { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn default_terrain(&self) -> &TerrainId { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 112 | pub fn terrain_layers(&self) -> &[TerrainLayer] { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `terrains` is never read [INFO] [stdout] --> server/src/state.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct AppState { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | pub terrains: Arc, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `update_username`, `update_email`, and `update_password_hash` are never used [INFO] [stdout] --> server/src/db/user.rs:80:18 [INFO] [stdout] | [INFO] [stdout] 23 | impl UserRepository { [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 80 | pub async fn update_username( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 101 | pub async fn update_email(&self, id: i64, email: &str) -> Result, sqlx::Error> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | pub async fn update_password_hash( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `contains` and `is_empty` are never used [INFO] [stdout] --> server/src/domain/element/registry.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl ElementRegistry { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn contains(&self, id: &str) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_pairs`, `is_empty`, and `iter` are never used [INFO] [stdout] --> server/src/domain/element/storage.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl ElementStorage { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn from_pairs(pairs: impl IntoIterator) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 34 | pub fn iter(&self) -> impl Iterator { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ElementRecipe` is never constructed [INFO] [stdout] --> server/src/domain/element/storage.rs:70:12 [INFO] [stdout] | [INFO] [stdout] 70 | pub struct ElementRecipe { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `iter` is never used [INFO] [stdout] --> server/src/domain/matter/composition.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl ElementMixture { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn iter(&self) -> impl Iterator { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `size_x_px`, `size_y_px`, and `occupied_pixels` are never used [INFO] [stdout] --> server/src/domain/matter/structure.rs:70:18 [INFO] [stdout] | [INFO] [stdout] 14 | impl MatterStructure { [INFO] [stdout] | -------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 70 | pub const fn size_x_px(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub const fn size_y_px(&self) -> u32 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn occupied_pixels(&self) -> &[bool] { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `remove_component` is never used [INFO] [stdout] --> server/src/domain/organism/model.rs:174:12 [INFO] [stdout] | [INFO] [stdout] 61 | impl BiologicalOrganism { [INFO] [stdout] | ----------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 174 | pub fn remove_component(&mut self, instance: Uuid) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_uuid` is never used [INFO] [stdout] --> server/src/domain/organism/program.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 10 | impl OrganismProgramId { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 19 | pub const fn as_uuid(self) -> Uuid { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ProgramFolderRecord` is never constructed [INFO] [stdout] --> server/src/domain/organism/program.rs:44:12 [INFO] [stdout] | [INFO] [stdout] 44 | pub struct ProgramFolderRecord { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `entry_path` are never used [INFO] [stdout] --> server/src/domain/organism/program.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 50 | impl ProgramFolderRecord { [INFO] [stdout] | ------------------------ associated items in this implementation [INFO] [stdout] 51 | pub fn new(program_id: OrganismProgramId, folder: impl Into) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn entry_path(&self) -> PathBuf { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OrganismProgram` is never constructed [INFO] [stdout] --> server/src/domain/organism/program.rs:66:12 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct OrganismProgram { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `iter` is never used [INFO] [stdout] --> server/src/domain/organism_component/definition.rs:78:12 [INFO] [stdout] | [INFO] [stdout] 56 | impl ComponentSlots { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn iter(&self) -> impl Iterator + '_ { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `paid` and `achievement` are never used [INFO] [stdout] --> server/src/domain/organism_component/definition.rs:102:12 [INFO] [stdout] | [INFO] [stdout] 101 | impl ComponentUnlockRule { [INFO] [stdout] | ------------------------ associated functions in this implementation [INFO] [stdout] 102 | pub fn paid(energy_coin_cost: u64, gold_coin_cost: u64) -> Self { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 119 | pub fn achievement(achievement_id: impl Into) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `contains` and `is_empty` are never used [INFO] [stdout] --> server/src/domain/organism_component/registry.rs:67:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl ComponentRegistry { [INFO] [stdout] | ---------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn contains(&self, id: &str) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `iter` is never used [INFO] [stdout] --> server/src/domain/terrain/registry.rs:51:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl TerrainRegistry { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn iter(&self) -> impl Iterator { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `default_terrain` is never used [INFO] [stdout] --> server/src/domain/world/structure.rs:108:12 [INFO] [stdout] | [INFO] [stdout] 92 | impl World { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn default_terrain(&self) -> &TerrainId { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `terrains` is never read [INFO] [stdout] --> server/src/state.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct AppState { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 22 | pub terrains: Arc, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AppState` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: unused dependency `config` [INFO] [stderr] --> server/Cargo.toml:19:1 [INFO] [stderr] | [INFO] [stderr] 19 | config = "0.15.26" [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `cargo::unused_dependencies` is set to `warn` by default [INFO] [stderr] help: consider removing the dependency on `config` [INFO] [stderr] warning: `server` (manifest) generated 1 warning [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 15s [INFO] running `Command { std: "docker" "inspect" "f311443b2e4324e5797a0c22fc727533d35eb5e59484670056bba1d1a5d83fcf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f311443b2e4324e5797a0c22fc727533d35eb5e59484670056bba1d1a5d83fcf", kill_on_drop: false }` [INFO] [stdout] f311443b2e4324e5797a0c22fc727533d35eb5e59484670056bba1d1a5d83fcf