[INFO] fetching crate international_standard_atmosphere 0.2.1... [INFO] testing international_standard_atmosphere-0.2.1 against beta-2025-09-21 for beta-1.91-3 [INFO] extracting crate international_standard_atmosphere 0.2.1 into /workspace/builds/worker-3-tc2/source [INFO] started tweaking crates.io crate international_standard_atmosphere 0.2.1 [INFO] removed 0 missing examples [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate international_standard_atmosphere 0.2.1 [INFO] tweaked toml for crates.io crate international_standard_atmosphere 0.2.1 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate international_standard_atmosphere 0.2.1 on toolchain beta-2025-09-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate international_standard_atmosphere 0.2.1 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" "+beta-2025-09-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 955f2cd1811351cab9c20626f968ee2dda14bc5349c7ae31a634a8383eb9ae25 [INFO] running `Command { std: "docker" "start" "-a" "955f2cd1811351cab9c20626f968ee2dda14bc5349c7ae31a634a8383eb9ae25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "955f2cd1811351cab9c20626f968ee2dda14bc5349c7ae31a634a8383eb9ae25", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "955f2cd1811351cab9c20626f968ee2dda14bc5349c7ae31a634a8383eb9ae25", kill_on_drop: false }` [INFO] [stdout] 955f2cd1811351cab9c20626f968ee2dda14bc5349c7ae31a634a8383eb9ae25 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8272da51fca3ff6b73993aaeee5c74697f8aaf004d0c561df27185ffc52f2691 [INFO] running `Command { std: "docker" "start" "-a" "8272da51fca3ff6b73993aaeee5c74697f8aaf004d0c561df27185ffc52f2691", kill_on_drop: false }` [INFO] [stderr] Compiling international_standard_atmosphere v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fmt::Error` [INFO] [stdout] --> src/lib.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fmt::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::layers::*` [INFO] [stdout] --> src/lib.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::layers::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `geopotential_altitude` [INFO] [stdout] --> src/layers/stratosphere.rs:27:36 [INFO] [stdout] | [INFO] [stdout] 27 | fn temperature_gradient(&self, geopotential_altitude: f64, level: i8)->Result{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 27 | fn temperature_gradient(&self, _geopotential_altitude: f64, level: i8)->Result{ [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `omega_0` [INFO] [stdout] | [INFO] [stdout] 27 - fn temperature_gradient(&self, geopotential_altitude: f64, level: i8)->Result{ [INFO] [stdout] 27 + fn temperature_gradient(&self, reference::constants::omega_0: f64, level: i8)->Result{ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Mesopause` is never constructed [INFO] [stdout] --> src/layers/mesopause.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Mesopause{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `base_geopotential_altitude`, `base_temperature`, and `temperature_gradient` are never used [INFO] [stdout] --> src/layers/mesopause.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 4 | impl Mesopause{ [INFO] [stdout] | -------------- associated functions in this implementation [INFO] [stdout] 5 | fn base_geopotential_altitude()->Result{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | fn base_temperature()->Result{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | fn temperature_gradient()->Result{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Mesosphere` is never constructed [INFO] [stdout] --> src/layers/mesosphere.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Mesosphere{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `base_geopotential_altitude`, `base_temperature`, and `temperature_gradient` are never used [INFO] [stdout] --> src/layers/mesosphere.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 5 | impl Mesosphere{ [INFO] [stdout] | --------------- associated functions in this implementation [INFO] [stdout] 6 | fn base_geopotential_altitude(level: i8)->Result{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | fn base_temperature(level: i8)->Result{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | fn temperature_gradient(level: i8)->Result{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Stratopause` is never constructed [INFO] [stdout] --> src/layers/stratopause.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Stratopause{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `base_geopotential_altitude`, `base_temperature`, and `temperature_gradient` are never used [INFO] [stdout] --> src/layers/stratopause.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 4 | impl Stratopause{ [INFO] [stdout] | ---------------- associated functions in this implementation [INFO] [stdout] 5 | fn base_geopotential_altitude()->Result{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | fn base_temperature()->Result{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | fn temperature_gradient()->Result{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Stratosphere` is never constructed [INFO] [stdout] --> src/layers/stratosphere.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Stratosphere{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `base_geopotential_altitude`, `base_temperature`, and `temperature_gradient` are never used [INFO] [stdout] --> src/layers/stratosphere.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 4 | impl Stratosphere{ [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 5 | pub fn base_geopotential_altitude(&self, level: i8)->Result{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | fn base_temperature(&self, level: i8)->Result{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | fn temperature_gradient(&self, geopotential_altitude: f64, level: i8)->Result{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Tropopause` is never constructed [INFO] [stdout] --> src/layers/tropopause.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Tropopause{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `base_geopotential_altitude`, `base_temperature`, and `temperature_gradient` are never used [INFO] [stdout] --> src/layers/tropopause.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 4 | impl Tropopause{ [INFO] [stdout] | --------------- associated functions in this implementation [INFO] [stdout] 5 | fn base_geopotential_altitude()->Result{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | fn base_temperature()->Result{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | fn temperature_gradient()->Result{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `M_0` is never used [INFO] [stdout] --> src/reference/constants.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub const M_0: f64 = 28.964420; // kg/kmol [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `N_A` is never used [INFO] [stdout] --> src/reference/constants.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const N_A: f64 = 602.257e24; // kmol^{-1} [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `P_0` is never used [INFO] [stdout] --> src/reference/constants.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const P_0: f64 = 101.325e3; // Pa [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S` is never used [INFO] [stdout] --> src/reference/constants.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub const S: f64 = 110.4; // K [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `T_I` is never used [INFO] [stdout] --> src/reference/constants.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub const T_I: f64 = 273.15; // K [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `T_0` is never used [INFO] [stdout] --> src/reference/constants.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const T_0: f64 = 288.15; // K [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `t_i` is never used [INFO] [stdout] --> src/reference/constants.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub const t_i: f64 = 0.0; // deg C [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `t_0` is never used [INFO] [stdout] --> src/reference/constants.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const t_0: f64 = 15.0; // deg C [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `Beta_s` is never used [INFO] [stdout] --> src/reference/constants.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub const Beta_s: f64 = 1.458e-6; // kg/(m*s*K12) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `k` is never used [INFO] [stdout] --> src/reference/constants.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | pub const k: f64 = 1.4; // dimensionless [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `rho_0` is never used [INFO] [stdout] --> src/reference/constants.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | pub const rho_0: f64 = 1.225; // kg/m3 [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `sigma` is never used [INFO] [stdout] --> src/reference/constants.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | pub const sigma: f64 = 0.365e-9; // m [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `nitrogen_volume` is never used [INFO] [stdout] --> src/reference/constants.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | pub const nitrogen_volume: f64 = 78.084; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `oxygen_volume` is never used [INFO] [stdout] --> src/reference/constants.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | pub const oxygen_volume: f64 = 20.9476; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `argon_volume` is never used [INFO] [stdout] --> src/reference/constants.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | pub const argon_volume: f64 = 0.934; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `carbon_dioxide_volume` is never used [INFO] [stdout] --> src/reference/constants.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | pub const carbon_dioxide_volume: f64 = 0.0314; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `neon_volume` is never used [INFO] [stdout] --> src/reference/constants.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 25 | pub const neon_volume: f64 = 1.818e-3; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `helium_volume` is never used [INFO] [stdout] --> src/reference/constants.rs:26:11 [INFO] [stdout] | [INFO] [stdout] 26 | pub const helium_volume: f64 = 524.0e-6; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `krypton_volume` is never used [INFO] [stdout] --> src/reference/constants.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | pub const krypton_volume: f64 = 114.0e-6; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `xenon_volume` is never used [INFO] [stdout] --> src/reference/constants.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | pub const xenon_volume: f64 = 8.7e-6; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `hydrogen_volume` is never used [INFO] [stdout] --> src/reference/constants.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 29 | pub const hydrogen_volume: f64 = 50.0e-6; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `nitrogen_monoxide_volume` is never used [INFO] [stdout] --> src/reference/constants.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | pub const nitrogen_monoxide_volume: f64 = 50.0e-6; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `methane_volume` is never used [INFO] [stdout] --> src/reference/constants.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | pub const methane_volume: f64 = 0.2e-3; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ozone_summer_volume` is never used [INFO] [stdout] --> src/reference/constants.rs:32:11 [INFO] [stdout] | [INFO] [stdout] 32 | pub const ozone_summer_volume: f64 = 7.0e-6; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ozone_winter_volume` is never used [INFO] [stdout] --> src/reference/constants.rs:33:11 [INFO] [stdout] | [INFO] [stdout] 33 | pub const ozone_winter_volume: f64 = 2.0e-6; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `sulphur_dioxide_volume` is never used [INFO] [stdout] --> src/reference/constants.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 34 | pub const sulphur_dioxide_volume: f64 = 0.1e-3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `nitrogen_dioxide_volume` is never used [INFO] [stdout] --> src/reference/constants.rs:35:11 [INFO] [stdout] | [INFO] [stdout] 35 | pub const nitrogen_dioxide_volume: f64 = 2.0e-6; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `iodine_volume` is never used [INFO] [stdout] --> src/reference/constants.rs:36:11 [INFO] [stdout] | [INFO] [stdout] 36 | pub const iodine_volume: f64 = 1.0e-6; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `air_volume` is never used [INFO] [stdout] --> src/reference/constants.rs:37:11 [INFO] [stdout] | [INFO] [stdout] 37 | pub const air_volume: f64 = 100.0; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `nitrogen_molar_mass` is never used [INFO] [stdout] --> src/reference/constants.rs:39:11 [INFO] [stdout] | [INFO] [stdout] 39 | pub const nitrogen_molar_mass: f64 = 28.0134; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `oxygen_molar_mass` is never used [INFO] [stdout] --> src/reference/constants.rs:40:11 [INFO] [stdout] | [INFO] [stdout] 40 | pub const oxygen_molar_mass: f64 = 31.9988; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `argon_molar_mass` is never used [INFO] [stdout] --> src/reference/constants.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | pub const argon_molar_mass: f64 = 39.948; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `neon_molar_mass` is never used [INFO] [stdout] --> src/reference/constants.rs:42:11 [INFO] [stdout] | [INFO] [stdout] 42 | pub const neon_molar_mass: f64 = 20.183; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `carbon_dioxide_molar_mass` is never used [INFO] [stdout] --> src/reference/constants.rs:43:11 [INFO] [stdout] | [INFO] [stdout] 43 | pub const carbon_dioxide_molar_mass: f64 = 44.00995; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `helium_molar_mass` is never used [INFO] [stdout] --> src/reference/constants.rs:44:11 [INFO] [stdout] | [INFO] [stdout] 44 | pub const helium_molar_mass: f64 = 4.0026; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `krypton_molar_mass` is never used [INFO] [stdout] --> src/reference/constants.rs:45:11 [INFO] [stdout] | [INFO] [stdout] 45 | pub const krypton_molar_mass: f64 = 83.80; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `xenon_molar_mass` is never used [INFO] [stdout] --> src/reference/constants.rs:46:11 [INFO] [stdout] | [INFO] [stdout] 46 | pub const xenon_molar_mass: f64 = 131.30; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `hydrogen_molar_mass` is never used [INFO] [stdout] --> src/reference/constants.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | pub const hydrogen_molar_mass: f64 = 2.01594; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `nitrogen_monoxide_molar_mass` is never used [INFO] [stdout] --> src/reference/constants.rs:48:11 [INFO] [stdout] | [INFO] [stdout] 48 | pub const nitrogen_monoxide_molar_mass: f64 = 44.0128; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `methane_molar_mass` is never used [INFO] [stdout] --> src/reference/constants.rs:49:11 [INFO] [stdout] | [INFO] [stdout] 49 | pub const methane_molar_mass: f64 = 16.04303; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ozone_summer_molar_mass` is never used [INFO] [stdout] --> src/reference/constants.rs:50:11 [INFO] [stdout] | [INFO] [stdout] 50 | pub const ozone_summer_molar_mass: f64 = 47.9982; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ozone_winter_molar_mass` is never used [INFO] [stdout] --> src/reference/constants.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | pub const ozone_winter_molar_mass: f64 = 47.9982; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `sulphur_dioxide_molar_mass` is never used [INFO] [stdout] --> src/reference/constants.rs:52:11 [INFO] [stdout] | [INFO] [stdout] 52 | pub const sulphur_dioxide_molar_mass: f64 = 64.0628; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `nitrogen_dioxide_molar_mass` is never used [INFO] [stdout] --> src/reference/constants.rs:53:11 [INFO] [stdout] | [INFO] [stdout] 53 | pub const nitrogen_dioxide_molar_mass: f64 = 46.0055; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `iodine_molar_mass` is never used [INFO] [stdout] --> src/reference/constants.rs:54:11 [INFO] [stdout] | [INFO] [stdout] 54 | pub const iodine_molar_mass: f64 = 253.8088; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `a_0` is never used [INFO] [stdout] --> src/reference/constants.rs:57:11 [INFO] [stdout] | [INFO] [stdout] 57 | pub const a_0: f64 = 340.294; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `H_p_0` is never used [INFO] [stdout] --> src/reference/constants.rs:58:11 [INFO] [stdout] | [INFO] [stdout] 58 | pub const H_p_0: f64 = 8434.5; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `l_0` is never used [INFO] [stdout] --> src/reference/constants.rs:59:11 [INFO] [stdout] | [INFO] [stdout] 59 | pub const l_0: f64 = 66.328e-9; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `n_0` is never used [INFO] [stdout] --> src/reference/constants.rs:60:11 [INFO] [stdout] | [INFO] [stdout] 60 | pub const n_0: f64 = 25.471e24; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `v_0` is never used [INFO] [stdout] --> src/reference/constants.rs:61:11 [INFO] [stdout] | [INFO] [stdout] 61 | pub const v_0: f64 = 458.94; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `gamma_0` is never used [INFO] [stdout] --> src/reference/constants.rs:62:11 [INFO] [stdout] | [INFO] [stdout] 62 | pub const gamma_0: f64 = 12.013; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `nu_0` is never used [INFO] [stdout] --> src/reference/constants.rs:63:11 [INFO] [stdout] | [INFO] [stdout] 63 | pub const nu_0: f64 = 14.607e-6; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `lambda_0` is never used [INFO] [stdout] --> src/reference/constants.rs:64:11 [INFO] [stdout] | [INFO] [stdout] 64 | pub const lambda_0: f64 = 25.343e-3; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `mu_0` is never used [INFO] [stdout] --> src/reference/constants.rs:65:11 [INFO] [stdout] | [INFO] [stdout] 65 | pub const mu_0: f64 = 17.894e-6; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `omega_0` is never used [INFO] [stdout] --> src/reference/constants.rs:66:11 [INFO] [stdout] | [INFO] [stdout] 66 | pub const omega_0: f64 = 6.9193e9; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `g_0` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | pub const g_0: f64 = 9.80665; // m/s2 [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 2 - pub const g_0: f64 = 9.80665; // m/s2 [INFO] [stdout] 2 + pub const G_0: f64 = 9.80665; // m/s2 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `R_Star` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const R_Star: f64 = 8314.32; // kg*m2/(s2*K*kmol) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 6 - pub const R_Star: f64 = 8314.32; // kg*m2/(s2*K*kmol) [INFO] [stdout] 6 + pub const R_STAR: f64 = 8314.32; // kg*m2/(s2*K*kmol) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `t_i` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub const t_i: f64 = 0.0; // deg C [INFO] [stdout] | ^^^ help: convert the identifier to upper case: `T_I` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `t_0` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const t_0: f64 = 15.0; // deg C [INFO] [stdout] | ^^^ help: convert the identifier to upper case: `T_0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `Beta_s` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub const Beta_s: f64 = 1.458e-6; // kg/(m*s*K12) [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper case: `BETA_S` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `k` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | pub const k: f64 = 1.4; // dimensionless [INFO] [stdout] | ^ help: convert the identifier to upper case (notice the capitalization): `K` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `rho_0` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | pub const rho_0: f64 = 1.225; // kg/m3 [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `RHO_0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `sigma` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | pub const sigma: f64 = 0.365e-9; // m [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `SIGMA` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `earth_radius_nominal` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | pub const earth_radius_nominal: f64 = 6356766.0; // m [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 18 - pub const earth_radius_nominal: f64 = 6356766.0; // m [INFO] [stdout] 18 + pub const EARTH_RADIUS_NOMINAL: f64 = 6356766.0; // m [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `nitrogen_volume` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | pub const nitrogen_volume: f64 = 78.084; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NITROGEN_VOLUME` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `oxygen_volume` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | pub const oxygen_volume: f64 = 20.9476; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper case: `OXYGEN_VOLUME` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `argon_volume` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | pub const argon_volume: f64 = 0.934; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper case: `ARGON_VOLUME` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `carbon_dioxide_volume` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | pub const carbon_dioxide_volume: f64 = 0.0314; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `CARBON_DIOXIDE_VOLUME` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `neon_volume` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 25 | pub const neon_volume: f64 = 1.818e-3; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `NEON_VOLUME` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `helium_volume` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:26:11 [INFO] [stdout] | [INFO] [stdout] 26 | pub const helium_volume: f64 = 524.0e-6; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper case: `HELIUM_VOLUME` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `krypton_volume` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | pub const krypton_volume: f64 = 114.0e-6; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper case: `KRYPTON_VOLUME` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `xenon_volume` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | pub const xenon_volume: f64 = 8.7e-6; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper case: `XENON_VOLUME` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `hydrogen_volume` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 29 | pub const hydrogen_volume: f64 = 50.0e-6; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `HYDROGEN_VOLUME` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `nitrogen_monoxide_volume` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | pub const nitrogen_monoxide_volume: f64 = 50.0e-6; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NITROGEN_MONOXIDE_VOLUME` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `methane_volume` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | pub const methane_volume: f64 = 0.2e-3; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper case: `METHANE_VOLUME` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ozone_summer_volume` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:32:11 [INFO] [stdout] | [INFO] [stdout] 32 | pub const ozone_summer_volume: f64 = 7.0e-6; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `OZONE_SUMMER_VOLUME` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ozone_winter_volume` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:33:11 [INFO] [stdout] | [INFO] [stdout] 33 | pub const ozone_winter_volume: f64 = 2.0e-6; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `OZONE_WINTER_VOLUME` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `sulphur_dioxide_volume` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 34 | pub const sulphur_dioxide_volume: f64 = 0.1e-3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `SULPHUR_DIOXIDE_VOLUME` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `nitrogen_dioxide_volume` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:35:11 [INFO] [stdout] | [INFO] [stdout] 35 | pub const nitrogen_dioxide_volume: f64 = 2.0e-6; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NITROGEN_DIOXIDE_VOLUME` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `iodine_volume` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:36:11 [INFO] [stdout] | [INFO] [stdout] 36 | pub const iodine_volume: f64 = 1.0e-6; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper case: `IODINE_VOLUME` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `air_volume` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:37:11 [INFO] [stdout] | [INFO] [stdout] 37 | pub const air_volume: f64 = 100.0; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper case: `AIR_VOLUME` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `nitrogen_molar_mass` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:39:11 [INFO] [stdout] | [INFO] [stdout] 39 | pub const nitrogen_molar_mass: f64 = 28.0134; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NITROGEN_MOLAR_MASS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `oxygen_molar_mass` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:40:11 [INFO] [stdout] | [INFO] [stdout] 40 | pub const oxygen_molar_mass: f64 = 31.9988; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `OXYGEN_MOLAR_MASS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `argon_molar_mass` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | pub const argon_molar_mass: f64 = 39.948; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `ARGON_MOLAR_MASS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `neon_molar_mass` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:42:11 [INFO] [stdout] | [INFO] [stdout] 42 | pub const neon_molar_mass: f64 = 20.183; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NEON_MOLAR_MASS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `carbon_dioxide_molar_mass` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:43:11 [INFO] [stdout] | [INFO] [stdout] 43 | pub const carbon_dioxide_molar_mass: f64 = 44.00995; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `CARBON_DIOXIDE_MOLAR_MASS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `helium_molar_mass` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:44:11 [INFO] [stdout] | [INFO] [stdout] 44 | pub const helium_molar_mass: f64 = 4.0026; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `HELIUM_MOLAR_MASS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `krypton_molar_mass` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:45:11 [INFO] [stdout] | [INFO] [stdout] 45 | pub const krypton_molar_mass: f64 = 83.80; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `KRYPTON_MOLAR_MASS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `xenon_molar_mass` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:46:11 [INFO] [stdout] | [INFO] [stdout] 46 | pub const xenon_molar_mass: f64 = 131.30; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `XENON_MOLAR_MASS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `hydrogen_molar_mass` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | pub const hydrogen_molar_mass: f64 = 2.01594; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `HYDROGEN_MOLAR_MASS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `nitrogen_monoxide_molar_mass` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:48:11 [INFO] [stdout] | [INFO] [stdout] 48 | pub const nitrogen_monoxide_molar_mass: f64 = 44.0128; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NITROGEN_MONOXIDE_MOLAR_MASS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `methane_molar_mass` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:49:11 [INFO] [stdout] | [INFO] [stdout] 49 | pub const methane_molar_mass: f64 = 16.04303; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `METHANE_MOLAR_MASS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ozone_summer_molar_mass` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:50:11 [INFO] [stdout] | [INFO] [stdout] 50 | pub const ozone_summer_molar_mass: f64 = 47.9982; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `OZONE_SUMMER_MOLAR_MASS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ozone_winter_molar_mass` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | pub const ozone_winter_molar_mass: f64 = 47.9982; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `OZONE_WINTER_MOLAR_MASS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `sulphur_dioxide_molar_mass` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:52:11 [INFO] [stdout] | [INFO] [stdout] 52 | pub const sulphur_dioxide_molar_mass: f64 = 64.0628; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `SULPHUR_DIOXIDE_MOLAR_MASS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `nitrogen_dioxide_molar_mass` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:53:11 [INFO] [stdout] | [INFO] [stdout] 53 | pub const nitrogen_dioxide_molar_mass: f64 = 46.0055; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NITROGEN_DIOXIDE_MOLAR_MASS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `iodine_molar_mass` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:54:11 [INFO] [stdout] | [INFO] [stdout] 54 | pub const iodine_molar_mass: f64 = 253.8088; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `IODINE_MOLAR_MASS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `air_molar_mass` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:55:11 [INFO] [stdout] | [INFO] [stdout] 55 | pub const air_molar_mass: f64 = 28.964420; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 55 - pub const air_molar_mass: f64 = 28.964420; [INFO] [stdout] 55 + pub const AIR_MOLAR_MASS: f64 = 28.964420; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `a_0` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:57:11 [INFO] [stdout] | [INFO] [stdout] 57 | pub const a_0: f64 = 340.294; [INFO] [stdout] | ^^^ help: convert the identifier to upper case: `A_0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `H_p_0` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:58:11 [INFO] [stdout] | [INFO] [stdout] 58 | pub const H_p_0: f64 = 8434.5; [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `H_P_0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `l_0` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:59:11 [INFO] [stdout] | [INFO] [stdout] 59 | pub const l_0: f64 = 66.328e-9; [INFO] [stdout] | ^^^ help: convert the identifier to upper case: `L_0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `n_0` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:60:11 [INFO] [stdout] | [INFO] [stdout] 60 | pub const n_0: f64 = 25.471e24; [INFO] [stdout] | ^^^ help: convert the identifier to upper case: `N_0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `v_0` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:61:11 [INFO] [stdout] | [INFO] [stdout] 61 | pub const v_0: f64 = 458.94; [INFO] [stdout] | ^^^ help: convert the identifier to upper case (notice the capitalization): `V_0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `gamma_0` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:62:11 [INFO] [stdout] | [INFO] [stdout] 62 | pub const gamma_0: f64 = 12.013; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper case: `GAMMA_0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `nu_0` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:63:11 [INFO] [stdout] | [INFO] [stdout] 63 | pub const nu_0: f64 = 14.607e-6; [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `NU_0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `lambda_0` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:64:11 [INFO] [stdout] | [INFO] [stdout] 64 | pub const lambda_0: f64 = 25.343e-3; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `LAMBDA_0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `mu_0` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:65:11 [INFO] [stdout] | [INFO] [stdout] 65 | pub const mu_0: f64 = 17.894e-6; [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `MU_0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `omega_0` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:66:11 [INFO] [stdout] | [INFO] [stdout] 66 | pub const omega_0: f64 = 6.9193e9; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper case: `OMEGA_0` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.27s [INFO] running `Command { std: "docker" "inspect" "8272da51fca3ff6b73993aaeee5c74697f8aaf004d0c561df27185ffc52f2691", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8272da51fca3ff6b73993aaeee5c74697f8aaf004d0c561df27185ffc52f2691", kill_on_drop: false }` [INFO] [stdout] 8272da51fca3ff6b73993aaeee5c74697f8aaf004d0c561df27185ffc52f2691 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d49033f8961e8223b8dda309ae04567733bbc3f3c20514b2091eec82ac3d99e5 [INFO] running `Command { std: "docker" "start" "-a" "d49033f8961e8223b8dda309ae04567733bbc3f3c20514b2091eec82ac3d99e5", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `std::fmt::Error` [INFO] [stdout] --> src/lib.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fmt::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::layers::*` [INFO] [stdout] --> src/lib.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::layers::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `geopotential_altitude` [INFO] [stdout] --> src/layers/stratosphere.rs:27:36 [INFO] [stdout] | [INFO] [stdout] 27 | fn temperature_gradient(&self, geopotential_altitude: f64, level: i8)->Result{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 27 | fn temperature_gradient(&self, _geopotential_altitude: f64, level: i8)->Result{ [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `omega_0` [INFO] [stdout] | [INFO] [stdout] 27 - fn temperature_gradient(&self, geopotential_altitude: f64, level: i8)->Result{ [INFO] [stdout] 27 + fn temperature_gradient(&self, reference::constants::omega_0: f64, level: i8)->Result{ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Mesopause` is never constructed [INFO] [stdout] --> src/layers/mesopause.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Mesopause{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `base_geopotential_altitude`, `base_temperature`, and `temperature_gradient` are never used [INFO] [stdout] --> src/layers/mesopause.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 4 | impl Mesopause{ [INFO] [stdout] | -------------- associated functions in this implementation [INFO] [stdout] 5 | fn base_geopotential_altitude()->Result{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | fn base_temperature()->Result{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | fn temperature_gradient()->Result{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Mesosphere` is never constructed [INFO] [stdout] --> src/layers/mesosphere.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Mesosphere{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `base_geopotential_altitude`, `base_temperature`, and `temperature_gradient` are never used [INFO] [stdout] --> src/layers/mesosphere.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 5 | impl Mesosphere{ [INFO] [stdout] | --------------- associated functions in this implementation [INFO] [stdout] 6 | fn base_geopotential_altitude(level: i8)->Result{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | fn base_temperature(level: i8)->Result{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | fn temperature_gradient(level: i8)->Result{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Stratopause` is never constructed [INFO] [stdout] --> src/layers/stratopause.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Stratopause{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `base_geopotential_altitude`, `base_temperature`, and `temperature_gradient` are never used [INFO] [stdout] --> src/layers/stratopause.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 4 | impl Stratopause{ [INFO] [stdout] | ---------------- associated functions in this implementation [INFO] [stdout] 5 | fn base_geopotential_altitude()->Result{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | fn base_temperature()->Result{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | fn temperature_gradient()->Result{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Stratosphere` is never constructed [INFO] [stdout] --> src/layers/stratosphere.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Stratosphere{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `base_geopotential_altitude`, `base_temperature`, and `temperature_gradient` are never used [INFO] [stdout] --> src/layers/stratosphere.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 4 | impl Stratosphere{ [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 5 | pub fn base_geopotential_altitude(&self, level: i8)->Result{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | fn base_temperature(&self, level: i8)->Result{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | fn temperature_gradient(&self, geopotential_altitude: f64, level: i8)->Result{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Tropopause` is never constructed [INFO] [stdout] --> src/layers/tropopause.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Tropopause{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `base_geopotential_altitude`, `base_temperature`, and `temperature_gradient` are never used [INFO] [stdout] --> src/layers/tropopause.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 4 | impl Tropopause{ [INFO] [stdout] | --------------- associated functions in this implementation [INFO] [stdout] 5 | fn base_geopotential_altitude()->Result{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | fn base_temperature()->Result{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | fn temperature_gradient()->Result{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `M_0` is never used [INFO] [stdout] --> src/reference/constants.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub const M_0: f64 = 28.964420; // kg/kmol [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `N_A` is never used [INFO] [stdout] --> src/reference/constants.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const N_A: f64 = 602.257e24; // kmol^{-1} [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `P_0` is never used [INFO] [stdout] --> src/reference/constants.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const P_0: f64 = 101.325e3; // Pa [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S` is never used [INFO] [stdout] --> src/reference/constants.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub const S: f64 = 110.4; // K [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `T_I` is never used [INFO] [stdout] --> src/reference/constants.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub const T_I: f64 = 273.15; // K [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `T_0` is never used [INFO] [stdout] --> src/reference/constants.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const T_0: f64 = 288.15; // K [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `t_i` is never used [INFO] [stdout] --> src/reference/constants.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub const t_i: f64 = 0.0; // deg C [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `t_0` is never used [INFO] [stdout] --> src/reference/constants.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const t_0: f64 = 15.0; // deg C [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `Beta_s` is never used [INFO] [stdout] --> src/reference/constants.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub const Beta_s: f64 = 1.458e-6; // kg/(m*s*K12) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `k` is never used [INFO] [stdout] --> src/reference/constants.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | pub const k: f64 = 1.4; // dimensionless [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `rho_0` is never used [INFO] [stdout] --> src/reference/constants.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | pub const rho_0: f64 = 1.225; // kg/m3 [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `sigma` is never used [INFO] [stdout] --> src/reference/constants.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | pub const sigma: f64 = 0.365e-9; // m [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `nitrogen_volume` is never used [INFO] [stdout] --> src/reference/constants.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | pub const nitrogen_volume: f64 = 78.084; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `oxygen_volume` is never used [INFO] [stdout] --> src/reference/constants.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | pub const oxygen_volume: f64 = 20.9476; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `argon_volume` is never used [INFO] [stdout] --> src/reference/constants.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | pub const argon_volume: f64 = 0.934; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `carbon_dioxide_volume` is never used [INFO] [stdout] --> src/reference/constants.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | pub const carbon_dioxide_volume: f64 = 0.0314; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `neon_volume` is never used [INFO] [stdout] --> src/reference/constants.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 25 | pub const neon_volume: f64 = 1.818e-3; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `helium_volume` is never used [INFO] [stdout] --> src/reference/constants.rs:26:11 [INFO] [stdout] | [INFO] [stdout] 26 | pub const helium_volume: f64 = 524.0e-6; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `krypton_volume` is never used [INFO] [stdout] --> src/reference/constants.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | pub const krypton_volume: f64 = 114.0e-6; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `xenon_volume` is never used [INFO] [stdout] --> src/reference/constants.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | pub const xenon_volume: f64 = 8.7e-6; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `hydrogen_volume` is never used [INFO] [stdout] --> src/reference/constants.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 29 | pub const hydrogen_volume: f64 = 50.0e-6; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `nitrogen_monoxide_volume` is never used [INFO] [stdout] --> src/reference/constants.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | pub const nitrogen_monoxide_volume: f64 = 50.0e-6; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `methane_volume` is never used [INFO] [stdout] --> src/reference/constants.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | pub const methane_volume: f64 = 0.2e-3; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ozone_summer_volume` is never used [INFO] [stdout] --> src/reference/constants.rs:32:11 [INFO] [stdout] | [INFO] [stdout] 32 | pub const ozone_summer_volume: f64 = 7.0e-6; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ozone_winter_volume` is never used [INFO] [stdout] --> src/reference/constants.rs:33:11 [INFO] [stdout] | [INFO] [stdout] 33 | pub const ozone_winter_volume: f64 = 2.0e-6; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `sulphur_dioxide_volume` is never used [INFO] [stdout] --> src/reference/constants.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 34 | pub const sulphur_dioxide_volume: f64 = 0.1e-3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `nitrogen_dioxide_volume` is never used [INFO] [stdout] --> src/reference/constants.rs:35:11 [INFO] [stdout] | [INFO] [stdout] 35 | pub const nitrogen_dioxide_volume: f64 = 2.0e-6; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `iodine_volume` is never used [INFO] [stdout] --> src/reference/constants.rs:36:11 [INFO] [stdout] | [INFO] [stdout] 36 | pub const iodine_volume: f64 = 1.0e-6; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `air_volume` is never used [INFO] [stdout] --> src/reference/constants.rs:37:11 [INFO] [stdout] | [INFO] [stdout] 37 | pub const air_volume: f64 = 100.0; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `nitrogen_molar_mass` is never used [INFO] [stdout] --> src/reference/constants.rs:39:11 [INFO] [stdout] | [INFO] [stdout] 39 | pub const nitrogen_molar_mass: f64 = 28.0134; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `oxygen_molar_mass` is never used [INFO] [stdout] --> src/reference/constants.rs:40:11 [INFO] [stdout] | [INFO] [stdout] 40 | pub const oxygen_molar_mass: f64 = 31.9988; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `argon_molar_mass` is never used [INFO] [stdout] --> src/reference/constants.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | pub const argon_molar_mass: f64 = 39.948; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `neon_molar_mass` is never used [INFO] [stdout] --> src/reference/constants.rs:42:11 [INFO] [stdout] | [INFO] [stdout] 42 | pub const neon_molar_mass: f64 = 20.183; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `carbon_dioxide_molar_mass` is never used [INFO] [stdout] --> src/reference/constants.rs:43:11 [INFO] [stdout] | [INFO] [stdout] 43 | pub const carbon_dioxide_molar_mass: f64 = 44.00995; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `helium_molar_mass` is never used [INFO] [stdout] --> src/reference/constants.rs:44:11 [INFO] [stdout] | [INFO] [stdout] 44 | pub const helium_molar_mass: f64 = 4.0026; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `krypton_molar_mass` is never used [INFO] [stdout] --> src/reference/constants.rs:45:11 [INFO] [stdout] | [INFO] [stdout] 45 | pub const krypton_molar_mass: f64 = 83.80; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `xenon_molar_mass` is never used [INFO] [stdout] --> src/reference/constants.rs:46:11 [INFO] [stdout] | [INFO] [stdout] 46 | pub const xenon_molar_mass: f64 = 131.30; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `hydrogen_molar_mass` is never used [INFO] [stdout] --> src/reference/constants.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | pub const hydrogen_molar_mass: f64 = 2.01594; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `nitrogen_monoxide_molar_mass` is never used [INFO] [stdout] --> src/reference/constants.rs:48:11 [INFO] [stdout] | [INFO] [stdout] 48 | pub const nitrogen_monoxide_molar_mass: f64 = 44.0128; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `methane_molar_mass` is never used [INFO] [stdout] --> src/reference/constants.rs:49:11 [INFO] [stdout] | [INFO] [stdout] 49 | pub const methane_molar_mass: f64 = 16.04303; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ozone_summer_molar_mass` is never used [INFO] [stdout] --> src/reference/constants.rs:50:11 [INFO] [stdout] | [INFO] [stdout] 50 | pub const ozone_summer_molar_mass: f64 = 47.9982; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ozone_winter_molar_mass` is never used [INFO] [stdout] --> src/reference/constants.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | pub const ozone_winter_molar_mass: f64 = 47.9982; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `sulphur_dioxide_molar_mass` is never used [INFO] [stdout] --> src/reference/constants.rs:52:11 [INFO] [stdout] | [INFO] [stdout] 52 | pub const sulphur_dioxide_molar_mass: f64 = 64.0628; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `nitrogen_dioxide_molar_mass` is never used [INFO] [stdout] --> src/reference/constants.rs:53:11 [INFO] [stdout] | [INFO] [stdout] 53 | pub const nitrogen_dioxide_molar_mass: f64 = 46.0055; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `iodine_molar_mass` is never used [INFO] [stdout] --> src/reference/constants.rs:54:11 [INFO] [stdout] | [INFO] [stdout] 54 | pub const iodine_molar_mass: f64 = 253.8088; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `a_0` is never used [INFO] [stdout] --> src/reference/constants.rs:57:11 [INFO] [stdout] | [INFO] [stdout] 57 | pub const a_0: f64 = 340.294; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `H_p_0` is never used [INFO] [stdout] --> src/reference/constants.rs:58:11 [INFO] [stdout] | [INFO] [stdout] 58 | pub const H_p_0: f64 = 8434.5; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `l_0` is never used [INFO] [stdout] --> src/reference/constants.rs:59:11 [INFO] [stdout] | [INFO] [stdout] 59 | pub const l_0: f64 = 66.328e-9; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `n_0` is never used [INFO] [stdout] --> src/reference/constants.rs:60:11 [INFO] [stdout] | [INFO] [stdout] 60 | pub const n_0: f64 = 25.471e24; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `v_0` is never used [INFO] [stdout] --> src/reference/constants.rs:61:11 [INFO] [stdout] | [INFO] [stdout] 61 | pub const v_0: f64 = 458.94; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `gamma_0` is never used [INFO] [stdout] --> src/reference/constants.rs:62:11 [INFO] [stdout] | [INFO] [stdout] 62 | pub const gamma_0: f64 = 12.013; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `nu_0` is never used [INFO] [stdout] --> src/reference/constants.rs:63:11 [INFO] [stdout] | [INFO] [stdout] 63 | pub const nu_0: f64 = 14.607e-6; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `lambda_0` is never used [INFO] [stdout] --> src/reference/constants.rs:64:11 [INFO] [stdout] | [INFO] [stdout] 64 | pub const lambda_0: f64 = 25.343e-3; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `mu_0` is never used [INFO] [stdout] --> src/reference/constants.rs:65:11 [INFO] [stdout] | [INFO] [stdout] 65 | pub const mu_0: f64 = 17.894e-6; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `omega_0` is never used [INFO] [stdout] --> src/reference/constants.rs:66:11 [INFO] [stdout] | [INFO] [stdout] 66 | pub const omega_0: f64 = 6.9193e9; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `g_0` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | pub const g_0: f64 = 9.80665; // m/s2 [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 2 - pub const g_0: f64 = 9.80665; // m/s2 [INFO] [stdout] 2 + pub const G_0: f64 = 9.80665; // m/s2 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `R_Star` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const R_Star: f64 = 8314.32; // kg*m2/(s2*K*kmol) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 6 - pub const R_Star: f64 = 8314.32; // kg*m2/(s2*K*kmol) [INFO] [stdout] 6 + pub const R_STAR: f64 = 8314.32; // kg*m2/(s2*K*kmol) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `t_i` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub const t_i: f64 = 0.0; // deg C [INFO] [stdout] | ^^^ help: convert the identifier to upper case: `T_I` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `t_0` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const t_0: f64 = 15.0; // deg C [INFO] [stdout] | ^^^ help: convert the identifier to upper case: `T_0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `Beta_s` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub const Beta_s: f64 = 1.458e-6; // kg/(m*s*K12) [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper case: `BETA_S` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `k` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | pub const k: f64 = 1.4; // dimensionless [INFO] [stdout] | ^ help: convert the identifier to upper case (notice the capitalization): `K` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `rho_0` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | pub const rho_0: f64 = 1.225; // kg/m3 [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `RHO_0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `sigma` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | pub const sigma: f64 = 0.365e-9; // m [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `SIGMA` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `earth_radius_nominal` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | pub const earth_radius_nominal: f64 = 6356766.0; // m [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 18 - pub const earth_radius_nominal: f64 = 6356766.0; // m [INFO] [stdout] 18 + pub const EARTH_RADIUS_NOMINAL: f64 = 6356766.0; // m [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `nitrogen_volume` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | pub const nitrogen_volume: f64 = 78.084; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NITROGEN_VOLUME` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `oxygen_volume` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | pub const oxygen_volume: f64 = 20.9476; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper case: `OXYGEN_VOLUME` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `argon_volume` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | pub const argon_volume: f64 = 0.934; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper case: `ARGON_VOLUME` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `carbon_dioxide_volume` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | pub const carbon_dioxide_volume: f64 = 0.0314; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `CARBON_DIOXIDE_VOLUME` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `neon_volume` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 25 | pub const neon_volume: f64 = 1.818e-3; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `NEON_VOLUME` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `helium_volume` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:26:11 [INFO] [stdout] | [INFO] [stdout] 26 | pub const helium_volume: f64 = 524.0e-6; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper case: `HELIUM_VOLUME` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `krypton_volume` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | pub const krypton_volume: f64 = 114.0e-6; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper case: `KRYPTON_VOLUME` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `xenon_volume` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | pub const xenon_volume: f64 = 8.7e-6; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper case: `XENON_VOLUME` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `hydrogen_volume` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 29 | pub const hydrogen_volume: f64 = 50.0e-6; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `HYDROGEN_VOLUME` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `nitrogen_monoxide_volume` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | pub const nitrogen_monoxide_volume: f64 = 50.0e-6; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NITROGEN_MONOXIDE_VOLUME` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `methane_volume` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | pub const methane_volume: f64 = 0.2e-3; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper case: `METHANE_VOLUME` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ozone_summer_volume` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:32:11 [INFO] [stdout] | [INFO] [stdout] 32 | pub const ozone_summer_volume: f64 = 7.0e-6; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `OZONE_SUMMER_VOLUME` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ozone_winter_volume` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:33:11 [INFO] [stdout] | [INFO] [stdout] 33 | pub const ozone_winter_volume: f64 = 2.0e-6; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `OZONE_WINTER_VOLUME` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `sulphur_dioxide_volume` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 34 | pub const sulphur_dioxide_volume: f64 = 0.1e-3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `SULPHUR_DIOXIDE_VOLUME` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `nitrogen_dioxide_volume` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:35:11 [INFO] [stdout] | [INFO] [stdout] 35 | pub const nitrogen_dioxide_volume: f64 = 2.0e-6; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NITROGEN_DIOXIDE_VOLUME` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `iodine_volume` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:36:11 [INFO] [stdout] | [INFO] [stdout] 36 | pub const iodine_volume: f64 = 1.0e-6; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper case: `IODINE_VOLUME` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `air_volume` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:37:11 [INFO] [stdout] | [INFO] [stdout] 37 | pub const air_volume: f64 = 100.0; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper case: `AIR_VOLUME` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `nitrogen_molar_mass` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:39:11 [INFO] [stdout] | [INFO] [stdout] 39 | pub const nitrogen_molar_mass: f64 = 28.0134; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NITROGEN_MOLAR_MASS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `oxygen_molar_mass` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:40:11 [INFO] [stdout] | [INFO] [stdout] 40 | pub const oxygen_molar_mass: f64 = 31.9988; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `OXYGEN_MOLAR_MASS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `argon_molar_mass` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | pub const argon_molar_mass: f64 = 39.948; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `ARGON_MOLAR_MASS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `neon_molar_mass` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:42:11 [INFO] [stdout] | [INFO] [stdout] 42 | pub const neon_molar_mass: f64 = 20.183; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NEON_MOLAR_MASS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `carbon_dioxide_molar_mass` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:43:11 [INFO] [stdout] | [INFO] [stdout] 43 | pub const carbon_dioxide_molar_mass: f64 = 44.00995; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `CARBON_DIOXIDE_MOLAR_MASS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `helium_molar_mass` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:44:11 [INFO] [stdout] | [INFO] [stdout] 44 | pub const helium_molar_mass: f64 = 4.0026; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `HELIUM_MOLAR_MASS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `krypton_molar_mass` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:45:11 [INFO] [stdout] | [INFO] [stdout] 45 | pub const krypton_molar_mass: f64 = 83.80; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `KRYPTON_MOLAR_MASS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `xenon_molar_mass` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:46:11 [INFO] [stdout] | [INFO] [stdout] 46 | pub const xenon_molar_mass: f64 = 131.30; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `XENON_MOLAR_MASS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `hydrogen_molar_mass` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | pub const hydrogen_molar_mass: f64 = 2.01594; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `HYDROGEN_MOLAR_MASS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `nitrogen_monoxide_molar_mass` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:48:11 [INFO] [stdout] | [INFO] [stdout] 48 | pub const nitrogen_monoxide_molar_mass: f64 = 44.0128; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NITROGEN_MONOXIDE_MOLAR_MASS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `methane_molar_mass` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:49:11 [INFO] [stdout] | [INFO] [stdout] 49 | pub const methane_molar_mass: f64 = 16.04303; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `METHANE_MOLAR_MASS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ozone_summer_molar_mass` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:50:11 [INFO] [stdout] | [INFO] [stdout] 50 | pub const ozone_summer_molar_mass: f64 = 47.9982; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `OZONE_SUMMER_MOLAR_MASS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ozone_winter_molar_mass` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | pub const ozone_winter_molar_mass: f64 = 47.9982; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `OZONE_WINTER_MOLAR_MASS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `sulphur_dioxide_molar_mass` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:52:11 [INFO] [stdout] | [INFO] [stdout] 52 | pub const sulphur_dioxide_molar_mass: f64 = 64.0628; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `SULPHUR_DIOXIDE_MOLAR_MASS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `nitrogen_dioxide_molar_mass` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:53:11 [INFO] [stdout] | [INFO] [stdout] 53 | pub const nitrogen_dioxide_molar_mass: f64 = 46.0055; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NITROGEN_DIOXIDE_MOLAR_MASS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `iodine_molar_mass` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:54:11 [INFO] [stdout] | [INFO] [stdout] 54 | pub const iodine_molar_mass: f64 = 253.8088; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `IODINE_MOLAR_MASS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `air_molar_mass` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:55:11 [INFO] [stdout] | [INFO] [stdout] 55 | pub const air_molar_mass: f64 = 28.964420; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 55 - pub const air_molar_mass: f64 = 28.964420; [INFO] [stdout] 55 + pub const AIR_MOLAR_MASS: f64 = 28.964420; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `a_0` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:57:11 [INFO] [stdout] | [INFO] [stdout] 57 | pub const a_0: f64 = 340.294; [INFO] [stdout] | ^^^ help: convert the identifier to upper case: `A_0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `H_p_0` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:58:11 [INFO] [stdout] | [INFO] [stdout] 58 | pub const H_p_0: f64 = 8434.5; [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `H_P_0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `l_0` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:59:11 [INFO] [stdout] | [INFO] [stdout] 59 | pub const l_0: f64 = 66.328e-9; [INFO] [stdout] | ^^^ help: convert the identifier to upper case: `L_0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `n_0` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:60:11 [INFO] [stdout] | [INFO] [stdout] 60 | pub const n_0: f64 = 25.471e24; [INFO] [stdout] | ^^^ help: convert the identifier to upper case: `N_0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `v_0` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:61:11 [INFO] [stdout] | [INFO] [stdout] 61 | pub const v_0: f64 = 458.94; [INFO] [stdout] | ^^^ help: convert the identifier to upper case (notice the capitalization): `V_0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `gamma_0` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:62:11 [INFO] [stdout] | [INFO] [stdout] 62 | pub const gamma_0: f64 = 12.013; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper case: `GAMMA_0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `nu_0` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:63:11 [INFO] [stdout] | [INFO] [stdout] 63 | pub const nu_0: f64 = 14.607e-6; [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `NU_0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `lambda_0` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:64:11 [INFO] [stdout] | [INFO] [stdout] 64 | pub const lambda_0: f64 = 25.343e-3; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `LAMBDA_0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `mu_0` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:65:11 [INFO] [stdout] | [INFO] [stdout] 65 | pub const mu_0: f64 = 17.894e-6; [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `MU_0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `omega_0` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:66:11 [INFO] [stdout] | [INFO] [stdout] 66 | pub const omega_0: f64 = 6.9193e9; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper case: `OMEGA_0` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling international_standard_atmosphere v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::fmt::Error` [INFO] [stdout] --> src/lib.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fmt::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::layers::*` [INFO] [stdout] --> src/lib.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::layers::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `geopotential_altitude` [INFO] [stdout] --> src/layers/stratosphere.rs:27:36 [INFO] [stdout] | [INFO] [stdout] 27 | fn temperature_gradient(&self, geopotential_altitude: f64, level: i8)->Result{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 27 | fn temperature_gradient(&self, _geopotential_altitude: f64, level: i8)->Result{ [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `omega_0` [INFO] [stdout] | [INFO] [stdout] 27 - fn temperature_gradient(&self, geopotential_altitude: f64, level: i8)->Result{ [INFO] [stdout] 27 + fn temperature_gradient(&self, reference::constants::omega_0: f64, level: i8)->Result{ [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Mesopause` is never constructed [INFO] [stdout] --> src/layers/mesopause.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Mesopause{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `base_geopotential_altitude`, `base_temperature`, and `temperature_gradient` are never used [INFO] [stdout] --> src/layers/mesopause.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 4 | impl Mesopause{ [INFO] [stdout] | -------------- associated functions in this implementation [INFO] [stdout] 5 | fn base_geopotential_altitude()->Result{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | fn base_temperature()->Result{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | fn temperature_gradient()->Result{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Mesosphere` is never constructed [INFO] [stdout] --> src/layers/mesosphere.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Mesosphere{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `base_geopotential_altitude`, `base_temperature`, and `temperature_gradient` are never used [INFO] [stdout] --> src/layers/mesosphere.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 5 | impl Mesosphere{ [INFO] [stdout] | --------------- associated functions in this implementation [INFO] [stdout] 6 | fn base_geopotential_altitude(level: i8)->Result{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 18 | fn base_temperature(level: i8)->Result{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | fn temperature_gradient(level: i8)->Result{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Stratopause` is never constructed [INFO] [stdout] --> src/layers/stratopause.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Stratopause{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `base_geopotential_altitude`, `base_temperature`, and `temperature_gradient` are never used [INFO] [stdout] --> src/layers/stratopause.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 4 | impl Stratopause{ [INFO] [stdout] | ---------------- associated functions in this implementation [INFO] [stdout] 5 | fn base_geopotential_altitude()->Result{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | fn base_temperature()->Result{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | fn temperature_gradient()->Result{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Stratosphere` is never constructed [INFO] [stdout] --> src/layers/stratosphere.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | pub struct Stratosphere{ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `base_geopotential_altitude`, `base_temperature`, and `temperature_gradient` are never used [INFO] [stdout] --> src/layers/stratosphere.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 4 | impl Stratosphere{ [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] 5 | pub fn base_geopotential_altitude(&self, level: i8)->Result{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 16 | fn base_temperature(&self, level: i8)->Result{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | fn temperature_gradient(&self, geopotential_altitude: f64, level: i8)->Result{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Tropopause` is never constructed [INFO] [stdout] --> src/layers/tropopause.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Tropopause{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `base_geopotential_altitude`, `base_temperature`, and `temperature_gradient` are never used [INFO] [stdout] --> src/layers/tropopause.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 4 | impl Tropopause{ [INFO] [stdout] | --------------- associated functions in this implementation [INFO] [stdout] 5 | fn base_geopotential_altitude()->Result{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | fn base_temperature()->Result{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 11 | fn temperature_gradient()->Result{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `M_0` is never used [INFO] [stdout] --> src/reference/constants.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub const M_0: f64 = 28.964420; // kg/kmol [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `N_A` is never used [INFO] [stdout] --> src/reference/constants.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const N_A: f64 = 602.257e24; // kmol^{-1} [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `P_0` is never used [INFO] [stdout] --> src/reference/constants.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const P_0: f64 = 101.325e3; // Pa [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `S` is never used [INFO] [stdout] --> src/reference/constants.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub const S: f64 = 110.4; // K [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `T_I` is never used [INFO] [stdout] --> src/reference/constants.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub const T_I: f64 = 273.15; // K [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `T_0` is never used [INFO] [stdout] --> src/reference/constants.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const T_0: f64 = 288.15; // K [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `t_i` is never used [INFO] [stdout] --> src/reference/constants.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub const t_i: f64 = 0.0; // deg C [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `t_0` is never used [INFO] [stdout] --> src/reference/constants.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const t_0: f64 = 15.0; // deg C [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `Beta_s` is never used [INFO] [stdout] --> src/reference/constants.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub const Beta_s: f64 = 1.458e-6; // kg/(m*s*K12) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `k` is never used [INFO] [stdout] --> src/reference/constants.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | pub const k: f64 = 1.4; // dimensionless [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `rho_0` is never used [INFO] [stdout] --> src/reference/constants.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | pub const rho_0: f64 = 1.225; // kg/m3 [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `sigma` is never used [INFO] [stdout] --> src/reference/constants.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | pub const sigma: f64 = 0.365e-9; // m [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `nitrogen_volume` is never used [INFO] [stdout] --> src/reference/constants.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | pub const nitrogen_volume: f64 = 78.084; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `oxygen_volume` is never used [INFO] [stdout] --> src/reference/constants.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | pub const oxygen_volume: f64 = 20.9476; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `argon_volume` is never used [INFO] [stdout] --> src/reference/constants.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | pub const argon_volume: f64 = 0.934; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `carbon_dioxide_volume` is never used [INFO] [stdout] --> src/reference/constants.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | pub const carbon_dioxide_volume: f64 = 0.0314; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `neon_volume` is never used [INFO] [stdout] --> src/reference/constants.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 25 | pub const neon_volume: f64 = 1.818e-3; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `helium_volume` is never used [INFO] [stdout] --> src/reference/constants.rs:26:11 [INFO] [stdout] | [INFO] [stdout] 26 | pub const helium_volume: f64 = 524.0e-6; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `krypton_volume` is never used [INFO] [stdout] --> src/reference/constants.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | pub const krypton_volume: f64 = 114.0e-6; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `xenon_volume` is never used [INFO] [stdout] --> src/reference/constants.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | pub const xenon_volume: f64 = 8.7e-6; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `hydrogen_volume` is never used [INFO] [stdout] --> src/reference/constants.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 29 | pub const hydrogen_volume: f64 = 50.0e-6; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `nitrogen_monoxide_volume` is never used [INFO] [stdout] --> src/reference/constants.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | pub const nitrogen_monoxide_volume: f64 = 50.0e-6; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `methane_volume` is never used [INFO] [stdout] --> src/reference/constants.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | pub const methane_volume: f64 = 0.2e-3; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ozone_summer_volume` is never used [INFO] [stdout] --> src/reference/constants.rs:32:11 [INFO] [stdout] | [INFO] [stdout] 32 | pub const ozone_summer_volume: f64 = 7.0e-6; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ozone_winter_volume` is never used [INFO] [stdout] --> src/reference/constants.rs:33:11 [INFO] [stdout] | [INFO] [stdout] 33 | pub const ozone_winter_volume: f64 = 2.0e-6; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `sulphur_dioxide_volume` is never used [INFO] [stdout] --> src/reference/constants.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 34 | pub const sulphur_dioxide_volume: f64 = 0.1e-3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `nitrogen_dioxide_volume` is never used [INFO] [stdout] --> src/reference/constants.rs:35:11 [INFO] [stdout] | [INFO] [stdout] 35 | pub const nitrogen_dioxide_volume: f64 = 2.0e-6; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `iodine_volume` is never used [INFO] [stdout] --> src/reference/constants.rs:36:11 [INFO] [stdout] | [INFO] [stdout] 36 | pub const iodine_volume: f64 = 1.0e-6; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `air_volume` is never used [INFO] [stdout] --> src/reference/constants.rs:37:11 [INFO] [stdout] | [INFO] [stdout] 37 | pub const air_volume: f64 = 100.0; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `nitrogen_molar_mass` is never used [INFO] [stdout] --> src/reference/constants.rs:39:11 [INFO] [stdout] | [INFO] [stdout] 39 | pub const nitrogen_molar_mass: f64 = 28.0134; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `oxygen_molar_mass` is never used [INFO] [stdout] --> src/reference/constants.rs:40:11 [INFO] [stdout] | [INFO] [stdout] 40 | pub const oxygen_molar_mass: f64 = 31.9988; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `argon_molar_mass` is never used [INFO] [stdout] --> src/reference/constants.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | pub const argon_molar_mass: f64 = 39.948; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `neon_molar_mass` is never used [INFO] [stdout] --> src/reference/constants.rs:42:11 [INFO] [stdout] | [INFO] [stdout] 42 | pub const neon_molar_mass: f64 = 20.183; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `carbon_dioxide_molar_mass` is never used [INFO] [stdout] --> src/reference/constants.rs:43:11 [INFO] [stdout] | [INFO] [stdout] 43 | pub const carbon_dioxide_molar_mass: f64 = 44.00995; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `helium_molar_mass` is never used [INFO] [stdout] --> src/reference/constants.rs:44:11 [INFO] [stdout] | [INFO] [stdout] 44 | pub const helium_molar_mass: f64 = 4.0026; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `krypton_molar_mass` is never used [INFO] [stdout] --> src/reference/constants.rs:45:11 [INFO] [stdout] | [INFO] [stdout] 45 | pub const krypton_molar_mass: f64 = 83.80; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `xenon_molar_mass` is never used [INFO] [stdout] --> src/reference/constants.rs:46:11 [INFO] [stdout] | [INFO] [stdout] 46 | pub const xenon_molar_mass: f64 = 131.30; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `hydrogen_molar_mass` is never used [INFO] [stdout] --> src/reference/constants.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | pub const hydrogen_molar_mass: f64 = 2.01594; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `nitrogen_monoxide_molar_mass` is never used [INFO] [stdout] --> src/reference/constants.rs:48:11 [INFO] [stdout] | [INFO] [stdout] 48 | pub const nitrogen_monoxide_molar_mass: f64 = 44.0128; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `methane_molar_mass` is never used [INFO] [stdout] --> src/reference/constants.rs:49:11 [INFO] [stdout] | [INFO] [stdout] 49 | pub const methane_molar_mass: f64 = 16.04303; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ozone_summer_molar_mass` is never used [INFO] [stdout] --> src/reference/constants.rs:50:11 [INFO] [stdout] | [INFO] [stdout] 50 | pub const ozone_summer_molar_mass: f64 = 47.9982; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ozone_winter_molar_mass` is never used [INFO] [stdout] --> src/reference/constants.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | pub const ozone_winter_molar_mass: f64 = 47.9982; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `sulphur_dioxide_molar_mass` is never used [INFO] [stdout] --> src/reference/constants.rs:52:11 [INFO] [stdout] | [INFO] [stdout] 52 | pub const sulphur_dioxide_molar_mass: f64 = 64.0628; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `nitrogen_dioxide_molar_mass` is never used [INFO] [stdout] --> src/reference/constants.rs:53:11 [INFO] [stdout] | [INFO] [stdout] 53 | pub const nitrogen_dioxide_molar_mass: f64 = 46.0055; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `iodine_molar_mass` is never used [INFO] [stdout] --> src/reference/constants.rs:54:11 [INFO] [stdout] | [INFO] [stdout] 54 | pub const iodine_molar_mass: f64 = 253.8088; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `a_0` is never used [INFO] [stdout] --> src/reference/constants.rs:57:11 [INFO] [stdout] | [INFO] [stdout] 57 | pub const a_0: f64 = 340.294; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `H_p_0` is never used [INFO] [stdout] --> src/reference/constants.rs:58:11 [INFO] [stdout] | [INFO] [stdout] 58 | pub const H_p_0: f64 = 8434.5; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `l_0` is never used [INFO] [stdout] --> src/reference/constants.rs:59:11 [INFO] [stdout] | [INFO] [stdout] 59 | pub const l_0: f64 = 66.328e-9; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `n_0` is never used [INFO] [stdout] --> src/reference/constants.rs:60:11 [INFO] [stdout] | [INFO] [stdout] 60 | pub const n_0: f64 = 25.471e24; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `v_0` is never used [INFO] [stdout] --> src/reference/constants.rs:61:11 [INFO] [stdout] | [INFO] [stdout] 61 | pub const v_0: f64 = 458.94; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `gamma_0` is never used [INFO] [stdout] --> src/reference/constants.rs:62:11 [INFO] [stdout] | [INFO] [stdout] 62 | pub const gamma_0: f64 = 12.013; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `nu_0` is never used [INFO] [stdout] --> src/reference/constants.rs:63:11 [INFO] [stdout] | [INFO] [stdout] 63 | pub const nu_0: f64 = 14.607e-6; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `lambda_0` is never used [INFO] [stdout] --> src/reference/constants.rs:64:11 [INFO] [stdout] | [INFO] [stdout] 64 | pub const lambda_0: f64 = 25.343e-3; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `mu_0` is never used [INFO] [stdout] --> src/reference/constants.rs:65:11 [INFO] [stdout] | [INFO] [stdout] 65 | pub const mu_0: f64 = 17.894e-6; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `omega_0` is never used [INFO] [stdout] --> src/reference/constants.rs:66:11 [INFO] [stdout] | [INFO] [stdout] 66 | pub const omega_0: f64 = 6.9193e9; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `g_0` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | pub const g_0: f64 = 9.80665; // m/s2 [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 2 - pub const g_0: f64 = 9.80665; // m/s2 [INFO] [stdout] 2 + pub const G_0: f64 = 9.80665; // m/s2 [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `R_Star` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const R_Star: f64 = 8314.32; // kg*m2/(s2*K*kmol) [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 6 - pub const R_Star: f64 = 8314.32; // kg*m2/(s2*K*kmol) [INFO] [stdout] 6 + pub const R_STAR: f64 = 8314.32; // kg*m2/(s2*K*kmol) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `t_i` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub const t_i: f64 = 0.0; // deg C [INFO] [stdout] | ^^^ help: convert the identifier to upper case: `T_I` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `t_0` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const t_0: f64 = 15.0; // deg C [INFO] [stdout] | ^^^ help: convert the identifier to upper case: `T_0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `Beta_s` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub const Beta_s: f64 = 1.458e-6; // kg/(m*s*K12) [INFO] [stdout] | ^^^^^^ help: convert the identifier to upper case: `BETA_S` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `k` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | pub const k: f64 = 1.4; // dimensionless [INFO] [stdout] | ^ help: convert the identifier to upper case (notice the capitalization): `K` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `rho_0` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | pub const rho_0: f64 = 1.225; // kg/m3 [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `RHO_0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `sigma` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | pub const sigma: f64 = 0.365e-9; // m [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `SIGMA` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `earth_radius_nominal` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | pub const earth_radius_nominal: f64 = 6356766.0; // m [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 18 - pub const earth_radius_nominal: f64 = 6356766.0; // m [INFO] [stdout] 18 + pub const EARTH_RADIUS_NOMINAL: f64 = 6356766.0; // m [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `nitrogen_volume` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | pub const nitrogen_volume: f64 = 78.084; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NITROGEN_VOLUME` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `oxygen_volume` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | pub const oxygen_volume: f64 = 20.9476; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper case: `OXYGEN_VOLUME` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `argon_volume` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | pub const argon_volume: f64 = 0.934; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper case: `ARGON_VOLUME` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `carbon_dioxide_volume` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | pub const carbon_dioxide_volume: f64 = 0.0314; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `CARBON_DIOXIDE_VOLUME` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `neon_volume` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 25 | pub const neon_volume: f64 = 1.818e-3; [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper case: `NEON_VOLUME` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `helium_volume` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:26:11 [INFO] [stdout] | [INFO] [stdout] 26 | pub const helium_volume: f64 = 524.0e-6; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper case: `HELIUM_VOLUME` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `krypton_volume` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | pub const krypton_volume: f64 = 114.0e-6; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper case: `KRYPTON_VOLUME` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `xenon_volume` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | pub const xenon_volume: f64 = 8.7e-6; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper case: `XENON_VOLUME` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `hydrogen_volume` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 29 | pub const hydrogen_volume: f64 = 50.0e-6; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `HYDROGEN_VOLUME` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `nitrogen_monoxide_volume` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | pub const nitrogen_monoxide_volume: f64 = 50.0e-6; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NITROGEN_MONOXIDE_VOLUME` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `methane_volume` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | pub const methane_volume: f64 = 0.2e-3; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper case: `METHANE_VOLUME` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ozone_summer_volume` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:32:11 [INFO] [stdout] | [INFO] [stdout] 32 | pub const ozone_summer_volume: f64 = 7.0e-6; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `OZONE_SUMMER_VOLUME` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ozone_winter_volume` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:33:11 [INFO] [stdout] | [INFO] [stdout] 33 | pub const ozone_winter_volume: f64 = 2.0e-6; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `OZONE_WINTER_VOLUME` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `sulphur_dioxide_volume` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 34 | pub const sulphur_dioxide_volume: f64 = 0.1e-3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `SULPHUR_DIOXIDE_VOLUME` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `nitrogen_dioxide_volume` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:35:11 [INFO] [stdout] | [INFO] [stdout] 35 | pub const nitrogen_dioxide_volume: f64 = 2.0e-6; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NITROGEN_DIOXIDE_VOLUME` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `iodine_volume` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:36:11 [INFO] [stdout] | [INFO] [stdout] 36 | pub const iodine_volume: f64 = 1.0e-6; [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper case: `IODINE_VOLUME` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `air_volume` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:37:11 [INFO] [stdout] | [INFO] [stdout] 37 | pub const air_volume: f64 = 100.0; [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper case: `AIR_VOLUME` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `nitrogen_molar_mass` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:39:11 [INFO] [stdout] | [INFO] [stdout] 39 | pub const nitrogen_molar_mass: f64 = 28.0134; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NITROGEN_MOLAR_MASS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `oxygen_molar_mass` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:40:11 [INFO] [stdout] | [INFO] [stdout] 40 | pub const oxygen_molar_mass: f64 = 31.9988; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `OXYGEN_MOLAR_MASS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `argon_molar_mass` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:41:11 [INFO] [stdout] | [INFO] [stdout] 41 | pub const argon_molar_mass: f64 = 39.948; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `ARGON_MOLAR_MASS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `neon_molar_mass` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:42:11 [INFO] [stdout] | [INFO] [stdout] 42 | pub const neon_molar_mass: f64 = 20.183; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NEON_MOLAR_MASS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `carbon_dioxide_molar_mass` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:43:11 [INFO] [stdout] | [INFO] [stdout] 43 | pub const carbon_dioxide_molar_mass: f64 = 44.00995; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `CARBON_DIOXIDE_MOLAR_MASS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `helium_molar_mass` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:44:11 [INFO] [stdout] | [INFO] [stdout] 44 | pub const helium_molar_mass: f64 = 4.0026; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `HELIUM_MOLAR_MASS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `krypton_molar_mass` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:45:11 [INFO] [stdout] | [INFO] [stdout] 45 | pub const krypton_molar_mass: f64 = 83.80; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `KRYPTON_MOLAR_MASS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `xenon_molar_mass` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:46:11 [INFO] [stdout] | [INFO] [stdout] 46 | pub const xenon_molar_mass: f64 = 131.30; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `XENON_MOLAR_MASS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `hydrogen_molar_mass` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:47:11 [INFO] [stdout] | [INFO] [stdout] 47 | pub const hydrogen_molar_mass: f64 = 2.01594; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `HYDROGEN_MOLAR_MASS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `nitrogen_monoxide_molar_mass` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:48:11 [INFO] [stdout] | [INFO] [stdout] 48 | pub const nitrogen_monoxide_molar_mass: f64 = 44.0128; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NITROGEN_MONOXIDE_MOLAR_MASS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `methane_molar_mass` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:49:11 [INFO] [stdout] | [INFO] [stdout] 49 | pub const methane_molar_mass: f64 = 16.04303; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `METHANE_MOLAR_MASS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ozone_summer_molar_mass` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:50:11 [INFO] [stdout] | [INFO] [stdout] 50 | pub const ozone_summer_molar_mass: f64 = 47.9982; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `OZONE_SUMMER_MOLAR_MASS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ozone_winter_molar_mass` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:51:11 [INFO] [stdout] | [INFO] [stdout] 51 | pub const ozone_winter_molar_mass: f64 = 47.9982; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `OZONE_WINTER_MOLAR_MASS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `sulphur_dioxide_molar_mass` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:52:11 [INFO] [stdout] | [INFO] [stdout] 52 | pub const sulphur_dioxide_molar_mass: f64 = 64.0628; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `SULPHUR_DIOXIDE_MOLAR_MASS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `nitrogen_dioxide_molar_mass` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:53:11 [INFO] [stdout] | [INFO] [stdout] 53 | pub const nitrogen_dioxide_molar_mass: f64 = 46.0055; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NITROGEN_DIOXIDE_MOLAR_MASS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `iodine_molar_mass` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:54:11 [INFO] [stdout] | [INFO] [stdout] 54 | pub const iodine_molar_mass: f64 = 253.8088; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `IODINE_MOLAR_MASS` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `air_molar_mass` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:55:11 [INFO] [stdout] | [INFO] [stdout] 55 | pub const air_molar_mass: f64 = 28.964420; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 55 - pub const air_molar_mass: f64 = 28.964420; [INFO] [stdout] 55 + pub const AIR_MOLAR_MASS: f64 = 28.964420; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `a_0` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:57:11 [INFO] [stdout] | [INFO] [stdout] 57 | pub const a_0: f64 = 340.294; [INFO] [stdout] | ^^^ help: convert the identifier to upper case: `A_0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `H_p_0` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:58:11 [INFO] [stdout] | [INFO] [stdout] 58 | pub const H_p_0: f64 = 8434.5; [INFO] [stdout] | ^^^^^ help: convert the identifier to upper case: `H_P_0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `l_0` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:59:11 [INFO] [stdout] | [INFO] [stdout] 59 | pub const l_0: f64 = 66.328e-9; [INFO] [stdout] | ^^^ help: convert the identifier to upper case: `L_0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `n_0` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:60:11 [INFO] [stdout] | [INFO] [stdout] 60 | pub const n_0: f64 = 25.471e24; [INFO] [stdout] | ^^^ help: convert the identifier to upper case: `N_0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `v_0` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:61:11 [INFO] [stdout] | [INFO] [stdout] 61 | pub const v_0: f64 = 458.94; [INFO] [stdout] | ^^^ help: convert the identifier to upper case (notice the capitalization): `V_0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `gamma_0` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:62:11 [INFO] [stdout] | [INFO] [stdout] 62 | pub const gamma_0: f64 = 12.013; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper case: `GAMMA_0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `nu_0` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:63:11 [INFO] [stdout] | [INFO] [stdout] 63 | pub const nu_0: f64 = 14.607e-6; [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `NU_0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `lambda_0` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:64:11 [INFO] [stdout] | [INFO] [stdout] 64 | pub const lambda_0: f64 = 25.343e-3; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper case: `LAMBDA_0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `mu_0` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:65:11 [INFO] [stdout] | [INFO] [stdout] 65 | pub const mu_0: f64 = 17.894e-6; [INFO] [stdout] | ^^^^ help: convert the identifier to upper case: `MU_0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `omega_0` should have an upper case name [INFO] [stdout] --> src/reference/constants.rs:66:11 [INFO] [stdout] | [INFO] [stdout] 66 | pub const omega_0: f64 = 6.9193e9; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to upper case: `OMEGA_0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> tests/build_table_test.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | let mut icao_standard_atmosphere = isa::ISA::new(); [INFO] [stdout] | ----^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> tests/build_table_test.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | file.write_all(b"altitude,temperature,pressure,density\n"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 14 | let _ = file.write_all(b"altitude,temperature,pressure,density\n"); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.67s [INFO] running `Command { std: "docker" "inspect" "d49033f8961e8223b8dda309ae04567733bbc3f3c20514b2091eec82ac3d99e5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d49033f8961e8223b8dda309ae04567733bbc3f3c20514b2091eec82ac3d99e5", kill_on_drop: false }` [INFO] [stdout] d49033f8961e8223b8dda309ae04567733bbc3f3c20514b2091eec82ac3d99e5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 821fd1a1d293633d536dc03fb6e293797f4a45d4ae412b978e0d430d03a35320 [INFO] running `Command { std: "docker" "start" "-a" "821fd1a1d293633d536dc03fb6e293797f4a45d4ae412b978e0d430d03a35320", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `std::fmt::Error` [INFO] [stderr] --> src/lib.rs:5:9 [INFO] [stderr] | [INFO] [stderr] 5 | use std::fmt::Error; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `crate::layers::*` [INFO] [stderr] --> src/lib.rs:6:9 [INFO] [stderr] | [INFO] [stderr] 6 | use crate::layers::*; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused variable: `geopotential_altitude` [INFO] [stderr] --> src/layers/stratosphere.rs:27:36 [INFO] [stderr] | [INFO] [stderr] 27 | fn temperature_gradient(&self, geopotential_altitude: f64, level: i8)->Result{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: if this is intentional, prefix it with an underscore [INFO] [stderr] | [INFO] [stderr] 27 | fn temperature_gradient(&self, _geopotential_altitude: f64, level: i8)->Result{ [INFO] [stderr] | + [INFO] [stderr] help: you might have meant to pattern match on the similarly named constant `omega_0` [INFO] [stderr] | [INFO] [stderr] 27 - fn temperature_gradient(&self, geopotential_altitude: f64, level: i8)->Result{ [INFO] [stderr] 27 + fn temperature_gradient(&self, reference::constants::omega_0: f64, level: i8)->Result{ [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: struct `Mesopause` is never constructed [INFO] [stderr] --> src/layers/mesopause.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | pub struct Mesopause{ [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: associated functions `base_geopotential_altitude`, `base_temperature`, and `temperature_gradient` are never used [INFO] [stderr] --> src/layers/mesopause.rs:5:8 [INFO] [stderr] | [INFO] [stderr] 4 | impl Mesopause{ [INFO] [stderr] | -------------- associated functions in this implementation [INFO] [stderr] 5 | fn base_geopotential_altitude()->Result{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 8 | fn base_temperature()->Result{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 11 | fn temperature_gradient()->Result{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Mesosphere` is never constructed [INFO] [stderr] --> src/layers/mesosphere.rs:2:12 [INFO] [stderr] | [INFO] [stderr] 2 | pub struct Mesosphere{ [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated functions `base_geopotential_altitude`, `base_temperature`, and `temperature_gradient` are never used [INFO] [stderr] --> src/layers/mesosphere.rs:6:8 [INFO] [stderr] | [INFO] [stderr] 5 | impl Mesosphere{ [INFO] [stderr] | --------------- associated functions in this implementation [INFO] [stderr] 6 | fn base_geopotential_altitude(level: i8)->Result{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 18 | fn base_temperature(level: i8)->Result{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 28 | fn temperature_gradient(level: i8)->Result{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Stratopause` is never constructed [INFO] [stderr] --> src/layers/stratopause.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | pub struct Stratopause{ [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated functions `base_geopotential_altitude`, `base_temperature`, and `temperature_gradient` are never used [INFO] [stderr] --> src/layers/stratopause.rs:5:8 [INFO] [stderr] | [INFO] [stderr] 4 | impl Stratopause{ [INFO] [stderr] | ---------------- associated functions in this implementation [INFO] [stderr] 5 | fn base_geopotential_altitude()->Result{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 8 | fn base_temperature()->Result{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 11 | fn temperature_gradient()->Result{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Stratosphere` is never constructed [INFO] [stderr] --> src/layers/stratosphere.rs:2:12 [INFO] [stderr] | [INFO] [stderr] 2 | pub struct Stratosphere{ [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `base_geopotential_altitude`, `base_temperature`, and `temperature_gradient` are never used [INFO] [stderr] --> src/layers/stratosphere.rs:5:12 [INFO] [stderr] | [INFO] [stderr] 4 | impl Stratosphere{ [INFO] [stderr] | ----------------- methods in this implementation [INFO] [stderr] 5 | pub fn base_geopotential_altitude(&self, level: i8)->Result{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 16 | fn base_temperature(&self, level: i8)->Result{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 27 | fn temperature_gradient(&self, geopotential_altitude: f64, level: i8)->Result{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `Tropopause` is never constructed [INFO] [stderr] --> src/layers/tropopause.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | pub struct Tropopause{ [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated functions `base_geopotential_altitude`, `base_temperature`, and `temperature_gradient` are never used [INFO] [stderr] --> src/layers/tropopause.rs:5:8 [INFO] [stderr] | [INFO] [stderr] 4 | impl Tropopause{ [INFO] [stderr] | --------------- associated functions in this implementation [INFO] [stderr] 5 | fn base_geopotential_altitude()->Result{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 8 | fn base_temperature()->Result{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 11 | fn temperature_gradient()->Result{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `M_0` is never used [INFO] [stderr] --> src/reference/constants.rs:3:11 [INFO] [stderr] | [INFO] [stderr] 3 | pub const M_0: f64 = 28.964420; // kg/kmol [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `N_A` is never used [INFO] [stderr] --> src/reference/constants.rs:4:11 [INFO] [stderr] | [INFO] [stderr] 4 | pub const N_A: f64 = 602.257e24; // kmol^{-1} [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `P_0` is never used [INFO] [stderr] --> src/reference/constants.rs:5:11 [INFO] [stderr] | [INFO] [stderr] 5 | pub const P_0: f64 = 101.325e3; // Pa [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `S` is never used [INFO] [stderr] --> src/reference/constants.rs:8:11 [INFO] [stderr] | [INFO] [stderr] 8 | pub const S: f64 = 110.4; // K [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: constant `T_I` is never used [INFO] [stderr] --> src/reference/constants.rs:9:11 [INFO] [stderr] | [INFO] [stderr] 9 | pub const T_I: f64 = 273.15; // K [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `T_0` is never used [INFO] [stderr] --> src/reference/constants.rs:10:11 [INFO] [stderr] | [INFO] [stderr] 10 | pub const T_0: f64 = 288.15; // K [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `t_i` is never used [INFO] [stderr] --> src/reference/constants.rs:11:11 [INFO] [stderr] | [INFO] [stderr] 11 | pub const t_i: f64 = 0.0; // deg C [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `t_0` is never used [INFO] [stderr] --> src/reference/constants.rs:12:11 [INFO] [stderr] | [INFO] [stderr] 12 | pub const t_0: f64 = 15.0; // deg C [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `Beta_s` is never used [INFO] [stderr] --> src/reference/constants.rs:13:11 [INFO] [stderr] | [INFO] [stderr] 13 | pub const Beta_s: f64 = 1.458e-6; // kg/(m*s*K12) [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `k` is never used [INFO] [stderr] --> src/reference/constants.rs:14:11 [INFO] [stderr] | [INFO] [stderr] 14 | pub const k: f64 = 1.4; // dimensionless [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: constant `rho_0` is never used [INFO] [stderr] --> src/reference/constants.rs:15:11 [INFO] [stderr] | [INFO] [stderr] 15 | pub const rho_0: f64 = 1.225; // kg/m3 [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `sigma` is never used [INFO] [stderr] --> src/reference/constants.rs:16:11 [INFO] [stderr] | [INFO] [stderr] 16 | pub const sigma: f64 = 0.365e-9; // m [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `nitrogen_volume` is never used [INFO] [stderr] --> src/reference/constants.rs:21:11 [INFO] [stderr] | [INFO] [stderr] 21 | pub const nitrogen_volume: f64 = 78.084; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `oxygen_volume` is never used [INFO] [stderr] --> src/reference/constants.rs:22:11 [INFO] [stderr] | [INFO] [stderr] 22 | pub const oxygen_volume: f64 = 20.9476; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `argon_volume` is never used [INFO] [stderr] --> src/reference/constants.rs:23:11 [INFO] [stderr] | [INFO] [stderr] 23 | pub const argon_volume: f64 = 0.934; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `carbon_dioxide_volume` is never used [INFO] [stderr] --> src/reference/constants.rs:24:11 [INFO] [stderr] | [INFO] [stderr] 24 | pub const carbon_dioxide_volume: f64 = 0.0314; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `neon_volume` is never used [INFO] [stderr] --> src/reference/constants.rs:25:11 [INFO] [stderr] | [INFO] [stderr] 25 | pub const neon_volume: f64 = 1.818e-3; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `helium_volume` is never used [INFO] [stderr] --> src/reference/constants.rs:26:11 [INFO] [stderr] | [INFO] [stderr] 26 | pub const helium_volume: f64 = 524.0e-6; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `krypton_volume` is never used [INFO] [stderr] --> src/reference/constants.rs:27:11 [INFO] [stderr] | [INFO] [stderr] 27 | pub const krypton_volume: f64 = 114.0e-6; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `xenon_volume` is never used [INFO] [stderr] --> src/reference/constants.rs:28:11 [INFO] [stderr] | [INFO] [stderr] 28 | pub const xenon_volume: f64 = 8.7e-6; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `hydrogen_volume` is never used [INFO] [stderr] --> src/reference/constants.rs:29:11 [INFO] [stderr] | [INFO] [stderr] 29 | pub const hydrogen_volume: f64 = 50.0e-6; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `nitrogen_monoxide_volume` is never used [INFO] [stderr] --> src/reference/constants.rs:30:11 [INFO] [stderr] | [INFO] [stderr] 30 | pub const nitrogen_monoxide_volume: f64 = 50.0e-6; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `methane_volume` is never used [INFO] [stderr] --> src/reference/constants.rs:31:11 [INFO] [stderr] | [INFO] [stderr] 31 | pub const methane_volume: f64 = 0.2e-3; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `ozone_summer_volume` is never used [INFO] [stderr] --> src/reference/constants.rs:32:11 [INFO] [stderr] | [INFO] [stderr] 32 | pub const ozone_summer_volume: f64 = 7.0e-6; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `ozone_winter_volume` is never used [INFO] [stderr] --> src/reference/constants.rs:33:11 [INFO] [stderr] | [INFO] [stderr] 33 | pub const ozone_winter_volume: f64 = 2.0e-6; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `sulphur_dioxide_volume` is never used [INFO] [stderr] --> src/reference/constants.rs:34:11 [INFO] [stderr] | [INFO] [stderr] 34 | pub const sulphur_dioxide_volume: f64 = 0.1e-3; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `nitrogen_dioxide_volume` is never used [INFO] [stderr] --> src/reference/constants.rs:35:11 [INFO] [stderr] | [INFO] [stderr] 35 | pub const nitrogen_dioxide_volume: f64 = 2.0e-6; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `iodine_volume` is never used [INFO] [stderr] --> src/reference/constants.rs:36:11 [INFO] [stderr] | [INFO] [stderr] 36 | pub const iodine_volume: f64 = 1.0e-6; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `air_volume` is never used [INFO] [stderr] --> src/reference/constants.rs:37:11 [INFO] [stderr] | [INFO] [stderr] 37 | pub const air_volume: f64 = 100.0; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `nitrogen_molar_mass` is never used [INFO] [stderr] --> src/reference/constants.rs:39:11 [INFO] [stderr] | [INFO] [stderr] 39 | pub const nitrogen_molar_mass: f64 = 28.0134; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `oxygen_molar_mass` is never used [INFO] [stderr] --> src/reference/constants.rs:40:11 [INFO] [stderr] | [INFO] [stderr] 40 | pub const oxygen_molar_mass: f64 = 31.9988; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `argon_molar_mass` is never used [INFO] [stderr] --> src/reference/constants.rs:41:11 [INFO] [stderr] | [INFO] [stderr] 41 | pub const argon_molar_mass: f64 = 39.948; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `neon_molar_mass` is never used [INFO] [stderr] --> src/reference/constants.rs:42:11 [INFO] [stderr] | [INFO] [stderr] 42 | pub const neon_molar_mass: f64 = 20.183; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `carbon_dioxide_molar_mass` is never used [INFO] [stderr] --> src/reference/constants.rs:43:11 [INFO] [stderr] | [INFO] [stderr] 43 | pub const carbon_dioxide_molar_mass: f64 = 44.00995; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `helium_molar_mass` is never used [INFO] [stderr] --> src/reference/constants.rs:44:11 [INFO] [stderr] | [INFO] [stderr] 44 | pub const helium_molar_mass: f64 = 4.0026; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `krypton_molar_mass` is never used [INFO] [stderr] --> src/reference/constants.rs:45:11 [INFO] [stderr] | [INFO] [stderr] 45 | pub const krypton_molar_mass: f64 = 83.80; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `xenon_molar_mass` is never used [INFO] [stderr] --> src/reference/constants.rs:46:11 [INFO] [stderr] | [INFO] [stderr] 46 | pub const xenon_molar_mass: f64 = 131.30; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `hydrogen_molar_mass` is never used [INFO] [stderr] --> src/reference/constants.rs:47:11 [INFO] [stderr] | [INFO] [stderr] 47 | pub const hydrogen_molar_mass: f64 = 2.01594; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `nitrogen_monoxide_molar_mass` is never used [INFO] [stderr] --> src/reference/constants.rs:48:11 [INFO] [stderr] | [INFO] [stderr] 48 | pub const nitrogen_monoxide_molar_mass: f64 = 44.0128; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `methane_molar_mass` is never used [INFO] [stderr] --> src/reference/constants.rs:49:11 [INFO] [stderr] | [INFO] [stderr] 49 | pub const methane_molar_mass: f64 = 16.04303; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `ozone_summer_molar_mass` is never used [INFO] [stderr] --> src/reference/constants.rs:50:11 [INFO] [stderr] | [INFO] [stderr] 50 | pub const ozone_summer_molar_mass: f64 = 47.9982; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `ozone_winter_molar_mass` is never used [INFO] [stderr] --> src/reference/constants.rs:51:11 [INFO] [stderr] | [INFO] [stderr] 51 | pub const ozone_winter_molar_mass: f64 = 47.9982; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `sulphur_dioxide_molar_mass` is never used [INFO] [stderr] --> src/reference/constants.rs:52:11 [INFO] [stderr] | [INFO] [stderr] 52 | pub const sulphur_dioxide_molar_mass: f64 = 64.0628; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `nitrogen_dioxide_molar_mass` is never used [INFO] [stderr] --> src/reference/constants.rs:53:11 [INFO] [stderr] | [INFO] [stderr] 53 | pub const nitrogen_dioxide_molar_mass: f64 = 46.0055; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `iodine_molar_mass` is never used [INFO] [stderr] --> src/reference/constants.rs:54:11 [INFO] [stderr] | [INFO] [stderr] 54 | pub const iodine_molar_mass: f64 = 253.8088; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `a_0` is never used [INFO] [stderr] --> src/reference/constants.rs:57:11 [INFO] [stderr] | [INFO] [stderr] 57 | pub const a_0: f64 = 340.294; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `H_p_0` is never used [INFO] [stderr] --> src/reference/constants.rs:58:11 [INFO] [stderr] | [INFO] [stderr] 58 | pub const H_p_0: f64 = 8434.5; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `l_0` is never used [INFO] [stderr] --> src/reference/constants.rs:59:11 [INFO] [stderr] | [INFO] [stderr] 59 | pub const l_0: f64 = 66.328e-9; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `n_0` is never used [INFO] [stderr] --> src/reference/constants.rs:60:11 [INFO] [stderr] | [INFO] [stderr] 60 | pub const n_0: f64 = 25.471e24; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `v_0` is never used [INFO] [stderr] --> src/reference/constants.rs:61:11 [INFO] [stderr] | [INFO] [stderr] 61 | pub const v_0: f64 = 458.94; [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `gamma_0` is never used [INFO] [stderr] --> src/reference/constants.rs:62:11 [INFO] [stderr] | [INFO] [stderr] 62 | pub const gamma_0: f64 = 12.013; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `nu_0` is never used [INFO] [stderr] --> src/reference/constants.rs:63:11 [INFO] [stderr] | [INFO] [stderr] 63 | pub const nu_0: f64 = 14.607e-6; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `lambda_0` is never used [INFO] [stderr] --> src/reference/constants.rs:64:11 [INFO] [stderr] | [INFO] [stderr] 64 | pub const lambda_0: f64 = 25.343e-3; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `mu_0` is never used [INFO] [stderr] --> src/reference/constants.rs:65:11 [INFO] [stderr] | [INFO] [stderr] 65 | pub const mu_0: f64 = 17.894e-6; [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `omega_0` is never used [INFO] [stderr] --> src/reference/constants.rs:66:11 [INFO] [stderr] | [INFO] [stderr] 66 | pub const omega_0: f64 = 6.9193e9; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `g_0` should have an upper case name [INFO] [stderr] --> src/reference/constants.rs:2:11 [INFO] [stderr] | [INFO] [stderr] 2 | pub const g_0: f64 = 9.80665; // m/s2 [INFO] [stderr] | ^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stderr] help: convert the identifier to upper case [INFO] [stderr] | [INFO] [stderr] 2 - pub const g_0: f64 = 9.80665; // m/s2 [INFO] [stderr] 2 + pub const G_0: f64 = 9.80665; // m/s2 [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: constant `R_Star` should have an upper case name [INFO] [stderr] --> src/reference/constants.rs:6:11 [INFO] [stderr] | [INFO] [stderr] 6 | pub const R_Star: f64 = 8314.32; // kg*m2/(s2*K*kmol) [INFO] [stderr] | ^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: convert the identifier to upper case [INFO] [stderr] | [INFO] [stderr] 6 - pub const R_Star: f64 = 8314.32; // kg*m2/(s2*K*kmol) [INFO] [stderr] 6 + pub const R_STAR: f64 = 8314.32; // kg*m2/(s2*K*kmol) [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: constant `t_i` should have an upper case name [INFO] [stderr] --> src/reference/constants.rs:11:11 [INFO] [stderr] | [INFO] [stderr] 11 | pub const t_i: f64 = 0.0; // deg C [INFO] [stderr] | ^^^ help: convert the identifier to upper case: `T_I` [INFO] [stderr] [INFO] [stderr] warning: constant `t_0` should have an upper case name [INFO] [stderr] --> src/reference/constants.rs:12:11 [INFO] [stderr] | [INFO] [stderr] 12 | pub const t_0: f64 = 15.0; // deg C [INFO] [stderr] | ^^^ help: convert the identifier to upper case: `T_0` [INFO] [stderr] [INFO] [stderr] warning: constant `Beta_s` should have an upper case name [INFO] [stderr] --> src/reference/constants.rs:13:11 [INFO] [stderr] | [INFO] [stderr] 13 | pub const Beta_s: f64 = 1.458e-6; // kg/(m*s*K12) [INFO] [stderr] | ^^^^^^ help: convert the identifier to upper case: `BETA_S` [INFO] [stderr] [INFO] [stderr] warning: constant `k` should have an upper case name [INFO] [stderr] --> src/reference/constants.rs:14:11 [INFO] [stderr] | [INFO] [stderr] 14 | pub const k: f64 = 1.4; // dimensionless [INFO] [stderr] | ^ help: convert the identifier to upper case (notice the capitalization): `K` [INFO] [stderr] [INFO] [stderr] warning: constant `rho_0` should have an upper case name [INFO] [stderr] --> src/reference/constants.rs:15:11 [INFO] [stderr] | [INFO] [stderr] 15 | pub const rho_0: f64 = 1.225; // kg/m3 [INFO] [stderr] | ^^^^^ help: convert the identifier to upper case: `RHO_0` [INFO] [stderr] [INFO] [stderr] warning: constant `sigma` should have an upper case name [INFO] [stderr] --> src/reference/constants.rs:16:11 [INFO] [stderr] | [INFO] [stderr] 16 | pub const sigma: f64 = 0.365e-9; // m [INFO] [stderr] | ^^^^^ help: convert the identifier to upper case: `SIGMA` [INFO] [stderr] [INFO] [stderr] warning: constant `earth_radius_nominal` should have an upper case name [INFO] [stderr] --> src/reference/constants.rs:18:11 [INFO] [stderr] | [INFO] [stderr] 18 | pub const earth_radius_nominal: f64 = 6356766.0; // m [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: convert the identifier to upper case [INFO] [stderr] | [INFO] [stderr] 18 - pub const earth_radius_nominal: f64 = 6356766.0; // m [INFO] [stderr] 18 + pub const EARTH_RADIUS_NOMINAL: f64 = 6356766.0; // m [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: constant `nitrogen_volume` should have an upper case name [INFO] [stderr] --> src/reference/constants.rs:21:11 [INFO] [stderr] | [INFO] [stderr] 21 | pub const nitrogen_volume: f64 = 78.084; [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NITROGEN_VOLUME` [INFO] [stderr] [INFO] [stderr] warning: constant `oxygen_volume` should have an upper case name [INFO] [stderr] --> src/reference/constants.rs:22:11 [INFO] [stderr] | [INFO] [stderr] 22 | pub const oxygen_volume: f64 = 20.9476; [INFO] [stderr] | ^^^^^^^^^^^^^ help: convert the identifier to upper case: `OXYGEN_VOLUME` [INFO] [stderr] [INFO] [stderr] warning: constant `argon_volume` should have an upper case name [INFO] [stderr] --> src/reference/constants.rs:23:11 [INFO] [stderr] | [INFO] [stderr] 23 | pub const argon_volume: f64 = 0.934; [INFO] [stderr] | ^^^^^^^^^^^^ help: convert the identifier to upper case: `ARGON_VOLUME` [INFO] [stderr] [INFO] [stderr] warning: constant `carbon_dioxide_volume` should have an upper case name [INFO] [stderr] --> src/reference/constants.rs:24:11 [INFO] [stderr] | [INFO] [stderr] 24 | pub const carbon_dioxide_volume: f64 = 0.0314; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `CARBON_DIOXIDE_VOLUME` [INFO] [stderr] [INFO] [stderr] warning: constant `neon_volume` should have an upper case name [INFO] [stderr] --> src/reference/constants.rs:25:11 [INFO] [stderr] | [INFO] [stderr] 25 | pub const neon_volume: f64 = 1.818e-3; [INFO] [stderr] | ^^^^^^^^^^^ help: convert the identifier to upper case: `NEON_VOLUME` [INFO] [stderr] [INFO] [stderr] warning: constant `helium_volume` should have an upper case name [INFO] [stderr] --> src/reference/constants.rs:26:11 [INFO] [stderr] | [INFO] [stderr] 26 | pub const helium_volume: f64 = 524.0e-6; [INFO] [stderr] | ^^^^^^^^^^^^^ help: convert the identifier to upper case: `HELIUM_VOLUME` [INFO] [stderr] [INFO] [stderr] warning: constant `krypton_volume` should have an upper case name [INFO] [stderr] --> src/reference/constants.rs:27:11 [INFO] [stderr] | [INFO] [stderr] 27 | pub const krypton_volume: f64 = 114.0e-6; [INFO] [stderr] | ^^^^^^^^^^^^^^ help: convert the identifier to upper case: `KRYPTON_VOLUME` [INFO] [stderr] [INFO] [stderr] warning: constant `xenon_volume` should have an upper case name [INFO] [stderr] --> src/reference/constants.rs:28:11 [INFO] [stderr] | [INFO] [stderr] 28 | pub const xenon_volume: f64 = 8.7e-6; [INFO] [stderr] | ^^^^^^^^^^^^ help: convert the identifier to upper case: `XENON_VOLUME` [INFO] [stderr] [INFO] [stderr] warning: constant `hydrogen_volume` should have an upper case name [INFO] [stderr] --> src/reference/constants.rs:29:11 [INFO] [stderr] | [INFO] [stderr] 29 | pub const hydrogen_volume: f64 = 50.0e-6; [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `HYDROGEN_VOLUME` [INFO] [stderr] [INFO] [stderr] warning: constant `nitrogen_monoxide_volume` should have an upper case name [INFO] [stderr] --> src/reference/constants.rs:30:11 [INFO] [stderr] | [INFO] [stderr] 30 | pub const nitrogen_monoxide_volume: f64 = 50.0e-6; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NITROGEN_MONOXIDE_VOLUME` [INFO] [stderr] [INFO] [stderr] warning: constant `methane_volume` should have an upper case name [INFO] [stderr] --> src/reference/constants.rs:31:11 [INFO] [stderr] | [INFO] [stderr] 31 | pub const methane_volume: f64 = 0.2e-3; [INFO] [stderr] | ^^^^^^^^^^^^^^ help: convert the identifier to upper case: `METHANE_VOLUME` [INFO] [stderr] [INFO] [stderr] warning: constant `ozone_summer_volume` should have an upper case name [INFO] [stderr] --> src/reference/constants.rs:32:11 [INFO] [stderr] | [INFO] [stderr] 32 | pub const ozone_summer_volume: f64 = 7.0e-6; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `OZONE_SUMMER_VOLUME` [INFO] [stderr] [INFO] [stderr] warning: constant `ozone_winter_volume` should have an upper case name [INFO] [stderr] --> src/reference/constants.rs:33:11 [INFO] [stderr] | [INFO] [stderr] 33 | pub const ozone_winter_volume: f64 = 2.0e-6; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `OZONE_WINTER_VOLUME` [INFO] [stderr] [INFO] [stderr] warning: constant `sulphur_dioxide_volume` should have an upper case name [INFO] [stderr] --> src/reference/constants.rs:34:11 [INFO] [stderr] | [INFO] [stderr] 34 | pub const sulphur_dioxide_volume: f64 = 0.1e-3; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `SULPHUR_DIOXIDE_VOLUME` [INFO] [stderr] [INFO] [stderr] warning: constant `nitrogen_dioxide_volume` should have an upper case name [INFO] [stderr] --> src/reference/constants.rs:35:11 [INFO] [stderr] | [INFO] [stderr] 35 | pub const nitrogen_dioxide_volume: f64 = 2.0e-6; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NITROGEN_DIOXIDE_VOLUME` [INFO] [stderr] [INFO] [stderr] warning: constant `iodine_volume` should have an upper case name [INFO] [stderr] --> src/reference/constants.rs:36:11 [INFO] [stderr] | [INFO] [stderr] 36 | pub const iodine_volume: f64 = 1.0e-6; [INFO] [stderr] | ^^^^^^^^^^^^^ help: convert the identifier to upper case: `IODINE_VOLUME` [INFO] [stderr] [INFO] [stderr] warning: constant `air_volume` should have an upper case name [INFO] [stderr] --> src/reference/constants.rs:37:11 [INFO] [stderr] | [INFO] [stderr] 37 | pub const air_volume: f64 = 100.0; [INFO] [stderr] | ^^^^^^^^^^ help: convert the identifier to upper case: `AIR_VOLUME` [INFO] [stderr] [INFO] [stderr] warning: constant `nitrogen_molar_mass` should have an upper case name [INFO] [stderr] --> src/reference/constants.rs:39:11 [INFO] [stderr] | [INFO] [stderr] 39 | pub const nitrogen_molar_mass: f64 = 28.0134; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NITROGEN_MOLAR_MASS` [INFO] [stderr] [INFO] [stderr] warning: constant `oxygen_molar_mass` should have an upper case name [INFO] [stderr] --> src/reference/constants.rs:40:11 [INFO] [stderr] | [INFO] [stderr] 40 | pub const oxygen_molar_mass: f64 = 31.9988; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `OXYGEN_MOLAR_MASS` [INFO] [stderr] [INFO] [stderr] warning: constant `argon_molar_mass` should have an upper case name [INFO] [stderr] --> src/reference/constants.rs:41:11 [INFO] [stderr] | [INFO] [stderr] 41 | pub const argon_molar_mass: f64 = 39.948; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `ARGON_MOLAR_MASS` [INFO] [stderr] [INFO] [stderr] warning: constant `neon_molar_mass` should have an upper case name [INFO] [stderr] --> src/reference/constants.rs:42:11 [INFO] [stderr] | [INFO] [stderr] 42 | pub const neon_molar_mass: f64 = 20.183; [INFO] [stderr] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NEON_MOLAR_MASS` [INFO] [stderr] [INFO] [stderr] warning: constant `carbon_dioxide_molar_mass` should have an upper case name [INFO] [stderr] --> src/reference/constants.rs:43:11 [INFO] [stderr] | [INFO] [stderr] 43 | pub const carbon_dioxide_molar_mass: f64 = 44.00995; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `CARBON_DIOXIDE_MOLAR_MASS` [INFO] [stderr] [INFO] [stderr] warning: constant `helium_molar_mass` should have an upper case name [INFO] [stderr] --> src/reference/constants.rs:44:11 [INFO] [stderr] | [INFO] [stderr] 44 | pub const helium_molar_mass: f64 = 4.0026; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `HELIUM_MOLAR_MASS` [INFO] [stderr] [INFO] [stderr] warning: constant `krypton_molar_mass` should have an upper case name [INFO] [stderr] --> src/reference/constants.rs:45:11 [INFO] [stderr] | [INFO] [stderr] 45 | pub const krypton_molar_mass: f64 = 83.80; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `KRYPTON_MOLAR_MASS` [INFO] [stderr] [INFO] [stderr] warning: constant `xenon_molar_mass` should have an upper case name [INFO] [stderr] --> src/reference/constants.rs:46:11 [INFO] [stderr] | [INFO] [stderr] 46 | pub const xenon_molar_mass: f64 = 131.30; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `XENON_MOLAR_MASS` [INFO] [stderr] [INFO] [stderr] warning: constant `hydrogen_molar_mass` should have an upper case name [INFO] [stderr] --> src/reference/constants.rs:47:11 [INFO] [stderr] | [INFO] [stderr] 47 | pub const hydrogen_molar_mass: f64 = 2.01594; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `HYDROGEN_MOLAR_MASS` [INFO] [stderr] [INFO] [stderr] warning: constant `nitrogen_monoxide_molar_mass` should have an upper case name [INFO] [stderr] --> src/reference/constants.rs:48:11 [INFO] [stderr] | [INFO] [stderr] 48 | pub const nitrogen_monoxide_molar_mass: f64 = 44.0128; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NITROGEN_MONOXIDE_MOLAR_MASS` [INFO] [stderr] [INFO] [stderr] warning: constant `methane_molar_mass` should have an upper case name [INFO] [stderr] --> src/reference/constants.rs:49:11 [INFO] [stderr] | [INFO] [stderr] 49 | pub const methane_molar_mass: f64 = 16.04303; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `METHANE_MOLAR_MASS` [INFO] [stderr] [INFO] [stderr] warning: constant `ozone_summer_molar_mass` should have an upper case name [INFO] [stderr] --> src/reference/constants.rs:50:11 [INFO] [stderr] | [INFO] [stderr] 50 | pub const ozone_summer_molar_mass: f64 = 47.9982; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `OZONE_SUMMER_MOLAR_MASS` [INFO] [stderr] [INFO] [stderr] warning: constant `ozone_winter_molar_mass` should have an upper case name [INFO] [stderr] --> src/reference/constants.rs:51:11 [INFO] [stderr] | [INFO] [stderr] 51 | pub const ozone_winter_molar_mass: f64 = 47.9982; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `OZONE_WINTER_MOLAR_MASS` [INFO] [stderr] [INFO] [stderr] warning: constant `sulphur_dioxide_molar_mass` should have an upper case name [INFO] [stderr] --> src/reference/constants.rs:52:11 [INFO] [stderr] | [INFO] [stderr] 52 | pub const sulphur_dioxide_molar_mass: f64 = 64.0628; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `SULPHUR_DIOXIDE_MOLAR_MASS` [INFO] [stderr] [INFO] [stderr] warning: constant `nitrogen_dioxide_molar_mass` should have an upper case name [INFO] [stderr] --> src/reference/constants.rs:53:11 [INFO] [stderr] | [INFO] [stderr] 53 | pub const nitrogen_dioxide_molar_mass: f64 = 46.0055; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `NITROGEN_DIOXIDE_MOLAR_MASS` [INFO] [stderr] [INFO] [stderr] warning: constant `iodine_molar_mass` should have an upper case name [INFO] [stderr] --> src/reference/constants.rs:54:11 [INFO] [stderr] | [INFO] [stderr] 54 | pub const iodine_molar_mass: f64 = 253.8088; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `IODINE_MOLAR_MASS` [INFO] [stderr] [INFO] [stderr] warning: constant `air_molar_mass` should have an upper case name [INFO] [stderr] --> src/reference/constants.rs:55:11 [INFO] [stderr] | [INFO] [stderr] 55 | pub const air_molar_mass: f64 = 28.964420; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: convert the identifier to upper case [INFO] [stderr] | [INFO] [stderr] 55 - pub const air_molar_mass: f64 = 28.964420; [INFO] [stderr] 55 + pub const AIR_MOLAR_MASS: f64 = 28.964420; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: constant `a_0` should have an upper case name [INFO] [stderr] --> src/reference/constants.rs:57:11 [INFO] [stderr] | [INFO] [stderr] 57 | pub const a_0: f64 = 340.294; [INFO] [stderr] | ^^^ help: convert the identifier to upper case: `A_0` [INFO] [stderr] [INFO] [stderr] warning: constant `H_p_0` should have an upper case name [INFO] [stderr] --> src/reference/constants.rs:58:11 [INFO] [stderr] | [INFO] [stderr] 58 | pub const H_p_0: f64 = 8434.5; [INFO] [stderr] | ^^^^^ help: convert the identifier to upper case: `H_P_0` [INFO] [stderr] [INFO] [stderr] warning: constant `l_0` should have an upper case name [INFO] [stderr] --> src/reference/constants.rs:59:11 [INFO] [stderr] | [INFO] [stderr] 59 | pub const l_0: f64 = 66.328e-9; [INFO] [stderr] | ^^^ help: convert the identifier to upper case: `L_0` [INFO] [stderr] [INFO] [stderr] warning: constant `n_0` should have an upper case name [INFO] [stderr] --> src/reference/constants.rs:60:11 [INFO] [stderr] | [INFO] [stderr] 60 | pub const n_0: f64 = 25.471e24; [INFO] [stderr] | ^^^ help: convert the identifier to upper case: `N_0` [INFO] [stderr] [INFO] [stderr] warning: constant `v_0` should have an upper case name [INFO] [stderr] --> src/reference/constants.rs:61:11 [INFO] [stderr] | [INFO] [stderr] 61 | pub const v_0: f64 = 458.94; [INFO] [stderr] | ^^^ help: convert the identifier to upper case (notice the capitalization): `V_0` [INFO] [stderr] [INFO] [stderr] warning: constant `gamma_0` should have an upper case name [INFO] [stderr] --> src/reference/constants.rs:62:11 [INFO] [stderr] | [INFO] [stderr] 62 | pub const gamma_0: f64 = 12.013; [INFO] [stderr] | ^^^^^^^ help: convert the identifier to upper case: `GAMMA_0` [INFO] [stderr] [INFO] [stderr] warning: constant `nu_0` should have an upper case name [INFO] [stderr] --> src/reference/constants.rs:63:11 [INFO] [stderr] | [INFO] [stderr] 63 | pub const nu_0: f64 = 14.607e-6; [INFO] [stderr] | ^^^^ help: convert the identifier to upper case: `NU_0` [INFO] [stderr] [INFO] [stderr] warning: constant `lambda_0` should have an upper case name [INFO] [stderr] --> src/reference/constants.rs:64:11 [INFO] [stderr] | [INFO] [stderr] 64 | pub const lambda_0: f64 = 25.343e-3; [INFO] [stderr] | ^^^^^^^^ help: convert the identifier to upper case: `LAMBDA_0` [INFO] [stderr] [INFO] [stderr] warning: constant `mu_0` should have an upper case name [INFO] [stderr] --> src/reference/constants.rs:65:11 [INFO] [stderr] | [INFO] [stderr] 65 | pub const mu_0: f64 = 17.894e-6; [INFO] [stderr] | ^^^^ help: convert the identifier to upper case: `MU_0` [INFO] [stderr] [INFO] [stderr] warning: constant `omega_0` should have an upper case name [INFO] [stderr] --> src/reference/constants.rs:66:11 [INFO] [stderr] | [INFO] [stderr] 66 | pub const omega_0: f64 = 6.9193e9; [INFO] [stderr] | ^^^^^^^ help: convert the identifier to upper case: `OMEGA_0` [INFO] [stderr] [INFO] [stderr] warning: `international_standard_atmosphere` (lib) generated 121 warnings (run `cargo fix --lib -p international_standard_atmosphere` to apply 56 suggestions) [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> tests/build_table_test.rs:11:9 [INFO] [stderr] | [INFO] [stderr] 11 | let mut icao_standard_atmosphere = isa::ISA::new(); [INFO] [stderr] | ----^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> tests/build_table_test.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | file.write_all(b"altitude,temperature,pressure,density\n"); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] help: use `let _ = ...` to ignore the resulting value [INFO] [stderr] | [INFO] [stderr] 14 | let _ = file.write_all(b"altitude,temperature,pressure,density\n"); [INFO] [stderr] | +++++++ [INFO] [stderr] [INFO] [stderr] warning: `international_standard_atmosphere` (test "build_table_test") generated 2 warnings (run `cargo fix --test "build_table_test"` to apply 1 suggestion) [INFO] [stderr] warning: `international_standard_atmosphere` (lib test) generated 121 warnings (121 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.05s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/international_standard_atmosphere-21aacdbd44d29e0f) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/build_table_test.rs (/opt/rustwide/target/debug/deps/build_table_test-5ab8b45b3535c556) [INFO] [stdout] [INFO] [stdout] running 1 test [INFO] [stdout] test build_temperature_pressure_density_table ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- build_temperature_pressure_density_table stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'build_temperature_pressure_density_table' (27) panicked at tests/build_table_test.rs:12:52: [INFO] [stdout] called `Result::unwrap()` on an `Err` value: Os { code: 30, kind: ReadOnlyFilesystem, message: "Read-only file system" } [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x56164ae18eb2 - std::backtrace_rs::backtrace::libunwind::trace::hcab59e1e990fdc24 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x56164ae18eb2 - std::backtrace_rs::backtrace::trace_unsynchronized::he24cc57f3d2f47b7 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x56164ae18eb2 - std::sys::backtrace::_print_fmt::hf8d65ede198eeb54 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x56164ae18eb2 - ::fmt::h67edf0e4d33c343c [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x56164ae2904f - core::fmt::rt::Argument::fmt::hef94184842aeafdd [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x56164ae2904f - core::fmt::write::hcf0c66b48a8fa606 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x56164ade6421 - std::io::default_write_fmt::h69967ac0ba93195f [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x56164ade6421 - std::io::Write::write_fmt::h8db9396209deaa1c [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x56164adf2482 - std::sys::backtrace::BacktraceLock::print::h07e5435aa717b414 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x56164adf6fcf - std::panicking::default_hook::{{closure}}::h91001850288db5f7 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x56164adf6e61 - std::panicking::default_hook::h2346dbb704ef5512 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x56164adb629e - as core::ops::function::Fn>::call::h18383b2e29377420 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 12: 0x56164adb629e - test::test_main_with_exit_callback::{{closure}}::h272d7ef99aef06dc [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x56164adf768f - as core::ops::function::Fn>::call::h6dba6e441651a0d1 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/alloc/src/boxed.rs:1999:9 [INFO] [stdout] 14: 0x56164adf768f - std::panicking::panic_with_hook::hd2b063a6090d23a4 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x56164adf74ea - std::panicking::panic_handler::{{closure}}::he666d95f139a333e [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x56164adf25b9 - std::sys::backtrace::__rust_end_short_backtrace::h631ad224854ebee5 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x56164adda8fd - __rustc[1d67440d6e82e4f]::rust_begin_unwind [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x56164ae30950 - core::panicking::panic_fmt::h420ddb7fd73daf53 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x56164ae300f6 - core::result::unwrap_failed::hdde076be853d034f [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/result.rs:1855:5 [INFO] [stdout] 20: 0x56164ad9181c - core::result::Result::unwrap::heb0f98c6e9033e4e [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/result.rs:1226:23 [INFO] [stdout] 21: 0x56164ad9181c - build_table_test::build_temperature_pressure_density_table::ha27da8ec611e2973 [INFO] [stdout] at /opt/rustwide/workdir/tests/build_table_test.rs:12:52 [INFO] [stdout] 22: 0x56164ad91d17 - build_table_test::build_temperature_pressure_density_table::{{closure}}::h1264bb0572b311d9 [INFO] [stdout] at /opt/rustwide/workdir/tests/build_table_test.rs:6:46 [INFO] [stdout] 23: 0x56164ad934e6 - core::ops::function::FnOnce::call_once::h0caa8a40d35f98de [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x56164adb605b - core::ops::function::FnOnce::call_once::h70887edf07a630ba [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x56164adb605b - test::__rust_begin_short_backtrace::h27763c4cbbdb8601 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x56164adcbcc5 - test::run_test_in_process::{{closure}}::h4dc8bc6d5e3924d3 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x56164adcbcc5 - as core::ops::function::FnOnce<()>>::call_once::h75905e8ffe81974f [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 28: 0x56164adcbcc5 - std::panicking::catch_unwind::do_call::h0bc60366ba66eba5 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x56164adcbcc5 - std::panicking::catch_unwind::hae1ec7bf94407afa [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x56164adcbcc5 - std::panic::catch_unwind::h0f4ff4773d84d3cd [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x56164adcbcc5 - test::run_test_in_process::h03fbc77ae48b3f10 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x56164adcbcc5 - test::run_test::{{closure}}::h83476a9c453dc4d3 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x56164ada24b4 - test::run_test::{{closure}}::h515482ad1e7fe7de [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x56164ada24b4 - std::sys::backtrace::__rust_begin_short_backtrace::hed09f6ac5fe9d647 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x56164ada5d7a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h988e2cd969319888 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x56164ada5d7a - as core::ops::function::FnOnce<()>>::call_once::hd70e28dc46ec20be [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 37: 0x56164ada5d7a - std::panicking::catch_unwind::do_call::hdc29e11311eb7655 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:590:40 [INFO] [stdout] 38: 0x56164ada5d7a - std::panicking::catch_unwind::h9e402d6a96fef41c [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panicking.rs:553:19 [INFO] [stdout] 39: 0x56164ada5d7a - std::panic::catch_unwind::h9213c0c54aec70e0 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x56164ada5d7a - std::thread::Builder::spawn_unchecked_::{{closure}}::h6262965869ed2b87 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x56164ada5d7a - core::ops::function::FnOnce::call_once{{vtable.shim}}::h05c05ed02619e462 [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x56164aded71f - as core::ops::function::FnOnce>::call_once::h2044e71c41d3958a [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 43: 0x56164aded71f - std::sys::thread::unix::Thread::new::thread_start::hf277835320aa8e5a [INFO] [stdout] at /rustc/bb624dcb4c8ab987e10c0808d92d76f3b84dd117/library/std/src/sys/thread/unix.rs:126:17 [INFO] [stdout] 44: 0x79df21afdaa4 - [INFO] [stdout] 45: 0x79df21b8aa34 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] build_temperature_pressure_density_table [INFO] [stdout] [INFO] [stdout] test result: FAILED. 0 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `--test build_table_test` [INFO] running `Command { std: "docker" "inspect" "821fd1a1d293633d536dc03fb6e293797f4a45d4ae412b978e0d430d03a35320", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "821fd1a1d293633d536dc03fb6e293797f4a45d4ae412b978e0d430d03a35320", kill_on_drop: false }` [INFO] [stdout] 821fd1a1d293633d536dc03fb6e293797f4a45d4ae412b978e0d430d03a35320