[INFO] cloning repository https://github.com/khyperia/Astropress [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/khyperia/Astropress" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkhyperia%2FAstropress", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkhyperia%2FAstropress'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d3dc213eabf1bfb46cd9f22e75f99d41b447e4a7 [INFO] checking khyperia/Astropress against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkhyperia%2FAstropress" "/workspace/builds/worker-80/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-80/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/khyperia/Astropress on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/khyperia/Astropress [INFO] finished tweaking git repo https://github.com/khyperia/Astropress [INFO] tweaked toml for git repo https://github.com/khyperia/Astropress written to /workspace/builds/worker-80/source/Cargo.toml [INFO] crate git repo https://github.com/khyperia/Astropress already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded backtrace v0.3.42 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-80/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-80/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 97274b3225f092588b0df1dbeec0299c68096c70b06127782ec0d66a81e0a77f [INFO] running `Command { std: "docker" "start" "-a" "97274b3225f092588b0df1dbeec0299c68096c70b06127782ec0d66a81e0a77f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "97274b3225f092588b0df1dbeec0299c68096c70b06127782ec0d66a81e0a77f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97274b3225f092588b0df1dbeec0299c68096c70b06127782ec0d66a81e0a77f", kill_on_drop: false }` [INFO] [stdout] 97274b3225f092588b0df1dbeec0299c68096c70b06127782ec0d66a81e0a77f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-80/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-80/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b6a565983d088669ba266388042b48c5490cf7ac3007b01337f4f586537b2ddc [INFO] running `Command { std: "docker" "start" "-a" "b6a565983d088669ba266388042b48c5490cf7ac3007b01337f4f586537b2ddc", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling proc-macro2 v1.0.8 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling cc v1.0.50 [INFO] [stderr] Compiling syn v1.0.13 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Compiling typenum v1.11.2 [INFO] [stderr] Compiling libm v0.1.4 [INFO] [stderr] Checking adler32 v1.0.4 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Compiling memoffset v0.5.3 [INFO] [stderr] Checking matrixmultiply v0.2.3 [INFO] [stderr] Checking crc32fast v1.2.0 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-integer v0.1.42 [INFO] [stderr] Compiling num-rational v0.2.3 [INFO] [stderr] Checking c2-chacha v0.2.3 [INFO] [stderr] Compiling crossbeam-utils v0.7.0 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking png v0.15.3 [INFO] [stderr] Checking crossbeam-queue v0.2.1 [INFO] [stderr] Checking num_cpus v1.12.0 [INFO] [stderr] Checking generic-array v0.13.2 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking backtrace v0.3.42 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking crossbeam-deque v0.7.2 [INFO] [stderr] Checking alga v0.9.2 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking rayon v1.3.0 [INFO] [stderr] Checking rand_distr v0.2.2 [INFO] [stderr] Checking nalgebra v0.19.0 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Checking failure v0.1.6 [INFO] [stderr] Checking astropress v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/image.rs (1 fix) [INFO] [stderr] Fixed src/registration.rs (3 fixes) [INFO] [stdout] warning: function is never used: `median` [INFO] [stdout] --> src/alg.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn median(seq: &mut [f64]) -> f64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `least_squares_fit` [INFO] [stdout] --> src/alg.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn least_squares_fit(matrix: Vec, vector: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parabola_center` [INFO] [stdout] --> src/alg.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn parabola_center(data: impl Iterator) -> (f64, f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `solve_offsets_1d` [INFO] [stdout] --> src/alg.rs:138:8 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn solve_offsets_1d( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `solve_offsets` [INFO] [stdout] --> src/registration.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn solve_offsets(offsets: Vec<(usize, usize, (f64, f64))>, count: usize) -> Vec<(f64, f64)> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `register_one` [INFO] [stdout] --> src/registration.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn register_one(_left: &[Star], _right: &[Star]) -> (f64, f64) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `register` [INFO] [stdout] --> src/registration.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn register(images: &[Vec]) -> Vec<(f64, f64)> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `stack` [INFO] [stdout] --> src/stack.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn stack f64>(images: &[Image], f: F) -> Image { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `mean_stdev` [INFO] [stdout] --> src/stack.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn mean_stdev(values: &[f64]) -> (f64, f64) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `stack_max` [INFO] [stdout] --> src/stack.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn stack_max(images: &[Image]) -> Image { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `hot_detect` [INFO] [stdout] --> src/stack.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn hot_detect(image: &Image) -> Image { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `hot_filter` [INFO] [stdout] --> src/stack.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn hot_filter(image: &Image, filter: &Image) -> Image { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `M2` should have a snake case name [INFO] [stdout] --> src/alg.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | let mut M2 = 0.0; [INFO] [stdout] | ^^ help: convert the identifier to snake case: `m2` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 13 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `median` [INFO] [stdout] --> src/alg.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn median(seq: &mut [f64]) -> f64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `mean` [INFO] [stdout] --> src/alg.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn mean(seq: impl IntoIterator) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `stdev` [INFO] [stdout] --> src/alg.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn stdev(mean: f64, seq: impl IntoIterator) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `least_squares_fit` [INFO] [stdout] --> src/alg.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn least_squares_fit(matrix: Vec, vector: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parabola_center` [INFO] [stdout] --> src/alg.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn parabola_center(data: impl Iterator) -> (f64, f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `solve_offsets_1d` [INFO] [stdout] --> src/alg.rs:138:8 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn solve_offsets_1d( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `solve_offsets` [INFO] [stdout] --> src/registration.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn solve_offsets(offsets: Vec<(usize, usize, (f64, f64))>, count: usize) -> Vec<(f64, f64)> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `register_one` [INFO] [stdout] --> src/registration.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn register_one(_left: &[Star], _right: &[Star]) -> (f64, f64) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `register` [INFO] [stdout] --> src/registration.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn register(images: &[Vec]) -> Vec<(f64, f64)> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `stack` [INFO] [stdout] --> src/stack.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn stack f64>(images: &[Image], f: F) -> Image { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `mean_stdev` [INFO] [stdout] --> src/stack.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn mean_stdev(values: &[f64]) -> (f64, f64) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `stack_max` [INFO] [stdout] --> src/stack.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn stack_max(images: &[Image]) -> Image { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `hot_detect` [INFO] [stdout] --> src/stack.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn hot_detect(image: &Image) -> Image { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `hot_filter` [INFO] [stdout] --> src/stack.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn hot_filter(image: &Image, filter: &Image) -> Image { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `M2` should have a snake case name [INFO] [stdout] --> src/alg.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | let mut M2 = 0.0; [INFO] [stdout] | ^^ help: convert the identifier to snake case: `m2` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 50s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Checking astropress v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/image.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the item `TryInto` is imported redundantly [INFO] [stdout] --> src/image.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | use std::convert::TryInto; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `median` [INFO] [stdout] --> src/alg.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn median(seq: &mut [f64]) -> f64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `mean` [INFO] [stdout] --> src/alg.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn mean(seq: impl IntoIterator) -> f64 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `stdev` [INFO] [stdout] --> src/alg.rs:25:8 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn stdev(mean: f64, seq: impl IntoIterator) -> f64 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `least_squares_fit` [INFO] [stdout] --> src/alg.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn least_squares_fit(matrix: Vec, vector: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parabola_center` [INFO] [stdout] --> src/alg.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn parabola_center(data: impl Iterator) -> (f64, f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `solve_offsets_1d` [INFO] [stdout] --> src/alg.rs:138:8 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn solve_offsets_1d( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `solve_offsets` [INFO] [stdout] --> src/registration.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn solve_offsets(offsets: Vec<(usize, usize, (f64, f64))>, count: usize) -> Vec<(f64, f64)> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `register_one` [INFO] [stdout] --> src/registration.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn register_one(_left: &[Star], _right: &[Star]) -> (f64, f64) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `register` [INFO] [stdout] --> src/registration.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn register(images: &[Vec]) -> Vec<(f64, f64)> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `stack` [INFO] [stdout] --> src/stack.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn stack f64>(images: &[Image], f: F) -> Image { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `mean_stdev` [INFO] [stdout] --> src/stack.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn mean_stdev(values: &[f64]) -> (f64, f64) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `stack_max` [INFO] [stdout] --> src/stack.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn stack_max(images: &[Image]) -> Image { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `hot_detect` [INFO] [stdout] --> src/stack.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn hot_detect(image: &Image) -> Image { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `hot_filter` [INFO] [stdout] --> src/stack.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn hot_filter(image: &Image, filter: &Image) -> Image { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `M2` should have a snake case name [INFO] [stdout] --> src/alg.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | let mut M2 = 0.0; [INFO] [stdout] | ^^ help: convert the identifier to snake case: `m2` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `median` [INFO] [stdout] --> src/alg.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn median(seq: &mut [f64]) -> f64 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `least_squares_fit` [INFO] [stdout] --> src/alg.rs:81:8 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn least_squares_fit(matrix: Vec, vector: Vec) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `parabola_center` [INFO] [stdout] --> src/alg.rs:119:8 [INFO] [stdout] | [INFO] [stdout] 119 | pub fn parabola_center(data: impl Iterator) -> (f64, f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `solve_offsets_1d` [INFO] [stdout] --> src/alg.rs:138:8 [INFO] [stdout] | [INFO] [stdout] 138 | pub fn solve_offsets_1d( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `solve_offsets` [INFO] [stdout] --> src/registration.rs:4:4 [INFO] [stdout] | [INFO] [stdout] 4 | fn solve_offsets(offsets: Vec<(usize, usize, (f64, f64))>, count: usize) -> Vec<(f64, f64)> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `register_one` [INFO] [stdout] --> src/registration.rs:10:4 [INFO] [stdout] | [INFO] [stdout] 10 | fn register_one(_left: &[Star], _right: &[Star]) -> (f64, f64) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `register` [INFO] [stdout] --> src/registration.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn register(images: &[Vec]) -> Vec<(f64, f64)> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `stack` [INFO] [stdout] --> src/stack.rs:3:4 [INFO] [stdout] | [INFO] [stdout] 3 | fn stack f64>(images: &[Image], f: F) -> Image { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `mean_stdev` [INFO] [stdout] --> src/stack.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn mean_stdev(values: &[f64]) -> (f64, f64) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `stack_max` [INFO] [stdout] --> src/stack.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn stack_max(images: &[Image]) -> Image { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `hot_detect` [INFO] [stdout] --> src/stack.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn hot_detect(image: &Image) -> Image { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `hot_filter` [INFO] [stdout] --> src/stack.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn hot_filter(image: &Image, filter: &Image) -> Image { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `M2` should have a snake case name [INFO] [stdout] --> src/alg.rs:42:13 [INFO] [stdout] | [INFO] [stdout] 42 | let mut M2 = 0.0; [INFO] [stdout] | ^^ help: convert the identifier to snake case: `m2` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.51s [INFO] running `Command { std: "docker" "inspect" "b6a565983d088669ba266388042b48c5490cf7ac3007b01337f4f586537b2ddc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6a565983d088669ba266388042b48c5490cf7ac3007b01337f4f586537b2ddc", kill_on_drop: false }` [INFO] [stdout] b6a565983d088669ba266388042b48c5490cf7ac3007b01337f4f586537b2ddc