[INFO] fetching crate solaris-rs 0.1.0... [INFO] building solaris-rs-0.1.0 against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] extracting crate solaris-rs 0.1.0 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate solaris-rs 0.1.0 [INFO] finished tweaking crates.io crate solaris-rs 0.1.0 [INFO] tweaked toml for crates.io crate solaris-rs 0.1.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate solaris-rs 0.1.0 on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 8 packages to latest compatible versions [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e1c61248723383d81cfe53c10b175563ae57787f1307876ef4cc35aca635afdb [INFO] running `Command { std: "docker" "start" "-a" "e1c61248723383d81cfe53c10b175563ae57787f1307876ef4cc35aca635afdb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e1c61248723383d81cfe53c10b175563ae57787f1307876ef4cc35aca635afdb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e1c61248723383d81cfe53c10b175563ae57787f1307876ef4cc35aca635afdb", kill_on_drop: false }` [INFO] [stdout] e1c61248723383d81cfe53c10b175563ae57787f1307876ef4cc35aca635afdb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 784f9be59e03aadefb5d3be4e1d2bde817518002cdaac35810ad6aacd59d7b69 [INFO] running `Command { std: "docker" "start" "-a" "784f9be59e03aadefb5d3be4e1d2bde817518002cdaac35810ad6aacd59d7b69", kill_on_drop: false }` [INFO] [stderr] Compiling solaris-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `ζ` [INFO] [stdout] --> src/lib.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 | let ζ = (std::f64::consts::PI / 2.) - h; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 156 | let _ζ = (std::f64::consts::PI / 2.) - h; [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `P` [INFO] [stdout] | [INFO] [stdout] 156 - let ζ = (std::f64::consts::PI / 2.) - h; [INFO] [stdout] 156 + let solaris_base_impl::P = (std::f64::consts::PI / 2.) - h; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `azimuth` and `altitude` are never read [INFO] [stdout] --> src/lib.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct SunPosition { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 36 | /// Compass direction [INFO] [stdout] 37 | azimuth: f64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 38 | /// altitude angle [INFO] [stdout] 39 | altitude: f64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `t_Jd` should have a snake case name [INFO] [stdout] --> src/lib.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | t_Jd: JD2000, [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `t_jd` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `t_Jc` should have a snake case name [INFO] [stdout] --> src/lib.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | t_Jc: JC2000, [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `t_jc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `use_approx_R` should have a snake case name [INFO] [stdout] --> src/lib.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | use_approx_R: bool, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `use_approx_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `M` should have a snake case name [INFO] [stdout] --> src/lib.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | let M = 6.240060141 + 628.301955152 * t_Jc + -2.682571e-6 * (t_Jc * t_Jc); [INFO] [stdout] | ^ help: convert the identifier to snake case: `m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `C` should have a snake case name [INFO] [stdout] --> src/lib.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | let C = (3.34161088e-2 - 8.40725e-5 * t_Jc - 2.443e-7 * (t_Jc * t_Jc)) * M.sin() [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Ω` should have a snake case name [INFO] [stdout] --> src/lib.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | let Ω = 2.1824390725 - 33.7570464271 * t_Jc + 3.622256e-5 * (t_Jc * t_Jc); [INFO] [stdout] | ^ help: convert the identifier to snake case: `ω` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `R` should have a snake case name [INFO] [stdout] --> src/lib.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | let R = if use_approx_R { [INFO] [stdout] | ^ help: convert the identifier to snake case: `r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `β` should have an upper case name [INFO] [stdout] --> src/lib.rs:96:11 [INFO] [stdout] | [INFO] [stdout] 96 | const β: f64 = 0.0; [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] 96 - const β: f64 = 0.0; [INFO] [stdout] 96 + const Β: f64 = 0.0; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `H` should have a snake case name [INFO] [stdout] --> src/lib.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | let H = θ - α; [INFO] [stdout] | ^ help: convert the identifier to snake case: `h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `cos_H` should have a snake case name [INFO] [stdout] --> src/lib.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | let cos_H = H.cos(); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `cos_h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sin_H` should have a snake case name [INFO] [stdout] --> src/lib.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | let sin_H = H.sin(); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `sin_h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/lib.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 153 | let A = fast_atan2(sin_H, cos_H * sin_lat - (sin_δ / cos_δ) * cos_lat); [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] running `Command { std: "docker" "inspect" "784f9be59e03aadefb5d3be4e1d2bde817518002cdaac35810ad6aacd59d7b69", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "784f9be59e03aadefb5d3be4e1d2bde817518002cdaac35810ad6aacd59d7b69", kill_on_drop: false }` [INFO] [stdout] 784f9be59e03aadefb5d3be4e1d2bde817518002cdaac35810ad6aacd59d7b69 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 918af50304d4836ed6a0bcce2a6f317401644ce29bac11f56d0f27f5fa76d9e2 [INFO] running `Command { std: "docker" "start" "-a" "918af50304d4836ed6a0bcce2a6f317401644ce29bac11f56d0f27f5fa76d9e2", kill_on_drop: false }` [INFO] [stderr] Compiling solaris-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `ζ` [INFO] [stdout] --> src/lib.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 | let ζ = (std::f64::consts::PI / 2.) - h; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 156 | let _ζ = (std::f64::consts::PI / 2.) - h; [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `P` [INFO] [stdout] | [INFO] [stdout] 156 - let ζ = (std::f64::consts::PI / 2.) - h; [INFO] [stdout] 156 + let solaris_base_impl::P = (std::f64::consts::PI / 2.) - h; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `azimuth` and `altitude` are never read [INFO] [stdout] --> src/lib.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub struct SunPosition { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] 36 | /// Compass direction [INFO] [stdout] 37 | azimuth: f64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 38 | /// altitude angle [INFO] [stdout] 39 | altitude: f64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `t_Jd` should have a snake case name [INFO] [stdout] --> src/lib.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | t_Jd: JD2000, [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `t_jd` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `t_Jc` should have a snake case name [INFO] [stdout] --> src/lib.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | t_Jc: JC2000, [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `t_jc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `use_approx_R` should have a snake case name [INFO] [stdout] --> src/lib.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | use_approx_R: bool, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `use_approx_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `M` should have a snake case name [INFO] [stdout] --> src/lib.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | let M = 6.240060141 + 628.301955152 * t_Jc + -2.682571e-6 * (t_Jc * t_Jc); [INFO] [stdout] | ^ help: convert the identifier to snake case: `m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `C` should have a snake case name [INFO] [stdout] --> src/lib.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | let C = (3.34161088e-2 - 8.40725e-5 * t_Jc - 2.443e-7 * (t_Jc * t_Jc)) * M.sin() [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Ω` should have a snake case name [INFO] [stdout] --> src/lib.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | let Ω = 2.1824390725 - 33.7570464271 * t_Jc + 3.622256e-5 * (t_Jc * t_Jc); [INFO] [stdout] | ^ help: convert the identifier to snake case: `ω` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `R` should have a snake case name [INFO] [stdout] --> src/lib.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | let R = if use_approx_R { [INFO] [stdout] | ^ help: convert the identifier to snake case: `r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `β` should have an upper case name [INFO] [stdout] --> src/lib.rs:96:11 [INFO] [stdout] | [INFO] [stdout] 96 | const β: f64 = 0.0; [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] 96 - const β: f64 = 0.0; [INFO] [stdout] 96 + const Β: f64 = 0.0; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `H` should have a snake case name [INFO] [stdout] --> src/lib.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | let H = θ - α; [INFO] [stdout] | ^ help: convert the identifier to snake case: `h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `cos_H` should have a snake case name [INFO] [stdout] --> src/lib.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | let cos_H = H.cos(); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `cos_h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sin_H` should have a snake case name [INFO] [stdout] --> src/lib.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | let sin_H = H.sin(); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `sin_h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/lib.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 153 | let A = fast_atan2(sin_H, cos_H * sin_lat - (sin_δ / cos_δ) * cos_lat); [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ζ` [INFO] [stdout] --> src/lib.rs:156:9 [INFO] [stdout] | [INFO] [stdout] 156 | let ζ = (std::f64::consts::PI / 2.) - h; [INFO] [stdout] | ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 156 | let _ζ = (std::f64::consts::PI / 2.) - h; [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `t_Jc` [INFO] [stdout] | [INFO] [stdout] 156 - let ζ = (std::f64::consts::PI / 2.) - h; [INFO] [stdout] 156 + let tests::initial_check::t_Jc = (std::f64::consts::PI / 2.) - h; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `t_Jd` should have a snake case name [INFO] [stdout] --> src/lib.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 44 | t_Jd: JD2000, [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `t_jd` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `t_Jc` should have a snake case name [INFO] [stdout] --> src/lib.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | t_Jc: JC2000, [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `t_jc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `use_approx_R` should have a snake case name [INFO] [stdout] --> src/lib.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | use_approx_R: bool, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `use_approx_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `M` should have a snake case name [INFO] [stdout] --> src/lib.rs:56:9 [INFO] [stdout] | [INFO] [stdout] 56 | let M = 6.240060141 + 628.301955152 * t_Jc + -2.682571e-6 * (t_Jc * t_Jc); [INFO] [stdout] | ^ help: convert the identifier to snake case: `m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `C` should have a snake case name [INFO] [stdout] --> src/lib.rs:60:9 [INFO] [stdout] | [INFO] [stdout] 60 | let C = (3.34161088e-2 - 8.40725e-5 * t_Jc - 2.443e-7 * (t_Jc * t_Jc)) * M.sin() [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Ω` should have a snake case name [INFO] [stdout] --> src/lib.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | let Ω = 2.1824390725 - 33.7570464271 * t_Jc + 3.622256e-5 * (t_Jc * t_Jc); [INFO] [stdout] | ^ help: convert the identifier to snake case: `ω` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `R` should have a snake case name [INFO] [stdout] --> src/lib.rs:77:9 [INFO] [stdout] | [INFO] [stdout] 77 | let R = if use_approx_R { [INFO] [stdout] | ^ help: convert the identifier to snake case: `r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `β` should have an upper case name [INFO] [stdout] --> src/lib.rs:96:11 [INFO] [stdout] | [INFO] [stdout] 96 | const β: f64 = 0.0; [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] 96 - const β: f64 = 0.0; [INFO] [stdout] 96 + const Β: f64 = 0.0; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `H` should have a snake case name [INFO] [stdout] --> src/lib.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | let H = θ - α; [INFO] [stdout] | ^ help: convert the identifier to snake case: `h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `cos_H` should have a snake case name [INFO] [stdout] --> src/lib.rs:141:9 [INFO] [stdout] | [INFO] [stdout] 141 | let cos_H = H.cos(); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `cos_h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sin_H` should have a snake case name [INFO] [stdout] --> src/lib.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | let sin_H = H.sin(); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `sin_h` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `A` should have a snake case name [INFO] [stdout] --> src/lib.rs:153:9 [INFO] [stdout] | [INFO] [stdout] 153 | let A = fast_atan2(sin_H, cos_H * sin_lat - (sin_δ / cos_δ) * cos_lat); [INFO] [stdout] | ^ help: convert the identifier to snake case: `a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `jd2000_epoch` should have an upper case name [INFO] [stdout] --> src/lib.rs:182:15 [INFO] [stdout] | [INFO] [stdout] 182 | const jd2000_epoch: f64 = 2451545.00; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 182 - const jd2000_epoch: f64 = 2451545.00; [INFO] [stdout] 182 + const JD2000_EPOCH: f64 = 2451545.00; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `now` should have an upper case name [INFO] [stdout] --> src/lib.rs:184:15 [INFO] [stdout] | [INFO] [stdout] 184 | const now: f64 = 2460387.166666667; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 184 - const now: f64 = 2460387.166666667; [INFO] [stdout] 184 + const NOW: f64 = 2460387.166666667; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `obs_lat` should have an upper case name [INFO] [stdout] --> src/lib.rs:187:15 [INFO] [stdout] | [INFO] [stdout] 187 | const obs_lat: f64 = 40.884305 * (std::f64::consts::PI / 180.); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 187 - const obs_lat: f64 = 40.884305 * (std::f64::consts::PI / 180.); [INFO] [stdout] 187 + const OBS_LAT: f64 = 40.884305 * (std::f64::consts::PI / 180.); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `obs_lon` should have an upper case name [INFO] [stdout] --> src/lib.rs:188:15 [INFO] [stdout] | [INFO] [stdout] 188 | const obs_lon: f64 = -77.779766 * (std::f64::consts::PI / 180.); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 188 - const obs_lon: f64 = -77.779766 * (std::f64::consts::PI / 180.); [INFO] [stdout] 188 + const OBS_LON: f64 = -77.779766 * (std::f64::consts::PI / 180.); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `t_Jd` should have an upper case name [INFO] [stdout] --> src/lib.rs:190:15 [INFO] [stdout] | [INFO] [stdout] 190 | const t_Jd: f64 = now - jd2000_epoch; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 190 - const t_Jd: f64 = now - jd2000_epoch; [INFO] [stdout] 190 + const T_JD: f64 = now - jd2000_epoch; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `t_Jc` should have an upper case name [INFO] [stdout] --> src/lib.rs:191:15 [INFO] [stdout] | [INFO] [stdout] 191 | const t_Jc: f64 = t_Jd / (365.25 * 100.); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 191 - const t_Jc: f64 = t_Jd / (365.25 * 100.); [INFO] [stdout] 191 + const T_JC: f64 = t_Jd / (365.25 * 100.); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.43s [INFO] running `Command { std: "docker" "inspect" "918af50304d4836ed6a0bcce2a6f317401644ce29bac11f56d0f27f5fa76d9e2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "918af50304d4836ed6a0bcce2a6f317401644ce29bac11f56d0f27f5fa76d9e2", kill_on_drop: false }` [INFO] [stdout] 918af50304d4836ed6a0bcce2a6f317401644ce29bac11f56d0f27f5fa76d9e2