[INFO] cloning repository https://github.com/millardjn/Mask_opt [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/millardjn/Mask_opt" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmillardjn%2FMask_opt", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmillardjn%2FMask_opt'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2b3ce2ccf3dd8c322269eb4fe543029efd457db4 [INFO] checking millardjn/Mask_opt against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmillardjn%2FMask_opt" "/workspace/builds/worker-57/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-57/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/millardjn/Mask_opt 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/millardjn/Mask_opt [INFO] finished tweaking git repo https://github.com/millardjn/Mask_opt [INFO] tweaked toml for git repo https://github.com/millardjn/Mask_opt written to /workspace/builds/worker-57/source/Cargo.toml [INFO] crate git repo https://github.com/millardjn/Mask_opt 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 bytemuck v1.3.0 [INFO] [stderr] Downloaded image v0.23.7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-57/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-57/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] 5a980492ee0d0f3cb07be4ca3546e46a3d98a5e9b5402e23279127bd59421d87 [INFO] running `Command { std: "docker" "start" "-a" "5a980492ee0d0f3cb07be4ca3546e46a3d98a5e9b5402e23279127bd59421d87", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5a980492ee0d0f3cb07be4ca3546e46a3d98a5e9b5402e23279127bd59421d87", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5a980492ee0d0f3cb07be4ca3546e46a3d98a5e9b5402e23279127bd59421d87", kill_on_drop: false }` [INFO] [stdout] 5a980492ee0d0f3cb07be4ca3546e46a3d98a5e9b5402e23279127bd59421d87 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-57/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-57/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] dcfdd2122c2e319339eeba5d6c2456818f22d6ce08f448950dd2fcccee13e6ba [INFO] running `Command { std: "docker" "start" "-a" "dcfdd2122c2e319339eeba5d6c2456818f22d6ce08f448950dd2fcccee13e6ba", 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] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libc v0.2.73 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling rayon-core v1.7.1 [INFO] [stderr] Compiling syn v1.0.35 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Checking adler32 v1.1.0 [INFO] [stderr] Checking either v1.5.3 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling ndarray v0.13.1 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking bytemuck v1.3.0 [INFO] [stderr] Checking transpose v0.1.0 [INFO] [stderr] Checking strength_reduce v0.2.3 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking matrixmultiply v0.2.3 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.3 [INFO] [stderr] Compiling proc-macro-error v1.0.3 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling rayon v1.3.1 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Compiling num-rational v0.3.0 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking tiff v0.5.0 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.1 [INFO] [stderr] Checking png v0.16.7 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking rustfft v3.0.1 [INFO] [stderr] Compiling syn-mid v0.5.0 [INFO] [stderr] Checking jpeg-decoder v0.1.20 [INFO] [stderr] Checking image v0.23.7 [INFO] [stderr] Compiling structopt-derive v0.4.8 [INFO] [stderr] Checking structopt v0.3.15 [INFO] [stderr] Checking maskulator_redux v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/fft.rs (2 fixes) [INFO] [stderr] Fixed src/asm.rs (18 fixes) [INFO] [stdout] warning: enum is never used: `AsmType` [INFO] [stdout] --> src/asm.rs:15:6 [INFO] [stdout] | [INFO] [stdout] 15 | enum AsmType { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `asm_conditions` [INFO] [stdout] --> src/asm.rs:22:4 [INFO] [stdout] | [INFO] [stdout] 22 | fn asm_conditions(z: f64, f: f64, m: f64, pitch: f64, lambda: f64) -> AsmType { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `asm` [INFO] [stdout] --> src/asm.rs:41:16 [INFO] [stdout] | [INFO] [stdout] 41 | pub (crate) fn asm( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `asm_type_1` [INFO] [stdout] --> src/asm.rs:58:4 [INFO] [stdout] | [INFO] [stdout] 58 | fn asm_type_1( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `asm_type_2` [INFO] [stdout] --> src/asm.rs:127:4 [INFO] [stdout] | [INFO] [stdout] 127 | fn asm_type_2( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `asm_type_3` [INFO] [stdout] --> src/asm.rs:205:4 [INFO] [stdout] | [INFO] [stdout] 205 | fn asm_type_3( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `asm_type_4` [INFO] [stdout] --> src/asm.rs:217:4 [INFO] [stdout] | [INFO] [stdout] 217 | fn asm_type_4( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `scaling_czt` [INFO] [stdout] --> src/asm.rs:230:4 [INFO] [stdout] | [INFO] [stdout] 230 | fn scaling_czt( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `ifft2` [INFO] [stdout] --> src/fft.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn ifft2(input: Array2>) -> Array2> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `pad_zero_2D` [INFO] [stdout] --> src/fft.rs:124:8 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn pad_zero_2D(input: ArrayView2>) -> Array2> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `depad_2D` [INFO] [stdout] --> src/fft.rs:137:8 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn depad_2D(input: ArrayView2>) -> ArrayView2> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `circular` [INFO] [stdout] --> src/main.rs:85:4 [INFO] [stdout] | [INFO] [stdout] 85 | fn circular() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_square` [INFO] [stdout] --> src/main.rs:116:8 [INFO] [stdout] | [INFO] [stdout] 116 | fn new_square(wavelength: f64, apeture_diameter: f64, resolution: f64) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `apply_circular_apeture` [INFO] [stdout] --> src/main.rs:146:8 [INFO] [stdout] | [INFO] [stdout] 146 | fn apply_circular_apeture(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `airy_radius` [INFO] [stdout] --> src/main.rs:174:4 [INFO] [stdout] | [INFO] [stdout] 174 | fn airy_radius(wavelength: f64, focal_length: f64, apeture_diameter: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fresnel_validity` [INFO] [stdout] --> src/main.rs:181:4 [INFO] [stdout] | [INFO] [stdout] 181 | fn fresnel_validity(lambda: f64, z: f64, dx: f64, dy: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `resolution` [INFO] [stdout] --> src/main.rs:188:5 [INFO] [stdout] | [INFO] [stdout] 188 | resolution: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `z_position` [INFO] [stdout] --> src/main.rs:189:5 [INFO] [stdout] | [INFO] [stdout] 189 | z_position: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `rayleigh_sommerfeld` [INFO] [stdout] --> src/main.rs:356:4 [INFO] [stdout] | [INFO] [stdout] 356 | fn rayleigh_sommerfeld( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pad_zero_2D` should have a snake case name [INFO] [stdout] --> src/fft.rs:124:8 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn pad_zero_2D(input: ArrayView2>) -> Array2> { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `pad_zero_2_d` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `depad_2D` should have a snake case name [INFO] [stdout] --> src/fft.rs:137:8 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn depad_2D(input: ArrayView2>) -> ArrayView2> { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `depad_2_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `AsmType` [INFO] [stdout] --> src/asm.rs:15:6 [INFO] [stdout] | [INFO] [stdout] 15 | enum AsmType { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `asm_conditions` [INFO] [stdout] --> src/asm.rs:22:4 [INFO] [stdout] | [INFO] [stdout] 22 | fn asm_conditions(z: f64, f: f64, m: f64, pitch: f64, lambda: f64) -> AsmType { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `asm` [INFO] [stdout] --> src/asm.rs:41:16 [INFO] [stdout] | [INFO] [stdout] 41 | pub (crate) fn asm( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `asm_type_1` [INFO] [stdout] --> src/asm.rs:58:4 [INFO] [stdout] | [INFO] [stdout] 58 | fn asm_type_1( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `asm_type_2` [INFO] [stdout] --> src/asm.rs:127:4 [INFO] [stdout] | [INFO] [stdout] 127 | fn asm_type_2( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `asm_type_3` [INFO] [stdout] --> src/asm.rs:205:4 [INFO] [stdout] | [INFO] [stdout] 205 | fn asm_type_3( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `asm_type_4` [INFO] [stdout] --> src/asm.rs:217:4 [INFO] [stdout] | [INFO] [stdout] 217 | fn asm_type_4( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `scaling_czt` [INFO] [stdout] --> src/asm.rs:230:4 [INFO] [stdout] | [INFO] [stdout] 230 | fn scaling_czt( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `pad_zero_2D` [INFO] [stdout] --> src/fft.rs:124:8 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn pad_zero_2D(input: ArrayView2>) -> Array2> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `depad_2D` [INFO] [stdout] --> src/fft.rs:137:8 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn depad_2D(input: ArrayView2>) -> ArrayView2> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `circular` [INFO] [stdout] --> src/main.rs:85:4 [INFO] [stdout] | [INFO] [stdout] 85 | fn circular() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_square` [INFO] [stdout] --> src/main.rs:116:8 [INFO] [stdout] | [INFO] [stdout] 116 | fn new_square(wavelength: f64, apeture_diameter: f64, resolution: f64) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `apply_circular_apeture` [INFO] [stdout] --> src/main.rs:146:8 [INFO] [stdout] | [INFO] [stdout] 146 | fn apply_circular_apeture(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `airy_radius` [INFO] [stdout] --> src/main.rs:174:4 [INFO] [stdout] | [INFO] [stdout] 174 | fn airy_radius(wavelength: f64, focal_length: f64, apeture_diameter: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fresnel_validity` [INFO] [stdout] --> src/main.rs:181:4 [INFO] [stdout] | [INFO] [stdout] 181 | fn fresnel_validity(lambda: f64, z: f64, dx: f64, dy: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `resolution` [INFO] [stdout] --> src/main.rs:188:5 [INFO] [stdout] | [INFO] [stdout] 188 | resolution: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `z_position` [INFO] [stdout] --> src/main.rs:189:5 [INFO] [stdout] | [INFO] [stdout] 189 | z_position: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `rayleigh_sommerfeld` [INFO] [stdout] --> src/main.rs:356:4 [INFO] [stdout] | [INFO] [stdout] 356 | fn rayleigh_sommerfeld( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pad_zero_2D` should have a snake case name [INFO] [stdout] --> src/fft.rs:124:8 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn pad_zero_2D(input: ArrayView2>) -> Array2> { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `pad_zero_2_d` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `depad_2D` should have a snake case name [INFO] [stdout] --> src/fft.rs:137:8 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn depad_2D(input: ArrayView2>) -> ArrayView2> { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `depad_2_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 26.44s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking maskulator_redux v0.1.0 (/tmp/fixit) [INFO] [stdout] warning: enum is never used: `AsmType` [INFO] [stdout] --> src/asm.rs:15:6 [INFO] [stdout] | [INFO] [stdout] 15 | enum AsmType { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `asm_conditions` [INFO] [stdout] --> src/asm.rs:22:4 [INFO] [stdout] | [INFO] [stdout] 22 | fn asm_conditions(z: f64, f: f64, m: f64, pitch: f64, lambda: f64) -> AsmType { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `asm` [INFO] [stdout] --> src/asm.rs:41:16 [INFO] [stdout] | [INFO] [stdout] 41 | pub (crate) fn asm( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `asm_type_1` [INFO] [stdout] --> src/asm.rs:58:4 [INFO] [stdout] | [INFO] [stdout] 58 | fn asm_type_1( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `asm_type_2` [INFO] [stdout] --> src/asm.rs:127:4 [INFO] [stdout] | [INFO] [stdout] 127 | fn asm_type_2( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `asm_type_3` [INFO] [stdout] --> src/asm.rs:205:4 [INFO] [stdout] | [INFO] [stdout] 205 | fn asm_type_3( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `asm_type_4` [INFO] [stdout] --> src/asm.rs:217:4 [INFO] [stdout] | [INFO] [stdout] 217 | fn asm_type_4( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `scaling_czt` [INFO] [stdout] --> src/asm.rs:230:4 [INFO] [stdout] | [INFO] [stdout] 230 | fn scaling_czt( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `ifft2` [INFO] [stdout] --> src/fft.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn ifft2(input: Array2>) -> Array2> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `pad_zero_2D` [INFO] [stdout] --> src/fft.rs:124:8 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn pad_zero_2D(input: ArrayView2>) -> Array2> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `depad_2D` [INFO] [stdout] --> src/fft.rs:137:8 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn depad_2D(input: ArrayView2>) -> ArrayView2> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `circular` [INFO] [stdout] --> src/main.rs:85:4 [INFO] [stdout] | [INFO] [stdout] 85 | fn circular() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_square` [INFO] [stdout] --> src/main.rs:116:8 [INFO] [stdout] | [INFO] [stdout] 116 | fn new_square(wavelength: f64, apeture_diameter: f64, resolution: f64) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `apply_circular_apeture` [INFO] [stdout] --> src/main.rs:146:8 [INFO] [stdout] | [INFO] [stdout] 146 | fn apply_circular_apeture(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `airy_radius` [INFO] [stdout] --> src/main.rs:174:4 [INFO] [stdout] | [INFO] [stdout] 174 | fn airy_radius(wavelength: f64, focal_length: f64, apeture_diameter: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fresnel_validity` [INFO] [stdout] --> src/main.rs:181:4 [INFO] [stdout] | [INFO] [stdout] 181 | fn fresnel_validity(lambda: f64, z: f64, dx: f64, dy: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `resolution` [INFO] [stdout] --> src/main.rs:188:5 [INFO] [stdout] | [INFO] [stdout] 188 | resolution: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `z_position` [INFO] [stdout] --> src/main.rs:189:5 [INFO] [stdout] | [INFO] [stdout] 189 | z_position: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `rayleigh_sommerfeld` [INFO] [stdout] --> src/main.rs:356:4 [INFO] [stdout] | [INFO] [stdout] 356 | fn rayleigh_sommerfeld( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pad_zero_2D` should have a snake case name [INFO] [stdout] --> src/fft.rs:124:8 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn pad_zero_2D(input: ArrayView2>) -> Array2> { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `pad_zero_2_d` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `depad_2D` should have a snake case name [INFO] [stdout] --> src/fft.rs:137:8 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn depad_2D(input: ArrayView2>) -> ArrayView2> { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `depad_2_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `AsmType` [INFO] [stdout] --> src/asm.rs:15:6 [INFO] [stdout] | [INFO] [stdout] 15 | enum AsmType { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `asm_conditions` [INFO] [stdout] --> src/asm.rs:22:4 [INFO] [stdout] | [INFO] [stdout] 22 | fn asm_conditions(z: f64, f: f64, m: f64, pitch: f64, lambda: f64) -> AsmType { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `asm` [INFO] [stdout] --> src/asm.rs:41:16 [INFO] [stdout] | [INFO] [stdout] 41 | pub (crate) fn asm( [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `asm_type_1` [INFO] [stdout] --> src/asm.rs:58:4 [INFO] [stdout] | [INFO] [stdout] 58 | fn asm_type_1( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `asm_type_2` [INFO] [stdout] --> src/asm.rs:127:4 [INFO] [stdout] | [INFO] [stdout] 127 | fn asm_type_2( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `asm_type_3` [INFO] [stdout] --> src/asm.rs:205:4 [INFO] [stdout] | [INFO] [stdout] 205 | fn asm_type_3( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `asm_type_4` [INFO] [stdout] --> src/asm.rs:217:4 [INFO] [stdout] | [INFO] [stdout] 217 | fn asm_type_4( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `scaling_czt` [INFO] [stdout] --> src/asm.rs:230:4 [INFO] [stdout] | [INFO] [stdout] 230 | fn scaling_czt( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `pad_zero_2D` [INFO] [stdout] --> src/fft.rs:124:8 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn pad_zero_2D(input: ArrayView2>) -> Array2> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `depad_2D` [INFO] [stdout] --> src/fft.rs:137:8 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn depad_2D(input: ArrayView2>) -> ArrayView2> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `circular` [INFO] [stdout] --> src/main.rs:85:4 [INFO] [stdout] | [INFO] [stdout] 85 | fn circular() { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new_square` [INFO] [stdout] --> src/main.rs:116:8 [INFO] [stdout] | [INFO] [stdout] 116 | fn new_square(wavelength: f64, apeture_diameter: f64, resolution: f64) -> Self { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `apply_circular_apeture` [INFO] [stdout] --> src/main.rs:146:8 [INFO] [stdout] | [INFO] [stdout] 146 | fn apply_circular_apeture(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `airy_radius` [INFO] [stdout] --> src/main.rs:174:4 [INFO] [stdout] | [INFO] [stdout] 174 | fn airy_radius(wavelength: f64, focal_length: f64, apeture_diameter: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fresnel_validity` [INFO] [stdout] --> src/main.rs:181:4 [INFO] [stdout] | [INFO] [stdout] 181 | fn fresnel_validity(lambda: f64, z: f64, dx: f64, dy: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `resolution` [INFO] [stdout] --> src/main.rs:188:5 [INFO] [stdout] | [INFO] [stdout] 188 | resolution: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `z_position` [INFO] [stdout] --> src/main.rs:189:5 [INFO] [stdout] | [INFO] [stdout] 189 | z_position: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `rayleigh_sommerfeld` [INFO] [stdout] --> src/main.rs:356:4 [INFO] [stdout] | [INFO] [stdout] 356 | fn rayleigh_sommerfeld( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pad_zero_2D` should have a snake case name [INFO] [stdout] --> src/fft.rs:124:8 [INFO] [stdout] | [INFO] [stdout] 124 | pub fn pad_zero_2D(input: ArrayView2>) -> Array2> { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `pad_zero_2_d` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `depad_2D` should have a snake case name [INFO] [stdout] --> src/fft.rs:137:8 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn depad_2D(input: ArrayView2>) -> ArrayView2> { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `depad_2_d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 0.75s [INFO] running `Command { std: "docker" "inspect" "dcfdd2122c2e319339eeba5d6c2456818f22d6ce08f448950dd2fcccee13e6ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dcfdd2122c2e319339eeba5d6c2456818f22d6ce08f448950dd2fcccee13e6ba", kill_on_drop: false }` [INFO] [stdout] dcfdd2122c2e319339eeba5d6c2456818f22d6ce08f448950dd2fcccee13e6ba