[INFO] cloning repository https://github.com/floffy-f/Stenm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/floffy-f/Stenm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffloffy-f%2FStenm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffloffy-f%2FStenm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c83d4f6d1504967b44894aada71aca8becc6c8ae [INFO] checking floffy-f/Stenm against master#33fdb797f59421c7bbecaa4588ed5d7a31a9494a for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffloffy-f%2FStenm" "/workspace/builds/worker-82/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-82/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/floffy-f/Stenm on toolchain 33fdb797f59421c7bbecaa4588ed5d7a31a9494a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/floffy-f/Stenm [INFO] finished tweaking git repo https://github.com/floffy-f/Stenm [INFO] tweaked toml for git repo https://github.com/floffy-f/Stenm written to /workspace/builds/worker-82/source/Cargo.toml [INFO] crate git repo https://github.com/floffy-f/Stenm already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-82/source/stenm-wasm/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-82/source/Cargo.toml [INFO] [stderr] warning: /workspace/builds/worker-82/source/stenm-wasm/Cargo.toml: unused manifest key: build [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-82/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-82/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" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e81f42691b30ff12efde87faca7e9134e68c7b30d0e9c6ccf8d5135b31fbfa50 [INFO] running `Command { std: "docker" "start" "-a" "e81f42691b30ff12efde87faca7e9134e68c7b30d0e9c6ccf8d5135b31fbfa50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e81f42691b30ff12efde87faca7e9134e68c7b30d0e9c6ccf8d5135b31fbfa50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e81f42691b30ff12efde87faca7e9134e68c7b30d0e9c6ccf8d5135b31fbfa50", kill_on_drop: false }` [INFO] [stdout] e81f42691b30ff12efde87faca7e9134e68c7b30d0e9c6ccf8d5135b31fbfa50 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-82/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-82/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" "+33fdb797f59421c7bbecaa4588ed5d7a31a9494a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b96bf75d873356415e11756ed35e05b8f8403ad5783adb3fcd5d950256955526 [INFO] running `Command { std: "docker" "start" "-a" "b96bf75d873356415e11756ed35e05b8f8403ad5783adb3fcd5d950256955526", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/stenm-wasm/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: /opt/rustwide/workdir/stenm-wasm/Cargo.toml: unused manifest key: build [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling syn v1.0.69 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.73 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling bumpalo v3.6.1 [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling wasm-bindgen v0.2.73 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking regex-syntax v0.6.23 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling paste v1.0.5 [INFO] [stderr] Checking bytemuck v1.5.1 [INFO] [stderr] Checking number_prefix v0.3.0 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Compiling anyhow v1.0.40 [INFO] [stderr] Checking glob v0.3.0 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking matrixmultiply v0.3.1 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Checking regex v1.4.5 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking png v0.16.8 [INFO] [stderr] Checking terminal_size v0.1.16 [INFO] [stderr] Checking console v0.14.1 [INFO] [stderr] Checking indicatif v0.15.0 [INFO] [stderr] Checking approx v0.4.0 [INFO] [stderr] Checking num-complex v0.3.1 [INFO] [stderr] Checking simba v0.4.0 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.73 [INFO] [stderr] Checking image v0.23.14 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.73 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.73 [INFO] [stderr] Checking thiserror v1.0.24 [INFO] [stderr] Checking serde_json v1.0.64 [INFO] [stderr] Checking nalgebra v0.25.4 [INFO] [stderr] Checking js-sys v0.3.50 [INFO] [stderr] Checking wasm-bindgen-futures v0.4.23 [INFO] [stderr] Checking stenm v0.2.0 (/opt/rustwide/workdir/stenm-lib) [INFO] [stderr] Checking stenm-wasm v0.1.0 (/opt/rustwide/workdir/stenm-wasm) [INFO] [stdout] warning: unused imports: `Context`, `anyhow` [INFO] [stdout] --> stenm-wasm/src/lib.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use anyhow::{anyhow, Context}; [INFO] [stdout] | ^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Config_pps` should have an upper camel case name [INFO] [stdout] --> stenm-wasm/src/planar/pps.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Config_pps { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `ConfigPps` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Context`, `anyhow` [INFO] [stdout] --> stenm-wasm/src/lib.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use anyhow::{anyhow, Context}; [INFO] [stdout] | ^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `Config_pps` should have an upper camel case name [INFO] [stdout] --> stenm-wasm/src/planar/pps.rs:19:12 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Config_pps { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `ConfigPps` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> stenm-wasm/src/planar/pps.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 78 | return Ok((normals.clone(), normals, albedo)); [INFO] [stdout] | --------------------------------------------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 86 | todo!() [INFO] [stdout] | ^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::panic::panic_2015` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> stenm-wasm/src/planar/pps.rs:86:5 [INFO] [stdout] | [INFO] [stdout] 78 | return Ok((normals.clone(), normals, albedo)); [INFO] [stdout] | --------------------------------------------- any code following this expression is unreachable [INFO] [stdout] ... [INFO] [stdout] 86 | todo!() [INFO] [stdout] | ^^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `$crate::panic::panic_2015` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RealField` [INFO] [stdout] --> stenm-wasm/src/planar/main.rs:7:25 [INFO] [stdout] | [INFO] [stdout] 7 | use nalgebra::{DMatrix, RealField}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gray_imgs` [INFO] [stdout] --> stenm-wasm/src/lib.rs:228:33 [INFO] [stdout] | [INFO] [stdout] 228 | Dataset::GrayImages(gray_imgs) => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gray_imgs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gray_imgs` [INFO] [stdout] --> stenm-wasm/src/lib.rs:231:36 [INFO] [stdout] | [INFO] [stdout] 231 | Dataset::GrayImagesU16(gray_imgs) => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gray_imgs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `imgs` [INFO] [stdout] --> stenm-wasm/src/lib.rs:287:35 [INFO] [stdout] | [INFO] [stdout] 287 | Dataset::RgbImagesU16(imgs) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_imgs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lights_intensities` [INFO] [stdout] --> stenm-wasm/src/planar/pps.rs:70:27 [INFO] [stdout] | [INFO] [stdout] 70 | let (normals, albedo, lights_intensities) = semicalibrated_ps(&config, &obs); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lights_intensities` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> stenm-wasm/src/planar/pps.rs:389:9 [INFO] [stdout] | [INFO] [stdout] 389 | let f = px + qy; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b_top` [INFO] [stdout] --> stenm-wasm/src/planar/pps.rs:392:9 [INFO] [stdout] | [INFO] [stdout] 392 | let b_top = -p.slice((0, 1), (1, ncols - 2)); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_b_top` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b_bot` [INFO] [stdout] --> stenm-wasm/src/planar/pps.rs:393:9 [INFO] [stdout] | [INFO] [stdout] 393 | let b_bot = p.slice((nrows - 1, 1), (1, ncols - 2)); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_b_bot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b_left` [INFO] [stdout] --> stenm-wasm/src/planar/pps.rs:394:9 [INFO] [stdout] | [INFO] [stdout] 394 | let b_left = -q.slice((1, 0), (nrows - 2, 1)); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_b_left` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b_right` [INFO] [stdout] --> stenm-wasm/src/planar/pps.rs:395:9 [INFO] [stdout] | [INFO] [stdout] 395 | let b_right = q.slice((1, ncols - 1), (nrows - 2, 1)); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_b_right` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b_topleft` [INFO] [stdout] --> stenm-wasm/src/planar/pps.rs:396:9 [INFO] [stdout] | [INFO] [stdout] 396 | let b_topleft = (-p[(0, 0)] - q[(0, 0)]) / 2.0_f32.sqrt(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_b_topleft` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `RealField` [INFO] [stdout] --> stenm-wasm/src/planar/main.rs:7:25 [INFO] [stdout] | [INFO] [stdout] 7 | use nalgebra::{DMatrix, RealField}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gray_imgs` [INFO] [stdout] --> stenm-wasm/src/lib.rs:228:33 [INFO] [stdout] | [INFO] [stdout] 228 | Dataset::GrayImages(gray_imgs) => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gray_imgs` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `gray_imgs` [INFO] [stdout] --> stenm-wasm/src/lib.rs:231:36 [INFO] [stdout] | [INFO] [stdout] 231 | Dataset::GrayImagesU16(gray_imgs) => { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_gray_imgs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `imgs` [INFO] [stdout] --> stenm-wasm/src/lib.rs:287:35 [INFO] [stdout] | [INFO] [stdout] 287 | Dataset::RgbImagesU16(imgs) => { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_imgs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lights_intensities` [INFO] [stdout] --> stenm-wasm/src/planar/pps.rs:70:27 [INFO] [stdout] | [INFO] [stdout] 70 | let (normals, albedo, lights_intensities) = semicalibrated_ps(&config, &obs); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lights_intensities` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `f` [INFO] [stdout] --> stenm-wasm/src/planar/pps.rs:389:9 [INFO] [stdout] | [INFO] [stdout] 389 | let f = px + qy; [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b_top` [INFO] [stdout] --> stenm-wasm/src/planar/pps.rs:392:9 [INFO] [stdout] | [INFO] [stdout] 392 | let b_top = -p.slice((0, 1), (1, ncols - 2)); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_b_top` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b_bot` [INFO] [stdout] --> stenm-wasm/src/planar/pps.rs:393:9 [INFO] [stdout] | [INFO] [stdout] 393 | let b_bot = p.slice((nrows - 1, 1), (1, ncols - 2)); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_b_bot` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b_left` [INFO] [stdout] --> stenm-wasm/src/planar/pps.rs:394:9 [INFO] [stdout] | [INFO] [stdout] 394 | let b_left = -q.slice((1, 0), (nrows - 2, 1)); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_b_left` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b_right` [INFO] [stdout] --> stenm-wasm/src/planar/pps.rs:395:9 [INFO] [stdout] | [INFO] [stdout] 395 | let b_right = q.slice((1, ncols - 1), (nrows - 2, 1)); [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_b_right` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `b_topleft` [INFO] [stdout] --> stenm-wasm/src/planar/pps.rs:396:9 [INFO] [stdout] | [INFO] [stdout] 396 | let b_topleft = (-p[(0, 0)] - q[(0, 0)]) / 2.0_f32.sqrt(); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_b_topleft` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Point2` [INFO] [stdout] --> stenm-wasm/src/planar/camera.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | type Point2 = nalgebra::Point2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Point3` [INFO] [stdout] --> stenm-wasm/src/planar/camera.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | type Point3 = nalgebra::Point3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Vec3` [INFO] [stdout] --> stenm-wasm/src/planar/camera.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | type Vec3 = nalgebra::Vector3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Mat3` [INFO] [stdout] --> stenm-wasm/src/planar/camera.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | type Mat3 = nalgebra::Matrix3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> stenm-wasm/src/planar/camera.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn new(intrinsics: Intrinsics, extrinsics: Extrinsics) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `project` [INFO] [stdout] --> stenm-wasm/src/planar/camera.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn project(&self, point: Point3) -> Vec3 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `back_project` [INFO] [stdout] --> stenm-wasm/src/planar/camera.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn back_project(&self, point: Point2, depth: f32) -> Point3 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `multi_res` [INFO] [stdout] --> stenm-wasm/src/planar/camera.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn multi_res(self, n: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `half_res` [INFO] [stdout] --> stenm-wasm/src/planar/camera.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn half_res(&self) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `project` [INFO] [stdout] --> stenm-wasm/src/planar/camera.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn project(pose: &Extrinsics, point: Point3) -> Point3 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `back_project` [INFO] [stdout] --> stenm-wasm/src/planar/camera.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn back_project(pose: &Extrinsics, point: Point3) -> Point3 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `matrix` [INFO] [stdout] --> stenm-wasm/src/planar/camera.rs:122:12 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn matrix(&self) -> Affine2 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `multi_res` [INFO] [stdout] --> stenm-wasm/src/planar/camera.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn multi_res(self, n: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `half_res` [INFO] [stdout] --> stenm-wasm/src/planar/camera.rs:141:12 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn half_res(&self) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `project` [INFO] [stdout] --> stenm-wasm/src/planar/camera.rs:152:12 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn project(&self, point: Point3) -> Vec3 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `back_project` [INFO] [stdout] --> stenm-wasm/src/planar/camera.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn back_project(&self, point: Point2, depth: f32) -> Point3 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `smooth` [INFO] [stdout] --> stenm-wasm/src/planar/filter.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn smooth(img: &DMatrix) -> DMatrix { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `conv_2d_direct_same` [INFO] [stdout] --> stenm-wasm/src/planar/filter.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn conv_2d_direct_same(img: &DMatrix, kernel: &DMatrix) -> DMatrix { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `gradients_f32` [INFO] [stdout] --> stenm-wasm/src/planar/filter.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn gradients_f32(img: &DMatrix) -> (DMatrix, DMatrix) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `conv_2d_direct_same_f32` [INFO] [stdout] --> stenm-wasm/src/planar/filter.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn conv_2d_direct_same_f32(img: &DMatrix, kernel: &DMatrix) -> DMatrix { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `gaussian_kernel` [INFO] [stdout] --> stenm-wasm/src/planar/filter.rs:112:8 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn gaussian_kernel(sigma: f32, size: usize) -> DMatrix { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `centered` [INFO] [stdout] --> stenm-wasm/src/planar/gradients.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn centered(img: &na::DMatrix) -> (na::DMatrix, na::DMatrix) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `centered_f32` [INFO] [stdout] --> stenm-wasm/src/planar/gradients.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn centered_f32(img: &na::DMatrix) -> na::DMatrix<(f32, f32)> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `centered_4` [INFO] [stdout] --> stenm-wasm/src/planar/gradients.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn centered_4(img: &na::DMatrix) -> (na::DMatrix, na::DMatrix) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `centered_4_f32` [INFO] [stdout] --> stenm-wasm/src/planar/gradients.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn centered_4_f32(img: &na::DMatrix) -> (na::DMatrix, na::DMatrix) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `squared_norm` [INFO] [stdout] --> stenm-wasm/src/planar/gradients.rs:134:8 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn squared_norm(grad_x: &na::DMatrix, grad_y: &na::DMatrix) -> na::DMatrix { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `squared_norm_direct` [INFO] [stdout] --> stenm-wasm/src/planar/gradients.rs:145:8 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn squared_norm_direct(im: &na::DMatrix) -> na::DMatrix { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `bloc_x` [INFO] [stdout] --> stenm-wasm/src/planar/gradients.rs:170:8 [INFO] [stdout] | [INFO] [stdout] 170 | pub fn bloc_x(a: u8, b: u8, c: u8, d: u8) -> i16 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `bloc_y` [INFO] [stdout] --> stenm-wasm/src/planar/gradients.rs:183:8 [INFO] [stdout] | [INFO] [stdout] 183 | pub fn bloc_y(a: u8, b: u8, c: u8, d: u8) -> i16 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `bloc_squared_norm` [INFO] [stdout] --> stenm-wasm/src/planar/gradients.rs:198:8 [INFO] [stdout] | [INFO] [stdout] 198 | pub fn bloc_squared_norm(a: u8, b: u8, c: u8, d: u8) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `image_from_matrix` [INFO] [stdout] --> stenm-wasm/src/planar/interop.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn image_from_matrix(mat: &DMatrix) -> GrayImage { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `rgb_from_matrix` [INFO] [stdout] --> stenm-wasm/src/planar/interop.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn rgb_from_matrix(mat: &DMatrix<(u8, u8, u8)>) -> RgbImage { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `image_from_matrix_transposed` [INFO] [stdout] --> stenm-wasm/src/planar/interop.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn image_from_matrix_transposed(mat: &DMatrix) -> ImageBuffer, &[u8]> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `matrix_from_image` [INFO] [stdout] --> stenm-wasm/src/planar/interop.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn matrix_from_image(img: GrayImage) -> DMatrix { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `matrix_from_rgb_image` [INFO] [stdout] --> stenm-wasm/src/planar/interop.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn matrix_from_rgb_image(img: RgbImage) -> DMatrix<(u8, u8, u8)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `green_mat_from_rgb_image` [INFO] [stdout] --> stenm-wasm/src/planar/interop.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn green_mat_from_rgb_image(img: RgbImage) -> DMatrix { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `linear` [INFO] [stdout] --> stenm-wasm/src/planar/interpolation.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn linear(x: f32, y: f32, image: &DMatrix) -> f32 [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `nearest_border` [INFO] [stdout] --> stenm-wasm/src/planar/interpolation.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | fn nearest_border(x: f32, y: f32, width: usize, height: usize) -> (usize, usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `DEFAULT_OUT_DIR` [INFO] [stdout] --> stenm-wasm/src/planar/main.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | const DEFAULT_OUT_DIR: &str = "out"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `DEFAULT_Z_MEAN` [INFO] [stdout] --> stenm-wasm/src/planar/main.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | const DEFAULT_Z_MEAN: f32 = 3500.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `DEFAULT_THRESHOLD` [INFO] [stdout] --> stenm-wasm/src/planar/main.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | const DEFAULT_THRESHOLD: f32 = 1e-4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `DEFAULT_MAX_ITERATIONS` [INFO] [stdout] --> stenm-wasm/src/planar/main.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | const DEFAULT_MAX_ITERATIONS: usize = 10; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `absolute_file_paths` [INFO] [stdout] --> stenm-wasm/src/planar/main.rs:135:4 [INFO] [stdout] | [INFO] [stdout] 135 | fn absolute_file_paths(args: &[String]) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `paths_from_glob` [INFO] [stdout] --> stenm-wasm/src/planar/main.rs:148:4 [INFO] [stdout] | [INFO] [stdout] 148 | fn paths_from_glob(p: &str) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `save_u8_imgs` [INFO] [stdout] --> stenm-wasm/src/planar/main.rs:219:8 [INFO] [stdout] | [INFO] [stdout] 219 | pub fn save_u8_imgs(dir: &Path, imgs: &[DMatrix]) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `save_matrix` [INFO] [stdout] --> stenm-wasm/src/planar/main.rs:228:8 [INFO] [stdout] | [INFO] [stdout] 228 | pub fn save_matrix>(img: &DMatrix, path: P) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `mean_pyramid` [INFO] [stdout] --> stenm-wasm/src/planar/multires.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn mean_pyramid(max_levels: usize, mat: DMatrix) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `limited_sequence` [INFO] [stdout] --> stenm-wasm/src/planar/multires.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn limited_sequence Option, T>(max_length: usize, data: T, f: F) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sequence` [INFO] [stdout] --> stenm-wasm/src/planar/multires.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn sequence Option, T>(data: T, mut f: F) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `halve` [INFO] [stdout] --> stenm-wasm/src/planar/multires.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn halve(mat: &DMatrix, f: F) -> Option> [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `gradients_squared_norm` [INFO] [stdout] --> stenm-wasm/src/planar/multires.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn gradients_squared_norm(multires_mat: &[DMatrix]) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `gradients_xy` [INFO] [stdout] --> stenm-wasm/src/planar/multires.rs:110:8 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn gradients_xy(multires_mat: &[DMatrix]) -> Vec<(DMatrix, DMatrix)> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Continue` [INFO] [stdout] --> stenm-wasm/src/planar/optimizer.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum Continue { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Color` [INFO] [stdout] --> stenm-wasm/src/planar/pps.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | type Color = (u8, u8, u8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `substract_ambiant` [INFO] [stdout] --> stenm-wasm/src/planar/pps.rs:91:4 [INFO] [stdout] | [INFO] [stdout] 91 | fn substract_ambiant(raw_imgs: &[DMatrix], ambiant: &DMatrix) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `save_matrix` [INFO] [stdout] --> stenm-wasm/src/planar/pps.rs:132:4 [INFO] [stdout] | [INFO] [stdout] 132 | fn save_matrix>(img: &DMatrix, path: P) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `perspective_integration` [INFO] [stdout] --> stenm-wasm/src/planar/pps.rs:296:4 [INFO] [stdout] | [INFO] [stdout] 296 | fn perspective_integration( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `dct_poisson` [INFO] [stdout] --> stenm-wasm/src/planar/pps.rs:358:4 [INFO] [stdout] | [INFO] [stdout] 358 | fn dct_poisson(p: &DMatrix, q: &DMatrix) -> DMatrix { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `coordinates_column_major` [INFO] [stdout] --> stenm-wasm/src/planar/pps.rs:400:4 [INFO] [stdout] | [INFO] [stdout] 400 | fn coordinates_column_major(shape: (usize, usize)) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `coordinates_from_mask` [INFO] [stdout] --> stenm-wasm/src/planar/pps.rs:407:4 [INFO] [stdout] | [INFO] [stdout] 407 | fn coordinates_from_mask(mask: &DMatrix) -> Vec<(usize, usize)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `extract_sparse` [INFO] [stdout] --> stenm-wasm/src/planar/pps.rs:413:4 [INFO] [stdout] | [INFO] [stdout] 413 | fn extract_sparse>( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `shrink` [INFO] [stdout] --> stenm-wasm/src/planar/pps.rs:448:4 [INFO] [stdout] | [INFO] [stdout] 448 | fn shrink(alpha: T, x: T) -> T { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Levels` [INFO] [stdout] --> stenm-wasm/src/planar/registration.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | type Levels = Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `gray_images` [INFO] [stdout] --> stenm-wasm/src/planar/registration.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn gray_images( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `merge_sparse` [INFO] [stdout] --> stenm-wasm/src/planar/registration.rs:191:4 [INFO] [stdout] | [INFO] [stdout] 191 | fn merge_sparse(matrices: &[DMatrix]) -> DMatrix { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `StepConfig` [INFO] [stdout] --> stenm-wasm/src/planar/registration.rs:204:8 [INFO] [stdout] | [INFO] [stdout] 204 | struct StepConfig { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Obs` [INFO] [stdout] --> stenm-wasm/src/planar/registration.rs:215:8 [INFO] [stdout] | [INFO] [stdout] 215 | struct Obs<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Forward` [INFO] [stdout] --> stenm-wasm/src/planar/registration.rs:228:5 [INFO] [stdout] | [INFO] [stdout] 228 | Forward, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Stop` [INFO] [stdout] --> stenm-wasm/src/planar/registration.rs:229:5 [INFO] [stdout] | [INFO] [stdout] 229 | Stop, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `State` [INFO] [stdout] --> stenm-wasm/src/planar/registration.rs:233:8 [INFO] [stdout] | [INFO] [stdout] 233 | struct State { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `step` [INFO] [stdout] --> stenm-wasm/src/planar/registration.rs:244:8 [INFO] [stdout] | [INFO] [stdout] 244 | fn step(&mut self, config: &StepConfig, obs: &Obs) -> Continue { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `coordinates_from_mask` [INFO] [stdout] --> stenm-wasm/src/planar/registration.rs:347:4 [INFO] [stdout] | [INFO] [stdout] 347 | fn coordinates_from_mask(mask: &DMatrix) -> Vec<(usize, usize)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `extract_sparse` [INFO] [stdout] --> stenm-wasm/src/planar/registration.rs:353:4 [INFO] [stdout] | [INFO] [stdout] 353 | fn extract_sparse>( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `compute_registered_gradients_full` [INFO] [stdout] --> stenm-wasm/src/planar/registration.rs:362:4 [INFO] [stdout] | [INFO] [stdout] 362 | fn compute_registered_gradients_full(shape: (usize, usize), registered: &[f32]) -> Vec<(f32, f32)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `compute_registered_gradients_sparse` [INFO] [stdout] --> stenm-wasm/src/planar/registration.rs:373:4 [INFO] [stdout] | [INFO] [stdout] 373 | fn compute_registered_gradients_sparse( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `forwards_compositional_step` [INFO] [stdout] --> stenm-wasm/src/planar/registration.rs:410:4 [INFO] [stdout] | [INFO] [stdout] 410 | fn forwards_compositional_step( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `projection_mat` [INFO] [stdout] --> stenm-wasm/src/planar/registration.rs:435:8 [INFO] [stdout] | [INFO] [stdout] 435 | pub fn projection_mat(params: &Vector6) -> Matrix3 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `projection_params` [INFO] [stdout] --> stenm-wasm/src/planar/registration.rs:443:8 [INFO] [stdout] | [INFO] [stdout] 443 | pub fn projection_params(mat: &Matrix3) -> Vector6 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `project_f32` [INFO] [stdout] --> stenm-wasm/src/planar/registration.rs:459:4 [INFO] [stdout] | [INFO] [stdout] 459 | fn project_f32( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `reproject_u8` [INFO] [stdout] --> stenm-wasm/src/planar/registration.rs:478:8 [INFO] [stdout] | [INFO] [stdout] 478 | pub fn reproject_u8(imgs: &[DMatrix], motion_vec: &[Vector6]) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `norm` [INFO] [stdout] --> stenm-wasm/src/planar/registration.rs:496:4 [INFO] [stdout] | [INFO] [stdout] 496 | fn norm(matrix: &DMatrix) -> f32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `norm_sqr` [INFO] [stdout] --> stenm-wasm/src/planar/registration.rs:500:4 [INFO] [stdout] | [INFO] [stdout] 500 | fn norm_sqr(matrix: &DMatrix) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `shrink` [INFO] [stdout] --> stenm-wasm/src/planar/registration.rs:505:4 [INFO] [stdout] | [INFO] [stdout] 505 | fn shrink(alpha: T, x: T) -> T { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `select` [INFO] [stdout] --> stenm-wasm/src/planar/sparse.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn select(diff_threshold: T, gradients: &[DMatrix]) -> Vec> [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `select_2x2_bloc` [INFO] [stdout] --> stenm-wasm/src/planar/sparse.rs:37:4 [INFO] [stdout] | [INFO] [stdout] 37 | fn select_2x2_bloc(pre_mask: &DMatrix, mat: &DMatrix, f: F) -> DMatrix [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `prune_with_thresh` [INFO] [stdout] --> stenm-wasm/src/planar/sparse.rs:73:4 [INFO] [stdout] | [INFO] [stdout] 73 | fn prune_with_thresh(thresh: T, a: T, b: T, c: T, d: T) -> [bool; 4] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `rgb_to_gray` [INFO] [stdout] --> stenm-wasm/src/planar/utils.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn rgb_to_gray(red: &DMatrix, green: &DMatrix, blue: &DMatrix) -> DMatrix { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `reshape` [INFO] [stdout] --> stenm-wasm/src/planar/utils.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn reshape( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `transpose` [INFO] [stdout] --> stenm-wasm/src/planar/utils.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn transpose(v: Vec>) -> Vec> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `encode` [INFO] [stdout] --> stenm-wasm/src/lib.rs:356:4 [INFO] [stdout] | [INFO] [stdout] 356 | fn encode(i: usize, mat: &Im) -> anyhow::Result> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `should_stop_bool` [INFO] [stdout] --> stenm-wasm/src/lib.rs:401:10 [INFO] [stdout] | [INFO] [stdout] 401 | async fn should_stop_bool(step: &str, progress: Option) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `original_motion` [INFO] [stdout] --> stenm-wasm/src/lib.rs:406:4 [INFO] [stdout] | [INFO] [stdout] 406 | fn original_motion(crop: Option, motion_vec_crop: Vec>) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `into_gray_u8` [INFO] [stdout] --> stenm-wasm/src/lib.rs:414:4 [INFO] [stdout] | [INFO] [stdout] 414 | fn into_gray_u8(m: DMatrix) -> DMatrix { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Point2` [INFO] [stdout] --> stenm-wasm/src/planar/camera.rs:11:1 [INFO] [stdout] | [INFO] [stdout] 11 | type Point2 = nalgebra::Point2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Point3` [INFO] [stdout] --> stenm-wasm/src/planar/camera.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | type Point3 = nalgebra::Point3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Vec3` [INFO] [stdout] --> stenm-wasm/src/planar/camera.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | type Vec3 = nalgebra::Vector3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Mat3` [INFO] [stdout] --> stenm-wasm/src/planar/camera.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | type Mat3 = nalgebra::Matrix3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> stenm-wasm/src/planar/camera.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn new(intrinsics: Intrinsics, extrinsics: Extrinsics) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `project` [INFO] [stdout] --> stenm-wasm/src/planar/camera.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn project(&self, point: Point3) -> Vec3 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `back_project` [INFO] [stdout] --> stenm-wasm/src/planar/camera.rs:47:12 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn back_project(&self, point: Point2, depth: f32) -> Point3 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `multi_res` [INFO] [stdout] --> stenm-wasm/src/planar/camera.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn multi_res(self, n: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `half_res` [INFO] [stdout] --> stenm-wasm/src/planar/camera.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn half_res(&self) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `project` [INFO] [stdout] --> stenm-wasm/src/planar/camera.rs:74:12 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn project(pose: &Extrinsics, point: Point3) -> Point3 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `back_project` [INFO] [stdout] --> stenm-wasm/src/planar/camera.rs:79:12 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn back_project(pose: &Extrinsics, point: Point3) -> Point3 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `matrix` [INFO] [stdout] --> stenm-wasm/src/planar/camera.rs:122:12 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn matrix(&self) -> Affine2 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `multi_res` [INFO] [stdout] --> stenm-wasm/src/planar/camera.rs:132:12 [INFO] [stdout] | [INFO] [stdout] 132 | pub fn multi_res(self, n: usize) -> Vec { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `half_res` [INFO] [stdout] --> stenm-wasm/src/planar/camera.rs:141:12 [INFO] [stdout] | [INFO] [stdout] 141 | pub fn half_res(&self) -> Self { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `project` [INFO] [stdout] --> stenm-wasm/src/planar/camera.rs:152:12 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn project(&self, point: Point3) -> Vec3 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `back_project` [INFO] [stdout] --> stenm-wasm/src/planar/camera.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn back_project(&self, point: Point2, depth: f32) -> Point3 { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `smooth` [INFO] [stdout] --> stenm-wasm/src/planar/filter.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn smooth(img: &DMatrix) -> DMatrix { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `conv_2d_direct_same` [INFO] [stdout] --> stenm-wasm/src/planar/filter.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn conv_2d_direct_same(img: &DMatrix, kernel: &DMatrix) -> DMatrix { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `gradients_f32` [INFO] [stdout] --> stenm-wasm/src/planar/filter.rs:71:8 [INFO] [stdout] | [INFO] [stdout] 71 | pub fn gradients_f32(img: &DMatrix) -> (DMatrix, DMatrix) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `conv_2d_direct_same_f32` [INFO] [stdout] --> stenm-wasm/src/planar/filter.rs:83:8 [INFO] [stdout] | [INFO] [stdout] 83 | pub fn conv_2d_direct_same_f32(img: &DMatrix, kernel: &DMatrix) -> DMatrix { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `gaussian_kernel` [INFO] [stdout] --> stenm-wasm/src/planar/filter.rs:112:8 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn gaussian_kernel(sigma: f32, size: usize) -> DMatrix { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `centered` [INFO] [stdout] --> stenm-wasm/src/planar/gradients.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn centered(img: &na::DMatrix) -> (na::DMatrix, na::DMatrix) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `centered_f32` [INFO] [stdout] --> stenm-wasm/src/planar/gradients.rs:41:8 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn centered_f32(img: &na::DMatrix) -> na::DMatrix<(f32, f32)> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `centered_4` [INFO] [stdout] --> stenm-wasm/src/planar/gradients.rs:66:8 [INFO] [stdout] | [INFO] [stdout] 66 | pub fn centered_4(img: &na::DMatrix) -> (na::DMatrix, na::DMatrix) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `centered_4_f32` [INFO] [stdout] --> stenm-wasm/src/planar/gradients.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn centered_4_f32(img: &na::DMatrix) -> (na::DMatrix, na::DMatrix) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `squared_norm` [INFO] [stdout] --> stenm-wasm/src/planar/gradients.rs:134:8 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn squared_norm(grad_x: &na::DMatrix, grad_y: &na::DMatrix) -> na::DMatrix { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `squared_norm_direct` [INFO] [stdout] --> stenm-wasm/src/planar/gradients.rs:145:8 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn squared_norm_direct(im: &na::DMatrix) -> na::DMatrix { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `bloc_x` [INFO] [stdout] --> stenm-wasm/src/planar/gradients.rs:170:8 [INFO] [stdout] | [INFO] [stdout] 170 | pub fn bloc_x(a: u8, b: u8, c: u8, d: u8) -> i16 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `bloc_y` [INFO] [stdout] --> stenm-wasm/src/planar/gradients.rs:183:8 [INFO] [stdout] | [INFO] [stdout] 183 | pub fn bloc_y(a: u8, b: u8, c: u8, d: u8) -> i16 { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `bloc_squared_norm` [INFO] [stdout] --> stenm-wasm/src/planar/gradients.rs:198:8 [INFO] [stdout] | [INFO] [stdout] 198 | pub fn bloc_squared_norm(a: u8, b: u8, c: u8, d: u8) -> u16 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `image_from_matrix` [INFO] [stdout] --> stenm-wasm/src/planar/interop.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn image_from_matrix(mat: &DMatrix) -> GrayImage { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `rgb_from_matrix` [INFO] [stdout] --> stenm-wasm/src/planar/interop.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn rgb_from_matrix(mat: &DMatrix<(u8, u8, u8)>) -> RgbImage { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `image_from_matrix_transposed` [INFO] [stdout] --> stenm-wasm/src/planar/interop.rs:45:8 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn image_from_matrix_transposed(mat: &DMatrix) -> ImageBuffer, &[u8]> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `matrix_from_image` [INFO] [stdout] --> stenm-wasm/src/planar/interop.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 53 | pub fn matrix_from_image(img: GrayImage) -> DMatrix { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `matrix_from_rgb_image` [INFO] [stdout] --> stenm-wasm/src/planar/interop.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn matrix_from_rgb_image(img: RgbImage) -> DMatrix<(u8, u8, u8)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `green_mat_from_rgb_image` [INFO] [stdout] --> stenm-wasm/src/planar/interop.rs:72:8 [INFO] [stdout] | [INFO] [stdout] 72 | pub fn green_mat_from_rgb_image(img: RgbImage) -> DMatrix { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `linear` [INFO] [stdout] --> stenm-wasm/src/planar/interpolation.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn linear(x: f32, y: f32, image: &DMatrix) -> f32 [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `nearest_border` [INFO] [stdout] --> stenm-wasm/src/planar/interpolation.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | fn nearest_border(x: f32, y: f32, width: usize, height: usize) -> (usize, usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `DEFAULT_OUT_DIR` [INFO] [stdout] --> stenm-wasm/src/planar/main.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 13 | const DEFAULT_OUT_DIR: &str = "out"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `DEFAULT_Z_MEAN` [INFO] [stdout] --> stenm-wasm/src/planar/main.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | const DEFAULT_Z_MEAN: f32 = 3500.0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `DEFAULT_THRESHOLD` [INFO] [stdout] --> stenm-wasm/src/planar/main.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | const DEFAULT_THRESHOLD: f32 = 1e-4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `DEFAULT_MAX_ITERATIONS` [INFO] [stdout] --> stenm-wasm/src/planar/main.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | const DEFAULT_MAX_ITERATIONS: usize = 10; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `absolute_file_paths` [INFO] [stdout] --> stenm-wasm/src/planar/main.rs:135:4 [INFO] [stdout] | [INFO] [stdout] 135 | fn absolute_file_paths(args: &[String]) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `paths_from_glob` [INFO] [stdout] --> stenm-wasm/src/planar/main.rs:148:4 [INFO] [stdout] | [INFO] [stdout] 148 | fn paths_from_glob(p: &str) -> Result, Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `save_u8_imgs` [INFO] [stdout] --> stenm-wasm/src/planar/main.rs:219:8 [INFO] [stdout] | [INFO] [stdout] 219 | pub fn save_u8_imgs(dir: &Path, imgs: &[DMatrix]) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `save_matrix` [INFO] [stdout] --> stenm-wasm/src/planar/main.rs:228:8 [INFO] [stdout] | [INFO] [stdout] 228 | pub fn save_matrix>(img: &DMatrix, path: P) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `mean_pyramid` [INFO] [stdout] --> stenm-wasm/src/planar/multires.rs:19:8 [INFO] [stdout] | [INFO] [stdout] 19 | pub fn mean_pyramid(max_levels: usize, mat: DMatrix) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `limited_sequence` [INFO] [stdout] --> stenm-wasm/src/planar/multires.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn limited_sequence Option, T>(max_length: usize, data: T, f: F) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `sequence` [INFO] [stdout] --> stenm-wasm/src/planar/multires.rs:51:8 [INFO] [stdout] | [INFO] [stdout] 51 | pub fn sequence Option, T>(data: T, mut f: F) -> Vec { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `halve` [INFO] [stdout] --> stenm-wasm/src/planar/multires.rs:65:8 [INFO] [stdout] | [INFO] [stdout] 65 | pub fn halve(mat: &DMatrix, f: F) -> Option> [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `gradients_squared_norm` [INFO] [stdout] --> stenm-wasm/src/planar/multires.rs:94:8 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn gradients_squared_norm(multires_mat: &[DMatrix]) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `gradients_xy` [INFO] [stdout] --> stenm-wasm/src/planar/multires.rs:110:8 [INFO] [stdout] | [INFO] [stdout] 110 | pub fn gradients_xy(multires_mat: &[DMatrix]) -> Vec<(DMatrix, DMatrix)> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `Continue` [INFO] [stdout] --> stenm-wasm/src/planar/optimizer.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum Continue { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Color` [INFO] [stdout] --> stenm-wasm/src/planar/pps.rs:89:1 [INFO] [stdout] | [INFO] [stdout] 89 | type Color = (u8, u8, u8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `substract_ambiant` [INFO] [stdout] --> stenm-wasm/src/planar/pps.rs:91:4 [INFO] [stdout] | [INFO] [stdout] 91 | fn substract_ambiant(raw_imgs: &[DMatrix], ambiant: &DMatrix) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `save_matrix` [INFO] [stdout] --> stenm-wasm/src/planar/pps.rs:132:4 [INFO] [stdout] | [INFO] [stdout] 132 | fn save_matrix>(img: &DMatrix, path: P) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `perspective_integration` [INFO] [stdout] --> stenm-wasm/src/planar/pps.rs:296:4 [INFO] [stdout] | [INFO] [stdout] 296 | fn perspective_integration( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `dct_poisson` [INFO] [stdout] --> stenm-wasm/src/planar/pps.rs:358:4 [INFO] [stdout] | [INFO] [stdout] 358 | fn dct_poisson(p: &DMatrix, q: &DMatrix) -> DMatrix { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `coordinates_column_major` [INFO] [stdout] --> stenm-wasm/src/planar/pps.rs:400:4 [INFO] [stdout] | [INFO] [stdout] 400 | fn coordinates_column_major(shape: (usize, usize)) -> impl Iterator { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `coordinates_from_mask` [INFO] [stdout] --> stenm-wasm/src/planar/pps.rs:407:4 [INFO] [stdout] | [INFO] [stdout] 407 | fn coordinates_from_mask(mask: &DMatrix) -> Vec<(usize, usize)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `extract_sparse` [INFO] [stdout] --> stenm-wasm/src/planar/pps.rs:413:4 [INFO] [stdout] | [INFO] [stdout] 413 | fn extract_sparse>( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `shrink` [INFO] [stdout] --> stenm-wasm/src/planar/pps.rs:448:4 [INFO] [stdout] | [INFO] [stdout] 448 | fn shrink(alpha: T, x: T) -> T { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias is never used: `Levels` [INFO] [stdout] --> stenm-wasm/src/planar/registration.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | type Levels = Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `gray_images` [INFO] [stdout] --> stenm-wasm/src/planar/registration.rs:33:8 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn gray_images( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `merge_sparse` [INFO] [stdout] --> stenm-wasm/src/planar/registration.rs:191:4 [INFO] [stdout] | [INFO] [stdout] 191 | fn merge_sparse(matrices: &[DMatrix]) -> DMatrix { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `StepConfig` [INFO] [stdout] --> stenm-wasm/src/planar/registration.rs:204:8 [INFO] [stdout] | [INFO] [stdout] 204 | struct StepConfig { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `Obs` [INFO] [stdout] --> stenm-wasm/src/planar/registration.rs:215:8 [INFO] [stdout] | [INFO] [stdout] 215 | struct Obs<'a> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Forward` [INFO] [stdout] --> stenm-wasm/src/planar/registration.rs:228:5 [INFO] [stdout] | [INFO] [stdout] 228 | Forward, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant is never constructed: `Stop` [INFO] [stdout] --> stenm-wasm/src/planar/registration.rs:229:5 [INFO] [stdout] | [INFO] [stdout] 229 | Stop, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `State` [INFO] [stdout] --> stenm-wasm/src/planar/registration.rs:233:8 [INFO] [stdout] | [INFO] [stdout] 233 | struct State { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `step` [INFO] [stdout] --> stenm-wasm/src/planar/registration.rs:244:8 [INFO] [stdout] | [INFO] [stdout] 244 | fn step(&mut self, config: &StepConfig, obs: &Obs) -> Continue { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `coordinates_from_mask` [INFO] [stdout] --> stenm-wasm/src/planar/registration.rs:347:4 [INFO] [stdout] | [INFO] [stdout] 347 | fn coordinates_from_mask(mask: &DMatrix) -> Vec<(usize, usize)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `extract_sparse` [INFO] [stdout] --> stenm-wasm/src/planar/registration.rs:353:4 [INFO] [stdout] | [INFO] [stdout] 353 | fn extract_sparse>( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `compute_registered_gradients_full` [INFO] [stdout] --> stenm-wasm/src/planar/registration.rs:362:4 [INFO] [stdout] | [INFO] [stdout] 362 | fn compute_registered_gradients_full(shape: (usize, usize), registered: &[f32]) -> Vec<(f32, f32)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `compute_registered_gradients_sparse` [INFO] [stdout] --> stenm-wasm/src/planar/registration.rs:373:4 [INFO] [stdout] | [INFO] [stdout] 373 | fn compute_registered_gradients_sparse( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `forwards_compositional_step` [INFO] [stdout] --> stenm-wasm/src/planar/registration.rs:410:4 [INFO] [stdout] | [INFO] [stdout] 410 | fn forwards_compositional_step( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `projection_mat` [INFO] [stdout] --> stenm-wasm/src/planar/registration.rs:435:8 [INFO] [stdout] | [INFO] [stdout] 435 | pub fn projection_mat(params: &Vector6) -> Matrix3 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `projection_params` [INFO] [stdout] --> stenm-wasm/src/planar/registration.rs:443:8 [INFO] [stdout] | [INFO] [stdout] 443 | pub fn projection_params(mat: &Matrix3) -> Vector6 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `project_f32` [INFO] [stdout] --> stenm-wasm/src/planar/registration.rs:459:4 [INFO] [stdout] | [INFO] [stdout] 459 | fn project_f32( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `reproject_u8` [INFO] [stdout] --> stenm-wasm/src/planar/registration.rs:478:8 [INFO] [stdout] | [INFO] [stdout] 478 | pub fn reproject_u8(imgs: &[DMatrix], motion_vec: &[Vector6]) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `norm` [INFO] [stdout] --> stenm-wasm/src/planar/registration.rs:496:4 [INFO] [stdout] | [INFO] [stdout] 496 | fn norm(matrix: &DMatrix) -> f32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `norm_sqr` [INFO] [stdout] --> stenm-wasm/src/planar/registration.rs:500:4 [INFO] [stdout] | [INFO] [stdout] 500 | fn norm_sqr(matrix: &DMatrix) -> f64 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `shrink` [INFO] [stdout] --> stenm-wasm/src/planar/registration.rs:505:4 [INFO] [stdout] | [INFO] [stdout] 505 | fn shrink(alpha: T, x: T) -> T { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `select` [INFO] [stdout] --> stenm-wasm/src/planar/sparse.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn select(diff_threshold: T, gradients: &[DMatrix]) -> Vec> [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `select_2x2_bloc` [INFO] [stdout] --> stenm-wasm/src/planar/sparse.rs:37:4 [INFO] [stdout] | [INFO] [stdout] 37 | fn select_2x2_bloc(pre_mask: &DMatrix, mat: &DMatrix, f: F) -> DMatrix [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `prune_with_thresh` [INFO] [stdout] --> stenm-wasm/src/planar/sparse.rs:73:4 [INFO] [stdout] | [INFO] [stdout] 73 | fn prune_with_thresh(thresh: T, a: T, b: T, c: T, d: T) -> [bool; 4] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `rgb_to_gray` [INFO] [stdout] --> stenm-wasm/src/planar/utils.rs:12:8 [INFO] [stdout] | [INFO] [stdout] 12 | pub fn rgb_to_gray(red: &DMatrix, green: &DMatrix, blue: &DMatrix) -> DMatrix { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `reshape` [INFO] [stdout] --> stenm-wasm/src/planar/utils.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 30 | pub fn reshape( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `transpose` [INFO] [stdout] --> stenm-wasm/src/planar/utils.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn transpose(v: Vec>) -> Vec> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `encode` [INFO] [stdout] --> stenm-wasm/src/lib.rs:356:4 [INFO] [stdout] | [INFO] [stdout] 356 | fn encode(i: usize, mat: &Im) -> anyhow::Result> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `should_stop_bool` [INFO] [stdout] --> stenm-wasm/src/lib.rs:401:10 [INFO] [stdout] | [INFO] [stdout] 401 | async fn should_stop_bool(step: &str, progress: Option) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `original_motion` [INFO] [stdout] --> stenm-wasm/src/lib.rs:406:4 [INFO] [stdout] | [INFO] [stdout] 406 | fn original_motion(crop: Option, motion_vec_crop: Vec>) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `into_gray_u8` [INFO] [stdout] --> stenm-wasm/src/lib.rs:414:4 [INFO] [stdout] | [INFO] [stdout] 414 | fn into_gray_u8(m: DMatrix) -> DMatrix { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 107 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 107 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 45.40s [INFO] running `Command { std: "docker" "inspect" "b96bf75d873356415e11756ed35e05b8f8403ad5783adb3fcd5d950256955526", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b96bf75d873356415e11756ed35e05b8f8403ad5783adb3fcd5d950256955526", kill_on_drop: false }` [INFO] [stdout] b96bf75d873356415e11756ed35e05b8f8403ad5783adb3fcd5d950256955526