[INFO] cloning repository https://github.com/instance-id/hypercalibrate [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/instance-id/hypercalibrate" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finstance-id%2Fhypercalibrate", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finstance-id%2Fhypercalibrate'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8966c08de536c66d7564a0750631958f13a16552 [INFO] checking instance-id/hypercalibrate against try#9b8307bcb9d1de8ffc7e1c81c48efffdb24ee840 for pr-149518 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Finstance-id%2Fhypercalibrate" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-5-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/instance-id/hypercalibrate [INFO] finished tweaking git repo https://github.com/instance-id/hypercalibrate [INFO] tweaked toml for git repo https://github.com/instance-id/hypercalibrate written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/instance-id/hypercalibrate on toolchain 9b8307bcb9d1de8ffc7e1c81c48efffdb24ee840 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9b8307bcb9d1de8ffc7e1c81c48efffdb24ee840" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/instance-id/hypercalibrate 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" "+9b8307bcb9d1de8ffc7e1c81c48efffdb24ee840" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+9b8307bcb9d1de8ffc7e1c81c48efffdb24ee840" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8a2d547aabdd1a78536ff23ad7c83ed369bf00357719ae9142c0e6d5f5857a60 [INFO] running `Command { std: "docker" "start" "-a" "8a2d547aabdd1a78536ff23ad7c83ed369bf00357719ae9142c0e6d5f5857a60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8a2d547aabdd1a78536ff23ad7c83ed369bf00357719ae9142c0e6d5f5857a60", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a2d547aabdd1a78536ff23ad7c83ed369bf00357719ae9142c0e6d5f5857a60", kill_on_drop: false }` [INFO] [stdout] 8a2d547aabdd1a78536ff23ad7c83ed369bf00357719ae9142c0e6d5f5857a60 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+9b8307bcb9d1de8ffc7e1c81c48efffdb24ee840" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d951fabfa9ff072d900591d9c2f3e72d3e096ff72df64db4a9ec6b7192c602af [INFO] running `Command { std: "docker" "start" "-a" "d951fabfa9ff072d900591d9c2f3e72d3e096ff72df64db4a9ec6b7192c602af", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.103 [INFO] [stderr] Compiling quote v1.0.42 [INFO] [stderr] Compiling unicode-ident v1.0.22 [INFO] [stderr] Checking cfg-if v1.0.4 [INFO] [stderr] Compiling libc v0.2.177 [INFO] [stderr] Compiling typenum v1.19.0 [INFO] [stderr] Checking bytes v1.11.0 [INFO] [stderr] Checking itoa v1.0.15 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking lock_api v0.4.14 [INFO] [stderr] Compiling zerocopy v0.8.30 [INFO] [stderr] Checking log v0.4.28 [INFO] [stderr] Checking memchr v2.7.6 [INFO] [stderr] Checking once_cell v1.21.3 [INFO] [stderr] Checking slab v0.4.11 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling rustix v0.38.44 [INFO] [stderr] Checking bytemuck v1.24.0 [INFO] [stderr] Checking tracing-core v0.1.35 [INFO] [stderr] Checking http v1.4.0 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Checking generic-array v0.14.7 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling bitflags v2.10.0 [INFO] [stderr] Checking safe_arch v0.7.4 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking mio v1.1.0 [INFO] [stderr] Checking signal-hook-registry v1.4.7 [INFO] [stderr] Checking socket2 v0.6.1 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Checking crypto-common v0.1.7 [INFO] [stderr] Compiling syn v2.0.111 [INFO] [stderr] Checking block-buffer v0.10.4 [INFO] [stderr] Compiling libloading v0.8.9 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking percent-encoding v2.3.2 [INFO] [stderr] Compiling find-msvc-tools v0.1.5 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Compiling bindgen v0.65.1 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling rayon-core v1.13.0 [INFO] [stderr] Compiling cc v1.2.48 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Checking http-body v1.0.1 [INFO] [stderr] Checking wide v0.7.33 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking http-body-util v0.1.3 [INFO] [stderr] Checking approx v0.5.1 [INFO] [stderr] Compiling matrixmultiply v0.3.10 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking adler2 v2.0.1 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Compiling rustversion v1.0.22 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling pkg-config v0.3.32 [INFO] [stderr] Checking rayon v1.11.0 [INFO] [stderr] Checking flate2 v1.1.5 [INFO] [stderr] Compiling mime_guess v2.0.5 [INFO] [stderr] Compiling cmake v0.1.54 [INFO] [stderr] Checking anstyle-parse v0.2.7 [INFO] [stderr] Compiling sha2 v0.10.9 [INFO] [stderr] Compiling walkdir v2.5.0 [INFO] [stderr] Checking sha1 v0.10.6 [INFO] [stderr] Checking anstyle-query v1.1.5 [INFO] [stderr] Checking hashbrown v0.16.1 [INFO] [stderr] Checking is_terminal_polyfill v1.70.2 [INFO] [stderr] Checking ryu v1.0.20 [INFO] [stderr] Checking ttf-parser v0.15.2 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking colorchoice v1.0.4 [INFO] [stderr] Checking utf-8 v0.7.6 [INFO] [stderr] Compiling turbojpeg-sys v1.1.1 [INFO] [stderr] Checking anstyle v1.0.13 [INFO] [stderr] Compiling serde_json v1.0.145 [INFO] [stderr] Checking indexmap v2.12.1 [INFO] [stderr] Checking simba v0.7.3 [INFO] [stderr] Checking anstream v0.6.21 [INFO] [stderr] Compiling rust-embed-utils v8.9.0 [INFO] [stderr] Checking png v0.17.16 [INFO] [stderr] Checking axum-core v0.5.5 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking form_urlencoded v1.2.2 [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking clap_lex v0.7.6 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.10 [INFO] [stderr] Checking winnow v0.7.14 [INFO] [stderr] Checking toml_write v0.1.2 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking custom_derive v0.1.7 [INFO] [stderr] Checking matchit v0.8.4 [INFO] [stderr] Checking conv v0.3.3 [INFO] [stderr] Checking rand_distr v0.2.2 [INFO] [stderr] Checking clap_builder v4.5.53 [INFO] [stderr] Checking owned_ttf_parser v0.15.2 [INFO] [stderr] Checking sharded-slab v0.1.7 [INFO] [stderr] Checking rusttype v0.9.3 [INFO] [stderr] Checking num v0.4.3 [INFO] [stderr] Checking simba v0.8.1 [INFO] [stderr] Checking serde_path_to_error v0.1.20 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking tracing-log v0.2.0 [INFO] [stderr] Checking jpeg-decoder v0.3.2 [INFO] [stderr] Checking thread_local v1.1.9 [INFO] [stderr] Checking gcd v2.3.0 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Checking nu-ansi-term v0.50.3 [INFO] [stderr] Checking arc-swap v1.7.1 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Checking image v0.24.9 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling nalgebra-macros v0.2.2 [INFO] [stderr] Checking matchers v0.2.0 [INFO] [stderr] Compiling clap_derive v4.5.49 [INFO] [stderr] Compiling axum-macros v0.4.2 [INFO] [stderr] Checking tokio v1.48.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Compiling rust-embed-impl v8.9.0 [INFO] [stderr] Checking nalgebra v0.30.1 [INFO] [stderr] Checking tracing v0.1.43 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking tungstenite v0.24.0 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tracing-subscriber v0.3.22 [INFO] [stderr] Checking clap v4.5.53 [INFO] [stderr] Checking toml_datetime v0.6.11 [INFO] [stderr] Checking serde_spanned v0.6.9 [INFO] [stderr] Checking serde_urlencoded v0.7.1 [INFO] [stderr] Checking toml_edit v0.22.27 [INFO] [stderr] Checking futures-executor v0.3.31 [INFO] [stderr] Checking axum-core v0.4.5 [INFO] [stderr] Checking futures v0.3.31 [INFO] [stderr] Checking nalgebra v0.32.6 [INFO] [stderr] Compiling v4l2-sys-mit v0.3.0 [INFO] [stderr] Checking turbojpeg v1.3.3 [INFO] [stderr] Checking hyper v1.8.1 [INFO] [stderr] Checking tower v0.5.2 [INFO] [stderr] Checking tokio-tungstenite v0.24.0 [INFO] [stderr] Checking tokio-util v0.7.17 [INFO] [stderr] Checking tokio-stream v0.1.17 [INFO] [stderr] Checking tower-http v0.5.2 [INFO] [stderr] Checking toml v0.8.23 [INFO] [stderr] Checking hyper-util v0.1.18 [INFO] [stderr] Checking axum v0.8.7 [INFO] [stderr] Checking axum v0.7.9 [INFO] [stderr] Checking v4l v0.14.0 [INFO] [stderr] Checking imageproc v0.23.0 [INFO] [stderr] Checking rust-embed v8.9.0 [INFO] [stderr] Checking hypercalibrate v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/camera_controls.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::io; [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: `Description` [INFO] [stdout] --> src/camera_controls.rs:12:29 [INFO] [stdout] | [INFO] [stdout] 12 | use v4l::control::{Control, Description, Flags, MenuItem, Type, Value}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/capture.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | /// Thread-local turbojpeg decompressor for hardware-accelerated MJPEG decoding [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug` [INFO] [stdout] --> src/capture.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | use tracing::{debug, info, warn}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io` [INFO] [stdout] --> src/camera_controls.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::io; [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: `Description` [INFO] [stdout] --> src/camera_controls.rs:12:29 [INFO] [stdout] | [INFO] [stdout] 12 | use v4l::control::{Control, Description, Flags, MenuItem, Type, Value}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/capture.rs:26:1 [INFO] [stdout] | [INFO] [stdout] 26 | /// Thread-local turbojpeg decompressor for hardware-accelerated MJPEG decoding [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ rustdoc does not generate documentation for macro invocations [INFO] [stdout] | [INFO] [stdout] = help: to document an item produced by a macro, the macro must produce the documentation as part of its expansion [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `debug` [INFO] [stdout] --> src/capture.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | use tracing::{debug, info, warn}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/capture.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | let mut yuyv_buffer = vec![0u8; yuyv_size]; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `yuyv_buffer` [INFO] [stdout] --> src/capture.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | let mut yuyv_buffer = vec![0u8; yuyv_size]; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_yuyv_buffer` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/capture.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | let mut yuyv_buffer = vec![0u8; yuyv_size]; [INFO] [stdout] | ----^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `yuyv_buffer` [INFO] [stdout] --> src/capture.rs:120:9 [INFO] [stdout] | [INFO] [stdout] 120 | let mut yuyv_buffer = vec![0u8; yuyv_size]; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_yuyv_buffer` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `edge` [INFO] [stdout] --> src/config.rs:136:22 [INFO] [stdout] | [INFO] [stdout] 136 | if let Some((edge, t)) = edge_and_t { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_edge` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `edge` [INFO] [stdout] --> src/config.rs:136:22 [INFO] [stdout] | [INFO] [stdout] 136 | if let Some((edge, t)) = edge_and_t { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_edge` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src_x` [INFO] [stdout] --> src/transform.rs:855:14 [INFO] [stdout] | [INFO] [stdout] 855 | let (src_x, src_y) = transform.lut[5 * 100 + 50]; // y=5, x=50 (near top center) [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_src_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reset_calibration` is never used [INFO] [stdout] --> src/calibration.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn reset_calibration(cal: &mut Calibration) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_control_by_name`, `set_control_by_name`, `reset_control`, `export_settings`, and `import_settings` are never used [INFO] [stdout] --> src/camera_controls.rs:287:12 [INFO] [stdout] | [INFO] [stdout] 195 | impl CameraControlsManager { [INFO] [stdout] | -------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 287 | pub fn get_control_by_name(&self, name: &str) -> Option<&CameraControl> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 323 | pub fn set_control_by_name(&mut self, name: &str, value: ControlValue) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 336 | pub fn reset_control(&mut self, id: u32) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 387 | pub fn export_settings(&self) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 405 | pub fn import_settings(&mut self, settings: &HashMap) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CameraSettings` is never constructed [INFO] [stdout] --> src/camera_controls.rs:433:12 [INFO] [stdout] | [INFO] [stdout] 433 | pub struct CameraSettings { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_manager` and `apply_to_manager` are never used [INFO] [stdout] --> src/camera_controls.rs:441:12 [INFO] [stdout] | [INFO] [stdout] 439 | impl CameraSettings { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 440 | /// Create from a controls manager [INFO] [stdout] 441 | pub fn from_manager(manager: &CameraControlsManager) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 459 | pub fn apply_to_manager(&self, manager: &mut CameraControlsManager) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `as_str` and `all` are never used [INFO] [stdout] --> src/color.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl ColorSpace { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 37 | pub fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn all() -> &'static [ColorSpace] { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_str` is never used [INFO] [stdout] --> src/color.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 63 | impl QuantizationRange { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] 64 | pub fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `V4L2_PIX_FMT_YUYV` is never used [INFO] [stdout] --> src/output.rs:80:7 [INFO] [stdout] | [INFO] [stdout] 80 | const V4L2_PIX_FMT_YUYV: u32 = 0x56595559; // 'YUYV' [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `V4L2_PIX_FMT_RGB24` is never used [INFO] [stdout] --> src/output.rs:81:7 [INFO] [stdout] | [INFO] [stdout] 81 | const V4L2_PIX_FMT_RGB24: u32 = 0x33424752; // 'RGB3' [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `V4L2_PIX_FMT_BGR24` is never used [INFO] [stdout] --> src/output.rs:82:7 [INFO] [stdout] | [INFO] [stdout] 82 | const V4L2_PIX_FMT_BGR24: u32 = 0x33524742; // 'BGR3' [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `warp_rgba` is never used [INFO] [stdout] --> src/transform.rs:317:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl PerspectiveTransform { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 317 | pub fn warp_rgba( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bilinear_sample` is never used [INFO] [stdout] --> src/transform.rs:495:4 [INFO] [stdout] | [INFO] [stdout] 495 | fn bilinear_sample( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `nearest_sample` is never used [INFO] [stdout] --> src/transform.rs:537:8 [INFO] [stdout] | [INFO] [stdout] 537 | pub fn nearest_sample( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `reset_calibration` is never used [INFO] [stdout] --> src/calibration.rs:102:8 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn reset_calibration(cal: &mut Calibration) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `get_control_by_name`, `set_control_by_name`, `reset_control`, `export_settings`, and `import_settings` are never used [INFO] [stdout] --> src/camera_controls.rs:287:12 [INFO] [stdout] | [INFO] [stdout] 195 | impl CameraControlsManager { [INFO] [stdout] | -------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 287 | pub fn get_control_by_name(&self, name: &str) -> Option<&CameraControl> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 323 | pub fn set_control_by_name(&mut self, name: &str, value: ControlValue) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 336 | pub fn reset_control(&mut self, id: u32) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 387 | pub fn export_settings(&self) -> HashMap { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 405 | pub fn import_settings(&mut self, settings: &HashMap) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CameraSettings` is never constructed [INFO] [stdout] --> src/camera_controls.rs:433:12 [INFO] [stdout] | [INFO] [stdout] 433 | pub struct CameraSettings { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_manager` and `apply_to_manager` are never used [INFO] [stdout] --> src/camera_controls.rs:441:12 [INFO] [stdout] | [INFO] [stdout] 439 | impl CameraSettings { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] 440 | /// Create from a controls manager [INFO] [stdout] 441 | pub fn from_manager(manager: &CameraControlsManager) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 459 | pub fn apply_to_manager(&self, manager: &mut CameraControlsManager) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `as_str` and `all` are never used [INFO] [stdout] --> src/color.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl ColorSpace { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 37 | pub fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn all() -> &'static [ColorSpace] { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `as_str` is never used [INFO] [stdout] --> src/color.rs:64:12 [INFO] [stdout] | [INFO] [stdout] 63 | impl QuantizationRange { [INFO] [stdout] | ---------------------- method in this implementation [INFO] [stdout] 64 | pub fn as_str(&self) -> &'static str { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_pixels` is never used [INFO] [stdout] --> src/config.rs:28:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl Point { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn from_pixels(px: f64, py: f64, width: u32, height: u32) -> Self { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `V4L2_PIX_FMT_YUYV` is never used [INFO] [stdout] --> src/output.rs:80:7 [INFO] [stdout] | [INFO] [stdout] 80 | const V4L2_PIX_FMT_YUYV: u32 = 0x56595559; // 'YUYV' [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `V4L2_PIX_FMT_RGB24` is never used [INFO] [stdout] --> src/output.rs:81:7 [INFO] [stdout] | [INFO] [stdout] 81 | const V4L2_PIX_FMT_RGB24: u32 = 0x33424752; // 'RGB3' [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `V4L2_PIX_FMT_BGR24` is never used [INFO] [stdout] --> src/output.rs:82:7 [INFO] [stdout] | [INFO] [stdout] 82 | const V4L2_PIX_FMT_BGR24: u32 = 0x33524742; // 'BGR3' [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `matrix` is never read [INFO] [stdout] --> src/transform.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct PerspectiveTransform { [INFO] [stdout] | -------------------- field in this struct [INFO] [stdout] 24 | /// The 3x3 transformation matrix stored in row-major order [INFO] [stdout] 25 | matrix: [f64; 9], [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `PerspectiveTransform` 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: methods `transform_point` and `warp_rgba` are never used [INFO] [stdout] --> src/transform.rs:138:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl PerspectiveTransform { [INFO] [stdout] | ------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 138 | pub fn transform_point(&self, x: f64, y: f64) -> (f64, f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 317 | pub fn warp_rgba( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `bilinear_sample` is never used [INFO] [stdout] --> src/transform.rs:495:4 [INFO] [stdout] | [INFO] [stdout] 495 | fn bilinear_sample( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `nearest_sample` is never used [INFO] [stdout] --> src/transform.rs:537:8 [INFO] [stdout] | [INFO] [stdout] 537 | pub fn nearest_sample( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `display` is never used [INFO] [stdout] --> src/video_settings.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 30 | impl Resolution { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn display(&self) -> String { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `has_changes` is never used [INFO] [stdout] --> src/video_settings.rs:116:12 [INFO] [stdout] | [INFO] [stdout] 115 | impl PendingVideoSettings { [INFO] [stdout] | ------------------------- method in this implementation [INFO] [stdout] 116 | pub fn has_changes(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 24s [INFO] running `Command { std: "docker" "inspect" "d951fabfa9ff072d900591d9c2f3e72d3e096ff72df64db4a9ec6b7192c602af", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d951fabfa9ff072d900591d9c2f3e72d3e096ff72df64db4a9ec6b7192c602af", kill_on_drop: false }` [INFO] [stdout] d951fabfa9ff072d900591d9c2f3e72d3e096ff72df64db4a9ec6b7192c602af