[INFO] cloning repository https://github.com/shenjackyuanjie/dsp_seed_gen [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/shenjackyuanjie/dsp_seed_gen" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshenjackyuanjie%2Fdsp_seed_gen", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshenjackyuanjie%2Fdsp_seed_gen'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c7db89df670ec4bfa59e19691a606a9004c4a624 [INFO] checking shenjackyuanjie/dsp_seed_gen against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fshenjackyuanjie%2Fdsp_seed_gen" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/shenjackyuanjie/dsp_seed_gen [INFO] finished tweaking git repo https://github.com/shenjackyuanjie/dsp_seed_gen [INFO] tweaked toml for git repo https://github.com/shenjackyuanjie/dsp_seed_gen written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/shenjackyuanjie/dsp_seed_gen on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/shenjackyuanjie/dsp_seed_gen 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" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 979db99a64ef290290df562a73947dd64992aee72f60efc8cd4ee2c25c607ec9 [INFO] running `Command { std: "docker" "start" "-a" "979db99a64ef290290df562a73947dd64992aee72f60efc8cd4ee2c25c607ec9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "979db99a64ef290290df562a73947dd64992aee72f60efc8cd4ee2c25c607ec9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "979db99a64ef290290df562a73947dd64992aee72f60efc8cd4ee2c25c607ec9", kill_on_drop: false }` [INFO] [stdout] 979db99a64ef290290df562a73947dd64992aee72f60efc8cd4ee2c25c607ec9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0e161b4de024a83b189f3249b554f60cebdf717a5501bf1373b40c585f9db982 [INFO] running `Command { std: "docker" "start" "-a" "0e161b4de024a83b189f3249b554f60cebdf717a5501bf1373b40c585f9db982", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling proc-macro2 v1.0.72 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking bytemuck v1.14.0 [INFO] [stderr] Compiling paste v1.0.14 [INFO] [stderr] Compiling typenum v1.17.0 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking dotnet35_rand_rs v0.2.1 [INFO] [stderr] Checking bitflags v2.4.1 [INFO] [stderr] Checking safe_arch v0.7.1 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling matrixmultiply v0.3.8 [INFO] [stderr] Checking wide v0.7.13 [INFO] [stderr] Compiling quote v1.0.33 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking num-complex v0.4.4 [INFO] [stderr] Checking lerp v0.5.0 [INFO] [stderr] Checking simba v0.8.1 [INFO] [stderr] Compiling nalgebra-macros v0.2.1 [INFO] [stderr] Checking nalgebra v0.32.3 [INFO] [stderr] Checking dsp_world_gen v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::data_struct::consts::OIL_SPEED_MULTIPLIER` [INFO] [stdout] --> src/data_struct/vein_data.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub use crate::data_struct::consts::OIL_SPEED_MULTIPLIER; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::data_struct::consts::OIL_SPEED_MULTIPLIER` [INFO] [stdout] --> src/data_struct/vein_data.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub use crate::data_struct::consts::OIL_SPEED_MULTIPLIER; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u_rot` [INFO] [stdout] --> src/data_struct/astro_data.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | let u_rot = self.u_rot.cast::(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_u_rot` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `u_rot` [INFO] [stdout] --> src/data_struct/astro_data.rs:45:13 [INFO] [stdout] | [INFO] [stdout] 45 | let u_rot = self.u_rot.cast::(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_u_rot` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `num12` is assigned to, but never used [INFO] [stdout] --> src/data_struct/planet_raw_data.rs:194:17 [INFO] [stdout] | [INFO] [stdout] 194 | let mut num12 = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_num12` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `num12` is assigned to, but never used [INFO] [stdout] --> src/data_struct/planet_raw_data.rs:194:17 [INFO] [stdout] | [INFO] [stdout] 194 | let mut num12 = 0; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_num12` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `planet` [INFO] [stdout] --> src/gen/planet_gen.rs:325:5 [INFO] [stdout] | [INFO] [stdout] 325 | planet: &mut PlanetData, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_planet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `theme_ids` [INFO] [stdout] --> src/gen/planet_gen.rs:326:5 [INFO] [stdout] | [INFO] [stdout] 326 | theme_ids: &[i32], [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_theme_ids` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rand1` [INFO] [stdout] --> src/gen/planet_gen.rs:327:5 [INFO] [stdout] | [INFO] [stdout] 327 | rand1: f64, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_rand1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rand2` [INFO] [stdout] --> src/gen/planet_gen.rs:328:5 [INFO] [stdout] | [INFO] [stdout] 328 | rand2: f64, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_rand2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rand3` [INFO] [stdout] --> src/gen/planet_gen.rs:329:5 [INFO] [stdout] | [INFO] [stdout] 329 | rand3: f64, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_rand3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rand4` [INFO] [stdout] --> src/gen/planet_gen.rs:330:5 [INFO] [stdout] | [INFO] [stdout] 330 | rand4: f64, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_rand4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `theme_seed` [INFO] [stdout] --> src/gen/planet_gen.rs:331:5 [INFO] [stdout] | [INFO] [stdout] 331 | theme_seed: i32, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_theme_seed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `planet` [INFO] [stdout] --> src/gen/planet_gen.rs:325:5 [INFO] [stdout] | [INFO] [stdout] 325 | planet: &mut PlanetData, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_planet` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `theme_ids` [INFO] [stdout] --> src/gen/planet_gen.rs:326:5 [INFO] [stdout] | [INFO] [stdout] 326 | theme_ids: &[i32], [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_theme_ids` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rand1` [INFO] [stdout] --> src/gen/planet_gen.rs:327:5 [INFO] [stdout] | [INFO] [stdout] 327 | rand1: f64, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_rand1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rand2` [INFO] [stdout] --> src/gen/planet_gen.rs:328:5 [INFO] [stdout] | [INFO] [stdout] 328 | rand2: f64, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_rand2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rand3` [INFO] [stdout] --> src/gen/planet_gen.rs:329:5 [INFO] [stdout] | [INFO] [stdout] 329 | rand3: f64, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_rand3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rand4` [INFO] [stdout] --> src/gen/planet_gen.rs:330:5 [INFO] [stdout] | [INFO] [stdout] 330 | rand4: f64, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_rand4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `theme_seed` [INFO] [stdout] --> src/gen/planet_gen.rs:331:5 [INFO] [stdout] | [INFO] [stdout] 331 | theme_seed: i32, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_theme_seed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tmp_drunk` [INFO] [stdout] --> src/gen/universe_gen.rs:25:21 [INFO] [stdout] | [INFO] [stdout] 25 | let (tmp_poses, tmp_drunk) = generate_temp_poses(rand.next(), game.star_count, 4, 2.0, 2.3, 3.5, 0.18); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tmp_drunk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `need_spectr` is assigned to, but never used [INFO] [stdout] --> src/gen/universe_gen.rs:50:21 [INFO] [stdout] | [INFO] [stdout] 50 | let mut need_spectr = ESpectrType::X; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_need_spectr` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `need_spectr` is never read [INFO] [stdout] --> src/gen/universe_gen.rs:52:17 [INFO] [stdout] | [INFO] [stdout] 52 | need_spectr = ESpectrType::M; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `need_spectr` is never read [INFO] [stdout] --> src/gen/universe_gen.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | need_spectr = ESpectrType::O; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `need_type` is assigned to, but never used [INFO] [stdout] --> src/gen/universe_gen.rs:56:21 [INFO] [stdout] | [INFO] [stdout] 56 | let mut need_type = EStarType::MainSeqStar; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_need_type` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `need_type` is never read [INFO] [stdout] --> src/gen/universe_gen.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | need_type = EStarType::GiantStar; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `need_type` is never read [INFO] [stdout] --> src/gen/universe_gen.rs:61:17 [INFO] [stdout] | [INFO] [stdout] 61 | need_type = EStarType::BlackHole; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `need_type` is never read [INFO] [stdout] --> src/gen/universe_gen.rs:63:17 [INFO] [stdout] | [INFO] [stdout] 63 | need_type = EStarType::NeutronStar; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `need_type` is never read [INFO] [stdout] --> src/gen/universe_gen.rs:65:17 [INFO] [stdout] | [INFO] [stdout] 65 | need_type = EStarType::WhiteDwarf; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `tmp_drunk` [INFO] [stdout] --> src/gen/universe_gen.rs:25:21 [INFO] [stdout] | [INFO] [stdout] 25 | let (tmp_poses, tmp_drunk) = generate_temp_poses(rand.next(), game.star_count, 4, 2.0, 2.3, 3.5, 0.18); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_tmp_drunk` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `need_spectr` is assigned to, but never used [INFO] [stdout] --> src/gen/universe_gen.rs:50:21 [INFO] [stdout] | [INFO] [stdout] 50 | let mut need_spectr = ESpectrType::X; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_need_spectr` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `need_spectr` is never read [INFO] [stdout] --> src/gen/universe_gen.rs:52:17 [INFO] [stdout] | [INFO] [stdout] 52 | need_spectr = ESpectrType::M; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `need_spectr` is never read [INFO] [stdout] --> src/gen/universe_gen.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | need_spectr = ESpectrType::O; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `need_type` is assigned to, but never used [INFO] [stdout] --> src/gen/universe_gen.rs:56:21 [INFO] [stdout] | [INFO] [stdout] 56 | let mut need_type = EStarType::MainSeqStar; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: consider using `_need_type` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `need_type` is never read [INFO] [stdout] --> src/gen/universe_gen.rs:58:17 [INFO] [stdout] | [INFO] [stdout] 58 | need_type = EStarType::GiantStar; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `need_type` is never read [INFO] [stdout] --> src/gen/universe_gen.rs:61:17 [INFO] [stdout] | [INFO] [stdout] 61 | need_type = EStarType::BlackHole; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `need_type` is never read [INFO] [stdout] --> src/gen/universe_gen.rs:63:17 [INFO] [stdout] | [INFO] [stdout] 63 | need_type = EStarType::NeutronStar; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `need_type` is never read [INFO] [stdout] --> src/gen/universe_gen.rs:65:17 [INFO] [stdout] | [INFO] [stdout] 65 | need_type = EStarType::WhiteDwarf; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/data_struct/astro_data.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct AstroData { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 5 | pub id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] 6 | pub r#type: EAstroType, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 7 | pub parent_id: i32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 8 | pub u_radius: f32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 9 | pub u_rot: Quaternion, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | pub u_rot_next: Quaternion, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 11 | pub u_pos: VectorLF3, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 12 | pub u_pos_next: VectorLF3, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `position_u_l`, and `position_u_f` are never used [INFO] [stdout] --> src/data_struct/astro_data.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl AstroData { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 16 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn position_u_l(&self, upos: &mut VectorLF3) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn position_u_f(&self, upos: &mut VectorLF3) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AstroOrbitData` is never constructed [INFO] [stdout] --> src/data_struct/astro_orbit_data.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct AstroOrbitData { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `predict_pose`, `get_velocity_at_point`, and `get_estimate_point_offset` are never used [INFO] [stdout] --> src/data_struct/astro_orbit_data.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl AstroOrbitData { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 18 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn predict_pose(&mut self, time: i64, center: VectorLF3, astro_data: &mut AstroData) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn get_velocity_at_point(&self, center: VectorLF3, u_pos: VectorLF3) -> VectorLF3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn get_estimate_point_offset(&self, eta: f64) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `AU` is never used [INFO] [stdout] --> src/data_struct/galaxy_data.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const AU: f64 = 40000_f64; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LY` is never used [INFO] [stdout] --> src/data_struct/galaxy_data.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const LY: f64 = 2400000_f64; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `seed`, `star_count`, `birth_planet_id`, `birth_star_id`, `habitable_count`, and `astros_data` are never read [INFO] [stdout] --> src/data_struct/galaxy_data.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct GalaxyData { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 8 | /// 种子 [INFO] [stdout] 9 | pub seed: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | /// 星系中星星的数量 [INFO] [stdout] 11 | pub star_count: i32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | pub birth_planet_id: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | /// 初始恒星的id [INFO] [stdout] 17 | pub birth_star_id: i32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 18 | pub habitable_count: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub astros_data: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/data_struct/galaxy_data.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl GalaxyData { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 26 | pub fn new(seed: i32, star_count: i32) -> GalaxyData { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `K_ENTER_ALTITUDE` is never used [INFO] [stdout] --> src/data_struct/planet_data.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub const K_ENTER_ALTITUDE: f32 = 1000.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `K_BIRTH_HEIGHT_SHIFT` is never used [INFO] [stdout] --> src/data_struct/planet_data.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const K_BIRTH_HEIGHT_SHIFT: f32 = 1.45; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/data_struct/astro_data.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct AstroData { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 5 | pub id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] 6 | pub r#type: EAstroType, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 7 | pub parent_id: i32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 8 | pub u_radius: f32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 9 | pub u_rot: Quaternion, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | pub u_rot_next: Quaternion, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 11 | pub u_pos: VectorLF3, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 12 | pub u_pos_next: VectorLF3, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `position_u_l`, and `position_u_f` are never used [INFO] [stdout] --> src/data_struct/astro_data.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl AstroData { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 16 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn position_u_l(&self, upos: &mut VectorLF3) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 39 | pub fn position_u_f(&self, upos: &mut VectorLF3) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `AstroOrbitData` is never constructed [INFO] [stdout] --> src/data_struct/astro_orbit_data.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct AstroOrbitData { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `predict_pose`, `get_velocity_at_point`, and `get_estimate_point_offset` are never used [INFO] [stdout] --> src/data_struct/astro_orbit_data.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl AstroOrbitData { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 18 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn predict_pose(&mut self, time: i64, center: VectorLF3, astro_data: &mut AstroData) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn get_velocity_at_point(&self, center: VectorLF3, u_pos: VectorLF3) -> VectorLF3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn get_estimate_point_offset(&self, eta: f64) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `AU` is never used [INFO] [stdout] --> src/data_struct/galaxy_data.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const AU: f64 = 40000_f64; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LY` is never used [INFO] [stdout] --> src/data_struct/galaxy_data.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const LY: f64 = 2400000_f64; [INFO] [stdout] | ^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `seed`, `star_count`, `birth_planet_id`, `birth_star_id`, `habitable_count`, and `astros_data` are never read [INFO] [stdout] --> src/data_struct/galaxy_data.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct GalaxyData { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 8 | /// 种子 [INFO] [stdout] 9 | pub seed: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | /// 星系中星星的数量 [INFO] [stdout] 11 | pub star_count: i32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | pub birth_planet_id: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 16 | /// 初始恒星的id [INFO] [stdout] 17 | pub birth_star_id: i32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 18 | pub habitable_count: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 21 | pub astros_data: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/data_struct/galaxy_data.rs:26:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl GalaxyData { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 26 | pub fn new(seed: i32, star_count: i32) -> GalaxyData { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `K_ENTER_ALTITUDE` is never used [INFO] [stdout] --> src/data_struct/planet_data.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub const K_ENTER_ALTITUDE: f32 = 1000.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `K_BIRTH_HEIGHT_SHIFT` is never used [INFO] [stdout] --> src/data_struct/planet_data.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const K_BIRTH_HEIGHT_SHIFT: f32 = 1.45; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/data_struct/planet_data.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct PlanetData { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 16 | /// 星系数据 [INFO] [stdout] 17 | pub galaxy: Rc>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 18 | /// 星星数据 [INFO] [stdout] 19 | pub star: Rc>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 20 | /// 种子 [INFO] [stdout] 21 | pub seed: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 22 | /// 信息种子 [INFO] [stdout] 23 | pub info_seed: i32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 24 | /// ID [INFO] [stdout] 25 | pub id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] 26 | /// 索引 [INFO] [stdout] 27 | pub index: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 28 | /// 绕行 [INFO] [stdout] 29 | pub orbit_around: i32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 30 | /// 数量 [INFO] [stdout] 31 | pub number: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 32 | /// 轨道索引 [INFO] [stdout] 33 | pub orbit_index: i32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 34 | /// 名称 [INFO] [stdout] 35 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 36 | /// 覆盖名称 [INFO] [stdout] 37 | pub override_name: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 38 | /// 轨道半径 [INFO] [stdout] 39 | pub orbit_radius: f32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 40 | /// 轨道倾角 [INFO] [stdout] 41 | pub orbit_inclination: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 42 | /// 轨道经度 [INFO] [stdout] 43 | pub orbit_longitude: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 44 | /// 轨道周期 [INFO] [stdout] 45 | pub orbital_period: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 46 | /// 轨道相位 [INFO] [stdout] 47 | pub orbit_phase: f32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 48 | /// 倾斜角 [INFO] [stdout] 49 | pub obliquity: f32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 50 | /// 自转周期 [INFO] [stdout] 51 | pub rotation_period: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 52 | /// 自转相位 [INFO] [stdout] 53 | pub rotation_phase: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 54 | /// 半径 [INFO] [stdout] 55 | pub radius: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 56 | /// 规模 [INFO] [stdout] 57 | pub scale: f32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 58 | /// 太阳距离 [INFO] [stdout] 59 | pub sun_distance: f32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 60 | /// 适宜生物偏好 [INFO] [stdout] 61 | pub habitable_bias: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 62 | /// 温度偏好 [INFO] [stdout] 63 | pub temperature_bias: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 64 | /// 离子高度 [INFO] [stdout] 65 | pub ion_height: f32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 66 | /// 风力 [INFO] [stdout] 67 | pub wind_strength: f32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 68 | /// 亮度 [INFO] [stdout] 69 | pub luminosity: f32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 70 | /// 陆地百分比 [INFO] [stdout] 71 | pub land_percent: f32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 72 | /// 模型X [INFO] [stdout] 73 | pub mod_x: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 74 | /// 模型Y [INFO] [stdout] 75 | pub mod_y: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 76 | /// 水高度 [INFO] [stdout] 77 | pub water_height: f32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 78 | /// 水物品ID [INFO] [stdout] 79 | pub water_item_id: i32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 80 | /// 是否已平均化 [INFO] [stdout] 81 | pub levelized: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 82 | /// 冰旗 [INFO] [stdout] 83 | pub ice_flag: i32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 84 | /// 类型 [INFO] [stdout] 85 | pub r#type: EPlanetType, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 86 | /// 奇点 [INFO] [stdout] 87 | pub singularity: EPlanetSingularity, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 88 | /// 主题 [INFO] [stdout] 89 | pub theme: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 90 | /// 算法ID [INFO] [stdout] 91 | pub algo_id: i32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 92 | /// 样式 [INFO] [stdout] 93 | pub style: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 94 | /// 绕行行星 [INFO] [stdout] 95 | pub orbit_around_planet: Rc>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 96 | /// 运行时位置 [INFO] [stdout] 97 | pub runtime_position: VectorLF3, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 98 | /// 下一个运行时位置 [INFO] [stdout] 99 | pub runtime_position_next: VectorLF3, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 100 | /// 运行时旋转 [INFO] [stdout] 101 | pub runtime_rotation: Quaternion, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 102 | /// 下一个运行时旋转 [INFO] [stdout] 103 | pub runtime_rotation_next: Quaternion, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 104 | /// 运行时系统旋转 [INFO] [stdout] 105 | pub runtime_system_rotation: Quaternion, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 106 | /// 运行时轨道旋转 [INFO] [stdout] 107 | pub runtime_orbit_rotation: Quaternion, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 108 | /// 运行时轨道相位 [INFO] [stdout] 109 | pub runtime_orbit_phase: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 110 | /// 运行时旋转相位 [INFO] [stdout] 111 | pub runtime_rotation_phase: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 112 | /// U位置 [INFO] [stdout] 113 | pub u_position: VectorLF3, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 114 | /// 下一个U位置 [INFO] [stdout] 115 | pub u_position_next: VectorLF3, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 116 | /// 运行时本地太阳方向 [INFO] [stdout] 117 | pub runtime_local_sun_direction: VectorF3, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub precision: i32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 122 | /// 段 [INFO] [stdout] 123 | pub segment: i32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 124 | /// 数据 [INFO] [stdout] 125 | pub data: PlanetRawData, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | pub vein_groups: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 130 | /// 矿物偏向向量 [INFO] [stdout] 131 | pub vein_bias_vector: VectorF3, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 132 | // ... 其他字段 [INFO] [stdout] 133 | pub factory_index: i32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | pub gas_items: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 137 | /// 气体速度 [INFO] [stdout] 138 | pub gas_speeds: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 139 | /// 气体热值 [INFO] [stdout] 140 | pub gas_heat_values: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 141 | /// 气体总热量 [INFO] [stdout] 142 | pub gas_total_heat: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 143 | /// 出生点 [INFO] [stdout] 144 | pub birth_point: VectorF3, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 145 | /// 出生资源点0 [INFO] [stdout] 146 | pub birth_resource_point0: VectorF3, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 147 | /// 出生资源点1 [INFO] [stdout] 148 | pub birth_resource_point1: VectorF3, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 149 | pub loaded: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 150 | pub wanted: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 151 | pub loading: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 152 | pub calculating: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 153 | pub calculated: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 154 | pub factory_loaded: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 155 | pub factory_loading: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 156 | pub facting_completed_stage: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PlanetData` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `display_name`, and `read_radius` are never used [INFO] [stdout] --> src/data_struct/planet_data.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 160 | impl PlanetData { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 161 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 244 | pub fn display_name(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 250 | pub fn read_radius(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `POLES` is never used [INFO] [stdout] --> src/data_struct/planet_raw_data.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub static POLES: [VectorF3; 6] = [ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/data_struct/planet_raw_data.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct PlanetRawData { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 41 | pub precision: i32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 42 | pub height_data: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 43 | pub mod_data: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 44 | pub vege_ids: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 45 | pub biomo_data: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 46 | pub tempr_data: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 47 | pub vertices: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 48 | pub normals: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 49 | pub index_map: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 50 | pub index_map_precision: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 51 | pub index_map_data_length: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 52 | pub index_map_face_stride: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 53 | pub index_map_corner_stride: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 54 | pub vein_pool: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 55 | pub vein_cursor: i32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 56 | // pub vein_capacity: i32, [INFO] [stdout] 57 | pub vege_pool: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 58 | pub vege_cursor: i32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 59 | // pub vege_capacity: i32, [INFO] [stdout] 60 | pub verts_80: Option<[VectorF3; 80]>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 61 | pub verts_200: Option<[VectorF3; 200]>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 62 | pub index_map_80: Option<[i32; 80]>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 63 | pub index_map_200: Option<[i32; 200]>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PlanetRawData` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/data_struct/planet_raw_data.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 75 | impl PlanetRawData { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 76 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn data_length(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn calc_verts(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | pub fn trans(&self, x: f32, pr: i32) -> i32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 218 | pub fn position_hash(&self, v: &VectorF3, corner: Option) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 258 | pub fn query_index(&self, vpos: &VectorF3) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 284 | pub fn add_vein_data(&mut self, mut vein_data: VeinData) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 290 | pub fn add_vege_data(&mut self, mut vege_data: VegeData) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `K_ENTER_DISTANCE` is never used [INFO] [stdout] --> src/data_struct/star_data.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub const K_ENTER_DISTANCE: f64 = 3600000.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `K_PHYSICS_RADIUS_RATIO` is never used [INFO] [stdout] --> src/data_struct/star_data.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const K_PHYSICS_RADIUS_RATIO: f32 = 1200.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `K_VIEW_RADIUS_RATIO` is never used [INFO] [stdout] --> src/data_struct/star_data.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub const K_VIEW_RADIUS_RATIO: f32 = 800.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `K_MAX_DFHIVE_ORBIT` is never used [INFO] [stdout] --> src/data_struct/star_data.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const K_MAX_DFHIVE_ORBIT: i32 = 8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/data_struct/star_data.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct StarData { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 16 | pub galaxy: Rc>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 17 | pub seed: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 18 | pub index: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 19 | pub id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] 20 | pub name: String, [INFO] [stdout] 21 | pub override_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 22 | pub position: VectorLF3, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 23 | pub u_position: VectorLF3, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 24 | pub mass: f32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 25 | pub lifetime: f32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 26 | pub age: f32, [INFO] [stdout] | ^^^ [INFO] [stdout] 27 | pub star_type: EStarType, [INFO] [stdout] 28 | pub temperature: f32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 29 | pub spectr: ESpectrType, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 30 | pub class_factor: f32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 31 | pub color: f32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 32 | pub luminosity: f32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 33 | pub radius: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 34 | pub acdisk_radius: f32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 35 | pub habitable_radius: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 36 | pub light_balance_radius: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 37 | pub dyson_radius: f32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 38 | pub orbit_scaler: f32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 39 | pub aster_belt1_orbit_index: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 40 | pub aster_belt2_orbit_index: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 41 | pub aster_belt1_radius: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 42 | pub aster_belt2_radius: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 43 | pub planet_count: i32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 44 | pub level: f32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 45 | pub resource_coef: f32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 46 | pub planets: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 47 | pub safety_factor: f32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 48 | pub hive_pattern_level: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 49 | pub initial_hive_count: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 50 | pub max_hive_count: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StarData` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `physics_radius`, `view_radius`, `astro_id`, `dyson_lumino`, and `display_name` are never used [INFO] [stdout] --> src/data_struct/star_data.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 54 | impl StarData { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 55 | pub fn new(galaxy: Rc>, seed: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn physics_radius(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn view_radius(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn astro_id(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn dyson_lumino(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn display_name(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/data_struct/vege_data.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct VegeData { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 6 | pub id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] 7 | pub proto_id: i16, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 8 | pub model_index: i16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 9 | pub hash: SimpleHash, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | pub hash_address: i32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 11 | pub combat_stat_id: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 12 | pub pos: VectorF3, [INFO] [stdout] | ^^^ [INFO] [stdout] 13 | pub rot: Quaternion, [INFO] [stdout] | ^^^ [INFO] [stdout] 14 | pub scl: VectorF3, [INFO] [stdout] | ^^^ [INFO] [stdout] 15 | pub model_id: i32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 16 | pub collider_id: i32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VegeData` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/data_struct/vege_data.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl VegeData { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 20 | pub fn new(id: i32, proto_id: i16) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/data_struct/planet_data.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct PlanetData { [INFO] [stdout] | ---------- fields in this struct [INFO] [stdout] 16 | /// 星系数据 [INFO] [stdout] 17 | pub galaxy: Rc>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 18 | /// 星星数据 [INFO] [stdout] 19 | pub star: Rc>, [INFO] [stdout] | ^^^^ [INFO] [stdout] 20 | /// 种子 [INFO] [stdout] 21 | pub seed: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 22 | /// 信息种子 [INFO] [stdout] 23 | pub info_seed: i32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 24 | /// ID [INFO] [stdout] 25 | pub id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] 26 | /// 索引 [INFO] [stdout] 27 | pub index: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 28 | /// 绕行 [INFO] [stdout] 29 | pub orbit_around: i32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 30 | /// 数量 [INFO] [stdout] 31 | pub number: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 32 | /// 轨道索引 [INFO] [stdout] 33 | pub orbit_index: i32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 34 | /// 名称 [INFO] [stdout] 35 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 36 | /// 覆盖名称 [INFO] [stdout] 37 | pub override_name: Option, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 38 | /// 轨道半径 [INFO] [stdout] 39 | pub orbit_radius: f32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 40 | /// 轨道倾角 [INFO] [stdout] 41 | pub orbit_inclination: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 42 | /// 轨道经度 [INFO] [stdout] 43 | pub orbit_longitude: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 44 | /// 轨道周期 [INFO] [stdout] 45 | pub orbital_period: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 46 | /// 轨道相位 [INFO] [stdout] 47 | pub orbit_phase: f32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 48 | /// 倾斜角 [INFO] [stdout] 49 | pub obliquity: f32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 50 | /// 自转周期 [INFO] [stdout] 51 | pub rotation_period: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 52 | /// 自转相位 [INFO] [stdout] 53 | pub rotation_phase: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 54 | /// 半径 [INFO] [stdout] 55 | pub radius: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 56 | /// 规模 [INFO] [stdout] 57 | pub scale: f32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 58 | /// 太阳距离 [INFO] [stdout] 59 | pub sun_distance: f32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 60 | /// 适宜生物偏好 [INFO] [stdout] 61 | pub habitable_bias: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 62 | /// 温度偏好 [INFO] [stdout] 63 | pub temperature_bias: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 64 | /// 离子高度 [INFO] [stdout] 65 | pub ion_height: f32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 66 | /// 风力 [INFO] [stdout] 67 | pub wind_strength: f32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 68 | /// 亮度 [INFO] [stdout] 69 | pub luminosity: f32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 70 | /// 陆地百分比 [INFO] [stdout] 71 | pub land_percent: f32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 72 | /// 模型X [INFO] [stdout] 73 | pub mod_x: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 74 | /// 模型Y [INFO] [stdout] 75 | pub mod_y: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 76 | /// 水高度 [INFO] [stdout] 77 | pub water_height: f32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 78 | /// 水物品ID [INFO] [stdout] 79 | pub water_item_id: i32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 80 | /// 是否已平均化 [INFO] [stdout] 81 | pub levelized: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 82 | /// 冰旗 [INFO] [stdout] 83 | pub ice_flag: i32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 84 | /// 类型 [INFO] [stdout] 85 | pub r#type: EPlanetType, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 86 | /// 奇点 [INFO] [stdout] 87 | pub singularity: EPlanetSingularity, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 88 | /// 主题 [INFO] [stdout] 89 | pub theme: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 90 | /// 算法ID [INFO] [stdout] 91 | pub algo_id: i32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 92 | /// 样式 [INFO] [stdout] 93 | pub style: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 94 | /// 绕行行星 [INFO] [stdout] 95 | pub orbit_around_planet: Rc>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 96 | /// 运行时位置 [INFO] [stdout] 97 | pub runtime_position: VectorLF3, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 98 | /// 下一个运行时位置 [INFO] [stdout] 99 | pub runtime_position_next: VectorLF3, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 100 | /// 运行时旋转 [INFO] [stdout] 101 | pub runtime_rotation: Quaternion, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 102 | /// 下一个运行时旋转 [INFO] [stdout] 103 | pub runtime_rotation_next: Quaternion, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 104 | /// 运行时系统旋转 [INFO] [stdout] 105 | pub runtime_system_rotation: Quaternion, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 106 | /// 运行时轨道旋转 [INFO] [stdout] 107 | pub runtime_orbit_rotation: Quaternion, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 108 | /// 运行时轨道相位 [INFO] [stdout] 109 | pub runtime_orbit_phase: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 110 | /// 运行时旋转相位 [INFO] [stdout] 111 | pub runtime_rotation_phase: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 112 | /// U位置 [INFO] [stdout] 113 | pub u_position: VectorLF3, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 114 | /// 下一个U位置 [INFO] [stdout] 115 | pub u_position_next: VectorLF3, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 116 | /// 运行时本地太阳方向 [INFO] [stdout] 117 | pub runtime_local_sun_direction: VectorF3, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 121 | pub precision: i32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 122 | /// 段 [INFO] [stdout] 123 | pub segment: i32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 124 | /// 数据 [INFO] [stdout] 125 | pub data: PlanetRawData, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | pub vein_groups: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 130 | /// 矿物偏向向量 [INFO] [stdout] 131 | pub vein_bias_vector: VectorF3, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 132 | // ... 其他字段 [INFO] [stdout] 133 | pub factory_index: i32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 136 | pub gas_items: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 137 | /// 气体速度 [INFO] [stdout] 138 | pub gas_speeds: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 139 | /// 气体热值 [INFO] [stdout] 140 | pub gas_heat_values: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 141 | /// 气体总热量 [INFO] [stdout] 142 | pub gas_total_heat: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 143 | /// 出生点 [INFO] [stdout] 144 | pub birth_point: VectorF3, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 145 | /// 出生资源点0 [INFO] [stdout] 146 | pub birth_resource_point0: VectorF3, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 147 | /// 出生资源点1 [INFO] [stdout] 148 | pub birth_resource_point1: VectorF3, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 149 | pub loaded: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 150 | pub wanted: bool, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 151 | pub loading: bool, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 152 | pub calculating: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 153 | pub calculated: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 154 | pub factory_loaded: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 155 | pub factory_loading: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 156 | pub facting_completed_stage: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PlanetData` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/data_struct/vein_data.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct VeinData { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 7 | pub id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] 8 | pub vein_type: EVeinType, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 9 | pub model_index: i16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 10 | pub group_index: i16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 11 | pub amount: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 12 | pub product_id: i32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 13 | pub pos: VectorF3, [INFO] [stdout] | ^^^ [INFO] [stdout] 14 | pub combat_stat_id: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 15 | pub miner_count: i32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 16 | pub miner_id0: i32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 17 | pub miner_id1: i32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 18 | pub miner_id2: i32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 19 | pub miner_id3: i32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 20 | pub hash_address: i32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 21 | pub model_id: i32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 22 | pub collider_id: i32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 23 | pub miner_base_model_id: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 24 | pub miner_circle_model_id0: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 25 | pub miner_circle_model_id1: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 26 | pub miner_circle_model_id2: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 27 | pub miner_circle_model_id3: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VeinData` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_miner`, and `remove_miner` are never used [INFO] [stdout] --> src/data_struct/vein_data.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl VeinData { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 31 | pub fn new(id: i32, vein_type: EVeinType) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn add_miner(&mut self, miner_id: i32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn remove_miner(&mut self, miner_id: i32) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `display_name`, and `read_radius` are never used [INFO] [stdout] --> src/data_struct/planet_data.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 160 | impl PlanetData { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 161 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 244 | pub fn display_name(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 250 | pub fn read_radius(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `POLES` is never used [INFO] [stdout] --> src/data_struct/planet_raw_data.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 30 | pub static POLES: [VectorF3; 6] = [ [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/data_struct/vein_group.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl VeinGroup { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 25 | pub fn new(vein_type: EVeinType) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CombatSettings` is never constructed [INFO] [stdout] --> src/data_struct/combat_setting.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct CombatSettings { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/data_struct/combat_setting.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl CombatSettings { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 19 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GameDesc` is never constructed [INFO] [stdout] --> src/data_struct/game_desc.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct GameDesc { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `property_multplier`, `seed_key`, and `is_rare_resource` are never used [INFO] [stdout] --> src/data_struct/game_desc.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl GameDesc { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 23 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn property_multplier(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn seed_key(&self) -> i64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn is_rare_resource(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `VectorF2` is never used [INFO] [stdout] --> src/data_struct/vectors.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub type VectorF2 = Vector2; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/data_struct/planet_raw_data.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 40 | pub struct PlanetRawData { [INFO] [stdout] | ------------- fields in this struct [INFO] [stdout] 41 | pub precision: i32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 42 | pub height_data: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 43 | pub mod_data: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 44 | pub vege_ids: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 45 | pub biomo_data: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 46 | pub tempr_data: Vec, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 47 | pub vertices: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 48 | pub normals: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 49 | pub index_map: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 50 | pub index_map_precision: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 51 | pub index_map_data_length: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 52 | pub index_map_face_stride: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 53 | pub index_map_corner_stride: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 54 | pub vein_pool: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 55 | pub vein_cursor: i32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 56 | // pub vein_capacity: i32, [INFO] [stdout] 57 | pub vege_pool: Vec, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 58 | pub vege_cursor: i32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 59 | // pub vege_capacity: i32, [INFO] [stdout] 60 | pub verts_80: Option<[VectorF3; 80]>, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 61 | pub verts_200: Option<[VectorF3; 200]>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 62 | pub index_map_80: Option<[i32; 80]>, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 63 | pub index_map_200: Option<[i32; 200]>, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PlanetRawData` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `VectorLF2` is never used [INFO] [stdout] --> src/data_struct/vectors.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub type VectorLF2 = Vector2; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `VectorLF4` is never used [INFO] [stdout] --> src/data_struct/vectors.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub type VectorLF4 = Vector4; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `LocalVectors` is never used [INFO] [stdout] --> src/data_struct/vectors.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait LocalVectors { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `LocalQuaternion` is never used [INFO] [stdout] --> src/data_struct/vectors.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | pub trait LocalQuaternion { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `PlanetAlgorithm` is never used [INFO] [stdout] --> src/gen/planet_algorithm.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait PlanetAlgorithm { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/data_struct/planet_raw_data.rs:76:12 [INFO] [stdout] | [INFO] [stdout] 75 | impl PlanetRawData { [INFO] [stdout] | ------------------ associated items in this implementation [INFO] [stdout] 76 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn data_length(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 106 | pub fn calc_verts(&mut self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 211 | pub fn trans(&self, x: f32, pr: i32) -> i32 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 218 | pub fn position_hash(&self, v: &VectorF3, corner: Option) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 258 | pub fn query_index(&self, vpos: &VectorF3) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 284 | pub fn add_vein_data(&mut self, mut vein_data: VeinData) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 290 | pub fn add_vege_data(&mut self, mut vege_data: VegeData) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `K_GRAVITATIONAL_CONST` is never used [INFO] [stdout] --> src/gen/planet_gen.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | pub const K_GRAVITATIONAL_CONST: f64 = 346586930.95732176; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `K_ENTER_DISTANCE` is never used [INFO] [stdout] --> src/data_struct/star_data.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub const K_ENTER_DISTANCE: f64 = 3600000.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `K_PLANET_MASS` is never used [INFO] [stdout] --> src/gen/planet_gen.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | pub const K_PLANET_MASS: f32 = 0.006; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `K_PHYSICS_RADIUS_RATIO` is never used [INFO] [stdout] --> src/data_struct/star_data.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const K_PHYSICS_RADIUS_RATIO: f32 = 1200.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `K_GIANT_MASS_COEF` is never used [INFO] [stdout] --> src/gen/planet_gen.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | pub const K_GIANT_MASS_COEF: f32 = 3.33333; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `K_VIEW_RADIUS_RATIO` is never used [INFO] [stdout] --> src/data_struct/star_data.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub const K_VIEW_RADIUS_RATIO: f32 = 800.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `K_GIANT_MASS` is never used [INFO] [stdout] --> src/gen/planet_gen.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | pub const K_GIANT_MASS: f32 = 0.019999979; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `K_MAX_DFHIVE_ORBIT` is never used [INFO] [stdout] --> src/data_struct/star_data.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const K_MAX_DFHIVE_ORBIT: i32 = 8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `GAS_COEF` is never used [INFO] [stdout] --> src/gen/planet_gen.rs:20:16 [INFO] [stdout] | [INFO] [stdout] 20 | pub static mut GAS_COEF: f32 = 1.0; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_planet` is never used [INFO] [stdout] --> src/gen/planet_gen.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn create_planet( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_planet_theme` is never used [INFO] [stdout] --> src/gen/planet_gen.rs:324:8 [INFO] [stdout] | [INFO] [stdout] 324 | pub fn set_planet_theme( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `E` is never used [INFO] [stdout] --> src/gen/star_gen.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub const E: f64 = 2.7182817; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GRAVITY` is never used [INFO] [stdout] --> src/gen/star_gen.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | pub const GRAVITY: f64 = 1.3538551990520382E-06; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `HIVE_ORBIT_RADIUS` is never used [INFO] [stdout] --> src/gen/star_gen.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub static HIVE_ORBIT_RADIUS: [f32; 18] = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `ORBIT_RADIUS` is never used [INFO] [stdout] --> src/gen/star_gen.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub static ORBIT_RADIUS: [f32; 17] = [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `PLANET_2_HIVE_ORBIT_TABEL` is never used [INFO] [stdout] --> src/gen/star_gen.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub static PLANET_2_HIVE_ORBIT_TABEL: [i32; 8] = [0, 0, 2, 4, 6, 9, 12, 15]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `SPECIFY_BIRTH_STAR_MASS` is never used [INFO] [stdout] --> src/gen/star_gen.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub static SPECIFY_BIRTH_STAR_MASS: f32 = 0.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `SPECIFY_BIRTH_STAR_AGE` is never used [INFO] [stdout] --> src/gen/star_gen.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub static SPECIFY_BIRTH_STAR_AGE: f32 = 0.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `StarGenCondition` is never used [INFO] [stdout] --> src/gen/star_gen.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | pub type StarGenCondition = ([bool; 18], [f64; 10]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rand_normal` is never used [INFO] [stdout] --> src/gen/star_gen.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn rand_normal(average_value: f32, standard_deviation: f32, r1: f64, r2: f64) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/data_struct/star_data.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct StarData { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 16 | pub galaxy: Rc>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 17 | pub seed: i32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 18 | pub index: i32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 19 | pub id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] 20 | pub name: String, [INFO] [stdout] 21 | pub override_name: String, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 22 | pub position: VectorLF3, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 23 | pub u_position: VectorLF3, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 24 | pub mass: f32, [INFO] [stdout] | ^^^^ [INFO] [stdout] 25 | pub lifetime: f32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 26 | pub age: f32, [INFO] [stdout] | ^^^ [INFO] [stdout] 27 | pub star_type: EStarType, [INFO] [stdout] 28 | pub temperature: f32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 29 | pub spectr: ESpectrType, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 30 | pub class_factor: f32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 31 | pub color: f32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 32 | pub luminosity: f32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 33 | pub radius: f32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 34 | pub acdisk_radius: f32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 35 | pub habitable_radius: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 36 | pub light_balance_radius: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 37 | pub dyson_radius: f32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 38 | pub orbit_scaler: f32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 39 | pub aster_belt1_orbit_index: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 40 | pub aster_belt2_orbit_index: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 41 | pub aster_belt1_radius: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 42 | pub aster_belt2_radius: f32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 43 | pub planet_count: i32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 44 | pub level: f32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 45 | pub resource_coef: f32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 46 | pub planets: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 47 | pub safety_factor: f32, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 48 | pub hive_pattern_level: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 49 | pub initial_hive_count: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 50 | pub max_hive_count: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StarData` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_birth_star` is never used [INFO] [stdout] --> src/gen/star_gen.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn create_birth_star(galaxy_data: Rc>, game_desc: &GameDesc, seed: i32) -> StarData { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_star_age` is never used [INFO] [stdout] --> src/gen/star_gen.rs:172:8 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn set_star_age(star: &mut StarData, age: f32, rn: f64, rt: f64) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `ALGO_VERSION` is never used [INFO] [stdout] --> src/gen/universe_gen.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub static ALGO_VERSION: i32 = 20200403; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PLANET_ID_MAX` is never used [INFO] [stdout] --> src/gen/universe_gen.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub const PLANET_ID_MAX: i32 = 256; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `TempPos` is never used [INFO] [stdout] --> src/gen/universe_gen.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | pub type TempPos = (Vec, Vec); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_galaxy` is never used [INFO] [stdout] --> src/gen/universe_gen.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn create_galaxy(game: GameDesc) -> GalaxyData { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_collision` is never used [INFO] [stdout] --> src/gen/universe_gen.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn check_collision(pts: &Vec, &pt: &VectorLF3, min_dist: f64) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_temp_poses` is never used [INFO] [stdout] --> src/gen/universe_gen.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn generate_temp_poses( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `physics_radius`, `view_radius`, `astro_id`, `dyson_lumino`, and `display_name` are never used [INFO] [stdout] --> src/data_struct/star_data.rs:55:12 [INFO] [stdout] | [INFO] [stdout] 54 | impl StarData { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 55 | pub fn new(galaxy: Rc>, seed: i32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn physics_radius(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn view_radius(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 104 | pub fn astro_id(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 108 | pub fn dyson_lumino(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn display_name(&self) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_poses` is never used [INFO] [stdout] --> src/gen/universe_gen.rs:114:8 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn random_poses( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/data_struct/vege_data.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct VegeData { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 6 | pub id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] 7 | pub proto_id: i16, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 8 | pub model_index: i16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 9 | pub hash: SimpleHash, [INFO] [stdout] | ^^^^ [INFO] [stdout] 10 | pub hash_address: i32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 11 | pub combat_stat_id: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 12 | pub pos: VectorF3, [INFO] [stdout] | ^^^ [INFO] [stdout] 13 | pub rot: Quaternion, [INFO] [stdout] | ^^^ [INFO] [stdout] 14 | pub scl: VectorF3, [INFO] [stdout] | ^^^ [INFO] [stdout] 15 | pub model_id: i32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 16 | pub collider_id: i32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VegeData` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/data_struct/vege_data.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl VegeData { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 20 | pub fn new(id: i32, proto_id: i16) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/data_struct/vein_data.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct VeinData { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 7 | pub id: i32, [INFO] [stdout] | ^^ [INFO] [stdout] 8 | pub vein_type: EVeinType, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 9 | pub model_index: i16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 10 | pub group_index: i16, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 11 | pub amount: i32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 12 | pub product_id: i32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 13 | pub pos: VectorF3, [INFO] [stdout] | ^^^ [INFO] [stdout] 14 | pub combat_stat_id: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 15 | pub miner_count: i32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 16 | pub miner_id0: i32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 17 | pub miner_id1: i32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 18 | pub miner_id2: i32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 19 | pub miner_id3: i32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 20 | pub hash_address: i32, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 21 | pub model_id: i32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 22 | pub collider_id: i32, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 23 | pub miner_base_model_id: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 24 | pub miner_circle_model_id0: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 25 | pub miner_circle_model_id1: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 26 | pub miner_circle_model_id2: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 27 | pub miner_circle_model_id3: i32, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VeinData` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `add_miner`, and `remove_miner` are never used [INFO] [stdout] --> src/data_struct/vein_data.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl VeinData { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 31 | pub fn new(id: i32, vein_type: EVeinType) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 56 | pub fn add_miner(&mut self, miner_id: i32) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn remove_miner(&mut self, miner_id: i32) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/data_struct/vein_group.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl VeinGroup { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 25 | pub fn new(vein_type: EVeinType) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CombatSettings` is never constructed [INFO] [stdout] --> src/data_struct/combat_setting.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct CombatSettings { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/data_struct/combat_setting.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl CombatSettings { [INFO] [stdout] | ------------------- associated function in this implementation [INFO] [stdout] 19 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `GameDesc` is never constructed [INFO] [stdout] --> src/data_struct/game_desc.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct GameDesc { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `property_multplier`, `seed_key`, and `is_rare_resource` are never used [INFO] [stdout] --> src/data_struct/game_desc.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 22 | impl GameDesc { [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 23 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn property_multplier(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 81 | pub fn seed_key(&self) -> i64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn is_rare_resource(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `VectorF2` is never used [INFO] [stdout] --> src/data_struct/vectors.rs:3:10 [INFO] [stdout] | [INFO] [stdout] 3 | pub type VectorF2 = Vector2; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `VectorLF2` is never used [INFO] [stdout] --> src/data_struct/vectors.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | pub type VectorLF2 = Vector2; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `VectorLF4` is never used [INFO] [stdout] --> src/data_struct/vectors.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub type VectorLF4 = Vector4; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `LocalVectors` is never used [INFO] [stdout] --> src/data_struct/vectors.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub trait LocalVectors { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `LocalQuaternion` is never used [INFO] [stdout] --> src/data_struct/vectors.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | pub trait LocalQuaternion { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `PlanetAlgorithm` is never used [INFO] [stdout] --> src/gen/planet_algorithm.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait PlanetAlgorithm { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `K_GRAVITATIONAL_CONST` is never used [INFO] [stdout] --> src/gen/planet_gen.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | pub const K_GRAVITATIONAL_CONST: f64 = 346586930.95732176; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `K_PLANET_MASS` is never used [INFO] [stdout] --> src/gen/planet_gen.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | pub const K_PLANET_MASS: f32 = 0.006; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `K_GIANT_MASS_COEF` is never used [INFO] [stdout] --> src/gen/planet_gen.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | pub const K_GIANT_MASS_COEF: f32 = 3.33333; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `K_GIANT_MASS` is never used [INFO] [stdout] --> src/gen/planet_gen.rs:19:11 [INFO] [stdout] | [INFO] [stdout] 19 | pub const K_GIANT_MASS: f32 = 0.019999979; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `GAS_COEF` is never used [INFO] [stdout] --> src/gen/planet_gen.rs:20:16 [INFO] [stdout] | [INFO] [stdout] 20 | pub static mut GAS_COEF: f32 = 1.0; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_planet` is never used [INFO] [stdout] --> src/gen/planet_gen.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn create_planet( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_planet_theme` is never used [INFO] [stdout] --> src/gen/planet_gen.rs:324:8 [INFO] [stdout] | [INFO] [stdout] 324 | pub fn set_planet_theme( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `E` is never used [INFO] [stdout] --> src/gen/star_gen.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub const E: f64 = 2.7182817; [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GRAVITY` is never used [INFO] [stdout] --> src/gen/star_gen.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | pub const GRAVITY: f64 = 1.3538551990520382E-06; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `HIVE_ORBIT_RADIUS` is never used [INFO] [stdout] --> src/gen/star_gen.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub static HIVE_ORBIT_RADIUS: [f32; 18] = [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `ORBIT_RADIUS` is never used [INFO] [stdout] --> src/gen/star_gen.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 18 | pub static ORBIT_RADIUS: [f32; 17] = [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `PLANET_2_HIVE_ORBIT_TABEL` is never used [INFO] [stdout] --> src/gen/star_gen.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub static PLANET_2_HIVE_ORBIT_TABEL: [i32; 8] = [0, 0, 2, 4, 6, 9, 12, 15]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `SPECIFY_BIRTH_STAR_MASS` is never used [INFO] [stdout] --> src/gen/star_gen.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | pub static SPECIFY_BIRTH_STAR_MASS: f32 = 0.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `SPECIFY_BIRTH_STAR_AGE` is never used [INFO] [stdout] --> src/gen/star_gen.rs:24:12 [INFO] [stdout] | [INFO] [stdout] 24 | pub static SPECIFY_BIRTH_STAR_AGE: f32 = 0.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `StarGenCondition` is never used [INFO] [stdout] --> src/gen/star_gen.rs:31:10 [INFO] [stdout] | [INFO] [stdout] 31 | pub type StarGenCondition = ([bool; 18], [f64; 10]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `rand_normal` is never used [INFO] [stdout] --> src/gen/star_gen.rs:43:8 [INFO] [stdout] | [INFO] [stdout] 43 | pub fn rand_normal(average_value: f32, standard_deviation: f32, r1: f64, r2: f64) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_birth_star` is never used [INFO] [stdout] --> src/gen/star_gen.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn create_birth_star(galaxy_data: Rc>, game_desc: &GameDesc, seed: i32) -> StarData { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_star_age` is never used [INFO] [stdout] --> src/gen/star_gen.rs:172:8 [INFO] [stdout] | [INFO] [stdout] 172 | pub fn set_star_age(star: &mut StarData, age: f32, rn: f64, rt: f64) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `ALGO_VERSION` is never used [INFO] [stdout] --> src/gen/universe_gen.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub static ALGO_VERSION: i32 = 20200403; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PLANET_ID_MAX` is never used [INFO] [stdout] --> src/gen/universe_gen.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub const PLANET_ID_MAX: i32 = 256; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `TempPos` is never used [INFO] [stdout] --> src/gen/universe_gen.rs:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | pub type TempPos = (Vec, Vec); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_galaxy` is never used [INFO] [stdout] --> src/gen/universe_gen.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn create_galaxy(game: GameDesc) -> GalaxyData { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check_collision` is never used [INFO] [stdout] --> src/gen/universe_gen.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn check_collision(pts: &Vec, &pt: &VectorLF3, min_dist: f64) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `generate_temp_poses` is never used [INFO] [stdout] --> src/gen/universe_gen.rs:85:8 [INFO] [stdout] | [INFO] [stdout] 85 | pub fn generate_temp_poses( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `random_poses` is never used [INFO] [stdout] --> src/gen/universe_gen.rs:114:8 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn random_poses( [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.62s [INFO] running `Command { std: "docker" "inspect" "0e161b4de024a83b189f3249b554f60cebdf717a5501bf1373b40c585f9db982", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e161b4de024a83b189f3249b554f60cebdf717a5501bf1373b40c585f9db982", kill_on_drop: false }` [INFO] [stdout] 0e161b4de024a83b189f3249b554f60cebdf717a5501bf1373b40c585f9db982