[INFO] cloning repository https://github.com/AstroJH/DustReverb [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AstroJH/DustReverb" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAstroJH%2FDustReverb", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAstroJH%2FDustReverb'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] cbf2cb19e26a395891f2f20694d3b04edd6c4ec0 [INFO] checking AstroJH/DustReverb against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAstroJH%2FDustReverb" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/AstroJH/DustReverb [INFO] finished tweaking git repo https://github.com/AstroJH/DustReverb [INFO] tweaked toml for git repo https://github.com/AstroJH/DustReverb written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/AstroJH/DustReverb on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/AstroJH/DustReverb 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 428e76cedb1bd92a53615146d84565b31ade2e6fa41c205c70e61e9d1c236bcd [INFO] running `Command { std: "docker" "start" "-a" "428e76cedb1bd92a53615146d84565b31ade2e6fa41c205c70e61e9d1c236bcd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "428e76cedb1bd92a53615146d84565b31ade2e6fa41c205c70e61e9d1c236bcd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "428e76cedb1bd92a53615146d84565b31ade2e6fa41c205c70e61e9d1c236bcd", kill_on_drop: false }` [INFO] [stdout] 428e76cedb1bd92a53615146d84565b31ade2e6fa41c205c70e61e9d1c236bcd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Dunmustuse_in_always_ok" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 18969cd737a58b0bf44c8d0681bc8dd2f6b15fb5706d6ab888e4a130227cad65 [INFO] running `Command { std: "docker" "start" "-a" "18969cd737a58b0bf44c8d0681bc8dd2f6b15fb5706d6ab888e4a130227cad65", kill_on_drop: false }` [INFO] [stderr] Compiling target-lexicon v0.13.2 [INFO] [stderr] Compiling proc-macro2 v1.0.96 [INFO] [stderr] Compiling libm v0.2.15 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling zerocopy v0.8.26 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Compiling cc v1.2.34 [INFO] [stderr] Checking bytemuck v1.23.2 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking safe_arch v0.7.4 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling autotools v0.2.7 [INFO] [stderr] Compiling pyo3-build-config v0.25.1 [INFO] [stderr] Compiling syn v2.0.104 [INFO] [stderr] Checking wide v0.7.33 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking csv-core v0.1.12 [INFO] [stderr] Compiling fitsio-sys v0.5.5 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking rustc-hash v2.1.1 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Checking fitsio v0.17.0 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Compiling pyo3-macros-backend v0.25.1 [INFO] [stderr] Compiling pyo3-ffi v0.25.1 [INFO] [stderr] Compiling pyo3 v0.25.1 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Compiling numpy v0.25.0 [INFO] [stderr] Checking simba v0.9.0 [INFO] [stderr] Checking ndarray v0.16.1 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking rand_distr v0.5.1 [INFO] [stderr] Checking csv v1.3.1 [INFO] [stderr] Compiling nalgebra-macros v0.2.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking nalgebra v0.33.2 [INFO] [stderr] Compiling pyo3-macros v0.25.1 [INFO] [stderr] Checking eqsolver v0.3.0 [INFO] [stderr] Checking DustReverb v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `f64::consts::FRAC_2_PI` [INFO] [stdout] --> src/lightcurve.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{f64::consts::FRAC_2_PI, fs::File}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utils::mag2flux` [INFO] [stdout] --> src/lightcurve.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::utils::mag2flux; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FLUX_ZERO_W1` and `FLUX_ZERO_W2` [INFO] [stdout] --> src/lightcurve.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::consts::{FLUX_ZERO_W1, FLUX_ZERO_W2}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `f64::consts::FRAC_2_PI` [INFO] [stdout] --> src/lightcurve.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | use std::{f64::consts::FRAC_2_PI, fs::File}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::utils::mag2flux` [INFO] [stdout] --> src/lightcurve.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::utils::mag2flux; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `FLUX_ZERO_W1` and `FLUX_ZERO_W2` [INFO] [stdout] --> src/lightcurve.rs:9:21 [INFO] [stdout] | [INFO] [stdout] 9 | use crate::consts::{FLUX_ZERO_W1, FLUX_ZERO_W2}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lightcurve.rs:201:13 [INFO] [stdout] | [INFO] [stdout] 201 | let mut sf_val = Vec::::with_capacity(16); [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/lightcurve.rs:202:13 [INFO] [stdout] | [INFO] [stdout] 202 | let mut sf_err = Vec::::with_capacity(16); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dmag` [INFO] [stdout] --> src/lightcurve.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let (tau, dmag, dmag_err) [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dmag` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dmag_err` [INFO] [stdout] --> src/lightcurve.rs:205:29 [INFO] [stdout] | [INFO] [stdout] 205 | let (tau, dmag, dmag_err) [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dmag_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/lightcurve.rs:201:13 [INFO] [stdout] | [INFO] [stdout] 201 | let mut sf_val = Vec::::with_capacity(16); [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/lightcurve.rs:202:13 [INFO] [stdout] | [INFO] [stdout] 202 | let mut sf_err = Vec::::with_capacity(16); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dmag` [INFO] [stdout] --> src/lightcurve.rs:205:23 [INFO] [stdout] | [INFO] [stdout] 205 | let (tau, dmag, dmag_err) [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dmag` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dmag_err` [INFO] [stdout] --> src/lightcurve.rs:205:29 [INFO] [stdout] | [INFO] [stdout] 205 | let (tau, dmag, dmag_err) [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dmag_err` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `JUMP` is never constructed [INFO] [stdout] --> src/objects.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum UVSourceType { [INFO] [stdout] | ------------ variant in this enum [INFO] [stdout] 16 | CONSTANT(f64), // val [INFO] [stdout] 17 | JUMP(f64, f64, f64), // (val0, val1, t_jump) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UVSourceType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_jump` is never used [INFO] [stdout] --> src/objects.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl UVSource { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn from_jump(val0: f64, val1: f64, t_jump: f64) -> UVSource { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tau_ir` is never read [INFO] [stdout] --> src/objects.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct DustCube { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 104 | tau_ir: f64, // dimensionless [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DustCube` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `theta`, `phi`, `d_theta`, and `d_phi` are never read [INFO] [stdout] --> src/objects.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 108 | pub struct DustCone { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 109 | // orientation [INFO] [stdout] 110 | theta: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 111 | phi: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] 112 | d_theta: f64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 113 | d_phi: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DustCone` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DustShellType` is never used [INFO] [stdout] --> src/objects.rs:123:10 [INFO] [stdout] | [INFO] [stdout] 123 | pub enum DustShellType { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `edge_radius` is never read [INFO] [stdout] --> src/objects.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 130 | pub struct DustShell { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 138 | edge_radius: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DustShell` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_tau_ir` is never used [INFO] [stdout] --> src/objects.rs:216:12 [INFO] [stdout] | [INFO] [stdout] 144 | impl DustCube { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 216 | pub fn get_tau_ir(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `locate_cube`, `locate_cube_mut`, and `test_and_debug` are never used [INFO] [stdout] --> src/objects.rs:418:12 [INFO] [stdout] | [INFO] [stdout] 382 | impl DustCone { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 418 | pub fn locate_cube(&self, r: f64) -> Option<&DustCube> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 427 | pub fn locate_cube_mut(&mut self, r: f64) -> Option<&mut DustCube> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 470 | pub fn test_and_debug(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `build_simple_shell` and `test_and_debug` are never used [INFO] [stdout] --> src/objects.rs:525:12 [INFO] [stdout] | [INFO] [stdout] 483 | impl DustShell { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 525 | pub fn build_simple_shell( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 636 | pub fn test_and_debug(&self, i_cone: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `FailedSearchInterval` is never constructed [INFO] [stdout] --> src/errors.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Errors { [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] 6 | #[error("Invalid IntervalResult.")] [INFO] [stdout] 7 | FailedSearchInterval, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Errors` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TRIPLE_PI` is never used [INFO] [stdout] --> src/consts.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub const TRIPLE_PI: f64 = 3.0 * PI; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FLUX_ZERO_W1` is never used [INFO] [stdout] --> src/consts.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | pub const FLUX_ZERO_W1: f64 = 306.681; // Jy [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FLUX_ZERO_W2` is never used [INFO] [stdout] --> src/consts.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | pub const FLUX_ZERO_W2: f64 = 170.663; // Jy [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_last_cube_record` and `write` are never used [INFO] [stdout] --> src/record.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl DiscreteTimeMachine { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn get_last_cube_record(&self, r: f64, theta: f64, phi: f64) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 224 | pub fn write(&self, output: &str) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `flux2mag` is never used [INFO] [stdout] --> src/utils.rs:97:8 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn flux2mag(flux: f64, flux_zero: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mag2flux` is never used [INFO] [stdout] --> src/utils.rs:104:8 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn mag2flux(mag: f64, flux_zero: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DustReverbOptions` is never constructed [INFO] [stdout] --> src/options.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct DustReverbOptions { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `len` and `resample` are never used [INFO] [stdout] --> src/lightcurve.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Lightcurve { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | pub fn resample(original: &[Self]) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result<(pyo3::Bound<'_, PyArray>>, pyo3::Bound<'_, PyArray>>, pyo3::Bound<'_, PyArray>>), Infallible> [INFO] [stdout] --> src/lib.rs:269:10 [INFO] [stdout] | [INFO] [stdout] 269 | ) -> (Bound<'py, PyArrayDyn>, Bound<'py, PyArrayDyn>, Bound<'py, PyArrayDyn>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result<(pyo3::Bound<'_, PyArray>>, pyo3::Bound<'_, PyArray>>, pyo3::Bound<'_, PyArray>>), Infallible> [INFO] [stdout] --> src/lib.rs:297:10 [INFO] [stdout] | [INFO] [stdout] 297 | ) -> (Bound<'py, PyArrayDyn>, Bound<'py, PyArrayDyn>, Bound<'py, PyArrayDyn>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `DustReverb` (lib test) due to 2 previous errors; 25 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variants `CONSTANT` and `JUMP` are never constructed [INFO] [stdout] --> src/objects.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub enum UVSourceType { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] 16 | CONSTANT(f64), // val [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 17 | JUMP(f64, f64, f64), // (val0, val1, t_jump) [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UVSourceType` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `from_constant` and `from_jump` are never used [INFO] [stdout] --> src/objects.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl UVSource { [INFO] [stdout] | ------------- associated functions in this implementation [INFO] [stdout] 22 | pub fn from_constant(val: f64) -> UVSource { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn from_jump(val0: f64, val1: f64, t_jump: f64) -> UVSource { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `tau_ir` is never read [INFO] [stdout] --> src/objects.rs:104:5 [INFO] [stdout] | [INFO] [stdout] 87 | pub struct DustCube { [INFO] [stdout] | -------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 104 | tau_ir: f64, // dimensionless [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DustCube` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `theta`, `phi`, `d_theta`, and `d_phi` are never read [INFO] [stdout] --> src/objects.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 108 | pub struct DustCone { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 109 | // orientation [INFO] [stdout] 110 | theta: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 111 | phi: f64, [INFO] [stdout] | ^^^ [INFO] [stdout] 112 | d_theta: f64, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 113 | d_phi: f64, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DustCone` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `DustShellType` is never used [INFO] [stdout] --> src/objects.rs:123:10 [INFO] [stdout] | [INFO] [stdout] 123 | pub enum DustShellType { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `edge_radius` is never read [INFO] [stdout] --> src/objects.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 130 | pub struct DustShell { [INFO] [stdout] | --------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 138 | edge_radius: Vec, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `DustShell` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_tau_ir` is never used [INFO] [stdout] --> src/objects.rs:216:12 [INFO] [stdout] | [INFO] [stdout] 144 | impl DustCube { [INFO] [stdout] | ------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 216 | pub fn get_tau_ir(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `locate_cube`, `locate_cube_mut`, and `test_and_debug` are never used [INFO] [stdout] --> src/objects.rs:418:12 [INFO] [stdout] | [INFO] [stdout] 382 | impl DustCone { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 418 | pub fn locate_cube(&self, r: f64) -> Option<&DustCube> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 427 | pub fn locate_cube_mut(&mut self, r: f64) -> Option<&mut DustCube> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 470 | pub fn test_and_debug(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `build_simple_shell` and `test_and_debug` are never used [INFO] [stdout] --> src/objects.rs:525:12 [INFO] [stdout] | [INFO] [stdout] 483 | impl DustShell { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 525 | pub fn build_simple_shell( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 636 | pub fn test_and_debug(&self, i_cone: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `FailedSearchInterval` is never constructed [INFO] [stdout] --> src/errors.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub enum Errors { [INFO] [stdout] | ------ variant in this enum [INFO] [stdout] 6 | #[error("Invalid IntervalResult.")] [INFO] [stdout] 7 | FailedSearchInterval, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Errors` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `TRIPLE_PI` is never used [INFO] [stdout] --> src/consts.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub const TRIPLE_PI: f64 = 3.0 * PI; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FLUX_ZERO_W1` is never used [INFO] [stdout] --> src/consts.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | pub const FLUX_ZERO_W1: f64 = 306.681; // Jy [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `FLUX_ZERO_W2` is never used [INFO] [stdout] --> src/consts.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | pub const FLUX_ZERO_W2: f64 = 170.663; // Jy [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_last_cube_record` and `write` are never used [INFO] [stdout] --> src/record.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl DiscreteTimeMachine { [INFO] [stdout] | ------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn get_last_cube_record(&self, r: f64, theta: f64, phi: f64) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 224 | pub fn write(&self, output: &str) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `flux2mag` is never used [INFO] [stdout] --> src/utils.rs:97:8 [INFO] [stdout] | [INFO] [stdout] 97 | pub fn flux2mag(flux: f64, flux_zero: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mag2flux` is never used [INFO] [stdout] --> src/utils.rs:104:8 [INFO] [stdout] | [INFO] [stdout] 104 | pub fn mag2flux(mag: f64, flux_zero: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `DustReverbOptions` is never constructed [INFO] [stdout] --> src/options.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct DustReverbOptions { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `len` and `resample` are never used [INFO] [stdout] --> src/lightcurve.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Lightcurve { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 221 | pub fn resample(original: &[Self]) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result<(pyo3::Bound<'_, PyArray>>, pyo3::Bound<'_, PyArray>>, pyo3::Bound<'_, PyArray>>), Infallible> [INFO] [stdout] --> src/lib.rs:269:10 [INFO] [stdout] | [INFO] [stdout] 269 | ) -> (Bound<'py, PyArrayDyn>, Bound<'py, PyArrayDyn>, Bound<'py, PyArrayDyn>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result<(pyo3::Bound<'_, PyArray>>, pyo3::Bound<'_, PyArray>>, pyo3::Bound<'_, PyArray>>), Infallible> [INFO] [stdout] --> src/lib.rs:297:10 [INFO] [stdout] | [INFO] [stdout] 297 | ) -> (Bound<'py, PyArrayDyn>, Bound<'py, PyArrayDyn>, Bound<'py, PyArrayDyn>) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `DustReverb` (lib) due to 2 previous errors; 25 warnings emitted [INFO] running `Command { std: "docker" "inspect" "18969cd737a58b0bf44c8d0681bc8dd2f6b15fb5706d6ab888e4a130227cad65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18969cd737a58b0bf44c8d0681bc8dd2f6b15fb5706d6ab888e4a130227cad65", kill_on_drop: false }` [INFO] [stdout] 18969cd737a58b0bf44c8d0681bc8dd2f6b15fb5706d6ab888e4a130227cad65