[INFO] fetching crate international_standard_atmosphere 0.2.1... [INFO] testing international_standard_atmosphere-0.2.1 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] extracting crate international_standard_atmosphere 0.2.1 into /workspace/builds/worker-0-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-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate international_standard_atmosphere 0.2.1 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 696d0b27fd3e61608c9bd8842d641f51dfb4f3812c44afe6da821047a00497ec [INFO] running `Command { std: "docker" "start" "-a" "696d0b27fd3e61608c9bd8842d641f51dfb4f3812c44afe6da821047a00497ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "696d0b27fd3e61608c9bd8842d641f51dfb4f3812c44afe6da821047a00497ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "696d0b27fd3e61608c9bd8842d641f51dfb4f3812c44afe6da821047a00497ec", kill_on_drop: false }` [INFO] [stdout] 696d0b27fd3e61608c9bd8842d641f51dfb4f3812c44afe6da821047a00497ec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8f94fd3b0ca49968d92c137ff57a9a2717f5b0462211abb882c82d23f7bf5201 [INFO] running `Command { std: "docker" "start" "-a" "8f94fd3b0ca49968d92c137ff57a9a2717f5b0462211abb882c82d23f7bf5201", 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] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_geopotential_altitude` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [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.21s [INFO] running `Command { std: "docker" "inspect" "8f94fd3b0ca49968d92c137ff57a9a2717f5b0462211abb882c82d23f7bf5201", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f94fd3b0ca49968d92c137ff57a9a2717f5b0462211abb882c82d23f7bf5201", kill_on_drop: false }` [INFO] [stdout] 8f94fd3b0ca49968d92c137ff57a9a2717f5b0462211abb882c82d23f7bf5201 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9fe34eb4673e94042319d824caf794b26b921246eef5bee284181e21328f95d1 [INFO] running `Command { std: "docker" "start" "-a" "9fe34eb4673e94042319d824caf794b26b921246eef5bee284181e21328f95d1", 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] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_geopotential_altitude` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [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: 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 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] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_geopotential_altitude` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (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] [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 `test` profile [unoptimized + debuginfo] target(s) in 0.49s [INFO] running `Command { std: "docker" "inspect" "9fe34eb4673e94042319d824caf794b26b921246eef5bee284181e21328f95d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9fe34eb4673e94042319d824caf794b26b921246eef5bee284181e21328f95d1", kill_on_drop: false }` [INFO] [stdout] 9fe34eb4673e94042319d824caf794b26b921246eef5bee284181e21328f95d1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 4067f7c16e4c1c129392783b52318639331cc1cb1ba560ecec35999a6b01b2fc [INFO] running `Command { std: "docker" "start" "-a" "4067f7c16e4c1c129392783b52318639331cc1cb1ba560ecec35999a6b01b2fc", 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] | ^^^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_geopotential_altitude` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [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] [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] [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] [stdout] [INFO] [stderr] 55 | pub const air_molar_mass: f64 = 28.964420; [INFO] [stdout] running 1 test [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" -p international_standard_atmosphere` 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-55a061730f4dffbe) [INFO] [stderr] Running tests/build_table_test.rs (/opt/rustwide/target/debug/deps/build_table_test-df56b6483774823a) [INFO] [stdout] test build_temperature_pressure_density_table ... FAILED [INFO] [stderr] error: test failed, to rerun pass `--test build_table_test` [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' (25) 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: 0x608d4688a522 - std::backtrace_rs::backtrace::libunwind::trace::h9ea1e07ac77a25d7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x608d4688a522 - std::backtrace_rs::backtrace::trace_unsynchronized::h72b75eb83b53d15a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x608d4688a522 - std::sys::backtrace::_print_fmt::h255777b7ec902439 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x608d4688a522 - ::fmt::h8a1ac49fcd7ee8ce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x608d4689a3cf - core::fmt::rt::Argument::fmt::h635cbf3c6754cc90 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x608d4689a3cf - core::fmt::write::hbdcc0ec4f1bab1db [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/fmt/mod.rs:1469:25 [INFO] [stdout] 6: 0x608d46857ec3 - std::io::default_write_fmt::h2580ece0d4b58e51 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x608d46857ec3 - std::io::Write::write_fmt::hac9e42858f273b87 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x608d46863d92 - std::sys::backtrace::BacktraceLock::print::h052febbd86f7bf07 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x608d4686886f - std::panicking::default_hook::{{closure}}::h66aeee20dd470abb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x608d46868701 - std::panicking::default_hook::h9d66b9642014ce48 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x608d4682a38e - as core::ops::function::Fn>::call::h8c698701e444e564 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 12: 0x608d4682a38e - test::test_main_with_exit_callback::{{closure}}::ha1c98e7b69c4defb [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x608d46868e7f - as core::ops::function::Fn>::call::hc4f222a8a57c637a [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2099:9 [INFO] [stdout] 14: 0x608d46868e7f - std::panicking::panic_with_hook::h6d5921a1a1fa5a8e [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x608d46868cda - std::panicking::panic_handler::{{closure}}::hafeef6f707d43542 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x608d46863ec9 - std::sys::backtrace::__rust_end_short_backtrace::h08cbc3319a3d0120 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x608d4684c7bd - __rustc[ce5c411ff86ab1b2]::rust_begin_unwind [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x608d468a1c50 - core::panicking::panic_fmt::h774fb860369a0f7b [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panicking.rs:80:14 [INFO] [stdout] 19: 0x608d468a13d6 - core::result::unwrap_failed::h72ee8fcbf1bf8ff9 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/result.rs:1862:5 [INFO] [stdout] 20: 0x608d4680644c - core::result::Result::unwrap::hfd4407fd97ad1e08 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/result.rs:1233:23 [INFO] [stdout] 21: 0x608d4680644c - build_table_test::build_temperature_pressure_density_table::h5e30d8290dab7820 [INFO] [stdout] at /opt/rustwide/workdir/tests/build_table_test.rs:12:52 [INFO] [stdout] 22: 0x608d46806947 - build_table_test::build_temperature_pressure_density_table::{{closure}}::h9f9a0bfef60bf169 [INFO] [stdout] at /opt/rustwide/workdir/tests/build_table_test.rs:6:46 [INFO] [stdout] 23: 0x608d46807ec6 - core::ops::function::FnOnce::call_once::h6222f3584fd9f14f [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 24: 0x608d4682a1db - core::ops::function::FnOnce::call_once::h4f6eabe90cccb47d [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 25: 0x608d4682a1db - test::__rust_begin_short_backtrace::h94208530f2b4c8c7 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x608d4683e1ed - test::run_test_in_process::{{closure}}::hbdc6a45a78c46404 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x608d4683e1ed - as core::ops::function::FnOnce<()>>::call_once::h7f9d8efc7eedd165 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 28: 0x608d4683e1ed - std::panicking::catch_unwind::do_call::he5edbaf126c13b99 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x608d4683e1ed - std::panicking::catch_unwind::h3d6a8652eceeabce [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x608d4683e1ed - std::panic::catch_unwind::hbef0c501dd7bb498 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x608d4683e1ed - test::run_test_in_process::h400008a46a5006a0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x608d4683e1ed - test::run_test::{{closure}}::h9a131655b31d9427 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x608d46817734 - test::run_test::{{closure}}::he4a7177c216308c0 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x608d46817734 - std::sys::backtrace::__rust_begin_short_backtrace::hd3980e9c55d6c539 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x608d4681b06a - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::h18552df67c7aa9b8 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:562:17 [INFO] [stdout] 36: 0x608d4681b06a - as core::ops::function::FnOnce<()>>::call_once::h3d7b285234641a08 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/panic/unwind_safe.rs:274:9 [INFO] [stdout] 37: 0x608d4681b06a - std::panicking::catch_unwind::do_call::h5a2b5cf36528a5b2 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:590:40 [INFO] [stdout] 38: 0x608d4681b06a - std::panicking::catch_unwind::h7e8b531bbda77d20 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panicking.rs:553:19 [INFO] [stdout] 39: 0x608d4681b06a - std::panic::catch_unwind::hf9bbb2040b4f1e6c [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x608d4681b06a - std::thread::Builder::spawn_unchecked_::{{closure}}::h600f92cf68549574 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/thread/mod.rs:560:30 [INFO] [stdout] 41: 0x608d4681b06a - core::ops::function::FnOnce::call_once{{vtable.shim}}::hb6607307df8a1847 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/core/src/ops/function.rs:250:5 [INFO] [stdout] 42: 0x608d4685f2cf - as core::ops::function::FnOnce>::call_once::h6891ad53a5ed6f52 [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/alloc/src/boxed.rs:2085:9 [INFO] [stdout] 43: 0x608d4685f2cf - std::sys::thread::unix::Thread::new::thread_start::h7f3e77fa86df70af [INFO] [stdout] at /rustc/c2e32f1c9652b13ed99608599c1e855462f421f3/library/std/src/sys/thread/unix.rs:124:17 [INFO] [stdout] 44: 0x76bcc002baa4 - [INFO] [stdout] 45: 0x76bcc00b8a64 - 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.06s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "4067f7c16e4c1c129392783b52318639331cc1cb1ba560ecec35999a6b01b2fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4067f7c16e4c1c129392783b52318639331cc1cb1ba560ecec35999a6b01b2fc", kill_on_drop: false }` [INFO] [stdout] 4067f7c16e4c1c129392783b52318639331cc1cb1ba560ecec35999a6b01b2fc