[INFO] fetching crate astroimsim-spectra 0.1.3...
[INFO] checking astroimsim-spectra-0.1.3 against master#f28ac764c36004fa6a6e098d15b4016a838c13c6 for pr-158320
[INFO] extracting crate astroimsim-spectra 0.1.3 into /workspace/builds/worker-2-tc1/source
[INFO] started tweaking crates.io crate astroimsim-spectra 0.1.3
[INFO] finished tweaking crates.io crate astroimsim-spectra 0.1.3
[INFO] tweaked toml for crates.io crate astroimsim-spectra 0.1.3 written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of crates.io crate astroimsim-spectra 0.1.3 on toolchain f28ac764c36004fa6a6e098d15b4016a838c13c6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f28ac764c36004fa6a6e098d15b4016a838c13c6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate crates.io crate astroimsim-spectra 0.1.3 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" "+f28ac764c36004fa6a6e098d15b4016a838c13c6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded emath v0.34.3
[INFO] [stderr]   Downloaded egui_plot v0.35.0
[INFO] [stderr]   Downloaded uvex-fitrs v0.0.1
[INFO] [stderr]   Downloaded peniko v0.6.1
[INFO] [stderr]   Downloaded ecolor v0.34.3
[INFO] [stderr]   Downloaded color v0.3.3
[INFO] [stderr]   Downloaded rand_distr v0.6.0
[INFO] [stderr]   Downloaded accesskit v0.24.1
[INFO] [stderr]   Downloaded epaint v0.34.3
[INFO] [stderr]   Downloaded eframe v0.34.3
[INFO] [stderr]   Downloaded wgpu-naga-bridge v29.0.3
[INFO] [stderr]   Downloaded wgpu-types v29.0.3
[INFO] [stderr]   Downloaded egui v0.34.3
[INFO] [stderr]   Downloaded wgpu v29.0.3
[INFO] [stderr]   Downloaded wgpu-core-deps-apple v29.0.3
[INFO] [stderr]   Downloaded wgpu-core-deps-windows-linux-android v29.0.3
[INFO] [stderr]   Downloaded wgpu-core-deps-wasm v29.0.3
[INFO] [stderr]   Downloaded wgpu-core-deps-emscripten v29.0.3
[INFO] [stderr]   Downloaded egui_glow v0.34.3
[INFO] [stderr]   Downloaded egui-winit v0.34.3
[INFO] [stderr]   Downloaded wgpu-hal v29.0.3
[INFO] [stderr]   Downloaded plotpy v1.23.0
[INFO] [stderr]   Downloaded epaint_default_fonts v0.34.3
[INFO] [stderr]   Downloaded wgpu-core v29.0.3
[INFO] [stderr]   Downloaded naga v29.0.3
[INFO] [stderr]   Downloaded accesskit_unix v0.21.1
[INFO] [stderr]   Downloaded zbus_xml v5.1.1
[INFO] [stderr]   Downloaded accesskit_atspi_common v0.18.1
[INFO] [stderr]   Downloaded egui-wgpu v0.34.3
[INFO] [stderr]   Downloaded accesskit_macos v0.26.2
[INFO] [stderr]   Downloaded accesskit_consumer v0.36.0
[INFO] [stderr]   Downloaded accesskit_consumer v0.37.0
[INFO] [stderr]   Downloaded astroimsim-geometry v0.1.3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 0cdf8d0d970f0847cdbf300de97312d43d32441504dcb1379322c0638bf5e7de
[INFO] running `Command { std: "docker" "start" "0cdf8d0d970f0847cdbf300de97312d43d32441504dcb1379322c0638bf5e7de", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "0cdf8d0d970f0847cdbf300de97312d43d32441504dcb1379322c0638bf5e7de" "/opt/rustwide/cargo-home/bin/cargo" "+f28ac764c36004fa6a6e098d15b4016a838c13c6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "0cdf8d0d970f0847cdbf300de97312d43d32441504dcb1379322c0638bf5e7de", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "0cdf8d0d970f0847cdbf300de97312d43d32441504dcb1379322c0638bf5e7de" "/opt/rustwide/cargo-home/bin/cargo" "+f28ac764c36004fa6a6e098d15b4016a838c13c6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.106
[INFO] [stderr]     Checking log v0.4.32
[INFO] [stderr]     Checking smallvec v1.15.2
[INFO] [stderr]    Compiling memchr v2.8.2
[INFO] [stderr]    Compiling wayland-sys v0.31.11
[INFO] [stderr]     Checking rustix v1.1.4
[INFO] [stderr]    Compiling cc v1.2.64
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling zerocopy v0.8.52
[INFO] [stderr]     Checking concurrent-queue v2.5.0
[INFO] [stderr]     Checking uuid v1.23.3
[INFO] [stderr]     Checking winnow v1.0.3
[INFO] [stderr]    Compiling async-io v2.6.0
[INFO] [stderr]    Compiling rustix v0.38.44
[INFO] [stderr]    Compiling ahash v0.8.12
[INFO] [stderr]     Checking polycool v0.4.0
[INFO] [stderr]     Checking cursor-icon v1.2.0
[INFO] [stderr]     Checking linux-raw-sys v0.4.15
[INFO] [stderr]     Checking event-listener v5.4.1
[INFO] [stderr]     Checking profiling v1.0.18
[INFO] [stderr]     Checking xcursor v0.3.10
[INFO] [stderr]     Checking xkeysym v0.2.1
[INFO] [stderr]     Checking async-executor v1.14.0
[INFO] [stderr]     Checking getrandom v0.3.4
[INFO] [stderr]    Compiling naga v29.0.3
[INFO] [stderr]     Checking parking_lot_core v0.9.12
[INFO] [stderr]     Checking kurbo v0.13.1
[INFO] [stderr]     Checking memmap2 v0.9.10
[INFO] [stderr]     Checking linebender_resource_handle v0.1.1
[INFO] [stderr]     Checking bit-vec v0.9.1
[INFO] [stderr]     Checking accesskit v0.24.1
[INFO] [stderr]     Checking event-listener-strategy v0.5.4
[INFO] [stderr]     Checking parking_lot v0.12.5
[INFO] [stderr]    Compiling quote v1.0.45
[INFO] [stderr]    Compiling siphasher v1.0.3
[INFO] [stderr]     Checking async-channel v2.5.0
[INFO] [stderr]     Checking async-lock v3.4.2
[INFO] [stderr]     Checking async-broadcast v0.7.2
[INFO] [stderr]     Checking bit-set v0.9.1
[INFO] [stderr]    Compiling phf_shared v0.13.1
[INFO] [stderr]     Checking codespan-reporting v0.13.1
[INFO] [stderr]     Checking indexmap v2.14.0
[INFO] [stderr]     Checking blocking v1.6.2
[INFO] [stderr]    Compiling syn v2.0.117
[INFO] [stderr]     Checking spirv v0.4.0+sdk-1.4.341.0
[INFO] [stderr]    Compiling smithay-client-toolkit v0.19.2
[INFO] [stderr]    Compiling fastrand v2.4.1
[INFO] [stderr]     Checking rustc-hash v1.1.0
[INFO] [stderr]     Checking owned_ttf_parser v0.25.1
[INFO] [stderr]    Compiling wgpu-hal v29.0.3
[INFO] [stderr]    Compiling phf_generator v0.13.1
[INFO] [stderr]     Checking gpu-descriptor-types v0.2.0
[INFO] [stderr]    Compiling x11-dl v2.21.0
[INFO] [stderr]     Checking x11rb-protocol v0.13.2
[INFO] [stderr]     Checking presser v0.3.1
[INFO] [stderr]     Checking gpu-descriptor v0.3.2
[INFO] [stderr]     Checking ab_glyph v0.2.32
[INFO] [stderr]     Checking khronos-egl v6.0.0
[INFO] [stderr]     Checking ordered-float v5.3.0
[INFO] [stderr]    Compiling winit v0.30.13
[INFO] [stderr]     Checking glow v0.17.0
[INFO] [stderr]     Checking epaint_default_fonts v0.34.3
[INFO] [stderr]     Checking xkbcommon-dl v0.4.2
[INFO] [stderr]     Checking accesskit_consumer v0.36.0
[INFO] [stderr]    Compiling wgpu-core v29.0.3
[INFO] [stderr]    Compiling getrandom v0.4.2
[INFO] [stderr]    Compiling smithay-client-toolkit v0.20.0
[INFO] [stderr]     Checking smol_str v0.2.2
[INFO] [stderr]     Checking rand_core v0.10.1
[INFO] [stderr]     Checking moxcms v0.8.1
[INFO] [stderr]    Compiling wgpu v29.0.3
[INFO] [stderr]     Checking cpufeatures v0.3.0
[INFO] [stderr]     Checking web-time v1.1.0
[INFO] [stderr]     Checking type-map v0.5.1
[INFO] [stderr]     Checking plotpy v1.23.0
[INFO] [stderr]     Checking uvex-fitrs v0.0.1
[INFO] [stderr]     Checking chacha20 v0.10.0
[INFO] [stderr]    Compiling wayland-backend v0.3.15
[INFO] [stderr]     Checking rand v0.10.1
[INFO] [stderr]     Checking rand_distr v0.6.0
[INFO] [stderr]     Checking polling v3.11.0
[INFO] [stderr]     Checking gethostname v1.1.0
[INFO] [stderr]     Checking async-signal v0.2.14
[INFO] [stderr]     Checking async-process v2.5.0
[INFO] [stderr]     Checking wayland-csd-frame v0.3.0
[INFO] [stderr]    Compiling synstructure v0.13.2
[INFO] [stderr]    Compiling serde_derive v1.0.228
[INFO] [stderr]    Compiling bytemuck_derive v1.10.2
[INFO] [stderr]    Compiling enumflags2_derive v0.7.12
[INFO] [stderr]    Compiling zerocopy-derive v0.8.52
[INFO] [stderr]    Compiling tracing-attributes v0.1.31
[INFO] [stderr]    Compiling zerovec-derive v0.11.3
[INFO] [stderr]    Compiling thiserror-impl v2.0.18
[INFO] [stderr]    Compiling displaydoc v0.2.6
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling async-recursion v1.1.1
[INFO] [stderr]    Compiling async-trait v0.1.89
[INFO] [stderr]    Compiling serde_repr v0.1.20
[INFO] [stderr]    Compiling phf_macros v0.13.1
[INFO] [stderr]    Compiling futures-macro v0.3.32
[INFO] [stderr]    Compiling zerofrom-derive v0.1.7
[INFO] [stderr]    Compiling yoke-derive v0.8.2
[INFO] [stderr]     Checking phf v0.13.1
[INFO] [stderr]     Checking futures-util v0.3.32
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking bytemuck v1.25.0
[INFO] [stderr]     Checking calloop v0.13.0
[INFO] [stderr]     Checking zerofrom v0.1.8
[INFO] [stderr]     Checking tracing v0.1.44
[INFO] [stderr]     Checking yoke v0.8.3
[INFO] [stderr]     Checking color v0.3.3
[INFO] [stderr]     Checking fearless_simd v0.3.0
[INFO] [stderr]     Checking font-types v0.11.3
[INFO] [stderr]     Checking tiny-skia-path v0.11.4
[INFO] [stderr]     Checking emath v0.34.3
[INFO] [stderr]     Checking wgpu-types v29.0.3
[INFO] [stderr]     Checking image v0.25.10
[INFO] [stderr]     Checking thiserror v2.0.18
[INFO] [stderr]     Checking gpu-allocator v0.28.0
[INFO] [stderr]     Checking calloop v0.14.4
[INFO] [stderr]     Checking zerovec v0.11.6
[INFO] [stderr]     Checking zerotrie v0.2.4
[INFO] [stderr]     Checking tiny-skia v0.11.4
[INFO] [stderr]     Checking ecolor v0.34.3
[INFO] [stderr]     Checking read-fonts v0.37.0
[INFO] [stderr]     Checking peniko v0.6.1
[INFO] [stderr]    Compiling serde v1.0.228
[INFO] [stderr]     Checking tinystr v0.8.3
[INFO] [stderr]     Checking potential_utf v0.1.5
[INFO] [stderr]     Checking icu_locale_core v2.2.0
[INFO] [stderr]     Checking icu_collections v2.2.0
[INFO] [stderr]     Checking zvariant_utils v3.4.0
[INFO] [stderr]     Checking enumflags2 v0.7.12
[INFO] [stderr]     Checking quick-xml v0.39.4
[INFO] [stderr]     Checking astroimsim-geometry v0.1.3
[INFO] [stderr]     Checking icu_provider v2.2.0
[INFO] [stderr]    Compiling zvariant_derive v5.12.0
[INFO] [stderr]     Checking icu_normalizer v2.2.0
[INFO] [stderr]     Checking icu_properties v2.2.0
[INFO] [stderr]    Compiling zvariant v5.12.0
[INFO] [stderr]     Checking vello_common v0.0.6
[INFO] [stderr]     Checking idna_adapter v1.2.2
[INFO] [stderr]     Checking idna v1.1.0
[INFO] [stderr]    Compiling wayland-scanner v0.31.10
[INFO] [stderr]     Checking half v2.7.1
[INFO] [stderr]     Checking url v2.5.8
[INFO] [stderr]     Checking x11rb v0.13.2
[INFO] [stderr]     Checking vello_cpu v0.0.6
[INFO] [stderr]     Checking webbrowser v1.2.1
[INFO] [stderr]     Checking wayland-client v0.31.14
[INFO] [stderr]     Checking skrifa v0.40.0
[INFO] [stderr]    Compiling zbus_names v4.3.2
[INFO] [stderr]     Checking arboard v3.6.1
[INFO] [stderr]    Compiling zbus_xml v5.1.1
[INFO] [stderr]    Compiling zbus_macros v5.16.0
[INFO] [stderr]    Compiling zbus-lockstep v0.5.2
[INFO] [stderr]    Compiling zbus-lockstep-macros v0.5.2
[INFO] [stderr]     Checking wayland-protocols v0.32.12
[INFO] [stderr]     Checking wayland-cursor v0.31.14
[INFO] [stderr]     Checking calloop-wayland-source v0.3.0
[INFO] [stderr]     Checking calloop-wayland-source v0.4.1
[INFO] [stderr]     Checking epaint v0.34.3
[INFO] [stderr]     Checking zbus v5.16.0
[INFO] [stderr]     Checking egui v0.34.3
[INFO] [stderr]     Checking egui_plot v0.35.0
[INFO] [stderr]     Checking wayland-protocols-wlr v0.3.12
[INFO] [stderr]     Checking wayland-protocols-plasma v0.3.12
[INFO] [stderr]     Checking wayland-protocols-misc v0.3.12
[INFO] [stderr]     Checking wayland-protocols-experimental v20250721.0.1
[INFO] [stderr]     Checking atspi-common v0.13.0
[INFO] [stderr]     Checking wgpu-naga-bridge v29.0.3
[INFO] [stderr]     Checking smithay-clipboard v0.7.3
[INFO] [stderr]     Checking sctk-adwaita v0.10.1
[INFO] [stderr]     Checking wgpu-core-deps-windows-linux-android v29.0.3
[INFO] [stderr]     Checking atspi-proxies v0.13.0
[INFO] [stderr]     Checking accesskit_atspi_common v0.18.1
[INFO] [stderr]     Checking atspi v0.29.0
[INFO] [stderr]     Checking accesskit_unix v0.21.1
[INFO] [stderr]     Checking accesskit_winit v0.32.2
[INFO] [stderr]     Checking egui-winit v0.34.3
[INFO] [stderr]     Checking egui-wgpu v0.34.3
[INFO] [stderr]     Checking eframe v0.34.3
[INFO] [stderr]     Checking astroimsim-spectra v0.1.3 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `BufReader`
[INFO] [stdout]  --> src/power_spectrum.rs:2:15
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io::{BufReader, Write};
[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: `std::time::Instant`
[INFO] [stdout]  --> src/power_spectrum.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::time::Instant;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Curve` and `Plot`
[INFO] [stdout]  --> src/power_spectrum.rs:5:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | use plotpy::{Curve, Plot};
[INFO] [stdout]   |              ^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand_distr::Poisson`
[INFO] [stdout]  --> src/power_spectrum.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use rand_distr::Poisson;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BufReader`
[INFO] [stdout]  --> src/power_spectrum.rs:2:15
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io::{BufReader, Write};
[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: `std::time::Instant`
[INFO] [stdout]  --> src/power_spectrum.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::time::Instant;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `F_nu` should have an upper camel case name
[INFO] [stdout]    --> src/power_spectrum.rs:138:5
[INFO] [stdout]     |
[INFO] [stdout] 138 |     F_nu, //ergs per cm^2 per s^1 per Hz
[INFO] [stdout]     |     ^^^^ help: convert the identifier to upper camel case: `FNu`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `F_lambda` should have an upper camel case name
[INFO] [stdout]    --> src/power_spectrum.rs:139:5
[INFO] [stdout]     |
[INFO] [stdout] 139 |     F_lambda,//ergs per cm^2 per s per angstrom
[INFO] [stdout]     |     ^^^^^^^^ help: convert the identifier to upper camel case: `FLambda`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Curve` and `Plot`
[INFO] [stdout]  --> src/power_spectrum.rs:5:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | use plotpy::{Curve, Plot};
[INFO] [stdout]   |              ^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `f_lambda` should have an upper camel case name
[INFO] [stdout]    --> src/power_spectrum.rs:140:5
[INFO] [stdout]     |
[INFO] [stdout] 140 |     f_lambda, //Photons per cm^2 per second per angstrom
[INFO] [stdout]     |     ^^^^^^^^ help: convert the identifier to upper camel case: `FLambda`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand_distr::Binomial`
[INFO] [stdout]  --> src/photonic_spectrum.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use rand_distr::Binomial;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::power_spectrum::PowerSpectrum`
[INFO] [stdout]  --> src/spectral_response.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::power_spectrum::PowerSpectrum;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `visulaize`
[INFO] [stdout]  --> src/spectral_response.rs:6:24
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::visualize::{visulaize, STANDARD_SPECTRAL_GRID};
[INFO] [stdout]   |                        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `egui::Response`
[INFO] [stdout]  --> src/visualize.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use egui::Response;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `F_lambda` and `F_nu`
[INFO] [stdout]  --> src/visualize.rs:4:44
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::power_spectrum::SpectrumUnits::{F_lambda, F_nu};
[INFO] [stdout]   |                                            ^^^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand_distr::Poisson`
[INFO] [stdout]  --> src/power_spectrum.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use rand_distr::Poisson;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `F_nu` should have an upper camel case name
[INFO] [stdout]    --> src/power_spectrum.rs:138:5
[INFO] [stdout]     |
[INFO] [stdout] 138 |     F_nu, //ergs per cm^2 per s^1 per Hz
[INFO] [stdout]     |     ^^^^ help: convert the identifier to upper camel case: `FNu`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `F_lambda` should have an upper camel case name
[INFO] [stdout]    --> src/power_spectrum.rs:139:5
[INFO] [stdout]     |
[INFO] [stdout] 139 |     F_lambda,//ergs per cm^2 per s per angstrom
[INFO] [stdout]     |     ^^^^^^^^ help: convert the identifier to upper camel case: `FLambda`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `f_lambda` should have an upper camel case name
[INFO] [stdout]    --> src/power_spectrum.rs:140:5
[INFO] [stdout]     |
[INFO] [stdout] 140 |     f_lambda, //Photons per cm^2 per second per angstrom
[INFO] [stdout]     |     ^^^^^^^^ help: convert the identifier to upper camel case: `FLambda`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand_distr::Binomial`
[INFO] [stdout]  --> src/photonic_spectrum.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use rand_distr::Binomial;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::power_spectrum::PowerSpectrum`
[INFO] [stdout]  --> src/spectral_response.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::power_spectrum::PowerSpectrum;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `visulaize`
[INFO] [stdout]  --> src/spectral_response.rs:6:24
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::visualize::{visulaize, STANDARD_SPECTRAL_GRID};
[INFO] [stdout]   |                        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `egui::Response`
[INFO] [stdout]  --> src/visualize.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use egui::Response;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `F_lambda` and `F_nu`
[INFO] [stdout]  --> src/visualize.rs:4:44
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::power_spectrum::SpectrumUnits::{F_lambda, F_nu};
[INFO] [stdout]   |                                            ^^^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::distr::Distribution`
[INFO] [stdout]  --> src/power_spectrum.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use rand::distr::Distribution;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/power_spectrum.rs:111:47
[INFO] [stdout]     |
[INFO] [stdout] 111 |     pub fn apply_spectral_response(&mut self, mut spectral_response_curve: &SpectralResponseCurve){
[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 import: `rand::distr::Distribution`
[INFO] [stdout]  --> src/power_spectrum.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use rand::distr::Distribution;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/spectral_response.rs:181:13
[INFO] [stdout]     |
[INFO] [stdout] 181 |         for mut data_point in &mut self.data{
[INFO] [stdout]     |             ----^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `NUV_CONTAMINATION_PATH` is never used
[INFO] [stdout]   --> src/visualize.rs:13:11
[INFO] [stdout]    |
[INFO] [stdout] 13 |     const NUV_CONTAMINATION_PATH: &'static str = "src/spectral_response_files/UVIM_NUV_contamination.dat";
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `NUV_CONTAMINATION_GRID` is never used
[INFO] [stdout]   --> src/visualize.rs:21:15
[INFO] [stdout]    |
[INFO] [stdout] 21 |     pub const NUV_CONTAMINATION_GRID: GRID1D = GRID1D::new_empty(1.0,110.0,999.0,0.01,1.0);
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/power_spectrum.rs:111:47
[INFO] [stdout]     |
[INFO] [stdout] 111 |     pub fn apply_spectral_response(&mut self, mut spectral_response_curve: &SpectralResponseCurve){
[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: constant `kB_CGS` should have an upper case name
[INFO] [stdout]   --> src/power_spectrum.rs:11:11
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub const kB_CGS:f64 = 1.380649 *10e-16; //erg K−1
[INFO] [stdout]    |           ^^^^^^ help: convert the identifier to upper case: `K_B_CGS`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `h_CGS` should have an upper case name
[INFO] [stdout]   --> src/power_spectrum.rs:12:11
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub const h_CGS:f64 = 6.626069 *10e-27; //erg s
[INFO] [stdout]    |           ^^^^^ help: convert the identifier to upper case: `H_CGS`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `c_CGS` should have an upper case name
[INFO] [stdout]   --> src/power_spectrum.rs:13:11
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub const c_CGS:f64 = 2.997925 *10e10; // cm s−1
[INFO] [stdout]    |           ^^^^^ help: convert the identifier to upper case (notice the capitalization): `C_CGS`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `flat_AB` should have a snake case name
[INFO] [stdout]   --> src/power_spectrum.rs:79:12
[INFO] [stdout]    |
[INFO] [stdout] 79 |     pub fn flat_AB(ab_mag:f64,grid1d:GRID1D,label:&'static str)-> PowerSpectrum {
[INFO] [stdout]    |            ^^^^^^^ help: convert the identifier to snake case: `flat_ab`
[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 `F_lambda` should have a snake case name
[INFO] [stdout]    --> src/power_spectrum.rs:100:17
[INFO] [stdout]     |
[INFO] [stdout] 100 |             let F_lambda = scale_factor*(1.0/(exponent.exp()-1.0));
[INFO] [stdout]     |                 ^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `f_lambda`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `FUV_DICHROIC` should have a snake case name
[INFO] [stdout]   --> src/visualize.rs:30:13
[INFO] [stdout]    |
[INFO] [stdout] 30 |     let mut FUV_DICHROIC: SpectralResponseCurve = SpectralResponseCurve::new("FUV_DICHROIC",DICHROIC_GRID,DICHROIC_PATH,1,"      ");
[INFO] [stdout]    |             ^^^^^^^^^^^^ help: convert the identifier to snake case: `fuv_dichroic`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `NUV_DICHROIC` should have a snake case name
[INFO] [stdout]   --> src/visualize.rs:31:13
[INFO] [stdout]    |
[INFO] [stdout] 31 |     let mut NUV_DICHROIC: SpectralResponseCurve = SpectralResponseCurve::new("NUV_DICHROIC",DICHROIC_GRID,DICHROIC_PATH,2,"      ");
[INFO] [stdout]    |             ^^^^^^^^^^^^ help: convert the identifier to snake case: `nuv_dichroic`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `NUV_QE` should have a snake case name
[INFO] [stdout]   --> src/visualize.rs:32:14
[INFO] [stdout]    |
[INFO] [stdout] 32 |     let mut  NUV_QE: SpectralResponseCurve = SpectralResponseCurve::new("NUV_QE",NUV_QE_CURVE_GRID,NUV_QE_CURVE_PATH,1,"   ");
[INFO] [stdout]    |              ^^^^^^ help: convert the identifier to snake case: `nuv_qe`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `FUV_CONTAMINATION` should have a snake case name
[INFO] [stdout]   --> src/visualize.rs:33:13
[INFO] [stdout]    |
[INFO] [stdout] 33 |     let mut FUV_CONTAMINATION:SpectralResponseCurve = SpectralResponseCurve::new("FUV Contamination",FUV_CONTAMINATION_GRID,FUV_CONT...
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `fuv_contamination`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `NUV_FILTER_CURVE` should have a snake case name
[INFO] [stdout]   --> src/visualize.rs:35:13
[INFO] [stdout]    |
[INFO] [stdout] 35 |     let mut NUV_FILTER_CURVE:SpectralResponseCurve = SpectralResponseCurve::new("NUV Filter response",NUV_RESPONSE_GRID,NUV_RESPONSE...
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `nuv_filter_curve`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `FUV_FILTER_CURVE` should have a snake case name
[INFO] [stdout]   --> src/visualize.rs:36:13
[INFO] [stdout]    |
[INFO] [stdout] 36 |     let mut FUV_FILTER_CURVE:SpectralResponseCurve = SpectralResponseCurve::new("FUV Filter response",FUV_RESPONSE_GRID,FUV_RESPONSE...
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `fuv_filter_curve`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `NUV_FILTER_QE` should have a snake case name
[INFO] [stdout]   --> src/visualize.rs:42:13
[INFO] [stdout]    |
[INFO] [stdout] 42 |     let mut NUV_FILTER_QE = SpectralResponseCurve::compose(vec![NUV_FILTER_CURVE,NUV_QE]);
[INFO] [stdout]    |             ^^^^^^^^^^^^^ help: convert the identifier to snake case: `nuv_filter_qe`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `MIRROR_CURVE` should have a snake case name
[INFO] [stdout]   --> src/visualize.rs:47:13
[INFO] [stdout]    |
[INFO] [stdout] 47 |     let mut MIRROR_CURVE:SpectralResponseCurve = SpectralResponseCurve::new("Mirror", MIRROR_GRID, MIRROR_PATH,1,"    ");
[INFO] [stdout]    |             ^^^^^^^^^^^^ help: convert the identifier to snake case: `mirror_curve`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `MIRROR_CURVE_3` should have a snake case name
[INFO] [stdout]   --> src/visualize.rs:49:13
[INFO] [stdout]    |
[INFO] [stdout] 49 |     let mut MIRROR_CURVE_3 = MIRROR_CURVE.clone();
[INFO] [stdout]    |             ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `mirror_curve_3`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/spectral_response.rs:181:13
[INFO] [stdout]     |
[INFO] [stdout] 181 |         for mut data_point in &mut self.data{
[INFO] [stdout]     |             ----^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `NUV_CONTAMINATION_PATH` is never used
[INFO] [stdout]   --> src/visualize.rs:13:11
[INFO] [stdout]    |
[INFO] [stdout] 13 |     const NUV_CONTAMINATION_PATH: &'static str = "src/spectral_response_files/UVIM_NUV_contamination.dat";
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `NUV_CONTAMINATION_GRID` is never used
[INFO] [stdout]   --> src/visualize.rs:21:15
[INFO] [stdout]    |
[INFO] [stdout] 21 |     pub const NUV_CONTAMINATION_GRID: GRID1D = GRID1D::new_empty(1.0,110.0,999.0,0.01,1.0);
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `kB_CGS` should have an upper case name
[INFO] [stdout]   --> src/power_spectrum.rs:11:11
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub const kB_CGS:f64 = 1.380649 *10e-16; //erg K−1
[INFO] [stdout]    |           ^^^^^^ help: convert the identifier to upper case: `K_B_CGS`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `h_CGS` should have an upper case name
[INFO] [stdout]   --> src/power_spectrum.rs:12:11
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub const h_CGS:f64 = 6.626069 *10e-27; //erg s
[INFO] [stdout]    |           ^^^^^ help: convert the identifier to upper case: `H_CGS`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `c_CGS` should have an upper case name
[INFO] [stdout]   --> src/power_spectrum.rs:13:11
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub const c_CGS:f64 = 2.997925 *10e10; // cm s−1
[INFO] [stdout]    |           ^^^^^ help: convert the identifier to upper case (notice the capitalization): `C_CGS`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `flat_AB` should have a snake case name
[INFO] [stdout]   --> src/power_spectrum.rs:79:12
[INFO] [stdout]    |
[INFO] [stdout] 79 |     pub fn flat_AB(ab_mag:f64,grid1d:GRID1D,label:&'static str)-> PowerSpectrum {
[INFO] [stdout]    |            ^^^^^^^ help: convert the identifier to snake case: `flat_ab`
[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 `F_lambda` should have a snake case name
[INFO] [stdout]    --> src/power_spectrum.rs:100:17
[INFO] [stdout]     |
[INFO] [stdout] 100 |             let F_lambda = scale_factor*(1.0/(exponent.exp()-1.0));
[INFO] [stdout]     |                 ^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `f_lambda`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `FUV_DICHROIC` should have a snake case name
[INFO] [stdout]   --> src/visualize.rs:30:13
[INFO] [stdout]    |
[INFO] [stdout] 30 |     let mut FUV_DICHROIC: SpectralResponseCurve = SpectralResponseCurve::new("FUV_DICHROIC",DICHROIC_GRID,DICHROIC_PATH,1,"      ");
[INFO] [stdout]    |             ^^^^^^^^^^^^ help: convert the identifier to snake case: `fuv_dichroic`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `NUV_DICHROIC` should have a snake case name
[INFO] [stdout]   --> src/visualize.rs:31:13
[INFO] [stdout]    |
[INFO] [stdout] 31 |     let mut NUV_DICHROIC: SpectralResponseCurve = SpectralResponseCurve::new("NUV_DICHROIC",DICHROIC_GRID,DICHROIC_PATH,2,"      ");
[INFO] [stdout]    |             ^^^^^^^^^^^^ help: convert the identifier to snake case: `nuv_dichroic`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `NUV_QE` should have a snake case name
[INFO] [stdout]   --> src/visualize.rs:32:14
[INFO] [stdout]    |
[INFO] [stdout] 32 |     let mut  NUV_QE: SpectralResponseCurve = SpectralResponseCurve::new("NUV_QE",NUV_QE_CURVE_GRID,NUV_QE_CURVE_PATH,1,"   ");
[INFO] [stdout]    |              ^^^^^^ help: convert the identifier to snake case: `nuv_qe`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `FUV_CONTAMINATION` should have a snake case name
[INFO] [stdout]   --> src/visualize.rs:33:13
[INFO] [stdout]    |
[INFO] [stdout] 33 |     let mut FUV_CONTAMINATION:SpectralResponseCurve = SpectralResponseCurve::new("FUV Contamination",FUV_CONTAMINATION_GRID,FUV_CONT...
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `fuv_contamination`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `NUV_FILTER_CURVE` should have a snake case name
[INFO] [stdout]   --> src/visualize.rs:35:13
[INFO] [stdout]    |
[INFO] [stdout] 35 |     let mut NUV_FILTER_CURVE:SpectralResponseCurve = SpectralResponseCurve::new("NUV Filter response",NUV_RESPONSE_GRID,NUV_RESPONSE...
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `nuv_filter_curve`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `FUV_FILTER_CURVE` should have a snake case name
[INFO] [stdout]   --> src/visualize.rs:36:13
[INFO] [stdout]    |
[INFO] [stdout] 36 |     let mut FUV_FILTER_CURVE:SpectralResponseCurve = SpectralResponseCurve::new("FUV Filter response",FUV_RESPONSE_GRID,FUV_RESPONSE...
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `fuv_filter_curve`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `NUV_FILTER_QE` should have a snake case name
[INFO] [stdout]   --> src/visualize.rs:42:13
[INFO] [stdout]    |
[INFO] [stdout] 42 |     let mut NUV_FILTER_QE = SpectralResponseCurve::compose(vec![NUV_FILTER_CURVE,NUV_QE]);
[INFO] [stdout]    |             ^^^^^^^^^^^^^ help: convert the identifier to snake case: `nuv_filter_qe`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `MIRROR_CURVE` should have a snake case name
[INFO] [stdout]   --> src/visualize.rs:47:13
[INFO] [stdout]    |
[INFO] [stdout] 47 |     let mut MIRROR_CURVE:SpectralResponseCurve = SpectralResponseCurve::new("Mirror", MIRROR_GRID, MIRROR_PATH,1,"    ");
[INFO] [stdout]    |             ^^^^^^^^^^^^ help: convert the identifier to snake case: `mirror_curve`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `MIRROR_CURVE_3` should have a snake case name
[INFO] [stdout]   --> src/visualize.rs:49:13
[INFO] [stdout]    |
[INFO] [stdout] 49 |     let mut MIRROR_CURVE_3 = MIRROR_CURVE.clone();
[INFO] [stdout]    |             ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `mirror_curve_3`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BufReader`
[INFO] [stdout]  --> src/power_spectrum.rs:2:15
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io::{BufReader, Write};
[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: `std::time::Instant`
[INFO] [stdout]  --> src/power_spectrum.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::time::Instant;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Curve` and `Plot`
[INFO] [stdout]  --> src/power_spectrum.rs:5:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | use plotpy::{Curve, Plot};
[INFO] [stdout]   |              ^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand_distr::Poisson`
[INFO] [stdout]  --> src/power_spectrum.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use rand_distr::Poisson;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `F_nu` should have an upper camel case name
[INFO] [stdout]    --> src/power_spectrum.rs:138:5
[INFO] [stdout]     |
[INFO] [stdout] 138 |     F_nu, //ergs per cm^2 per s^1 per Hz
[INFO] [stdout]     |     ^^^^ help: convert the identifier to upper camel case: `FNu`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `F_lambda` should have an upper camel case name
[INFO] [stdout]    --> src/power_spectrum.rs:139:5
[INFO] [stdout]     |
[INFO] [stdout] 139 |     F_lambda,//ergs per cm^2 per s per angstrom
[INFO] [stdout]     |     ^^^^^^^^ help: convert the identifier to upper camel case: `FLambda`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `f_lambda` should have an upper camel case name
[INFO] [stdout]    --> src/power_spectrum.rs:140:5
[INFO] [stdout]     |
[INFO] [stdout] 140 |     f_lambda, //Photons per cm^2 per second per angstrom
[INFO] [stdout]     |     ^^^^^^^^ help: convert the identifier to upper camel case: `FLambda`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand_distr::Binomial`
[INFO] [stdout]  --> src/photonic_spectrum.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use rand_distr::Binomial;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::power_spectrum::PowerSpectrum`
[INFO] [stdout]  --> src/spectral_response.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::power_spectrum::PowerSpectrum;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `visulaize`
[INFO] [stdout]  --> src/spectral_response.rs:6:24
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::visualize::{visulaize, STANDARD_SPECTRAL_GRID};
[INFO] [stdout]   |                        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `egui::Response`
[INFO] [stdout]  --> src/visualize.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use egui::Response;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `F_lambda` and `F_nu`
[INFO] [stdout]  --> src/visualize.rs:4:44
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::power_spectrum::SpectrumUnits::{F_lambda, F_nu};
[INFO] [stdout]   |                                            ^^^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `BufReader`
[INFO] [stdout]  --> src/power_spectrum.rs:2:15
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::io::{BufReader, Write};
[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: `std::time::Instant`
[INFO] [stdout]  --> src/power_spectrum.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::time::Instant;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `Curve` and `Plot`
[INFO] [stdout]  --> src/power_spectrum.rs:5:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | use plotpy::{Curve, Plot};
[INFO] [stdout]   |              ^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand_distr::Poisson`
[INFO] [stdout]  --> src/power_spectrum.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use rand_distr::Poisson;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `F_nu` should have an upper camel case name
[INFO] [stdout]    --> src/power_spectrum.rs:138:5
[INFO] [stdout]     |
[INFO] [stdout] 138 |     F_nu, //ergs per cm^2 per s^1 per Hz
[INFO] [stdout]     |     ^^^^ help: convert the identifier to upper camel case: `FNu`
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `F_lambda` should have an upper camel case name
[INFO] [stdout]    --> src/power_spectrum.rs:139:5
[INFO] [stdout]     |
[INFO] [stdout] 139 |     F_lambda,//ergs per cm^2 per s per angstrom
[INFO] [stdout]     |     ^^^^^^^^ help: convert the identifier to upper camel case: `FLambda`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `f_lambda` should have an upper camel case name
[INFO] [stdout]    --> src/power_spectrum.rs:140:5
[INFO] [stdout]     |
[INFO] [stdout] 140 |     f_lambda, //Photons per cm^2 per second per angstrom
[INFO] [stdout]     |     ^^^^^^^^ help: convert the identifier to upper camel case: `FLambda`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand_distr::Binomial`
[INFO] [stdout]  --> src/photonic_spectrum.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use rand_distr::Binomial;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::power_spectrum::PowerSpectrum`
[INFO] [stdout]  --> src/spectral_response.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use crate::power_spectrum::PowerSpectrum;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `visulaize`
[INFO] [stdout]  --> src/spectral_response.rs:6:24
[INFO] [stdout]   |
[INFO] [stdout] 6 | use crate::visualize::{visulaize, STANDARD_SPECTRAL_GRID};
[INFO] [stdout]   |                        ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `egui::Response`
[INFO] [stdout]  --> src/visualize.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use egui::Response;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `F_lambda` and `F_nu`
[INFO] [stdout]  --> src/visualize.rs:4:44
[INFO] [stdout]   |
[INFO] [stdout] 4 | use crate::power_spectrum::SpectrumUnits::{F_lambda, F_nu};
[INFO] [stdout]   |                                            ^^^^^^^^  ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::distr::Distribution`
[INFO] [stdout]  --> src/power_spectrum.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use rand::distr::Distribution;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/power_spectrum.rs:111:47
[INFO] [stdout]     |
[INFO] [stdout] 111 |     pub fn apply_spectral_response(&mut self, mut spectral_response_curve: &SpectralResponseCurve){
[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: variable does not need to be mutable
[INFO] [stdout]    --> src/spectral_response.rs:181:13
[INFO] [stdout]     |
[INFO] [stdout] 181 |         for mut data_point in &mut self.data{
[INFO] [stdout]     |             ----^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `kB_CGS` is never used
[INFO] [stdout]   --> src/power_spectrum.rs:11:11
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub const kB_CGS:f64 = 1.380649 *10e-16; //erg K−1
[INFO] [stdout]    |           ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `h_CGS` is never used
[INFO] [stdout]   --> src/power_spectrum.rs:12:11
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub const h_CGS:f64 = 6.626069 *10e-27; //erg s
[INFO] [stdout]    |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `c_CGS` is never used
[INFO] [stdout]   --> src/power_spectrum.rs:13:11
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub const c_CGS:f64 = 2.997925 *10e10; // cm s−1
[INFO] [stdout]    |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `black_body` and `total_average_photon_flux` are never used
[INFO] [stdout]    --> src/power_spectrum.rs:93:12
[INFO] [stdout]     |
[INFO] [stdout]  28 | impl PowerSpectrum { //https://vitaly.neustroev.net/useful-info/conversions/
[INFO] [stdout]     | ------------------ associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  93 |     pub fn black_body(temp_kelvin:f64, grid1d:GRID1D, label:&'static str)-> PowerSpectrum{
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 126 |     pub fn total_average_photon_flux(&mut self)->f64{
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `F_lambda` and `Janskys` are never constructed
[INFO] [stdout]    --> src/power_spectrum.rs:139:5
[INFO] [stdout]     |
[INFO] [stdout] 137 | pub enum SpectrumUnits {
[INFO] [stdout]     |          ------------- variants in this enum
[INFO] [stdout] 138 |     F_nu, //ergs per cm^2 per s^1 per Hz
[INFO] [stdout] 139 |     F_lambda,//ergs per cm^2 per s per angstrom
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 142 |     Janskys, // ??? who knows
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `SpectrumUnits` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Bands` is never constructed
[INFO] [stdout]    --> src/power_spectrum.rs:147:12
[INFO] [stdout]     |
[INFO] [stdout] 147 | pub struct Bands {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/power_spectrum.rs:153:12
[INFO] [stdout]     |
[INFO] [stdout] 152 | impl Bands  {
[INFO] [stdout]     | ---------- associated function in this implementation
[INFO] [stdout] 153 |     pub fn new(fuv:f64,nuv:f64)->Bands{
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `NUV_CONTAMINATION_PATH` is never used
[INFO] [stdout]   --> src/visualize.rs:13:11
[INFO] [stdout]    |
[INFO] [stdout] 13 |     const NUV_CONTAMINATION_PATH: &'static str = "src/spectral_response_files/UVIM_NUV_contamination.dat";
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `NUV_CONTAMINATION_GRID` is never used
[INFO] [stdout]   --> src/visualize.rs:21:15
[INFO] [stdout]    |
[INFO] [stdout] 21 |     pub const NUV_CONTAMINATION_GRID: GRID1D = GRID1D::new_empty(1.0,110.0,999.0,0.01,1.0);
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `kB_CGS` should have an upper case name
[INFO] [stdout]   --> src/power_spectrum.rs:11:11
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub const kB_CGS:f64 = 1.380649 *10e-16; //erg K−1
[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] 11 - pub const kB_CGS:f64 = 1.380649 *10e-16; //erg K−1
[INFO] [stdout] 11 + pub const K_B_CGS:f64 = 1.380649 *10e-16; //erg K−1
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `h_CGS` should have an upper case name
[INFO] [stdout]   --> src/power_spectrum.rs:12:11
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub const h_CGS:f64 = 6.626069 *10e-27; //erg s
[INFO] [stdout]    |           ^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 12 - pub const h_CGS:f64 = 6.626069 *10e-27; //erg s
[INFO] [stdout] 12 + pub const H_CGS:f64 = 6.626069 *10e-27; //erg s
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `c_CGS` should have an upper case name
[INFO] [stdout]   --> src/power_spectrum.rs:13:11
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub const c_CGS:f64 = 2.997925 *10e10; // cm s−1
[INFO] [stdout]    |           ^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: convert the identifier to upper case (notice the capitalization)
[INFO] [stdout]    |
[INFO] [stdout] 13 - pub const c_CGS:f64 = 2.997925 *10e10; // cm s−1
[INFO] [stdout] 13 + pub const C_CGS:f64 = 2.997925 *10e10; // cm s−1
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `rand::distr::Distribution`
[INFO] [stdout]  --> src/power_spectrum.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use rand::distr::Distribution;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `flat_AB` should have a snake case name
[INFO] [stdout]   --> src/power_spectrum.rs:79:12
[INFO] [stdout]    |
[INFO] [stdout] 79 |     pub fn flat_AB(ab_mag:f64,grid1d:GRID1D,label:&'static str)-> PowerSpectrum {
[INFO] [stdout]    |            ^^^^^^^ help: convert the identifier to snake case: `flat_ab`
[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 `F_lambda` should have a snake case name
[INFO] [stdout]    --> src/power_spectrum.rs:100:17
[INFO] [stdout]     |
[INFO] [stdout] 100 |             let F_lambda = scale_factor*(1.0/(exponent.exp()-1.0));
[INFO] [stdout]     |                 ^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `f_lambda`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `FUV_DICHROIC` should have a snake case name
[INFO] [stdout]   --> src/visualize.rs:30:13
[INFO] [stdout]    |
[INFO] [stdout] 30 |     let mut FUV_DICHROIC: SpectralResponseCurve = SpectralResponseCurve::new("FUV_DICHROIC",DICHROIC_GRID,DICHROIC_PATH,1,"      ");
[INFO] [stdout]    |             ^^^^^^^^^^^^ help: convert the identifier to snake case: `fuv_dichroic`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `NUV_DICHROIC` should have a snake case name
[INFO] [stdout]   --> src/visualize.rs:31:13
[INFO] [stdout]    |
[INFO] [stdout] 31 |     let mut NUV_DICHROIC: SpectralResponseCurve = SpectralResponseCurve::new("NUV_DICHROIC",DICHROIC_GRID,DICHROIC_PATH,2,"      ");
[INFO] [stdout]    |             ^^^^^^^^^^^^ help: convert the identifier to snake case: `nuv_dichroic`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `NUV_QE` should have a snake case name
[INFO] [stdout]   --> src/visualize.rs:32:14
[INFO] [stdout]    |
[INFO] [stdout] 32 |     let mut  NUV_QE: SpectralResponseCurve = SpectralResponseCurve::new("NUV_QE",NUV_QE_CURVE_GRID,NUV_QE_CURVE_PATH,1,"   ");
[INFO] [stdout]    |              ^^^^^^ help: convert the identifier to snake case: `nuv_qe`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `FUV_CONTAMINATION` should have a snake case name
[INFO] [stdout]   --> src/visualize.rs:33:13
[INFO] [stdout]    |
[INFO] [stdout] 33 |     let mut FUV_CONTAMINATION:SpectralResponseCurve = SpectralResponseCurve::new("FUV Contamination",FUV_CONTAMINATION_GRID,FUV_CONT...
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `fuv_contamination`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `NUV_FILTER_CURVE` should have a snake case name
[INFO] [stdout]   --> src/visualize.rs:35:13
[INFO] [stdout]    |
[INFO] [stdout] 35 |     let mut NUV_FILTER_CURVE:SpectralResponseCurve = SpectralResponseCurve::new("NUV Filter response",NUV_RESPONSE_GRID,NUV_RESPONSE...
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `nuv_filter_curve`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `FUV_FILTER_CURVE` should have a snake case name
[INFO] [stdout]   --> src/visualize.rs:36:13
[INFO] [stdout]    |
[INFO] [stdout] 36 |     let mut FUV_FILTER_CURVE:SpectralResponseCurve = SpectralResponseCurve::new("FUV Filter response",FUV_RESPONSE_GRID,FUV_RESPONSE...
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `fuv_filter_curve`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `NUV_FILTER_QE` should have a snake case name
[INFO] [stdout]   --> src/visualize.rs:42:13
[INFO] [stdout]    |
[INFO] [stdout] 42 |     let mut NUV_FILTER_QE = SpectralResponseCurve::compose(vec![NUV_FILTER_CURVE,NUV_QE]);
[INFO] [stdout]    |             ^^^^^^^^^^^^^ help: convert the identifier to snake case: `nuv_filter_qe`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `MIRROR_CURVE` should have a snake case name
[INFO] [stdout]   --> src/visualize.rs:47:13
[INFO] [stdout]    |
[INFO] [stdout] 47 |     let mut MIRROR_CURVE:SpectralResponseCurve = SpectralResponseCurve::new("Mirror", MIRROR_GRID, MIRROR_PATH,1,"    ");
[INFO] [stdout]    |             ^^^^^^^^^^^^ help: convert the identifier to snake case: `mirror_curve`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `MIRROR_CURVE_3` should have a snake case name
[INFO] [stdout]   --> src/visualize.rs:49:13
[INFO] [stdout]    |
[INFO] [stdout] 49 |     let mut MIRROR_CURVE_3 = MIRROR_CURVE.clone();
[INFO] [stdout]    |             ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `mirror_curve_3`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]    --> src/power_spectrum.rs:111:47
[INFO] [stdout]     |
[INFO] [stdout] 111 |     pub fn apply_spectral_response(&mut self, mut spectral_response_curve: &SpectralResponseCurve){
[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: variable does not need to be mutable
[INFO] [stdout]    --> src/spectral_response.rs:181:13
[INFO] [stdout]     |
[INFO] [stdout] 181 |         for mut data_point in &mut self.data{
[INFO] [stdout]     |             ----^^^^^^^^^^
[INFO] [stdout]     |             |
[INFO] [stdout]     |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `kB_CGS` is never used
[INFO] [stdout]   --> src/power_spectrum.rs:11:11
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub const kB_CGS:f64 = 1.380649 *10e-16; //erg K−1
[INFO] [stdout]    |           ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `h_CGS` is never used
[INFO] [stdout]   --> src/power_spectrum.rs:12:11
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub const h_CGS:f64 = 6.626069 *10e-27; //erg s
[INFO] [stdout]    |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `c_CGS` is never used
[INFO] [stdout]   --> src/power_spectrum.rs:13:11
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub const c_CGS:f64 = 2.997925 *10e10; // cm s−1
[INFO] [stdout]    |           ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `black_body` and `total_average_photon_flux` are never used
[INFO] [stdout]    --> src/power_spectrum.rs:93:12
[INFO] [stdout]     |
[INFO] [stdout]  28 | impl PowerSpectrum { //https://vitaly.neustroev.net/useful-info/conversions/
[INFO] [stdout]     | ------------------ associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout]  93 |     pub fn black_body(temp_kelvin:f64, grid1d:GRID1D, label:&'static str)-> PowerSpectrum{
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 126 |     pub fn total_average_photon_flux(&mut self)->f64{
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `F_lambda` and `Janskys` are never constructed
[INFO] [stdout]    --> src/power_spectrum.rs:139:5
[INFO] [stdout]     |
[INFO] [stdout] 137 | pub enum SpectrumUnits {
[INFO] [stdout]     |          ------------- variants in this enum
[INFO] [stdout] 138 |     F_nu, //ergs per cm^2 per s^1 per Hz
[INFO] [stdout] 139 |     F_lambda,//ergs per cm^2 per s per angstrom
[INFO] [stdout]     |     ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 142 |     Janskys, // ??? who knows
[INFO] [stdout]     |     ^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `SpectrumUnits` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `Bands` is never constructed
[INFO] [stdout]    --> src/power_spectrum.rs:147:12
[INFO] [stdout]     |
[INFO] [stdout] 147 | pub struct Bands {
[INFO] [stdout]     |            ^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated function `new` is never used
[INFO] [stdout]    --> src/power_spectrum.rs:153:12
[INFO] [stdout]     |
[INFO] [stdout] 152 | impl Bands  {
[INFO] [stdout]     | ---------- associated function in this implementation
[INFO] [stdout] 153 |     pub fn new(fuv:f64,nuv:f64)->Bands{
[INFO] [stdout]     |            ^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `NUV_CONTAMINATION_PATH` is never used
[INFO] [stdout]   --> src/visualize.rs:13:11
[INFO] [stdout]    |
[INFO] [stdout] 13 |     const NUV_CONTAMINATION_PATH: &'static str = "src/spectral_response_files/UVIM_NUV_contamination.dat";
[INFO] [stdout]    |           ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `NUV_CONTAMINATION_GRID` is never used
[INFO] [stdout]   --> src/visualize.rs:21:15
[INFO] [stdout]    |
[INFO] [stdout] 21 |     pub const NUV_CONTAMINATION_GRID: GRID1D = GRID1D::new_empty(1.0,110.0,999.0,0.01,1.0);
[INFO] [stdout]    |               ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `kB_CGS` should have an upper case name
[INFO] [stdout]   --> src/power_spectrum.rs:11:11
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub const kB_CGS:f64 = 1.380649 *10e-16; //erg K−1
[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] 11 - pub const kB_CGS:f64 = 1.380649 *10e-16; //erg K−1
[INFO] [stdout] 11 + pub const K_B_CGS:f64 = 1.380649 *10e-16; //erg K−1
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `h_CGS` should have an upper case name
[INFO] [stdout]   --> src/power_spectrum.rs:12:11
[INFO] [stdout]    |
[INFO] [stdout] 12 | pub const h_CGS:f64 = 6.626069 *10e-27; //erg s
[INFO] [stdout]    |           ^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: convert the identifier to upper case
[INFO] [stdout]    |
[INFO] [stdout] 12 - pub const h_CGS:f64 = 6.626069 *10e-27; //erg s
[INFO] [stdout] 12 + pub const H_CGS:f64 = 6.626069 *10e-27; //erg s
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `c_CGS` should have an upper case name
[INFO] [stdout]   --> src/power_spectrum.rs:13:11
[INFO] [stdout]    |
[INFO] [stdout] 13 | pub const c_CGS:f64 = 2.997925 *10e10; // cm s−1
[INFO] [stdout]    |           ^^^^^
[INFO] [stdout]    |
[INFO] [stdout] help: convert the identifier to upper case (notice the capitalization)
[INFO] [stdout]    |
[INFO] [stdout] 13 - pub const c_CGS:f64 = 2.997925 *10e10; // cm s−1
[INFO] [stdout] 13 + pub const C_CGS:f64 = 2.997925 *10e10; // cm s−1
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `flat_AB` should have a snake case name
[INFO] [stdout]   --> src/power_spectrum.rs:79:12
[INFO] [stdout]    |
[INFO] [stdout] 79 |     pub fn flat_AB(ab_mag:f64,grid1d:GRID1D,label:&'static str)-> PowerSpectrum {
[INFO] [stdout]    |            ^^^^^^^ help: convert the identifier to snake case: `flat_ab`
[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 `F_lambda` should have a snake case name
[INFO] [stdout]    --> src/power_spectrum.rs:100:17
[INFO] [stdout]     |
[INFO] [stdout] 100 |             let F_lambda = scale_factor*(1.0/(exponent.exp()-1.0));
[INFO] [stdout]     |                 ^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `f_lambda`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `FUV_DICHROIC` should have a snake case name
[INFO] [stdout]   --> src/visualize.rs:30:13
[INFO] [stdout]    |
[INFO] [stdout] 30 |     let mut FUV_DICHROIC: SpectralResponseCurve = SpectralResponseCurve::new("FUV_DICHROIC",DICHROIC_GRID,DICHROIC_PATH,1,"      ");
[INFO] [stdout]    |             ^^^^^^^^^^^^ help: convert the identifier to snake case: `fuv_dichroic`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `NUV_DICHROIC` should have a snake case name
[INFO] [stdout]   --> src/visualize.rs:31:13
[INFO] [stdout]    |
[INFO] [stdout] 31 |     let mut NUV_DICHROIC: SpectralResponseCurve = SpectralResponseCurve::new("NUV_DICHROIC",DICHROIC_GRID,DICHROIC_PATH,2,"      ");
[INFO] [stdout]    |             ^^^^^^^^^^^^ help: convert the identifier to snake case: `nuv_dichroic`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `NUV_QE` should have a snake case name
[INFO] [stdout]   --> src/visualize.rs:32:14
[INFO] [stdout]    |
[INFO] [stdout] 32 |     let mut  NUV_QE: SpectralResponseCurve = SpectralResponseCurve::new("NUV_QE",NUV_QE_CURVE_GRID,NUV_QE_CURVE_PATH,1,"   ");
[INFO] [stdout]    |              ^^^^^^ help: convert the identifier to snake case: `nuv_qe`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `FUV_CONTAMINATION` should have a snake case name
[INFO] [stdout]   --> src/visualize.rs:33:13
[INFO] [stdout]    |
[INFO] [stdout] 33 |     let mut FUV_CONTAMINATION:SpectralResponseCurve = SpectralResponseCurve::new("FUV Contamination",FUV_CONTAMINATION_GRID,FUV_CONT...
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `fuv_contamination`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `NUV_FILTER_CURVE` should have a snake case name
[INFO] [stdout]   --> src/visualize.rs:35:13
[INFO] [stdout]    |
[INFO] [stdout] 35 |     let mut NUV_FILTER_CURVE:SpectralResponseCurve = SpectralResponseCurve::new("NUV Filter response",NUV_RESPONSE_GRID,NUV_RESPONSE...
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `nuv_filter_curve`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `FUV_FILTER_CURVE` should have a snake case name
[INFO] [stdout]   --> src/visualize.rs:36:13
[INFO] [stdout]    |
[INFO] [stdout] 36 |     let mut FUV_FILTER_CURVE:SpectralResponseCurve = SpectralResponseCurve::new("FUV Filter response",FUV_RESPONSE_GRID,FUV_RESPONSE...
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `fuv_filter_curve`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `NUV_FILTER_QE` should have a snake case name
[INFO] [stdout]   --> src/visualize.rs:42:13
[INFO] [stdout]    |
[INFO] [stdout] 42 |     let mut NUV_FILTER_QE = SpectralResponseCurve::compose(vec![NUV_FILTER_CURVE,NUV_QE]);
[INFO] [stdout]    |             ^^^^^^^^^^^^^ help: convert the identifier to snake case: `nuv_filter_qe`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `MIRROR_CURVE` should have a snake case name
[INFO] [stdout]   --> src/visualize.rs:47:13
[INFO] [stdout]    |
[INFO] [stdout] 47 |     let mut MIRROR_CURVE:SpectralResponseCurve = SpectralResponseCurve::new("Mirror", MIRROR_GRID, MIRROR_PATH,1,"    ");
[INFO] [stdout]    |             ^^^^^^^^^^^^ help: convert the identifier to snake case: `mirror_curve`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `MIRROR_CURVE_3` should have a snake case name
[INFO] [stdout]   --> src/visualize.rs:49:13
[INFO] [stdout]    |
[INFO] [stdout] 49 |     let mut MIRROR_CURVE_3 = MIRROR_CURVE.clone();
[INFO] [stdout]    |             ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `mirror_curve_3`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 34s
[INFO] running `Command { std: "docker" "inspect" "0cdf8d0d970f0847cdbf300de97312d43d32441504dcb1379322c0638bf5e7de", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "0cdf8d0d970f0847cdbf300de97312d43d32441504dcb1379322c0638bf5e7de", kill_on_drop: false }`
[INFO] [stdout] 0cdf8d0d970f0847cdbf300de97312d43d32441504dcb1379322c0638bf5e7de
