[INFO] fetching crate colmap 0.1.2... [INFO] checking colmap-0.1.2 against master#c9af9c1dc85a55e309345030ff9cb7ea247953fa for pr-151146 [INFO] extracting crate colmap 0.1.2 into /workspace/builds/worker-5-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-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate colmap 0.1.2 on toolchain c9af9c1dc85a55e309345030ff9cb7ea247953fa [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c9af9c1dc85a55e309345030ff9cb7ea247953fa" "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" "+c9af9c1dc85a55e309345030ff9cb7ea247953fa" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded nalgebra-sparse v0.11.0 [INFO] [stderr] Downloaded av1-grain v0.2.4 [INFO] [stderr] Downloaded argmin-math v0.4.0 [INFO] [stderr] Downloaded imgref v1.11.0 [INFO] [stderr] Downloaded safe_arch v0.9.2 [INFO] [stderr] Downloaded zune-jpeg v0.4.20 [INFO] [stderr] Downloaded wide v0.7.34 [INFO] [stderr] Downloaded simba v0.9.0 [INFO] [stderr] Downloaded exr v1.73.0 [INFO] [stderr] Downloaded nalgebra v0.34.0 [INFO] [stderr] Downloaded argmin v0.10.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+c9af9c1dc85a55e309345030ff9cb7ea247953fa" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c09f65fcc4729ae12669e9a5c83120087b379a1346e0e0e89d1a353b7a427831 [INFO] running `Command { std: "docker" "start" "-a" "c09f65fcc4729ae12669e9a5c83120087b379a1346e0e0e89d1a353b7a427831", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c09f65fcc4729ae12669e9a5c83120087b379a1346e0e0e89d1a353b7a427831", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c09f65fcc4729ae12669e9a5c83120087b379a1346e0e0e89d1a353b7a427831", kill_on_drop: false }` [INFO] [stdout] c09f65fcc4729ae12669e9a5c83120087b379a1346e0e0e89d1a353b7a427831 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:98afbf2d16093dec2546ff8915fddc74e65664aa03fc460b3712b1c2c54a33e4" "/opt/rustwide/cargo-home/bin/cargo" "+c9af9c1dc85a55e309345030ff9cb7ea247953fa" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 37230847f7b30dab947e2f9731a01e777182e319c81f4e98e81acfc5da7485ba [INFO] running `Command { std: "docker" "start" "-a" "37230847f7b30dab947e2f9731a01e777182e319c81f4e98e81acfc5da7485ba", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking memchr v2.7.5 [INFO] [stderr] Checking bytemuck v1.23.2 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling proc-macro2 v1.0.101 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking getrandom v0.3.3 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Checking half v2.6.0 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Compiling built v0.7.7 [INFO] [stderr] Checking maybe-rayon v0.1.1 [INFO] [stderr] Checking flate2 v1.1.2 [INFO] [stderr] Checking imgref v1.11.0 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Checking safe_arch v0.9.2 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking bitstream-io v2.6.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling rustix v1.0.8 [INFO] [stderr] Checking weezl v0.1.10 [INFO] [stderr] Compiling hashbrown v0.15.5 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking loop9 v0.1.5 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking wide v0.7.34 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Checking bitflags v2.9.3 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Compiling regex-syntax v0.8.6 [INFO] [stderr] Checking linux-raw-sys v0.9.4 [INFO] [stderr] Checking exr v1.73.0 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Checking gif v0.13.3 [INFO] [stderr] Checking png v0.17.16 [INFO] [stderr] Compiling rstest_macros v0.26.1 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Checking zune-jpeg v0.4.20 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Compiling indexmap v2.11.0 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Compiling thiserror v2.0.16 [INFO] [stderr] Checking anstream v0.6.20 [INFO] [stderr] Checking rand v0.9.2 [INFO] [stderr] Checking ab_glyph v0.2.31 [INFO] [stderr] Checking clap_builder v4.5.46 [INFO] [stderr] Checking ciborium-ll v0.2.2 [INFO] [stderr] Checking rand_distr v0.4.3 [INFO] [stderr] Checking regex-automata v0.4.10 [INFO] [stderr] Checking rand_xoshiro v0.6.0 [INFO] [stderr] Checking tokio v1.47.1 [INFO] [stderr] Checking wait-timeout v0.2.1 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking instant v0.1.13 [INFO] [stderr] Checking jiff v0.2.15 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Checking plotters v0.3.7 [INFO] [stderr] Checking rand_xorshift v0.4.0 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Checking tempfile v3.21.0 [INFO] [stderr] Checking rusty-fork v0.3.0 [INFO] [stderr] Checking proptest v1.7.0 [INFO] [stderr] Checking clap v4.5.46 [INFO] [stderr] Checking regex v1.11.2 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking env_filter v0.1.3 [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] Checking env_logger v0.11.8 [INFO] [stderr] Checking profiling v1.0.17 [INFO] [stderr] Compiling test-case-macros v3.3.1 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking async-stream v0.3.6 [INFO] [stderr] Checking tokio-test v0.4.4 [INFO] [stderr] Checking equator v0.4.2 [INFO] [stderr] Checking test-case v3.3.1 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking aligned-vec v0.6.4 [INFO] [stderr] Checking v_frame v0.3.9 [INFO] [stderr] Checking av1-grain v0.2.4 [INFO] [stderr] Checking rstest v0.26.1 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking ciborium v0.2.2 [INFO] [stderr] Checking chrono v0.4.41 [INFO] [stderr] Checking simba v0.9.0 [INFO] [stderr] Checking simba v0.8.1 [INFO] [stderr] Checking argmin-math v0.4.0 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Checking tinytemplate v1.2.1 [INFO] [stderr] Checking criterion v0.7.0 [INFO] [stderr] Checking argmin v0.10.0 [INFO] [stderr] Checking ravif v0.11.20 [INFO] [stderr] Checking image v0.25.6 [INFO] [stderr] Checking nalgebra v0.32.6 [INFO] [stderr] Checking nalgebra v0.34.0 [INFO] [stderr] Checking imageproc v0.25.0 [INFO] [stderr] Checking nalgebra-sparse v0.11.0 [INFO] [stderr] Checking 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: 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/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/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: 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] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_angle` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [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] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_angle` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [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: 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: 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: 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 function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> benches/reconstruction_benchmark.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use criterion::{black_box, criterion_group, criterion_main, Criterion}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> benches/reconstruction_benchmark.rs:24:44 [INFO] [stdout] | [INFO] [stdout] 24 | let features = detector.detect(black_box(&test_image)).unwrap(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> benches/reconstruction_benchmark.rs:25:13 [INFO] [stdout] | [INFO] [stdout] 25 | black_box(features); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> benches/reconstruction_benchmark.rs:34:44 [INFO] [stdout] | [INFO] [stdout] 34 | let features = detector.detect(black_box(&test_image)).unwrap(); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> benches/reconstruction_benchmark.rs:35:13 [INFO] [stdout] | [INFO] [stdout] 35 | black_box(features); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> benches/reconstruction_benchmark.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | black_box(&features1), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> benches/reconstruction_benchmark.rs:56:17 [INFO] [stdout] | [INFO] [stdout] 56 | black_box(&features2) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> benches/reconstruction_benchmark.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | black_box(matches); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> benches/reconstruction_benchmark.rs:68:17 [INFO] [stdout] | [INFO] [stdout] 68 | black_box(&features1), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> benches/reconstruction_benchmark.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 69 | black_box(&features2) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> benches/reconstruction_benchmark.rs:71:13 [INFO] [stdout] | [INFO] [stdout] 71 | black_box(matches); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> benches/reconstruction_benchmark.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | black_box(result); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> benches/reconstruction_benchmark.rs:121:17 [INFO] [stdout] | [INFO] [stdout] 121 | black_box(&pose1), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> benches/reconstruction_benchmark.rs:122:17 [INFO] [stdout] | [INFO] [stdout] 122 | black_box(&pose2), [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> benches/reconstruction_benchmark.rs:123:17 [INFO] [stdout] | [INFO] [stdout] 123 | black_box(&matches[0]) [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `criterion::black_box`: use `std::hint::black_box()` instead [INFO] [stdout] --> benches/reconstruction_benchmark.rs:125:13 [INFO] [stdout] | [INFO] [stdout] 125 | black_box(result); [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_test_camera_matrix` is never used [INFO] [stdout] --> benches/reconstruction_benchmark.rs:253:4 [INFO] [stdout] | [INFO] [stdout] 253 | fn create_test_camera_matrix() -> nalgebra::Matrix3 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `triangulate_simple` is never used [INFO] [stdout] --> benches/reconstruction_benchmark.rs:262:4 [INFO] [stdout] | [INFO] [stdout] 262 | fn triangulate_simple(_pose1: &CameraPose, _pose2: &CameraPose, matches: &[FeatureMatch]) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> benches/reconstruction_benchmark.rs:103:13 [INFO] [stdout] | [INFO] [stdout] 103 | black_box(result); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 103 | let _ = black_box(result); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 12s [INFO] running `Command { std: "docker" "inspect" "37230847f7b30dab947e2f9731a01e777182e319c81f4e98e81acfc5da7485ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37230847f7b30dab947e2f9731a01e777182e319c81f4e98e81acfc5da7485ba", kill_on_drop: false }` [INFO] [stdout] 37230847f7b30dab947e2f9731a01e777182e319c81f4e98e81acfc5da7485ba