[INFO] fetching crate voxcov 0.2.8...
[INFO] building voxcov-0.2.8 against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1
[INFO] extracting crate voxcov 0.2.8 into /workspace/builds/worker-5-tc2/source
[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-5-tc2/source/Cargo.toml
[INFO] validating manifest of crates.io crate voxcov 0.2.8 on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3ac3810ee2d51817694bc1d6ecf8c7366511b6db90e1ce91dec999d7541966ee
[INFO] running `Command { std: "docker" "start" "-a" "3ac3810ee2d51817694bc1d6ecf8c7366511b6db90e1ce91dec999d7541966ee", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3ac3810ee2d51817694bc1d6ecf8c7366511b6db90e1ce91dec999d7541966ee", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3ac3810ee2d51817694bc1d6ecf8c7366511b6db90e1ce91dec999d7541966ee", kill_on_drop: false }`
[INFO] [stdout] 3ac3810ee2d51817694bc1d6ecf8c7366511b6db90e1ce91dec999d7541966ee
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] de73123801831c67370b55366bdbb2c4bce84e9f6bd950d5f57526400c7c92a6
[INFO] running `Command { std: "docker" "start" "-a" "de73123801831c67370b55366bdbb2c4bce84e9f6bd950d5f57526400c7c92a6", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.148
[INFO] [stderr]    Compiling crossbeam-utils v0.8.16
[INFO] [stderr]    Compiling rayon-core v1.11.0
[INFO] [stderr]    Compiling either v1.9.0
[INFO] [stderr]    Compiling memoffset v0.9.0
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.15
[INFO] [stderr]    Compiling crossbeam-channel v0.5.8
[INFO] [stderr]    Compiling crossbeam-deque v0.8.3
[INFO] [stderr]    Compiling getrandom v0.2.10
[INFO] [stderr]    Compiling num_cpus v1.16.0
[INFO] [stderr]    Compiling rand_core v0.6.4
[INFO] [stderr]    Compiling rand_chacha v0.3.1
[INFO] [stderr]    Compiling rand v0.8.5
[INFO] [stderr]    Compiling rayon v1.7.0
[INFO] [stderr]    Compiling 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)]` (part of `#[warn(unused)]`) 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: `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)]` (part of `#[warn(unused)]`) 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/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] 143 | |         }
[INFO] [stdout]     | |_________^ unreachable statement
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) 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] 
[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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 7.99s
[INFO] running `Command { std: "docker" "inspect" "de73123801831c67370b55366bdbb2c4bce84e9f6bd950d5f57526400c7c92a6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "de73123801831c67370b55366bdbb2c4bce84e9f6bd950d5f57526400c7c92a6", kill_on_drop: false }`
[INFO] [stdout] de73123801831c67370b55366bdbb2c4bce84e9f6bd950d5f57526400c7c92a6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ba72a68db0d5f9a334f325293241ec6154edede0ba971f16c4f4d56c121f200f
[INFO] running `Command { std: "docker" "start" "-a" "ba72a68db0d5f9a334f325293241ec6154edede0ba971f16c4f4d56c121f200f", kill_on_drop: false }`
[INFO] [stderr]    Compiling num-traits v0.2.16
[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)]` (part of `#[warn(unused)]`) 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: `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)]` (part of `#[warn(unused)]`) 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/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] 143 | |         }
[INFO] [stdout]     | |_________^ unreachable statement
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unreachable_code)]` (part of `#[warn(unused)]`) 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] 
[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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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] [stderr]    Compiling approx v0.3.2
[INFO] [stderr]    Compiling 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)]` (part of `#[warn(unused)]`) 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: `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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) on by default
[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)]` (part of `#[warn(unused)]`) 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] 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) 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)]` (part of `#[warn(unused)]`) on by default
[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: 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] [stderr]     Finished `test` profile [unoptimized + debuginfo] target(s) in 2.81s
[INFO] running `Command { std: "docker" "inspect" "ba72a68db0d5f9a334f325293241ec6154edede0ba971f16c4f4d56c121f200f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ba72a68db0d5f9a334f325293241ec6154edede0ba971f16c4f4d56c121f200f", kill_on_drop: false }`
[INFO] [stdout] ba72a68db0d5f9a334f325293241ec6154edede0ba971f16c4f4d56c121f200f
