[INFO] fetching crate voxcov 0.2.8... [INFO] checking voxcov-0.2.8 against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] extracting crate voxcov 0.2.8 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate voxcov 0.2.8 on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate voxcov 0.2.8 [INFO] finished tweaking crates.io crate voxcov 0.2.8 [INFO] tweaked toml for crates.io crate voxcov 0.2.8 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate crates.io crate voxcov 0.2.8 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0c2bcecd9edb0f20a8631d2520670ed5881ad1c241bd165f4dbc005c44743c77 [INFO] running `Command { std: "docker" "start" "-a" "0c2bcecd9edb0f20a8631d2520670ed5881ad1c241bd165f4dbc005c44743c77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0c2bcecd9edb0f20a8631d2520670ed5881ad1c241bd165f4dbc005c44743c77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0c2bcecd9edb0f20a8631d2520670ed5881ad1c241bd165f4dbc005c44743c77", kill_on_drop: false }` [INFO] [stdout] 0c2bcecd9edb0f20a8631d2520670ed5881ad1c241bd165f4dbc005c44743c77 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c737f09285e39f11470eb5bde79e86cb485403a1be5d61b3ab5579003178c8ad [INFO] running `Command { std: "docker" "start" "-a" "c737f09285e39f11470eb5bde79e86cb485403a1be5d61b3ab5579003178c8ad", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.148 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling rayon-core v1.11.0 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking crossbeam-channel v0.5.8 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Checking getrandom v0.2.10 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rayon v1.7.0 [INFO] [stderr] Checking voxcov v0.2.8 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Gaussian1D` [INFO] [stdout] --> src/bfactor.rs:1:47 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::blur::{AddGaussianToMap, Gaussian, Gaussian1D, GaussianBlur, GetDensity, Map, RawMap}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Gaussian1D` [INFO] [stdout] --> src/bfactor.rs:1:47 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::blur::{AddGaussianToMap, Gaussian, Gaussian1D, GaussianBlur, GetDensity, Map, RawMap}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Grid` [INFO] [stdout] --> src/bfactor.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::grid::{Grid, GridLike}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Grid` [INFO] [stdout] --> src/bfactor.rs:3:19 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::grid::{Grid, GridLike}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::score::LinearBin` [INFO] [stdout] --> src/bfactor.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::score::LinearBin; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::score::LinearBin` [INFO] [stdout] --> src/bfactor.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::score::LinearBin; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/blur.rs:55:44 [INFO] [stdout] | [INFO] [stdout] 55 | pdf: 1f64 / (sigma * f64::powf((2f64 * std::f64::consts::PI), 0.5)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 55 - pdf: 1f64 / (sigma * f64::powf((2f64 * std::f64::consts::PI), 0.5)), [INFO] [stdout] 55 + pdf: 1f64 / (sigma * f64::powf(2f64 * std::f64::consts::PI, 0.5)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/blur.rs:97:54 [INFO] [stdout] | [INFO] [stdout] 97 | / (sigma * sigma * sigma * f64::powf((2f64 * std::f64::consts::PI), 3.0 / 2.0)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 97 - / (sigma * sigma * sigma * f64::powf((2f64 * std::f64::consts::PI), 3.0 / 2.0)), [INFO] [stdout] 97 + / (sigma * sigma * sigma * f64::powf(2f64 * std::f64::consts::PI, 3.0 / 2.0)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/blur.rs:55:44 [INFO] [stdout] | [INFO] [stdout] 55 | pdf: 1f64 / (sigma * f64::powf((2f64 * std::f64::consts::PI), 0.5)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 55 - pdf: 1f64 / (sigma * f64::powf((2f64 * std::f64::consts::PI), 0.5)), [INFO] [stdout] 55 + pdf: 1f64 / (sigma * f64::powf(2f64 * std::f64::consts::PI, 0.5)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around function argument [INFO] [stdout] --> src/blur.rs:97:54 [INFO] [stdout] | [INFO] [stdout] 97 | / (sigma * sigma * sigma * f64::powf((2f64 * std::f64::consts::PI), 3.0 / 2.0)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 97 - / (sigma * sigma * sigma * f64::powf((2f64 * std::f64::consts::PI), 3.0 / 2.0)), [INFO] [stdout] 97 + / (sigma * sigma * sigma * f64::powf(2f64 * std::f64::consts::PI, 3.0 / 2.0)), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/blur.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 69 | return r; [INFO] [stdout] | -------- any code following this expression is unreachable [INFO] [stdout] 70 | / if r.is_nan() { [INFO] [stdout] 71 | | return 0f64; [INFO] [stdout] 72 | | } [INFO] [stdout] | |_________^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/blur.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 69 | return r; [INFO] [stdout] | -------- any code following this expression is unreachable [INFO] [stdout] 70 | / if r.is_nan() { [INFO] [stdout] 71 | | return 0f64; [INFO] [stdout] 72 | | } [INFO] [stdout] | |_________^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/grid.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 131 | return (); [INFO] [stdout] | --------- any code following this expression is unreachable [INFO] [stdout] 132 | // iterate over any region which has been touched. [INFO] [stdout] 133 | / if let Some(low) = self.low { [INFO] [stdout] 134 | | if let Some(high) = self.high { [INFO] [stdout] 135 | | for i in low[0]..=high[0] { [INFO] [stdout] 136 | | for j in low[1]..=high[1] { [INFO] [stdout] ... | [INFO] [stdout] 142 | | } [INFO] [stdout] 143 | | } [INFO] [stdout] | |_________^ unreachable statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> src/grid.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 131 | return (); [INFO] [stdout] | --------- any code following this expression is unreachable [INFO] [stdout] 132 | // iterate over any region which has been touched. [INFO] [stdout] 133 | / if let Some(low) = self.low { [INFO] [stdout] 134 | | if let Some(high) = self.high { [INFO] [stdout] 135 | | for i in low[0]..=high[0] { [INFO] [stdout] 136 | | for j in low[1]..=high[1] { [INFO] [stdout] ... | [INFO] [stdout] 142 | | } [INFO] [stdout] 143 | | } [INFO] [stdout] | |_________^ unreachable statement [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GridLike` [INFO] [stdout] --> src/bfactor.rs:3:25 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::grid::{Grid, GridLike}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bi` [INFO] [stdout] --> src/bfactor.rs:197:17 [INFO] [stdout] | [INFO] [stdout] 197 | let mut bi = BoundingBoxIter::new(bb.lower, bb.upper); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_bi` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `q` [INFO] [stdout] --> src/bfactor.rs:202:17 [INFO] [stdout] | [INFO] [stdout] 202 | let mut q = 0; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `back` [INFO] [stdout] --> src/bfactor.rs:188:54 [INFO] [stdout] | [INFO] [stdout] 188 | fn maximise(&mut self, data: &Map, obs: &RawMap, back: f64, sigma: f64) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_back` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bfactor.rs:197:13 [INFO] [stdout] | [INFO] [stdout] 197 | let mut bi = BoundingBoxIter::new(bb.lower, bb.upper); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bfactor.rs:202:13 [INFO] [stdout] | [INFO] [stdout] 202 | let mut q = 0; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bi` [INFO] [stdout] --> src/bfactor.rs:237:17 [INFO] [stdout] | [INFO] [stdout] 237 | let mut bi = BoundingBoxIter::new(bb.lower, bb.upper); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_bi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bfactor.rs:237:13 [INFO] [stdout] | [INFO] [stdout] 237 | let mut bi = BoundingBoxIter::new(bb.lower, bb.upper); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `obs` [INFO] [stdout] --> src/bfactor.rs:268:26 [INFO] [stdout] | [INFO] [stdout] 268 | fn likelihood(&self, obs: &RawMap) -> f64 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_obs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bi` [INFO] [stdout] --> src/bfactor.rs:279:17 [INFO] [stdout] | [INFO] [stdout] 279 | let mut bi = BoundingBoxIter::new(dens.low.unwrap(), dens.high.unwrap()); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_bi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `tot` is never read [INFO] [stdout] --> src/bfactor.rs:280:17 [INFO] [stdout] | [INFO] [stdout] 280 | let mut tot = 0f64; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `old_mean` [INFO] [stdout] --> src/bfactor.rs:311:13 [INFO] [stdout] | [INFO] [stdout] 311 | let old_mean = self.mean; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_old_mean` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `back` [INFO] [stdout] --> src/bfactor.rs:277:54 [INFO] [stdout] | [INFO] [stdout] 277 | fn maximise(&mut self, data: &Map, obs: &RawMap, back: f64, sigma: f64) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_back` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sigma` [INFO] [stdout] --> src/bfactor.rs:277:65 [INFO] [stdout] | [INFO] [stdout] 277 | fn maximise(&mut self, data: &Map, obs: &RawMap, back: f64, sigma: f64) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_sigma` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bfactor.rs:279:13 [INFO] [stdout] | [INFO] [stdout] 279 | let mut bi = BoundingBoxIter::new(dens.low.unwrap(), dens.high.unwrap()); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bfactor.rs:282:13 [INFO] [stdout] | [INFO] [stdout] 282 | let mut bi = BoundingBoxIter::new(dens.low.unwrap(), dens.high.unwrap()); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bfactor.rs:297:13 [INFO] [stdout] | [INFO] [stdout] 297 | let mut bi = BoundingBoxIter::new(dens.low.unwrap(), dens.high.unwrap()); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/bfactor.rs:324:20 [INFO] [stdout] | [INFO] [stdout] 324 | fn mean(&self, data: &Map, obs: &RawMap) -> Point { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `obs` [INFO] [stdout] --> src/bfactor.rs:324:32 [INFO] [stdout] | [INFO] [stdout] 324 | fn mean(&self, data: &Map, obs: &RawMap) -> Point { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_obs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `obs` [INFO] [stdout] --> src/bfactor.rs:327:26 [INFO] [stdout] | [INFO] [stdout] 327 | fn likelihood(&self, obs: &RawMap) -> f64 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_obs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/bfactor.rs:418:35 [INFO] [stdout] | [INFO] [stdout] 418 | fn gaussian_likelihood(&self, idx: usize) -> f64 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `ret` is never read [INFO] [stdout] --> src/bfactor.rs:496:9 [INFO] [stdout] | [INFO] [stdout] 496 | ret = ret.max(pz); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `GridLike` [INFO] [stdout] --> src/bfactor.rs:3:25 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::grid::{Grid, GridLike}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bi` [INFO] [stdout] --> src/bfactor.rs:197:17 [INFO] [stdout] | [INFO] [stdout] 197 | let mut bi = BoundingBoxIter::new(bb.lower, bb.upper); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_bi` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `q` [INFO] [stdout] --> src/bfactor.rs:202:17 [INFO] [stdout] | [INFO] [stdout] 202 | let mut q = 0; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_q` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `back` [INFO] [stdout] --> src/bfactor.rs:188:54 [INFO] [stdout] | [INFO] [stdout] 188 | fn maximise(&mut self, data: &Map, obs: &RawMap, back: f64, sigma: f64) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_back` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bfactor.rs:197:13 [INFO] [stdout] | [INFO] [stdout] 197 | let mut bi = BoundingBoxIter::new(bb.lower, bb.upper); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bfactor.rs:202:13 [INFO] [stdout] | [INFO] [stdout] 202 | let mut q = 0; [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bi` [INFO] [stdout] --> src/bfactor.rs:237:17 [INFO] [stdout] | [INFO] [stdout] 237 | let mut bi = BoundingBoxIter::new(bb.lower, bb.upper); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_bi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bfactor.rs:237:13 [INFO] [stdout] | [INFO] [stdout] 237 | let mut bi = BoundingBoxIter::new(bb.lower, bb.upper); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `obs` [INFO] [stdout] --> src/bfactor.rs:268:26 [INFO] [stdout] | [INFO] [stdout] 268 | fn likelihood(&self, obs: &RawMap) -> f64 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_obs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bi` [INFO] [stdout] --> src/bfactor.rs:279:17 [INFO] [stdout] | [INFO] [stdout] 279 | let mut bi = BoundingBoxIter::new(dens.low.unwrap(), dens.high.unwrap()); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_bi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `tot` is never read [INFO] [stdout] --> src/bfactor.rs:280:17 [INFO] [stdout] | [INFO] [stdout] 280 | let mut tot = 0f64; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `old_mean` [INFO] [stdout] --> src/bfactor.rs:311:13 [INFO] [stdout] | [INFO] [stdout] 311 | let old_mean = self.mean; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_old_mean` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `back` [INFO] [stdout] --> src/bfactor.rs:277:54 [INFO] [stdout] | [INFO] [stdout] 277 | fn maximise(&mut self, data: &Map, obs: &RawMap, back: f64, sigma: f64) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_back` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `sigma` [INFO] [stdout] --> src/bfactor.rs:277:65 [INFO] [stdout] | [INFO] [stdout] 277 | fn maximise(&mut self, data: &Map, obs: &RawMap, back: f64, sigma: f64) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_sigma` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bfactor.rs:279:13 [INFO] [stdout] | [INFO] [stdout] 279 | let mut bi = BoundingBoxIter::new(dens.low.unwrap(), dens.high.unwrap()); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bfactor.rs:282:13 [INFO] [stdout] | [INFO] [stdout] 282 | let mut bi = BoundingBoxIter::new(dens.low.unwrap(), dens.high.unwrap()); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/bfactor.rs:297:13 [INFO] [stdout] | [INFO] [stdout] 297 | let mut bi = BoundingBoxIter::new(dens.low.unwrap(), dens.high.unwrap()); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `data` [INFO] [stdout] --> src/bfactor.rs:324:20 [INFO] [stdout] | [INFO] [stdout] 324 | fn mean(&self, data: &Map, obs: &RawMap) -> Point { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_data` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `obs` [INFO] [stdout] --> src/bfactor.rs:324:32 [INFO] [stdout] | [INFO] [stdout] 324 | fn mean(&self, data: &Map, obs: &RawMap) -> Point { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_obs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `obs` [INFO] [stdout] --> src/bfactor.rs:327:26 [INFO] [stdout] | [INFO] [stdout] 327 | fn likelihood(&self, obs: &RawMap) -> f64 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_obs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `idx` [INFO] [stdout] --> src/bfactor.rs:418:35 [INFO] [stdout] | [INFO] [stdout] 418 | fn gaussian_likelihood(&self, idx: usize) -> f64 { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_idx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `ret` is never read [INFO] [stdout] --> src/bfactor.rs:496:9 [INFO] [stdout] | [INFO] [stdout] 496 | ret = ret.max(pz); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `likelihood` is never used [INFO] [stdout] --> src/bfactor.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 90 | trait EM { [INFO] [stdout] | -- method in this trait [INFO] [stdout] ... [INFO] [stdout] 94 | fn likelihood(&self, obs: &RawMap) -> f64; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_mean` is never used [INFO] [stdout] --> src/bfactor.rs:128:8 [INFO] [stdout] | [INFO] [stdout] 123 | impl UniformComp { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 128 | fn set_mean(&mut self, mean: f64) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `likelihood`, `gaussian_likelihood`, and `noise_likelihood` are never used [INFO] [stdout] --> src/bfactor.rs:415:8 [INFO] [stdout] | [INFO] [stdout] 339 | impl Mixture { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 415 | fn likelihood(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 418 | fn gaussian_likelihood(&self, idx: usize) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 421 | fn noise_likelihood(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `width` is never read [INFO] [stdout] --> src/coverage.rs:186:5 [INFO] [stdout] | [INFO] [stdout] 185 | pub struct GridCoverageMap { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 186 | width: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `likelihood` is never used [INFO] [stdout] --> src/bfactor.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 90 | trait EM { [INFO] [stdout] | -- method in this trait [INFO] [stdout] ... [INFO] [stdout] 94 | fn likelihood(&self, obs: &RawMap) -> f64; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set_mean` is never used [INFO] [stdout] --> src/bfactor.rs:128:8 [INFO] [stdout] | [INFO] [stdout] 123 | impl UniformComp { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 128 | fn set_mean(&mut self, mean: f64) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `likelihood`, `gaussian_likelihood`, and `noise_likelihood` are never used [INFO] [stdout] --> src/bfactor.rs:415:8 [INFO] [stdout] | [INFO] [stdout] 339 | impl Mixture { [INFO] [stdout] | ------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 415 | fn likelihood(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 418 | fn gaussian_likelihood(&self, idx: usize) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 421 | fn noise_likelihood(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `width` is never read [INFO] [stdout] --> src/coverage.rs:186:5 [INFO] [stdout] | [INFO] [stdout] 185 | pub struct GridCoverageMap { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 186 | width: usize, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `voxcov::grid::GridLike` [INFO] [stdout] --> examples/bench.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use voxcov::grid::GridLike; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.41s [INFO] running `Command { std: "docker" "inspect" "c737f09285e39f11470eb5bde79e86cb485403a1be5d61b3ab5579003178c8ad", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c737f09285e39f11470eb5bde79e86cb485403a1be5d61b3ab5579003178c8ad", kill_on_drop: false }` [INFO] [stdout] c737f09285e39f11470eb5bde79e86cb485403a1be5d61b3ab5579003178c8ad