[INFO] cloning repository https://github.com/bingomanatee/atmo-asth-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bingomanatee/atmo-asth-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbingomanatee%2Fatmo-asth-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbingomanatee%2Fatmo-asth-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9079cd4ad2a8c4c3353c139545cde31b59a84707 [INFO] checking bingomanatee/atmo-asth-rust against master#ba412a6e70ac84641be7764d088acabd0eb3fa39 for pr-145457 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbingomanatee%2Fatmo-asth-rust" "/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/bingomanatee/atmo-asth-rust [INFO] finished tweaking git repo https://github.com/bingomanatee/atmo-asth-rust [INFO] tweaked toml for git repo https://github.com/bingomanatee/atmo-asth-rust written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/bingomanatee/atmo-asth-rust on toolchain ba412a6e70ac84641be7764d088acabd0eb3fa39 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ba412a6e70ac84641be7764d088acabd0eb3fa39" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/bingomanatee/atmo-asth-rust 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" "+ba412a6e70ac84641be7764d088acabd0eb3fa39" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded h3o-bit v0.1.1 [INFO] [stderr] Downloaded h3o v0.8.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+ba412a6e70ac84641be7764d088acabd0eb3fa39" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e26465314be5486566b62e2c4b5065edc72454d3a35fdb8f42882e2bf1f8bf2f [INFO] running `Command { std: "docker" "start" "-a" "e26465314be5486566b62e2c4b5065edc72454d3a35fdb8f42882e2bf1f8bf2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e26465314be5486566b62e2c4b5065edc72454d3a35fdb8f42882e2bf1f8bf2f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e26465314be5486566b62e2c4b5065edc72454d3a35fdb8f42882e2bf1f8bf2f", kill_on_drop: false }` [INFO] [stdout] e26465314be5486566b62e2c4b5065edc72454d3a35fdb8f42882e2bf1f8bf2f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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" "+ba412a6e70ac84641be7764d088acabd0eb3fa39" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4640258a96612d0add1d201accd4fb42eee76f2bab3e104d6725b3d9b0841ad2 [INFO] running `Command { std: "docker" "start" "-a" "4640258a96612d0add1d201accd4fb42eee76f2bab3e104d6725b3d9b0841ad2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.174 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling crunchy v0.2.3 [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Compiling tiny-keccak v2.0.2 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling autocfg v1.5.0 [INFO] [stderr] Compiling version_check v0.9.5 [INFO] [stderr] Compiling once_cell v1.21.3 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling serde_json v1.0.140 [INFO] [stderr] Checking h3o-bit v0.1.1 [INFO] [stderr] Checking float_eq v1.0.1 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rand_xorshift v0.3.0 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking glam v0.30.4 [INFO] [stderr] Checking more-asserts v0.3.1 [INFO] [stderr] Checking colored v3.0.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling ahash v0.8.12 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling const-random-macro v0.1.16 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking noise v0.9.0 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking const-random v0.1.18 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking h3o v0.8.0 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Checking atmo-asth-rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::asth_cell::energy_at_layer::energy_at_layer` [INFO] [stdout] --> src/asth_cell/asth_cell_column.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::asth_cell::energy_at_layer::energy_at_layer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ASTHENOSPHERE_SURFACE_START_TEMP_K`, `EARTH_RADIUS_KM`, and `SPECIFIC_HEAT_CAPACITY_MANTLE_J_PER_KG_K` [INFO] [stdout] --> src/asth_cell/asth_cell_column.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | ASTHENOSPHERE_SURFACE_START_TEMP_K, EARTH_RADIUS_KM, SPECIFIC_HEAT_CAPACITY_MANTLE_J_PER_KG_K, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `asth_cell_column::AsthCellAsthLayer` [INFO] [stdout] --> src/asth_cell/mod.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | pub(crate) use asth_cell_column::AsthCellAsthLayer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MANTLE_DENSITY_KGM3` and `SPECIFIC_HEAT_CAPACITY_MANTLE_J_PER_KG_K` [INFO] [stdout] --> src/energy_mass.rs:1:36 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::constants::{M2_PER_KM2, MANTLE_DENSITY_KGM3, SECONDS_PER_YEAR, SIGMA_KM2_YEAR, SPECIFIC_HEAT_CAPACITY_MANTLE_J_PER_KG_K}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/sim/sim_op/sim_op_csv_writer.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/sim/sim_op/sim_op_thermal_diffusion.rs:116:16 [INFO] [stdout] | [INFO] [stdout] 116 | if (index > 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 116 - if (index > 0) { [INFO] [stdout] 116 + if index > 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::sim::sim_op::SimOp` [INFO] [stdout] --> src/sim/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::sim::sim_op::SimOp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MaterialType` [INFO] [stdout] --> src/temp_utils.rs:10:40 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::material::{MaterialProfile, MaterialType}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/energy_mass_composite.rs:866:31 [INFO] [stdout] | [INFO] [stdout] 866 | self.energy_joules *= (1.0 - fract); // Remove proportional energy [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 866 - self.energy_joules *= (1.0 - fract); // Remove proportional energy [INFO] [stdout] 866 + self.energy_joules *= 1.0 - fract; // Remove proportional energy [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/phase_transition.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | if (target_phase == self.phase) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 59 - if (target_phase == self.phase) { [INFO] [stdout] 59 + if target_phase == self.phase { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/energy_mass.rs:393:29 [INFO] [stdout] | [INFO] [stdout] 393 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/energy_mass.rs:646:29 [INFO] [stdout] | [INFO] [stdout] 646 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/energy_mass.rs:677:29 [INFO] [stdout] | [INFO] [stdout] 677 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/energy_mass_composite.rs:389:29 [INFO] [stdout] | [INFO] [stdout] 389 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/energy_mass_composite.rs:417:29 [INFO] [stdout] | [INFO] [stdout] 417 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/atmospheric_energy_mass_composite.rs:34:29 [INFO] [stdout] | [INFO] [stdout] 34 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::asth_cell::energy_at_layer::energy_at_layer` [INFO] [stdout] --> src/asth_cell/asth_cell_column.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::asth_cell::energy_at_layer::energy_at_layer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ASTHENOSPHERE_SURFACE_START_TEMP_K`, `EARTH_RADIUS_KM`, and `SPECIFIC_HEAT_CAPACITY_MANTLE_J_PER_KG_K` [INFO] [stdout] --> src/asth_cell/asth_cell_column.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | ASTHENOSPHERE_SURFACE_START_TEMP_K, EARTH_RADIUS_KM, SPECIFIC_HEAT_CAPACITY_MANTLE_J_PER_KG_K, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `asth_cell_column::AsthCellAsthLayer` [INFO] [stdout] --> src/asth_cell/mod.rs:14:16 [INFO] [stdout] | [INFO] [stdout] 14 | pub(crate) use asth_cell_column::AsthCellAsthLayer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MANTLE_DENSITY_KGM3` and `SPECIFIC_HEAT_CAPACITY_MANTLE_J_PER_KG_K` [INFO] [stdout] --> src/energy_mass.rs:1:36 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::constants::{M2_PER_KM2, MANTLE_DENSITY_KGM3, SECONDS_PER_YEAR, SIGMA_KM2_YEAR, SPECIFIC_HEAT_CAPACITY_MANTLE_J_PER_KG_K}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::sim::{}` [INFO] [stdout] --> src/sim/sim_op/sim_op_atmosphere.rs:367:13 [INFO] [stdout] | [INFO] [stdout] 367 | use crate::sim::{}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::sim::sim_op::SimOpHandle` [INFO] [stdout] --> src/sim/sim_op/sim_op_cooling.rs:48:9 [INFO] [stdout] | [INFO] [stdout] 48 | use crate::sim::sim_op::SimOpHandle; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/sim/sim_op/sim_op_thermal_diffusion.rs:116:16 [INFO] [stdout] | [INFO] [stdout] 116 | if (index > 0) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 116 - if (index > 0) { [INFO] [stdout] 116 + if index > 0 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::sim::sim_op::SimOp` [INFO] [stdout] --> src/sim/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::sim::sim_op::SimOp; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::asth_cell::asth_cell_column::AsthCellColumn` [INFO] [stdout] --> src/sim/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | use crate::asth_cell::asth_cell_column::AsthCellColumn; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `approx::assert_abs_diff_eq` [INFO] [stdout] --> src/sim/mod.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | use approx::assert_abs_diff_eq; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `CellIndex` [INFO] [stdout] --> src/sim/mod.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | use h3o::{CellIndex, Resolution}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `MaterialType` [INFO] [stdout] --> src/temp_utils.rs:10:40 [INFO] [stdout] | [INFO] [stdout] 10 | use crate::material::{MaterialProfile, MaterialType}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> src/energy_mass_composite.rs:866:31 [INFO] [stdout] | [INFO] [stdout] 866 | self.energy_joules *= (1.0 - fract); // Remove proportional energy [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 866 - self.energy_joules *= (1.0 - fract); // Remove proportional energy [INFO] [stdout] 866 + self.energy_joules *= 1.0 - fract; // Remove proportional energy [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/energy_mass_composite.rs:1481:9 [INFO] [stdout] | [INFO] [stdout] 1481 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/phase_transition.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | if (target_phase == self.phase) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 59 - if (target_phase == self.phase) { [INFO] [stdout] 59 + if target_phase == self.phase { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MaterialCompositeType` and `resolve_phase_from_temperature` [INFO] [stdout] --> src/phase_transition.rs:424:41 [INFO] [stdout] | [INFO] [stdout] 424 | use crate::material_composite::{resolve_phase_from_temperature, MaterialCompositeType}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/energy_mass.rs:393:29 [INFO] [stdout] | [INFO] [stdout] 393 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/energy_mass.rs:646:29 [INFO] [stdout] | [INFO] [stdout] 646 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/energy_mass.rs:677:29 [INFO] [stdout] | [INFO] [stdout] 677 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/energy_mass_composite.rs:389:29 [INFO] [stdout] | [INFO] [stdout] 389 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/energy_mass_composite.rs:417:29 [INFO] [stdout] | [INFO] [stdout] 417 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/atmospheric_energy_mass_composite.rs:34:29 [INFO] [stdout] | [INFO] [stdout] 34 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::energy_mass::EnergyMass` [INFO] [stdout] --> src/sim/sim_op/sim_op_core_radiance.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::energy_mass::EnergyMass; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/asth_cell/asth_cell_lithosphere.rs:65:17 [INFO] [stdout] | [INFO] [stdout] 65 | let mut additional = StandardEnergyMass::new_with_material( [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `growth_applied` [INFO] [stdout] --> src/asth_cell/asth_cell_column.rs:390:17 [INFO] [stdout] | [INFO] [stdout] 390 | let growth_applied = remaining_growth - excess_height; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_growth_applied` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `planet_radius` [INFO] [stdout] --> src/asth_cell/asth_cell_column.rs:483:9 [INFO] [stdout] | [INFO] [stdout] 483 | planet_radius: f64, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_planet_radius` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `infinite_series_sum` [INFO] [stdout] --> src/energy_mass.rs:281:9 [INFO] [stdout] | [INFO] [stdout] 281 | let infinite_series_sum = 1.0 / (1.0 - decay_factor); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_infinite_series_sum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `surface_to_atmosphere_energy` [INFO] [stdout] --> src/sim/sim_op/sim_op_atmosphere.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | let surface_to_atmosphere_energy = full_surface_radiation * atmosphere_fraction * years; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_surface_to_atmosphere_energy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sim` [INFO] [stdout] --> src/sim/sim_op/sim_op_atmosphere.rs:305:27 [INFO] [stdout] | [INFO] [stdout] 305 | pub fn find_atmosphere_op(sim: &Simulation) -> Option { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sim` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sim` [INFO] [stdout] --> src/sim/sim_op/sim_op_csv_writer.rs:97:29 [INFO] [stdout] | [INFO] [stdout] 97 | fn extract_value(&self, sim: &Simulation) -> String { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sim` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sim` [INFO] [stdout] --> src/sim/sim_op/sim_op_csv_writer.rs:106:29 [INFO] [stdout] | [INFO] [stdout] 106 | fn extract_value(&self, sim: &Simulation) -> String { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sim` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sim` [INFO] [stdout] --> src/sim/sim_op/sim_op_csv_writer.rs:115:29 [INFO] [stdout] | [INFO] [stdout] 115 | fn extract_value(&self, sim: &Simulation) -> String { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sim` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/sim/sim_op/sim_op_thermal_diffusion.rs:85:16 [INFO] [stdout] | [INFO] [stdout] 85 | if let (lith, _) = column [INFO] [stdout] | ________________^ [INFO] [stdout] 86 | | .lith_layers_t [INFO] [stdout] 87 | | .get(index) [INFO] [stdout] 88 | | .expect("cannot get lithosphere") [INFO] [stdout] | |_________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/sim/sim_op/sim_op_thermal_diffusion.rs:99:16 [INFO] [stdout] | [INFO] [stdout] 99 | if let (layer, _) = column [INFO] [stdout] | ________________^ [INFO] [stdout] 100 | | .asth_layers_t [INFO] [stdout] 101 | | .get(index) [INFO] [stdout] 102 | | .expect("cannot get asthenosphere") [INFO] [stdout] | |___________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from_conductivity` [INFO] [stdout] --> src/sim/sim_op/sim_op_thermal_diffusion.rs:143:13 [INFO] [stdout] | [INFO] [stdout] 143 | let from_conductivity = from_mass.thermal_conductivity(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_from_conductivity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to_conductivity` [INFO] [stdout] --> src/sim/sim_op/sim_op_thermal_diffusion.rs:144:13 [INFO] [stdout] | [INFO] [stdout] 144 | let to_conductivity = to_mass.thermal_conductivity(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_to_conductivity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `phase` [INFO] [stdout] --> src/example/thermal_layer_node.rs:151:42 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn set_material_phase(&mut self, phase: MaterialPhase) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_phase` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/example/thermal_layer_node.rs:213:44 [INFO] [stdout] | [INFO] [stdout] 213 | pub fn calculate_outgassing(&mut self, config: &ExperimentState, years: f64) -> f64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `years` [INFO] [stdout] --> src/example/thermal_layer_node.rs:213:70 [INFO] [stdout] | [INFO] [stdout] 213 | pub fn calculate_outgassing(&mut self, config: &ExperimentState, years: f64) -> f64 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_years` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/example/thermal_layer_node_wide.rs:442:44 [INFO] [stdout] | [INFO] [stdout] 442 | pub fn calculate_outgassing(&mut self, config: &ExperimentState, years: f64) -> f64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `years` [INFO] [stdout] --> src/example/thermal_layer_node_wide.rs:442:70 [INFO] [stdout] | [INFO] [stdout] 442 | pub fn calculate_outgassing(&mut self, config: &ExperimentState, years: f64) -> f64 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_years` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `infinite_series_sum` [INFO] [stdout] --> src/energy_mass_composite.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | let infinite_series_sum = 1.0 / (1.0 - decay_factor); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_infinite_series_sum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_temp` [INFO] [stdout] --> src/energy_mass_composite.rs:900:13 [INFO] [stdout] | [INFO] [stdout] 900 | let current_temp = self.temperature(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_temp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `TransitionMode` is more private than the item `StandardEnergyMassComposite::transition_mode` [INFO] [stdout] --> src/energy_mass_composite.rs:342:5 [INFO] [stdout] | [INFO] [stdout] 342 | pub transition_mode: TransitionMode, // Transition mode for hysteresis management [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `StandardEnergyMassComposite::transition_mode` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `TransitionMode` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/energy_mass_composite.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | enum TransitionMode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/h3_utils.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct CellAndBase(CellIndex, CellIndex); [INFO] [stdout] | ----------- ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_atmosphere_op` is never used [INFO] [stdout] --> src/sim/sim_op/sim_op_atmosphere.rs:305:8 [INFO] [stdout] | [INFO] [stdout] 305 | pub fn find_atmosphere_op(sim: &Simulation) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Transfer` is never constructed [INFO] [stdout] --> src/sim/sim_op/sim_op_thermal_diffusion.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | struct Transfer { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PERIDOTITE_SOLIDUS_K` is never used [INFO] [stdout] --> src/sim/sim_op/sim_op_thermal_diffusion.rs:42:7 [INFO] [stdout] | [INFO] [stdout] 42 | const PERIDOTITE_SOLIDUS_K: f64 = 1573.0; // 1300°C - asthenosphere material [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BASALT_SOLIDUS_K` is never used [INFO] [stdout] --> src/sim/sim_op/sim_op_thermal_diffusion.rs:43:7 [INFO] [stdout] | [INFO] [stdout] 43 | const BASALT_SOLIDUS_K: f64 = 1473.0; // 1200°C - lithosphere material [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `calculate_enhanced_fourier_transfer` is never used [INFO] [stdout] --> src/example/thermal_layer_node_wide.rs:162:8 [INFO] [stdout] | [INFO] [stdout] 29 | impl FourierThermalTransfer { [INFO] [stdout] | --------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 162 | fn calculate_enhanced_fourier_transfer( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SECONDS_PER_YEAR` is never used [INFO] [stdout] --> src/example/thermal_layer_node_wide.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | pub const SECONDS_PER_YEAR: f64 = 365.25 * 24.0 * 3600.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `KM_TO_M` is never used [INFO] [stdout] --> src/example/thermal_layer_node_wide.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | pub const KM_TO_M: f64 = 1000.0; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `KM2_TO_M2` is never used [INFO] [stdout] --> src/example/thermal_layer_node_wide.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | pub const KM2_TO_M2: f64 = 1_000_000.0; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `KM3_TO_M3` is never used [INFO] [stdout] --> src/example/thermal_layer_node_wide.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | pub const KM3_TO_M3: f64 = 1_000_000_000.0; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TRANSITION_THRESHOLD_K` is never used [INFO] [stdout] --> src/energy_mass_composite.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | const TRANSITION_THRESHOLD_K: f64 = 2.0; // +/- 2 degrees around transition point [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TRANSITION_CLEAR_THRESHOLD_K` is never used [INFO] [stdout] --> src/energy_mass_composite.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | const TRANSITION_CLEAR_THRESHOLD_K: f64 = 3.0; // 3 degrees in opposite direction to clear bank [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `check_and_complete_forward_transition`, `check_and_complete_reverse_transition`, `is_in_transition_range`, and `calculate_transition_fraction` are never used [INFO] [stdout] --> src/energy_mass_composite.rs:449:8 [INFO] [stdout] | [INFO] [stdout] 347 | impl StandardEnergyMassComposite { [INFO] [stdout] | -------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 449 | fn check_and_complete_forward_transition(&mut self, mass_kg: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 488 | fn check_and_complete_reverse_transition(&mut self, mass_kg: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 527 | fn is_in_transition_range(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 537 | fn calculate_transition_fraction(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `calculate_energy_for_temperature` is never used [INFO] [stdout] --> src/energy_mass_composite.rs:1143:8 [INFO] [stdout] | [INFO] [stdout] 1036 | impl StandardEnergyMassComposite { [INFO] [stdout] | -------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 1143 | fn calculate_energy_for_temperature(&self, target_temp: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `energy_at_kelvin` and `put_bank_into_energy` are never used [INFO] [stdout] --> src/phase_transition.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 5 | impl StandardEnergyMassComposite { [INFO] [stdout] | -------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 15 | fn energy_at_kelvin(&self, kelvin: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | fn put_bank_into_energy(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `atmo_asth_rust::assert_deviation` [INFO] [stdout] --> examples/test_utils_1km3.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use atmo_asth_rust::assert_deviation; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MaterialPhase`, `StandardEnergyMassComposite`, and `get_profile_fast` [INFO] [stdout] --> examples/one_km_2_experiment.rs:12:49 [INFO] [stdout] | [INFO] [stdout] 12 | EnergyMassComposite, MaterialCompositeType, MaterialPhase, StandardEnergyMassComposite, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | get_profile_fast, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ThermalLayerNodeParams` [INFO] [stdout] --> examples/one_km_2_experiment.rs:15:51 [INFO] [stdout] | [INFO] [stdout] 15 | use atmo_asth_rust::example::thermal_layer_node::{ThermalLayerNodeParams, ThermalLayerNodeTempParams}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `atmo_asth_rust::temp_utils::energy_from_kelvin` [INFO] [stdout] --> examples/one_km_2_experiment.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | use atmo_asth_rust::temp_utils::energy_from_kelvin; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `atmo_asth_rust::assert_deviation` [INFO] [stdout] --> examples/one_km_2_experiment.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use atmo_asth_rust::assert_deviation; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `more_asserts::assert_lt` [INFO] [stdout] --> examples/one_km_2_experiment.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use more_asserts::assert_lt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `atmo_asth_rust::assert_deviation` [INFO] [stdout] --> examples/test_utils_1km3.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use atmo_asth_rust::assert_deviation; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> examples/one_km_2_experiment.rs:24:1 [INFO] [stdout] | [INFO] [stdout] 24 | mod test_utils_1km3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `temperature_baselines`, `validate_boundary_conditions`, and `validate_temperature_gradient` [INFO] [stdout] --> examples/one_km_2_experiment.rs:25:23 [INFO] [stdout] | [INFO] [stdout] 25 | use test_utils_1km3::{temperature_baselines, validate_temperature_gradient, validate_boundary_conditions}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `MaterialPhase`, `StandardEnergyMassComposite`, and `get_profile_fast` [INFO] [stdout] --> examples/wide_experiment.rs:12:49 [INFO] [stdout] | [INFO] [stdout] 12 | EnergyMassComposite, MaterialCompositeType, MaterialPhase, StandardEnergyMassComposite, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 13 | get_profile_fast, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FourierThermalTransfer` and `ThermalLayerNodeWideParams` [INFO] [stdout] --> examples/wide_experiment.rs:15:87 [INFO] [stdout] | [INFO] [stdout] 15 | ...cs, ThermalLayerNodeWide, ThermalLayerNodeWideParams, ThermalLayerNodeWideTempParams, FourierThermalTransfer}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `get_boiling_point_k` [INFO] [stdout] --> examples/wide_experiment.rs:16:63 [INFO] [stdout] | [INFO] [stdout] 16 | use atmo_asth_rust::material_composite::{get_melting_point_k, get_boiling_point_k}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `atmo_asth_rust::temp_utils::energy_from_kelvin` [INFO] [stdout] --> examples/wide_experiment.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use atmo_asth_rust::temp_utils::energy_from_kelvin; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `atmo_asth_rust::assert_deviation` [INFO] [stdout] --> examples/wide_experiment.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | use atmo_asth_rust::assert_deviation; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `more_asserts::assert_lt` [INFO] [stdout] --> examples/wide_experiment.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | use more_asserts::assert_lt; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `atmo_asth_rust::assert_deviation` [INFO] [stdout] --> examples/test_utils_1km3.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use atmo_asth_rust::assert_deviation; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: if this is a test module, consider adding a `#[cfg(test)]` to the containing module [INFO] [stdout] --> examples/wide_experiment.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | mod test_utils_1km3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `temperature_baselines`, `validate_boundary_conditions`, and `validate_temperature_gradient` [INFO] [stdout] --> examples/wide_experiment.rs:24:23 [INFO] [stdout] | [INFO] [stdout] 24 | use test_utils_1km3::{temperature_baselines, validate_temperature_gradient, validate_boundary_conditions}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::energy_mass::EnergyMass` [INFO] [stdout] --> src/sim/sim_op/sim_op_core_radiance.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::energy_mass::EnergyMass; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cell_id` [INFO] [stdout] --> examples/comprehensive_equilibrium_demo.rs:163:14 [INFO] [stdout] | [INFO] [stdout] 163 | for (i, (cell_id, cell)) in cells.iter().enumerate() { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_cell_id` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `atmo_asth_rust::energy_mass::EnergyMass` [INFO] [stdout] --> examples/wide_experiment.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use atmo_asth_rust::energy_mass::EnergyMass; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `atmo_asth_rust::energy_mass::EnergyMass` [INFO] [stdout] --> examples/one_km_2_experiment.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use atmo_asth_rust::energy_mass::EnergyMass; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/asth_cell/asth_cell_lithosphere.rs:65:17 [INFO] [stdout] | [INFO] [stdout] 65 | let mut additional = StandardEnergyMass::new_with_material( [INFO] [stdout] | ----^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/asth_cell/asth_cell_asth_layer.rs:257:17 [INFO] [stdout] | [INFO] [stdout] 257 | let mut layer = AsthCellAsthLayer::new_with_material(MaterialType::Silicate, test_temp, volume, 0); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `growth_applied` [INFO] [stdout] --> src/asth_cell/asth_cell_column.rs:390:17 [INFO] [stdout] | [INFO] [stdout] 390 | let growth_applied = remaining_growth - excess_height; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_growth_applied` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `planet_radius` [INFO] [stdout] --> src/asth_cell/asth_cell_column.rs:483:9 [INFO] [stdout] | [INFO] [stdout] 483 | planet_radius: f64, [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_planet_radius` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `initial_next_len` [INFO] [stdout] --> src/asth_cell/asth_cell_column.rs:600:13 [INFO] [stdout] | [INFO] [stdout] 600 | let initial_next_len = cell.asth_layers_t.len(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_initial_next_len` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `infinite_series_sum` [INFO] [stdout] --> src/energy_mass.rs:281:9 [INFO] [stdout] | [INFO] [stdout] 281 | let infinite_series_sum = 1.0 / (1.0 - decay_factor); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_infinite_series_sum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `initial_volume` [INFO] [stdout] --> src/energy_mass.rs:1155:13 [INFO] [stdout] | [INFO] [stdout] 1155 | let initial_volume = original.volume(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_initial_volume` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `initial_volume` [INFO] [stdout] --> src/energy_mass.rs:1190:13 [INFO] [stdout] | [INFO] [stdout] 1190 | let initial_volume = original.volume(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_initial_volume` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `initial_energy1` [INFO] [stdout] --> src/energy_mass.rs:1226:13 [INFO] [stdout] | [INFO] [stdout] 1226 | let initial_energy1 = em1.energy(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_initial_energy1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `surface_to_atmosphere_energy` [INFO] [stdout] --> src/sim/sim_op/sim_op_atmosphere.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | let surface_to_atmosphere_energy = full_surface_radiation * atmosphere_fraction * years; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_surface_to_atmosphere_energy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sim` [INFO] [stdout] --> src/sim/sim_op/sim_op_atmosphere.rs:305:27 [INFO] [stdout] | [INFO] [stdout] 305 | pub fn find_atmosphere_op(sim: &Simulation) -> Option { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sim` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sim` [INFO] [stdout] --> src/sim/sim_op/sim_op_csv_writer.rs:97:29 [INFO] [stdout] | [INFO] [stdout] 97 | fn extract_value(&self, sim: &Simulation) -> String { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sim` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sim` [INFO] [stdout] --> src/sim/sim_op/sim_op_csv_writer.rs:106:29 [INFO] [stdout] | [INFO] [stdout] 106 | fn extract_value(&self, sim: &Simulation) -> String { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sim` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sim` [INFO] [stdout] --> src/sim/sim_op/sim_op_csv_writer.rs:115:29 [INFO] [stdout] | [INFO] [stdout] 115 | fn extract_value(&self, sim: &Simulation) -> String { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_sim` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/sim/sim_op/sim_op_progress_reporter.rs:201:13 [INFO] [stdout] | [INFO] [stdout] 201 | let mut sim = Simulation::new(SimProps { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/sim/sim_op/sim_op_thermal_diffusion.rs:85:16 [INFO] [stdout] | [INFO] [stdout] 85 | if let (lith, _) = column [INFO] [stdout] | ________________^ [INFO] [stdout] 86 | | .lith_layers_t [INFO] [stdout] 87 | | .get(index) [INFO] [stdout] 88 | | .expect("cannot get lithosphere") [INFO] [stdout] | |_________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] = note: `#[warn(irrefutable_let_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: irrefutable `if let` pattern [INFO] [stdout] --> src/sim/sim_op/sim_op_thermal_diffusion.rs:99:16 [INFO] [stdout] | [INFO] [stdout] 99 | if let (layer, _) = column [INFO] [stdout] | ________________^ [INFO] [stdout] 100 | | .asth_layers_t [INFO] [stdout] 101 | | .get(index) [INFO] [stdout] 102 | | .expect("cannot get asthenosphere") [INFO] [stdout] | |___________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this pattern will always match, so the `if let` is useless [INFO] [stdout] = help: consider replacing the `if let` with a `let` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `from_conductivity` [INFO] [stdout] --> src/sim/sim_op/sim_op_thermal_diffusion.rs:143:13 [INFO] [stdout] | [INFO] [stdout] 143 | let from_conductivity = from_mass.thermal_conductivity(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_from_conductivity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `to_conductivity` [INFO] [stdout] --> src/sim/sim_op/sim_op_thermal_diffusion.rs:144:13 [INFO] [stdout] | [INFO] [stdout] 144 | let to_conductivity = to_mass.thermal_conductivity(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_to_conductivity` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/sim/mod.rs:105:14 [INFO] [stdout] | [INFO] [stdout] 105 | for (id, cell) in sim.cells.clone() { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `id` [INFO] [stdout] --> src/sim/mod.rs:115:14 [INFO] [stdout] | [INFO] [stdout] 115 | for (id, cell) in sim.cells { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `description` [INFO] [stdout] --> src/temp_utils.rs:261:20 [INFO] [stdout] | [INFO] [stdout] 261 | for (temp, description) in lithosphere_temps { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_description` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `phase` [INFO] [stdout] --> src/example/thermal_layer_node.rs:151:42 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn set_material_phase(&mut self, phase: MaterialPhase) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_phase` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/example/thermal_layer_node.rs:213:44 [INFO] [stdout] | [INFO] [stdout] 213 | pub fn calculate_outgassing(&mut self, config: &ExperimentState, years: f64) -> f64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `years` [INFO] [stdout] --> src/example/thermal_layer_node.rs:213:70 [INFO] [stdout] | [INFO] [stdout] 213 | pub fn calculate_outgassing(&mut self, config: &ExperimentState, years: f64) -> f64 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_years` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `config` [INFO] [stdout] --> src/example/thermal_layer_node_wide.rs:442:44 [INFO] [stdout] | [INFO] [stdout] 442 | pub fn calculate_outgassing(&mut self, config: &ExperimentState, years: f64) -> f64 { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_config` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `years` [INFO] [stdout] --> src/example/thermal_layer_node_wide.rs:442:70 [INFO] [stdout] | [INFO] [stdout] 442 | pub fn calculate_outgassing(&mut self, config: &ExperimentState, years: f64) -> f64 { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_years` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `infinite_series_sum` [INFO] [stdout] --> src/energy_mass_composite.rs:242:9 [INFO] [stdout] | [INFO] [stdout] 242 | let infinite_series_sum = 1.0 / (1.0 - decay_factor); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_infinite_series_sum` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `current_temp` [INFO] [stdout] --> src/energy_mass_composite.rs:900:13 [INFO] [stdout] | [INFO] [stdout] 900 | let current_temp = self.temperature(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_current_temp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `initial_energy` [INFO] [stdout] --> src/energy_mass_composite.rs:1179:13 [INFO] [stdout] | [INFO] [stdout] 1179 | let initial_energy = energy_mass.energy(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_initial_energy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `initial_volume` [INFO] [stdout] --> src/energy_mass_composite.rs:1833:13 [INFO] [stdout] | [INFO] [stdout] 1833 | let initial_volume = original.volume(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_initial_volume` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `initial_volume` [INFO] [stdout] --> src/energy_mass_composite.rs:1883:13 [INFO] [stdout] | [INFO] [stdout] 1883 | let initial_volume = original.volume(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_initial_volume` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `initial_energy1` [INFO] [stdout] --> src/energy_mass_composite.rs:1936:13 [INFO] [stdout] | [INFO] [stdout] 1936 | let initial_energy1 = em1.energy(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_initial_energy1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `energy_mass_composite::TransitionMode` is more private than the item `energy_mass_composite::StandardEnergyMassComposite::transition_mode` [INFO] [stdout] --> src/energy_mass_composite.rs:342:5 [INFO] [stdout] | [INFO] [stdout] 342 | pub transition_mode: TransitionMode, // Transition mode for hysteresis management [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ field `energy_mass_composite::StandardEnergyMassComposite::transition_mode` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `energy_mass_composite::TransitionMode` is only usable at visibility `pub(self)` [INFO] [stdout] --> src/energy_mass_composite.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | enum TransitionMode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/h3_utils.rs:6:24 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct CellAndBase(CellIndex, CellIndex); [INFO] [stdout] | ----------- ^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing these fields [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_atmosphere_op` is never used [INFO] [stdout] --> src/sim/sim_op/sim_op_atmosphere.rs:305:8 [INFO] [stdout] | [INFO] [stdout] 305 | pub fn find_atmosphere_op(sim: &Simulation) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Transfer` is never constructed [INFO] [stdout] --> src/sim/sim_op/sim_op_thermal_diffusion.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | struct Transfer { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PERIDOTITE_SOLIDUS_K` is never used [INFO] [stdout] --> src/sim/sim_op/sim_op_thermal_diffusion.rs:42:7 [INFO] [stdout] | [INFO] [stdout] 42 | const PERIDOTITE_SOLIDUS_K: f64 = 1573.0; // 1300°C - asthenosphere material [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BASALT_SOLIDUS_K` is never used [INFO] [stdout] --> src/sim/sim_op/sim_op_thermal_diffusion.rs:43:7 [INFO] [stdout] | [INFO] [stdout] 43 | const BASALT_SOLIDUS_K: f64 = 1473.0; // 1200°C - lithosphere material [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `calculate_enhanced_fourier_transfer` is never used [INFO] [stdout] --> src/example/thermal_layer_node_wide.rs:162:8 [INFO] [stdout] | [INFO] [stdout] 29 | impl FourierThermalTransfer { [INFO] [stdout] | --------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 162 | fn calculate_enhanced_fourier_transfer( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SECONDS_PER_YEAR` is never used [INFO] [stdout] --> src/example/thermal_layer_node_wide.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | pub const SECONDS_PER_YEAR: f64 = 365.25 * 24.0 * 3600.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `KM_TO_M` is never used [INFO] [stdout] --> src/example/thermal_layer_node_wide.rs:16:15 [INFO] [stdout] | [INFO] [stdout] 16 | pub const KM_TO_M: f64 = 1000.0; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `KM2_TO_M2` is never used [INFO] [stdout] --> src/example/thermal_layer_node_wide.rs:17:15 [INFO] [stdout] | [INFO] [stdout] 17 | pub const KM2_TO_M2: f64 = 1_000_000.0; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `KM3_TO_M3` is never used [INFO] [stdout] --> src/example/thermal_layer_node_wide.rs:18:15 [INFO] [stdout] | [INFO] [stdout] 18 | pub const KM3_TO_M3: f64 = 1_000_000_000.0; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TRANSITION_THRESHOLD_K` is never used [INFO] [stdout] --> src/energy_mass_composite.rs:18:7 [INFO] [stdout] | [INFO] [stdout] 18 | const TRANSITION_THRESHOLD_K: f64 = 2.0; // +/- 2 degrees around transition point [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TRANSITION_CLEAR_THRESHOLD_K` is never used [INFO] [stdout] --> src/energy_mass_composite.rs:19:7 [INFO] [stdout] | [INFO] [stdout] 19 | const TRANSITION_CLEAR_THRESHOLD_K: f64 = 3.0; // 3 degrees in opposite direction to clear bank [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `check_and_complete_forward_transition`, `check_and_complete_reverse_transition`, `is_in_transition_range`, and `calculate_transition_fraction` are never used [INFO] [stdout] --> src/energy_mass_composite.rs:449:8 [INFO] [stdout] | [INFO] [stdout] 347 | impl StandardEnergyMassComposite { [INFO] [stdout] | -------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 449 | fn check_and_complete_forward_transition(&mut self, mass_kg: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 488 | fn check_and_complete_reverse_transition(&mut self, mass_kg: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 527 | fn is_in_transition_range(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 537 | fn calculate_transition_fraction(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `calculate_energy_for_temperature` is never used [INFO] [stdout] --> src/energy_mass_composite.rs:1143:8 [INFO] [stdout] | [INFO] [stdout] 1036 | impl StandardEnergyMassComposite { [INFO] [stdout] | -------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 1143 | fn calculate_energy_for_temperature(&self, target_temp: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `energy_at_kelvin` and `put_bank_into_energy` are never used [INFO] [stdout] --> src/phase_transition.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 5 | impl StandardEnergyMassComposite { [INFO] [stdout] | -------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 15 | fn energy_at_kelvin(&self, kelvin: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 83 | fn put_bank_into_energy(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 19.23s [INFO] running `Command { std: "docker" "inspect" "4640258a96612d0add1d201accd4fb42eee76f2bab3e104d6725b3d9b0841ad2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4640258a96612d0add1d201accd4fb42eee76f2bab3e104d6725b3d9b0841ad2", kill_on_drop: false }` [INFO] [stdout] 4640258a96612d0add1d201accd4fb42eee76f2bab3e104d6725b3d9b0841ad2