[INFO] fetching crate colmap 0.1.2... [INFO] building colmap-0.1.2 against master#ad85bc524b1ad696e42061ad8338d382dffbdbe5 for pr-146237-1 [INFO] extracting crate colmap 0.1.2 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate colmap 0.1.2 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate colmap 0.1.2 [INFO] tweaked toml for crates.io crate colmap 0.1.2 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate colmap 0.1.2 on toolchain ad85bc524b1ad696e42061ad8338d382dffbdbe5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate colmap 0.1.2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rgb v0.8.52 [INFO] [stderr] Downloaded nalgebra-sparse v0.11.0 [INFO] [stderr] Downloaded criterion v0.7.0 [INFO] [stderr] Downloaded owned_ttf_parser v0.25.1 [INFO] [stderr] Downloaded criterion-plot v0.6.0 [INFO] [stderr] Downloaded bit_field v0.10.3 [INFO] [stderr] Downloaded argmin-math v0.4.0 [INFO] [stderr] Downloaded clap v4.5.46 [INFO] [stderr] Downloaded clap_builder v4.5.46 [INFO] [stderr] Downloaded weezl v0.1.10 [INFO] [stderr] Downloaded argmin v0.10.0 [INFO] [stderr] Downloaded imageproc v0.25.0 [INFO] [stderr] Downloaded glam v0.19.0 [INFO] [stderr] Downloaded libfuzzer-sys v0.4.10 [INFO] [stderr] Downloaded glam v0.21.3 [INFO] [stderr] Downloaded jpeg-decoder v0.3.2 [INFO] [stderr] Downloaded safe_arch v0.9.2 [INFO] [stderr] Downloaded wide v0.7.34 [INFO] [stderr] Downloaded glam v0.27.0 [INFO] [stderr] Downloaded glam v0.14.0 [INFO] [stderr] Downloaded nalgebra v0.34.0 [INFO] [stderr] Downloaded glam v0.16.0 [INFO] [stderr] Downloaded nalgebra v0.32.6 [INFO] [stderr] Downloaded glam v0.20.5 [INFO] [stderr] Downloaded simba v0.8.1 [INFO] [stderr] Downloaded simba v0.9.0 [INFO] [stderr] Downloaded glam v0.22.0 [INFO] [stderr] Downloaded glam v0.23.0 [INFO] [stderr] Downloaded ab_glyph v0.2.31 [INFO] [stderr] Downloaded test-case v3.3.1 [INFO] [stderr] Downloaded avif-serialize v0.8.6 [INFO] [stderr] Downloaded equator v0.4.2 [INFO] [stderr] Downloaded v_frame v0.3.9 [INFO] [stderr] Downloaded ab_glyph_rasterizer v0.1.10 [INFO] [stderr] Downloaded av1-grain v0.2.4 [INFO] [stderr] Downloaded profiling-procmacros v1.0.17 [INFO] [stderr] Downloaded ravif v0.11.20 [INFO] [stderr] Downloaded glam v0.28.0 [INFO] [stderr] Downloaded glam v0.18.0 [INFO] [stderr] Downloaded rstest_macros v0.26.1 [INFO] [stderr] Downloaded profiling v1.0.17 [INFO] [stderr] Downloaded equator-macro v0.4.2 [INFO] [stderr] Downloaded aligned-vec v0.6.4 [INFO] [stderr] Downloaded glam v0.15.2 [INFO] [stderr] Downloaded glam v0.17.3 [INFO] [stderr] Downloaded nalgebra-macros v0.3.0 [INFO] [stderr] Downloaded rstest v0.26.1 [INFO] [stderr] Downloaded gif v0.13.3 [INFO] [stderr] Downloaded image-webp v0.2.4 [INFO] [stderr] Downloaded zune-jpeg v0.4.20 [INFO] [stderr] Downloaded rand_distr v0.4.3 [INFO] [stderr] Downloaded relative-path v1.9.3 [INFO] [stderr] Downloaded test-case-core v3.3.1 [INFO] [stderr] Downloaded test-case-macros v3.3.1 [INFO] [stderr] Downloaded tokio-test v0.4.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 439720408d084f2122e717c73bb0029a5f5ccb94d1f101d0cedddb8d902fa238 [INFO] running `Command { std: "docker" "start" "-a" "439720408d084f2122e717c73bb0029a5f5ccb94d1f101d0cedddb8d902fa238", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "439720408d084f2122e717c73bb0029a5f5ccb94d1f101d0cedddb8d902fa238", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "439720408d084f2122e717c73bb0029a5f5ccb94d1f101d0cedddb8d902fa238", kill_on_drop: false }` [INFO] [stdout] 439720408d084f2122e717c73bb0029a5f5ccb94d1f101d0cedddb8d902fa238 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 25d2ab258e2575702b579ae9b20db0b75500c1c7de2223060df9fb37a90f0a13 [INFO] running `Command { std: "docker" "start" "-a" "25d2ab258e2575702b579ae9b20db0b75500c1c7de2223060df9fb37a90f0a13", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.175 [INFO] [stderr] Compiling bytemuck v1.23.2 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Compiling arrayvec v0.7.6 [INFO] [stderr] Compiling built v0.7.7 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling quick-error v2.0.1 [INFO] [stderr] Compiling bitstream-io v2.6.0 [INFO] [stderr] Compiling weezl v0.1.10 [INFO] [stderr] Compiling maybe-rayon v0.1.1 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Compiling miniz_oxide v0.8.9 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Compiling imgref v1.11.0 [INFO] [stderr] Compiling avif-serialize v0.8.6 [INFO] [stderr] Compiling safe_arch v0.9.2 [INFO] [stderr] Compiling fdeflate v0.3.7 [INFO] [stderr] Compiling loop9 v0.1.5 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling half v2.6.0 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling flate2 v1.1.2 [INFO] [stderr] Compiling byteorder-lite v0.1.0 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling wide v0.7.34 [INFO] [stderr] Compiling bit_field v0.10.3 [INFO] [stderr] Compiling ttf-parser v0.25.1 [INFO] [stderr] Compiling lebe v0.5.2 [INFO] [stderr] Compiling zune-core v0.4.12 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling num-integer v0.1.46 [INFO] [stderr] Compiling approx v0.5.1 [INFO] [stderr] Compiling rgb v0.8.52 [INFO] [stderr] Compiling jpeg-decoder v0.3.2 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Compiling png v0.17.16 [INFO] [stderr] Compiling exr v1.73.0 [INFO] [stderr] Compiling zune-jpeg v0.4.20 [INFO] [stderr] Compiling num-bigint v0.4.6 [INFO] [stderr] Compiling num-iter v0.1.45 [INFO] [stderr] Compiling image-webp v0.2.4 [INFO] [stderr] Compiling gif v0.13.3 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling getrandom v0.2.16 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.10 [INFO] [stderr] Compiling rand_core v0.9.3 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling tiff v0.9.1 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling anstream v0.6.20 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling rand_chacha v0.9.0 [INFO] [stderr] Compiling rand_xoshiro v0.6.0 [INFO] [stderr] Compiling instant v0.1.13 [INFO] [stderr] Compiling iana-time-zone v0.1.63 [INFO] [stderr] Compiling jiff v0.2.15 [INFO] [stderr] Compiling num_cpus v1.17.0 [INFO] [stderr] Compiling rand v0.9.2 [INFO] [stderr] Compiling num-rational v0.4.2 [INFO] [stderr] Compiling rand_distr v0.4.3 [INFO] [stderr] Compiling owned_ttf_parser v0.25.1 [INFO] [stderr] Compiling ab_glyph v0.2.31 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling equator-macro v0.4.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling profiling-procmacros v1.0.17 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling nalgebra-macros v0.3.0 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling profiling v1.0.17 [INFO] [stderr] Compiling equator v0.4.2 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling aligned-vec v0.6.4 [INFO] [stderr] Compiling v_frame v0.3.9 [INFO] [stderr] Compiling av1-grain v0.2.4 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling simba v0.9.0 [INFO] [stderr] Compiling simba v0.8.1 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling argmin-math v0.4.0 [INFO] [stderr] Compiling ravif v0.11.20 [INFO] [stderr] Compiling image v0.25.6 [INFO] [stderr] Compiling argmin v0.10.0 [INFO] [stderr] Compiling nalgebra v0.32.6 [INFO] [stderr] Compiling nalgebra v0.34.0 [INFO] [stderr] Compiling imageproc v0.25.0 [INFO] [stderr] Compiling nalgebra-sparse v0.11.0 [INFO] [stderr] Compiling colmap v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Feature` [INFO] [stdout] --> src/feature/brief.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::core::{Feature, ColmapError}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Luma` [INFO] [stdout] --> src/feature/fast.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | use image::{GrayImage, Luma}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/feature/gpu.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cuda` [INFO] [stdout] --> src/feature/gpu.rs:168:11 [INFO] [stdout] | [INFO] [stdout] 168 | #[cfg(feature = "cuda")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cuda` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `opencl` [INFO] [stdout] --> src/feature/gpu.rs:175:11 [INFO] [stdout] | [INFO] [stdout] 175 | #[cfg(feature = "opencl")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `opencl` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cuda` [INFO] [stdout] --> src/feature/gpu.rs:141:15 [INFO] [stdout] | [INFO] [stdout] 141 | #[cfg(feature = "cuda")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cuda` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `opencl` [INFO] [stdout] --> src/feature/gpu.rs:146:15 [INFO] [stdout] | [INFO] [stdout] 146 | #[cfg(feature = "opencl")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `opencl` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/lib.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | pub use core::*; [INFO] [stdout] | ^^^^^^^ the name `FeatureMatch` in the type namespace is first re-exported here [INFO] [stdout] 170 | pub use feature::*; [INFO] [stdout] | ---------- but the name `FeatureMatch` in the type namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/lib.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | pub use core::*; [INFO] [stdout] | ^^^^^^^ the name `ReconstructionStats` in the type namespace is first re-exported here [INFO] [stdout] 170 | pub use feature::*; [INFO] [stdout] 171 | pub use sfm::*; [INFO] [stdout] | ------ but the name `ReconstructionStats` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/feature/geometric.rs:280:29 [INFO] [stdout] | [INFO] [stdout] 280 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/feature/geometric.rs:331:29 [INFO] [stdout] | [INFO] [stdout] 331 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/feature/geometric.rs:382:29 [INFO] [stdout] | [INFO] [stdout] 382 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/mvs/depth.rs:172:29 [INFO] [stdout] | [INFO] [stdout] 172 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/mvs/depth.rs:273:29 [INFO] [stdout] | [INFO] [stdout] 273 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stdout] --> src/feature/brief.rs:62:21 [INFO] [stdout] | [INFO] [stdout] 62 | rng.gen_range(-half_patch..=half_patch), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stdout] --> src/feature/brief.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | rng.gen_range(-half_patch..=half_patch), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stdout] --> src/feature/brief.rs:66:21 [INFO] [stdout] | [INFO] [stdout] 66 | rng.gen_range(-half_patch..=half_patch), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stdout] --> src/feature/brief.rs:67:21 [INFO] [stdout] | [INFO] [stdout] 67 | rng.gen_range(-half_patch..=half_patch), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stdout] --> src/feature/geometric.rs:286:31 [INFO] [stdout] | [INFO] [stdout] 286 | let idx = rng.gen_range(0..points1.len()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stdout] --> src/feature/geometric.rs:337:31 [INFO] [stdout] | [INFO] [stdout] 337 | let idx = rng.gen_range(0..points1.len()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stdout] --> src/feature/geometric.rs:388:31 [INFO] [stdout] | [INFO] [stdout] 388 | let idx = rng.gen_range(0..points1.len()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stdout] --> src/mvs/depth.rs:179:33 [INFO] [stdout] | [INFO] [stdout] 179 | let depth = rng.gen_range(self.config.min_depth..self.config.max_depth); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stdout] --> src/mvs/depth.rs:197:25 [INFO] [stdout] | [INFO] [stdout] 197 | let x = rng.gen_range(-1.0..1.0); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stdout] --> src/mvs/depth.rs:198:25 [INFO] [stdout] | [INFO] [stdout] 198 | let y = rng.gen_range(-1.0..1.0); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stdout] --> src/mvs/depth.rs:199:25 [INFO] [stdout] | [INFO] [stdout] 199 | let z = rng.gen_range(-1.0..1.0); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stdout] --> src/mvs/depth.rs:285:44 [INFO] [stdout] | [INFO] [stdout] 285 | let depth_offset = rng.gen_range(-search_range..search_range); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `angle` [INFO] [stdout] --> src/feature/descriptor.rs:127:86 [INFO] [stdout] | [INFO] [stdout] 127 | fn compute_sift_descriptor(&self, image: &GrayImage, x: u32, y: u32, scale: f64, angle: f64) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 127 | fn compute_sift_descriptor(&self, image: &GrayImage, x: u32, y: u32, scale: f64, _angle: f64) -> Vec { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `THRESHOLD` [INFO] [stdout] | [INFO] [stdout] 127 - fn compute_sift_descriptor(&self, image: &GrayImage, x: u32, y: u32, scale: f64, angle: f64) -> Vec { [INFO] [stdout] 127 + fn compute_sift_descriptor(&self, image: &GrayImage, x: u32, y: u32, scale: f64, utils::format_bytes::THRESHOLD: f64) -> Vec { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pose1` [INFO] [stdout] --> src/sfm/incremental.rs:422:9 [INFO] [stdout] | [INFO] [stdout] 422 | pose1: &CameraPose, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_pose1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pose2` [INFO] [stdout] --> src/sfm/incremental.rs:423:9 [INFO] [stdout] | [INFO] [stdout] 423 | pose2: &CameraPose, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_pose2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `image` [INFO] [stdout] --> src/sfm/incremental.rs:635:13 [INFO] [stdout] | [INFO] [stdout] 635 | let image = self.images.get(&image_id) [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_image` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point3d` [INFO] [stdout] --> src/sfm/incremental.rs:1024:13 [INFO] [stdout] | [INFO] [stdout] 1024 | for point3d in self.points3d.values() { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_point3d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> src/mvs/stereo.rs:104:13 [INFO] [stdout] | [INFO] [stdout] 104 | let width = left_image.size.0; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `height` [INFO] [stdout] --> src/mvs/stereo.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | let height = left_image.size.1; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `left_image` [INFO] [stdout] --> src/mvs/stereo.rs:372:9 [INFO] [stdout] | [INFO] [stdout] 372 | left_image: &Image, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_left_image` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `right_image` [INFO] [stdout] --> src/mvs/stereo.rs:373:9 [INFO] [stdout] | [INFO] [stdout] 373 | right_image: &Image, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_right_image` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `normal` [INFO] [stdout] --> src/mvs/depth.rs:399:9 [INFO] [stdout] | [INFO] [stdout] 399 | normal: &Vector3, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_normal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `px` [INFO] [stdout] --> src/mvs/fusion.rs:513:13 [INFO] [stdout] | [INFO] [stdout] 513 | let px = x.clamp(0.0, (image.size.0 - 1) as f64) as u32; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_px` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `py` [INFO] [stdout] --> src/mvs/fusion.rs:514:13 [INFO] [stdout] | [INFO] [stdout] 514 | let py = y.clamp(0.0, (image.size.1 - 1) as f64) as u32; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_py` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/feature/descriptor.rs:250:5 [INFO] [stdout] | [INFO] [stdout] 249 | pub struct OrbExtractor { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 250 | config: ExtractorConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/feature/descriptor.rs:461:5 [INFO] [stdout] | [INFO] [stdout] 460 | pub struct BriskExtractor { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 461 | config: ExtractorConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `backend` is never read [INFO] [stdout] --> src/feature/gpu.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 101 | pub struct GpuManager { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 107 | backend: GpuBackend, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `enable_pool` is never read [INFO] [stdout] --> src/feature/gpu.rs:297:5 [INFO] [stdout] | [INFO] [stdout] 291 | pub struct GpuMemoryManager { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 297 | enable_pool: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `stereo_matcher` is never read [INFO] [stdout] --> src/mvs/mod.rs:202:5 [INFO] [stdout] | [INFO] [stdout] 200 | pub struct MvsReconstructor { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 201 | config: MvsConfig, [INFO] [stdout] 202 | stereo_matcher: StereoMatcher, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MvsReconstructor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pixel_x`, `pixel_y`, and `depth` are never read [INFO] [stdout] --> src/mvs/fusion.rs:527:5 [INFO] [stdout] | [INFO] [stdout] 523 | struct CandidatePoint { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 527 | pixel_x: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 528 | pixel_y: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 529 | depth: f32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CandidatePoint` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `confidence` and `has_point` are never read [INFO] [stdout] --> src/mvs/meshing.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 120 | struct VoxelData { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 126 | confidence: f32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 127 | /// 是否包含点 [INFO] [stdout] 128 | has_point: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VoxelData` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 32s [INFO] running `Command { std: "docker" "inspect" "25d2ab258e2575702b579ae9b20db0b75500c1c7de2223060df9fb37a90f0a13", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "25d2ab258e2575702b579ae9b20db0b75500c1c7de2223060df9fb37a90f0a13", kill_on_drop: false }` [INFO] [stdout] 25d2ab258e2575702b579ae9b20db0b75500c1c7de2223060df9fb37a90f0a13 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+ad85bc524b1ad696e42061ad8338d382dffbdbe5" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2c3ebd07b44712af46189780f8bb0ffe1f166f9b200c4e649b9d33f3994d2f0a [INFO] running `Command { std: "docker" "start" "-a" "2c3ebd07b44712af46189780f8bb0ffe1f166f9b200c4e649b9d33f3994d2f0a", kill_on_drop: false }` [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling regex-automata v0.4.10 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Compiling winnow v0.7.13 [INFO] [stderr] Compiling bitflags v2.9.3 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling clap_builder v4.5.46 [INFO] [stderr] Compiling tokio v1.47.1 [INFO] [stderr] Compiling wait-timeout v0.2.1 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling bit-vec v0.8.0 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling rand_xorshift v0.4.0 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Compiling unarray v0.1.4 [INFO] [stderr] Compiling bit-set v0.8.0 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling futures-timer v3.0.3 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling rstest_macros v0.26.1 [INFO] [stderr] Compiling criterion-plot v0.6.0 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling tempfile v3.21.0 [INFO] [stderr] Compiling rusty-fork v0.3.0 [INFO] [stderr] Compiling proptest v1.7.0 [INFO] [stderr] Compiling regex v1.11.2 [INFO] [stderr] Compiling tokio-stream v0.1.17 [INFO] [stderr] Compiling clap v4.5.46 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling env_logger v0.11.8 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Compiling test-case-core v3.3.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling equator-macro v0.4.2 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling profiling-procmacros v1.0.17 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Compiling nalgebra-macros v0.3.0 [INFO] [stderr] Compiling thiserror-impl v2.0.16 [INFO] [stderr] Compiling async-stream-impl v0.3.6 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling test-case-macros v3.3.1 [INFO] [stderr] Compiling async-stream v0.3.6 [INFO] [stderr] Compiling profiling v1.0.17 [INFO] [stderr] Compiling tokio-test v0.4.4 [INFO] [stderr] Compiling equator v0.4.2 [INFO] [stderr] Compiling aligned-vec v0.6.4 [INFO] [stderr] Compiling test-case v3.3.1 [INFO] [stderr] Compiling v_frame v0.3.9 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Compiling av1-grain v0.2.4 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling rstest v0.26.1 [INFO] [stderr] Compiling num-complex v0.4.6 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling chrono v0.4.41 [INFO] [stderr] Compiling simba v0.8.1 [INFO] [stderr] Compiling simba v0.9.0 [INFO] [stderr] Compiling num v0.4.3 [INFO] [stderr] Compiling argmin-math v0.4.0 [INFO] [stderr] Compiling ravif v0.11.20 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling criterion v0.7.0 [INFO] [stderr] Compiling image v0.25.6 [INFO] [stderr] Compiling argmin v0.10.0 [INFO] [stderr] Compiling nalgebra v0.34.0 [INFO] [stderr] Compiling nalgebra v0.32.6 [INFO] [stderr] Compiling imageproc v0.25.0 [INFO] [stderr] Compiling nalgebra-sparse v0.11.0 [INFO] [stderr] Compiling colmap v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Feature` [INFO] [stdout] --> src/feature/brief.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::core::{Feature, ColmapError}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Luma` [INFO] [stdout] --> src/feature/fast.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | use image::{GrayImage, Luma}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/feature/gpu.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cuda` [INFO] [stdout] --> src/feature/gpu.rs:168:11 [INFO] [stdout] | [INFO] [stdout] 168 | #[cfg(feature = "cuda")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cuda` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `opencl` [INFO] [stdout] --> src/feature/gpu.rs:175:11 [INFO] [stdout] | [INFO] [stdout] 175 | #[cfg(feature = "opencl")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `opencl` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cuda` [INFO] [stdout] --> src/feature/gpu.rs:141:15 [INFO] [stdout] | [INFO] [stdout] 141 | #[cfg(feature = "cuda")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cuda` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `opencl` [INFO] [stdout] --> src/feature/gpu.rs:146:15 [INFO] [stdout] | [INFO] [stdout] 146 | #[cfg(feature = "opencl")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `opencl` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/lib.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | pub use core::*; [INFO] [stdout] | ^^^^^^^ the name `FeatureMatch` in the type namespace is first re-exported here [INFO] [stdout] 170 | pub use feature::*; [INFO] [stdout] | ---------- but the name `FeatureMatch` in the type namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/lib.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | pub use core::*; [INFO] [stdout] | ^^^^^^^ the name `ReconstructionStats` in the type namespace is first re-exported here [INFO] [stdout] 170 | pub use feature::*; [INFO] [stdout] 171 | pub use sfm::*; [INFO] [stdout] | ------ but the name `ReconstructionStats` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/feature/geometric.rs:280:29 [INFO] [stdout] | [INFO] [stdout] 280 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/feature/geometric.rs:331:29 [INFO] [stdout] | [INFO] [stdout] 331 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/feature/geometric.rs:382:29 [INFO] [stdout] | [INFO] [stdout] 382 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/mvs/depth.rs:172:29 [INFO] [stdout] | [INFO] [stdout] 172 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/mvs/depth.rs:273:29 [INFO] [stdout] | [INFO] [stdout] 273 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stdout] --> src/feature/brief.rs:62:21 [INFO] [stdout] | [INFO] [stdout] 62 | rng.gen_range(-half_patch..=half_patch), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stdout] --> src/feature/brief.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | rng.gen_range(-half_patch..=half_patch), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stdout] --> src/feature/brief.rs:66:21 [INFO] [stdout] | [INFO] [stdout] 66 | rng.gen_range(-half_patch..=half_patch), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stdout] --> src/feature/brief.rs:67:21 [INFO] [stdout] | [INFO] [stdout] 67 | rng.gen_range(-half_patch..=half_patch), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stdout] --> src/feature/geometric.rs:286:31 [INFO] [stdout] | [INFO] [stdout] 286 | let idx = rng.gen_range(0..points1.len()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stdout] --> src/feature/geometric.rs:337:31 [INFO] [stdout] | [INFO] [stdout] 337 | let idx = rng.gen_range(0..points1.len()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stdout] --> src/feature/geometric.rs:388:31 [INFO] [stdout] | [INFO] [stdout] 388 | let idx = rng.gen_range(0..points1.len()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Feature` [INFO] [stdout] --> src/feature/brief.rs:6:19 [INFO] [stdout] | [INFO] [stdout] 6 | use crate::core::{Feature, ColmapError}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Luma` [INFO] [stdout] --> src/feature/fast.rs:8:24 [INFO] [stdout] | [INFO] [stdout] 8 | use image::{GrayImage, Luma}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/feature/gpu.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cuda` [INFO] [stdout] --> src/feature/gpu.rs:168:11 [INFO] [stdout] | [INFO] [stdout] 168 | #[cfg(feature = "cuda")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cuda` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `opencl` [INFO] [stdout] --> src/feature/gpu.rs:175:11 [INFO] [stdout] | [INFO] [stdout] 175 | #[cfg(feature = "opencl")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `opencl` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `cuda` [INFO] [stdout] --> src/feature/gpu.rs:141:15 [INFO] [stdout] | [INFO] [stdout] 141 | #[cfg(feature = "cuda")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `cuda` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition value: `opencl` [INFO] [stdout] --> src/feature/gpu.rs:146:15 [INFO] [stdout] | [INFO] [stdout] 146 | #[cfg(feature = "opencl")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: remove the condition [INFO] [stdout] | [INFO] [stdout] = note: no expected values for `feature` [INFO] [stdout] = help: consider adding `opencl` as a feature in `Cargo.toml` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/lib.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | pub use core::*; [INFO] [stdout] | ^^^^^^^ the name `FeatureMatch` in the type namespace is first re-exported here [INFO] [stdout] 170 | pub use feature::*; [INFO] [stdout] | ---------- but the name `FeatureMatch` in the type namespace is also re-exported here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ambiguous_glob_reexports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: ambiguous glob re-exports [INFO] [stdout] --> src/lib.rs:169:9 [INFO] [stdout] | [INFO] [stdout] 169 | pub use core::*; [INFO] [stdout] | ^^^^^^^ the name `ReconstructionStats` in the type namespace is first re-exported here [INFO] [stdout] 170 | pub use feature::*; [INFO] [stdout] 171 | pub use sfm::*; [INFO] [stdout] | ------ but the name `ReconstructionStats` in the type namespace is also re-exported here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/feature/geometric.rs:280:29 [INFO] [stdout] | [INFO] [stdout] 280 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/feature/geometric.rs:331:29 [INFO] [stdout] | [INFO] [stdout] 331 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/feature/geometric.rs:382:29 [INFO] [stdout] | [INFO] [stdout] 382 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/mvs/depth.rs:172:29 [INFO] [stdout] | [INFO] [stdout] 172 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rand::thread_rng`: Renamed to `rng` [INFO] [stdout] --> src/mvs/depth.rs:273:29 [INFO] [stdout] | [INFO] [stdout] 273 | let mut rng = rand::thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stdout] --> src/mvs/depth.rs:179:33 [INFO] [stdout] | [INFO] [stdout] 179 | let depth = rng.gen_range(self.config.min_depth..self.config.max_depth); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stdout] --> src/mvs/depth.rs:197:25 [INFO] [stdout] | [INFO] [stdout] 197 | let x = rng.gen_range(-1.0..1.0); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stdout] --> src/mvs/depth.rs:198:25 [INFO] [stdout] | [INFO] [stdout] 198 | let y = rng.gen_range(-1.0..1.0); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stdout] --> src/mvs/depth.rs:199:25 [INFO] [stdout] | [INFO] [stdout] 199 | let z = rng.gen_range(-1.0..1.0); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stdout] --> src/mvs/depth.rs:285:44 [INFO] [stdout] | [INFO] [stdout] 285 | let depth_offset = rng.gen_range(-search_range..search_range); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `angle` [INFO] [stdout] --> src/feature/descriptor.rs:127:86 [INFO] [stdout] | [INFO] [stdout] 127 | fn compute_sift_descriptor(&self, image: &GrayImage, x: u32, y: u32, scale: f64, angle: f64) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 127 | fn compute_sift_descriptor(&self, image: &GrayImage, x: u32, y: u32, scale: f64, _angle: f64) -> Vec { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `THRESHOLD` [INFO] [stdout] | [INFO] [stdout] 127 - fn compute_sift_descriptor(&self, image: &GrayImage, x: u32, y: u32, scale: f64, angle: f64) -> Vec { [INFO] [stdout] 127 + fn compute_sift_descriptor(&self, image: &GrayImage, x: u32, y: u32, scale: f64, utils::format_bytes::THRESHOLD: f64) -> Vec { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stdout] --> src/feature/brief.rs:62:21 [INFO] [stdout] | [INFO] [stdout] 62 | rng.gen_range(-half_patch..=half_patch), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stdout] --> src/feature/brief.rs:63:21 [INFO] [stdout] | [INFO] [stdout] 63 | rng.gen_range(-half_patch..=half_patch), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stdout] --> src/feature/brief.rs:66:21 [INFO] [stdout] | [INFO] [stdout] 66 | rng.gen_range(-half_patch..=half_patch), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stdout] --> src/feature/brief.rs:67:21 [INFO] [stdout] | [INFO] [stdout] 67 | rng.gen_range(-half_patch..=half_patch), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pose1` [INFO] [stdout] --> src/sfm/incremental.rs:422:9 [INFO] [stdout] | [INFO] [stdout] 422 | pose1: &CameraPose, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_pose1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pose2` [INFO] [stdout] --> src/sfm/incremental.rs:423:9 [INFO] [stdout] | [INFO] [stdout] 423 | pose2: &CameraPose, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_pose2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `image` [INFO] [stdout] --> src/sfm/incremental.rs:635:13 [INFO] [stdout] | [INFO] [stdout] 635 | let image = self.images.get(&image_id) [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_image` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stdout] --> src/feature/geometric.rs:286:31 [INFO] [stdout] | [INFO] [stdout] 286 | let idx = rng.gen_range(0..points1.len()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stdout] --> src/feature/geometric.rs:337:31 [INFO] [stdout] | [INFO] [stdout] 337 | let idx = rng.gen_range(0..points1.len()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stdout] --> src/feature/geometric.rs:388:31 [INFO] [stdout] | [INFO] [stdout] 388 | let idx = rng.gen_range(0..points1.len()); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point3d` [INFO] [stdout] --> src/sfm/incremental.rs:1024:13 [INFO] [stdout] | [INFO] [stdout] 1024 | for point3d in self.points3d.values() { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_point3d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> src/mvs/stereo.rs:104:13 [INFO] [stdout] | [INFO] [stdout] 104 | let width = left_image.size.0; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `height` [INFO] [stdout] --> src/mvs/stereo.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | let height = left_image.size.1; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `left_image` [INFO] [stdout] --> src/mvs/stereo.rs:372:9 [INFO] [stdout] | [INFO] [stdout] 372 | left_image: &Image, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_left_image` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `right_image` [INFO] [stdout] --> src/mvs/stereo.rs:373:9 [INFO] [stdout] | [INFO] [stdout] 373 | right_image: &Image, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_right_image` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `normal` [INFO] [stdout] --> src/mvs/depth.rs:399:9 [INFO] [stdout] | [INFO] [stdout] 399 | normal: &Vector3, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_normal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `px` [INFO] [stdout] --> src/mvs/fusion.rs:513:13 [INFO] [stdout] | [INFO] [stdout] 513 | let px = x.clamp(0.0, (image.size.0 - 1) as f64) as u32; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_px` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `py` [INFO] [stdout] --> src/mvs/fusion.rs:514:13 [INFO] [stdout] | [INFO] [stdout] 514 | let py = y.clamp(0.0, (image.size.1 - 1) as f64) as u32; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_py` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/feature/descriptor.rs:250:5 [INFO] [stdout] | [INFO] [stdout] 249 | pub struct OrbExtractor { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 250 | config: ExtractorConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/feature/descriptor.rs:461:5 [INFO] [stdout] | [INFO] [stdout] 460 | pub struct BriskExtractor { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 461 | config: ExtractorConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `backend` is never read [INFO] [stdout] --> src/feature/gpu.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 101 | pub struct GpuManager { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 107 | backend: GpuBackend, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `enable_pool` is never read [INFO] [stdout] --> src/feature/gpu.rs:297:5 [INFO] [stdout] | [INFO] [stdout] 291 | pub struct GpuMemoryManager { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 297 | enable_pool: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `stereo_matcher` is never read [INFO] [stdout] --> src/mvs/mod.rs:202:5 [INFO] [stdout] | [INFO] [stdout] 200 | pub struct MvsReconstructor { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 201 | config: MvsConfig, [INFO] [stdout] 202 | stereo_matcher: StereoMatcher, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MvsReconstructor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pixel_x`, `pixel_y`, and `depth` are never read [INFO] [stdout] --> src/mvs/fusion.rs:527:5 [INFO] [stdout] | [INFO] [stdout] 523 | struct CandidatePoint { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 527 | pixel_x: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 528 | pixel_y: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 529 | depth: f32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CandidatePoint` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `confidence` and `has_point` are never read [INFO] [stdout] --> src/mvs/meshing.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 120 | struct VoxelData { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 126 | confidence: f32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 127 | /// 是否包含点 [INFO] [stdout] 128 | has_point: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VoxelData` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stdout] --> src/mvs/depth.rs:179:33 [INFO] [stdout] | [INFO] [stdout] 179 | let depth = rng.gen_range(self.config.min_depth..self.config.max_depth); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stdout] --> src/mvs/depth.rs:197:25 [INFO] [stdout] | [INFO] [stdout] 197 | let x = rng.gen_range(-1.0..1.0); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stdout] --> src/mvs/depth.rs:198:25 [INFO] [stdout] | [INFO] [stdout] 198 | let y = rng.gen_range(-1.0..1.0); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stdout] --> src/mvs/depth.rs:199:25 [INFO] [stdout] | [INFO] [stdout] 199 | let z = rng.gen_range(-1.0..1.0); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rand::Rng::gen_range`: Renamed to `random_range` [INFO] [stdout] --> src/mvs/depth.rs:285:44 [INFO] [stdout] | [INFO] [stdout] 285 | let depth_offset = rng.gen_range(-search_range..search_range); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `angle` [INFO] [stdout] --> src/feature/descriptor.rs:127:86 [INFO] [stdout] | [INFO] [stdout] 127 | fn compute_sift_descriptor(&self, image: &GrayImage, x: u32, y: u32, scale: f64, angle: f64) -> Vec { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: if this is intentional, prefix it with an underscore [INFO] [stdout] | [INFO] [stdout] 127 | fn compute_sift_descriptor(&self, image: &GrayImage, x: u32, y: u32, scale: f64, _angle: f64) -> Vec { [INFO] [stdout] | + [INFO] [stdout] help: you might have meant to pattern match on the similarly named constant `THRESHOLD` [INFO] [stdout] | [INFO] [stdout] 127 - fn compute_sift_descriptor(&self, image: &GrayImage, x: u32, y: u32, scale: f64, angle: f64) -> Vec { [INFO] [stdout] 127 + fn compute_sift_descriptor(&self, image: &GrayImage, x: u32, y: u32, scale: f64, utils::format_bytes::THRESHOLD: f64) -> Vec { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pose1` [INFO] [stdout] --> src/sfm/incremental.rs:422:9 [INFO] [stdout] | [INFO] [stdout] 422 | pose1: &CameraPose, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_pose1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pose2` [INFO] [stdout] --> src/sfm/incremental.rs:423:9 [INFO] [stdout] | [INFO] [stdout] 423 | pose2: &CameraPose, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_pose2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `image` [INFO] [stdout] --> src/sfm/incremental.rs:635:13 [INFO] [stdout] | [INFO] [stdout] 635 | let image = self.images.get(&image_id) [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_image` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `point3d` [INFO] [stdout] --> src/sfm/incremental.rs:1024:13 [INFO] [stdout] | [INFO] [stdout] 1024 | for point3d in self.points3d.values() { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_point3d` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `width` [INFO] [stdout] --> src/mvs/stereo.rs:104:13 [INFO] [stdout] | [INFO] [stdout] 104 | let width = left_image.size.0; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `height` [INFO] [stdout] --> src/mvs/stereo.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | let height = left_image.size.1; [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `left_image` [INFO] [stdout] --> src/mvs/stereo.rs:372:9 [INFO] [stdout] | [INFO] [stdout] 372 | left_image: &Image, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_left_image` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `right_image` [INFO] [stdout] --> src/mvs/stereo.rs:373:9 [INFO] [stdout] | [INFO] [stdout] 373 | right_image: &Image, [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_right_image` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `normal` [INFO] [stdout] --> src/mvs/depth.rs:399:9 [INFO] [stdout] | [INFO] [stdout] 399 | normal: &Vector3, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_normal` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `px` [INFO] [stdout] --> src/mvs/fusion.rs:513:13 [INFO] [stdout] | [INFO] [stdout] 513 | let px = x.clamp(0.0, (image.size.0 - 1) as f64) as u32; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_px` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `py` [INFO] [stdout] --> src/mvs/fusion.rs:514:13 [INFO] [stdout] | [INFO] [stdout] 514 | let py = y.clamp(0.0, (image.size.1 - 1) as f64) as u32; [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_py` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/feature/descriptor.rs:250:5 [INFO] [stdout] | [INFO] [stdout] 249 | pub struct OrbExtractor { [INFO] [stdout] | ------------ field in this struct [INFO] [stdout] 250 | config: ExtractorConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config` is never read [INFO] [stdout] --> src/feature/descriptor.rs:461:5 [INFO] [stdout] | [INFO] [stdout] 460 | pub struct BriskExtractor { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 461 | config: ExtractorConfig, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `backend` is never read [INFO] [stdout] --> src/feature/gpu.rs:107:5 [INFO] [stdout] | [INFO] [stdout] 101 | pub struct GpuManager { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 107 | backend: GpuBackend, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `enable_pool` is never read [INFO] [stdout] --> src/feature/gpu.rs:297:5 [INFO] [stdout] | [INFO] [stdout] 291 | pub struct GpuMemoryManager { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 297 | enable_pool: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `stereo_matcher` is never read [INFO] [stdout] --> src/mvs/mod.rs:202:5 [INFO] [stdout] | [INFO] [stdout] 200 | pub struct MvsReconstructor { [INFO] [stdout] | ---------------- field in this struct [INFO] [stdout] 201 | config: MvsConfig, [INFO] [stdout] 202 | stereo_matcher: StereoMatcher, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `MvsReconstructor` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `pixel_x`, `pixel_y`, and `depth` are never read [INFO] [stdout] --> src/mvs/fusion.rs:527:5 [INFO] [stdout] | [INFO] [stdout] 523 | struct CandidatePoint { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 527 | pixel_x: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 528 | pixel_y: u32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 529 | depth: f32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `CandidatePoint` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `confidence` and `has_point` are never read [INFO] [stdout] --> src/mvs/meshing.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 120 | struct VoxelData { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 126 | confidence: f32, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 127 | /// 是否包含点 [INFO] [stdout] 128 | has_point: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `VoxelData` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1m 31s [INFO] running `Command { std: "docker" "inspect" "2c3ebd07b44712af46189780f8bb0ffe1f166f9b200c4e649b9d33f3994d2f0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2c3ebd07b44712af46189780f8bb0ffe1f166f9b200c4e649b9d33f3994d2f0a", kill_on_drop: false }` [INFO] [stdout] 2c3ebd07b44712af46189780f8bb0ffe1f166f9b200c4e649b9d33f3994d2f0a