[INFO] fetching crate hazeveil 1.0.0... [INFO] testing hazeveil-1.0.0 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] extracting crate hazeveil 1.0.0 into /workspace/builds/worker-7-tc1/source [INFO] started tweaking crates.io crate hazeveil 1.0.0 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate hazeveil 1.0.0 [INFO] tweaked toml for crates.io crate hazeveil 1.0.0 written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate hazeveil 1.0.0 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate hazeveil 1.0.0 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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ctrlc v3.5.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6830b3f26a984b7141807d849548f4a13e6fa709e0582d4e30c9a1c5ad1050d3 [INFO] running `Command { std: "docker" "start" "-a" "6830b3f26a984b7141807d849548f4a13e6fa709e0582d4e30c9a1c5ad1050d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6830b3f26a984b7141807d849548f4a13e6fa709e0582d4e30c9a1c5ad1050d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6830b3f26a984b7141807d849548f4a13e6fa709e0582d4e30c9a1c5ad1050d3", kill_on_drop: false }` [INFO] [stdout] 6830b3f26a984b7141807d849548f4a13e6fa709e0582d4e30c9a1c5ad1050d3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9d58a891c3167a33f6ece032672594e96ee8404271b47ba10b4225702c003df3 [INFO] running `Command { std: "docker" "start" "-a" "9d58a891c3167a33f6ece032672594e96ee8404271b47ba10b4225702c003df3", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.182 [INFO] [stderr] Compiling quote v1.0.44 [INFO] [stderr] Compiling regex-syntax v0.8.10 [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Compiling clap_lex v1.0.0 [INFO] [stderr] Compiling base64ct v1.8.3 [INFO] [stderr] Compiling ppv-lite86 v0.2.21 [INFO] [stderr] Compiling hazeveil v1.0.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling jiff v0.2.21 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling clap_builder v4.5.60 [INFO] [stderr] warning: hazeveil@1.0.0: Building on kernel: 6.14.0-1014-gcp [INFO] [stderr] warning: hazeveil@1.0.0: Kernel 6: OK. [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Compiling getrandom v0.2.17 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling socket2 v0.6.2 [INFO] [stderr] Compiling nix v0.27.1 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling crypto-common v0.1.7 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling password-hash v0.5.0 [INFO] [stderr] Compiling digest v0.10.7 [INFO] [stderr] Compiling universal-hash v0.5.1 [INFO] [stderr] Compiling aead v0.5.2 [INFO] [stderr] Compiling blake2 v0.10.6 [INFO] [stderr] Compiling poly1305 v0.8.0 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling ctrlc v3.5.1 [INFO] [stderr] Compiling argon2 v0.5.3 [INFO] [stderr] Compiling regex v1.12.3 [INFO] [stderr] Compiling env_filter v1.0.0 [INFO] [stderr] Compiling env_logger v0.11.9 [INFO] [stderr] Compiling zeroize_derive v1.4.3 [INFO] [stderr] Compiling clap_derive v4.5.55 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zeroize v1.8.2 [INFO] [stderr] Compiling tokio v1.49.0 [INFO] [stderr] Compiling cipher v0.4.4 [INFO] [stderr] Compiling chacha20 v0.9.1 [INFO] [stderr] Compiling chacha20poly1305 v0.10.1 [INFO] [stderr] Compiling clap v4.5.60 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stdout] warning: field `level` is never read [INFO] [stdout] --> src/touchpad_engine.rs:16:44 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct TouchpadEngine { rng: SmallRng, level: u8 } [INFO] [stdout] | -------------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CONFIG_FILENAME` is never used [INFO] [stdout] --> src/config.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const CONFIG_FILENAME: &str = "config.enc"; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SALT_FILENAME` is never used [INFO] [stdout] --> src/config.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const SALT_FILENAME: &str = "salt.bin"; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_PASSWORD` is never used [INFO] [stdout] --> src/config.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const DEFAULT_PASSWORD: &[u8] = b"hazeveil-default-local-key-v1"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HazeVeilConfig` is never constructed [INFO] [stdout] --> src/config.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct HazeVeilConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load` is never used [INFO] [stdout] --> src/config.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn load() -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save` is never used [INFO] [stdout] --> src/config.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn save(cfg: &HazeVeilConfig) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_configured` is never used [INFO] [stdout] --> src/config.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn is_configured() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mark_configured` is never used [INFO] [stdout] --> src/config.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn mark_configured() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `interactive_config` is never used [INFO] [stdout] --> src/config.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn interactive_config() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `config_path` is never used [INFO] [stdout] --> src/config.rs:78:4 [INFO] [stdout] | [INFO] [stdout] 78 | fn config_path() -> Result { Ok(config_dir()?.join(CONFIG_FILENAME)) } [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `salt_path` is never used [INFO] [stdout] --> src/config.rs:79:4 [INFO] [stdout] | [INFO] [stdout] 79 | fn salt_path() -> Result { Ok(config_dir()?.join(SALT_FILENAME)) } [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_salt` is never used [INFO] [stdout] --> src/config.rs:81:4 [INFO] [stdout] | [INFO] [stdout] 81 | fn load_salt() -> Result<[u8; 16]> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_or_create_salt` is never used [INFO] [stdout] --> src/config.rs:89:4 [INFO] [stdout] | [INFO] [stdout] 89 | fn load_or_create_salt() -> Result<[u8; 16]> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `stop` is never used [INFO] [stdout] --> src/core_engine.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl CoreEngine { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn stop(&self) { self.running.store(false, Ordering::SeqCst); } [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `keycode` and `delay_us` are never read [INFO] [stdout] --> src/keyboard_engine.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | Press { keycode: u32, delay_us: u64 }, [INFO] [stdout] | ----- ^^^^^^^ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `KeyEvent` 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 `keycode` and `dwell_us` are never read [INFO] [stdout] --> src/keyboard_engine.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | Release { keycode: u32, dwell_us: u64 }, [INFO] [stdout] | ------- ^^^^^^^ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `KeyEvent` 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: field `keycode` is never read [INFO] [stdout] --> src/keyboard_engine.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | Ghost { keycode: u32 }, [INFO] [stdout] | ----- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `KeyEvent` 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 `id`, `x`, `y`, and `pressure` are never read [INFO] [stdout] --> src/touchpad_engine.rs:6:29 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct TouchPoint { pub id: u8, pub x: f64, pub y: f64, pub pressure: f64 } [INFO] [stdout] | ---------- ^^ ^ ^ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = note: `TouchPoint` 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: field `0` is never read [INFO] [stdout] --> src/touchpad_engine.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | SingleTap(TouchPoint), [INFO] [stdout] | --------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Gesture` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 10 - SingleTap(TouchPoint), [INFO] [stdout] 10 + SingleTap(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `dx`, `dy`, and `pressure` are never read [INFO] [stdout] --> src/touchpad_engine.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | TwoFingerScroll { dx: f64, dy: f64, pressure: f64 }, [INFO] [stdout] | --------------- ^^ ^^ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Gesture` 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 `scale` and `center` are never read [INFO] [stdout] --> src/touchpad_engine.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | Pinch { scale: f64, center: (f64, f64) }, [INFO] [stdout] | ----- ^^^^^ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Gesture` 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 `dx` and `dy` are never read [INFO] [stdout] --> src/touchpad_engine.rs:13:24 [INFO] [stdout] | [INFO] [stdout] 13 | ThreeFingerSwipe { dx: f64, dy: f64 }, [INFO] [stdout] | ---------------- ^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Gesture` 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: field `level` is never read [INFO] [stdout] --> src/touchpad_engine.rs:16:44 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct TouchpadEngine { rng: SmallRng, level: u8 } [INFO] [stdout] | -------------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `pressure_curve` is never used [INFO] [stdout] --> src/touchpad_engine.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl TouchpadEngine { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn pressure_curve(&mut self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `dx`, `dy`, and `velocity` are never read [INFO] [stdout] --> src/scroll_engine.rs:7:30 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct ScrollEvent { pub dx: f64, pub dy: f64, pub velocity: f64 } [INFO] [stdout] | ----------- ^^ ^^ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = note: `ScrollEvent` 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 `poisson_delay`, `gaussian_jitter_us`, and `level` are never used [INFO] [stdout] --> src/timing_engine.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl TimingEngine { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn poisson_delay(&mut self) -> Duration { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn gaussian_jitter_us(&mut self, sigma: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn level(&self) -> u8 { self.level } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `focus_delay` is never used [INFO] [stdout] --> src/window_engine.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl WindowEngine { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 12 | pub fn focus_delay(&mut self, pattern: &BehaviorPattern) -> Duration { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `delay_ms` is never read [INFO] [stdout] --> src/clipboard_engine.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | Copy { delay_ms: u64 }, [INFO] [stdout] | ---- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ClipboardOp` 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: field `delay_ms` is never read [INFO] [stdout] --> src/clipboard_engine.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | Paste { delay_ms: u64 }, [INFO] [stdout] | ----- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ClipboardOp` 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: field `delay_ms` is never read [INFO] [stdout] --> src/clipboard_engine.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | Cut { delay_ms: u64 }, [INFO] [stdout] | --- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ClipboardOp` 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: variants `Banking`, `Game`, `VideoEditor`, `TextEditor`, and `Other` are never constructed [INFO] [stdout] --> src/context_detector.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum AppContext { Banking, Browser, Terminal, Game, VideoEditor, TextEditor, Other(String) } [INFO] [stdout] | ---------- ^^^^^^^ ^^^^ ^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | variants in this enum [INFO] [stdout] | [INFO] [stdout] = note: `AppContext` 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 `display_server` and `app_context` are never read [INFO] [stdout] --> src/context_detector.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct ContextDetector { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 10 | pub display_server: DisplayServer, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 11 | pub app_context: AppContext, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `display_server` is never used [INFO] [stdout] --> src/context_detector.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl ContextDetector { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn display_server(&self) -> &DisplayServer { &self.display_server } [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `derive_key` is never used [INFO] [stdout] --> src/utils.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn derive_key(password: &[u8], salt: &[u8; 16]) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encrypt` is never used [INFO] [stdout] --> src/utils.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn encrypt(key: &[u8], plaintext: &[u8]) -> Result> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decrypt` is never used [INFO] [stdout] --> src/utils.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn decrypt(key: &[u8], data: &[u8]) -> Result> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `secure_zero` is never used [INFO] [stdout] --> src/utils.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn secure_zero(data: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PerfTimer` is never constructed [INFO] [stdout] --> src/utils.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct PerfTimer { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `elapsed_us` are never used [INFO] [stdout] --> src/utils.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 60 | impl PerfTimer { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 61 | pub fn new() -> Self { Self { start: std::time::Instant::now() } } [INFO] [stdout] | ^^^ [INFO] [stdout] 62 | pub fn elapsed_us(&self) -> u128 { self.start.elapsed().as_micros() } [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 32.60s [INFO] running `Command { std: "docker" "inspect" "9d58a891c3167a33f6ece032672594e96ee8404271b47ba10b4225702c003df3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d58a891c3167a33f6ece032672594e96ee8404271b47ba10b4225702c003df3", kill_on_drop: false }` [INFO] [stdout] 9d58a891c3167a33f6ece032672594e96ee8404271b47ba10b4225702c003df3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 53c4e9a9622315940ec6192f94917281045a9af906c27e34b8c0c2ef836d29a4 [INFO] running `Command { std: "docker" "start" "-a" "53c4e9a9622315940ec6192f94917281045a9af906c27e34b8c0c2ef836d29a4", kill_on_drop: false }` [INFO] [stderr] Compiling nix v0.30.1 [INFO] [stderr] Compiling getrandom v0.4.1 [INFO] [stderr] Compiling nix v0.27.1 [INFO] [stderr] warning: hazeveil@1.0.0: Building on kernel: 6.14.0-1014-gcp [INFO] [stderr] warning: hazeveil@1.0.0: Kernel 6: OK. [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Compiling ctrlc v3.5.1 [INFO] [stderr] Compiling hazeveil v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `level` is never read [INFO] [stdout] --> src/touchpad_engine.rs:16:44 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct TouchpadEngine { rng: SmallRng, level: u8 } [INFO] [stdout] | -------------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling tempfile v3.26.0 [INFO] [stdout] warning: constant `CONFIG_FILENAME` is never used [INFO] [stdout] --> src/config.rs:7:7 [INFO] [stdout] | [INFO] [stdout] 7 | const CONFIG_FILENAME: &str = "config.enc"; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SALT_FILENAME` is never used [INFO] [stdout] --> src/config.rs:8:7 [INFO] [stdout] | [INFO] [stdout] 8 | const SALT_FILENAME: &str = "salt.bin"; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_PASSWORD` is never used [INFO] [stdout] --> src/config.rs:9:7 [INFO] [stdout] | [INFO] [stdout] 9 | const DEFAULT_PASSWORD: &[u8] = b"hazeveil-default-local-key-v1"; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `HazeVeilConfig` is never constructed [INFO] [stdout] --> src/config.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | pub struct HazeVeilConfig { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load` is never used [INFO] [stdout] --> src/config.rs:38:8 [INFO] [stdout] | [INFO] [stdout] 38 | pub fn load() -> Result { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save` is never used [INFO] [stdout] --> src/config.rs:49:8 [INFO] [stdout] | [INFO] [stdout] 49 | pub fn save(cfg: &HazeVeilConfig) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_configured` is never used [INFO] [stdout] --> src/config.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn is_configured() -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mark_configured` is never used [INFO] [stdout] --> src/config.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn mark_configured() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `interactive_config` is never used [INFO] [stdout] --> src/config.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn interactive_config() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `config_path` is never used [INFO] [stdout] --> src/config.rs:78:4 [INFO] [stdout] | [INFO] [stdout] 78 | fn config_path() -> Result { Ok(config_dir()?.join(CONFIG_FILENAME)) } [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `salt_path` is never used [INFO] [stdout] --> src/config.rs:79:4 [INFO] [stdout] | [INFO] [stdout] 79 | fn salt_path() -> Result { Ok(config_dir()?.join(SALT_FILENAME)) } [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_salt` is never used [INFO] [stdout] --> src/config.rs:81:4 [INFO] [stdout] | [INFO] [stdout] 81 | fn load_salt() -> Result<[u8; 16]> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load_or_create_salt` is never used [INFO] [stdout] --> src/config.rs:89:4 [INFO] [stdout] | [INFO] [stdout] 89 | fn load_or_create_salt() -> Result<[u8; 16]> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `stop` is never used [INFO] [stdout] --> src/core_engine.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl CoreEngine { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn stop(&self) { self.running.store(false, Ordering::SeqCst); } [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `keycode` and `delay_us` are never read [INFO] [stdout] --> src/keyboard_engine.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | Press { keycode: u32, delay_us: u64 }, [INFO] [stdout] | ----- ^^^^^^^ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `KeyEvent` 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 `keycode` and `dwell_us` are never read [INFO] [stdout] --> src/keyboard_engine.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | Release { keycode: u32, dwell_us: u64 }, [INFO] [stdout] | ------- ^^^^^^^ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `KeyEvent` 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: field `keycode` is never read [INFO] [stdout] --> src/keyboard_engine.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | Ghost { keycode: u32 }, [INFO] [stdout] | ----- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `KeyEvent` 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 `id`, `x`, `y`, and `pressure` are never read [INFO] [stdout] --> src/touchpad_engine.rs:6:29 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct TouchPoint { pub id: u8, pub x: f64, pub y: f64, pub pressure: f64 } [INFO] [stdout] | ---------- ^^ ^ ^ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = note: `TouchPoint` 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: field `0` is never read [INFO] [stdout] --> src/touchpad_engine.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | SingleTap(TouchPoint), [INFO] [stdout] | --------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Gesture` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 10 - SingleTap(TouchPoint), [INFO] [stdout] 10 + SingleTap(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `dx`, `dy`, and `pressure` are never read [INFO] [stdout] --> src/touchpad_engine.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | TwoFingerScroll { dx: f64, dy: f64, pressure: f64 }, [INFO] [stdout] | --------------- ^^ ^^ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Gesture` 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 `scale` and `center` are never read [INFO] [stdout] --> src/touchpad_engine.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | Pinch { scale: f64, center: (f64, f64) }, [INFO] [stdout] | ----- ^^^^^ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Gesture` 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 `dx` and `dy` are never read [INFO] [stdout] --> src/touchpad_engine.rs:13:24 [INFO] [stdout] | [INFO] [stdout] 13 | ThreeFingerSwipe { dx: f64, dy: f64 }, [INFO] [stdout] | ---------------- ^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Gesture` 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: field `level` is never read [INFO] [stdout] --> src/touchpad_engine.rs:16:44 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct TouchpadEngine { rng: SmallRng, level: u8 } [INFO] [stdout] | -------------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `pressure_curve` is never used [INFO] [stdout] --> src/touchpad_engine.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl TouchpadEngine { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn pressure_curve(&mut self) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `dx`, `dy`, and `velocity` are never read [INFO] [stdout] --> src/scroll_engine.rs:7:30 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct ScrollEvent { pub dx: f64, pub dy: f64, pub velocity: f64 } [INFO] [stdout] | ----------- ^^ ^^ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = note: `ScrollEvent` 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 `poisson_delay`, `gaussian_jitter_us`, and `level` are never used [INFO] [stdout] --> src/timing_engine.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl TimingEngine { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn poisson_delay(&mut self) -> Duration { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 43 | pub fn gaussian_jitter_us(&mut self, sigma: f64) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn level(&self) -> u8 { self.level } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `focus_delay` is never used [INFO] [stdout] --> src/window_engine.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl WindowEngine { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 12 | pub fn focus_delay(&mut self, pattern: &BehaviorPattern) -> Duration { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `delay_ms` is never read [INFO] [stdout] --> src/clipboard_engine.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | Copy { delay_ms: u64 }, [INFO] [stdout] | ---- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ClipboardOp` 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: field `delay_ms` is never read [INFO] [stdout] --> src/clipboard_engine.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | Paste { delay_ms: u64 }, [INFO] [stdout] | ----- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ClipboardOp` 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: field `delay_ms` is never read [INFO] [stdout] --> src/clipboard_engine.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | Cut { delay_ms: u64 }, [INFO] [stdout] | --- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ClipboardOp` 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: variants `Banking`, `Game`, `VideoEditor`, `TextEditor`, and `Other` are never constructed [INFO] [stdout] --> src/context_detector.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum AppContext { Banking, Browser, Terminal, Game, VideoEditor, TextEditor, Other(String) } [INFO] [stdout] | ---------- ^^^^^^^ ^^^^ ^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | variants in this enum [INFO] [stdout] | [INFO] [stdout] = note: `AppContext` 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 `display_server` and `app_context` are never read [INFO] [stdout] --> src/context_detector.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct ContextDetector { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 10 | pub display_server: DisplayServer, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 11 | pub app_context: AppContext, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `display_server` is never used [INFO] [stdout] --> src/context_detector.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl ContextDetector { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn display_server(&self) -> &DisplayServer { &self.display_server } [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `derive_key` is never used [INFO] [stdout] --> src/utils.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn derive_key(password: &[u8], salt: &[u8; 16]) -> Result> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `encrypt` is never used [INFO] [stdout] --> src/utils.rs:27:8 [INFO] [stdout] | [INFO] [stdout] 27 | pub fn encrypt(key: &[u8], plaintext: &[u8]) -> Result> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `decrypt` is never used [INFO] [stdout] --> src/utils.rs:40:8 [INFO] [stdout] | [INFO] [stdout] 40 | pub fn decrypt(key: &[u8], data: &[u8]) -> Result> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `secure_zero` is never used [INFO] [stdout] --> src/utils.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn secure_zero(data: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PerfTimer` is never constructed [INFO] [stdout] --> src/utils.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct PerfTimer { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `elapsed_us` are never used [INFO] [stdout] --> src/utils.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 60 | impl PerfTimer { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 61 | pub fn new() -> Self { Self { start: std::time::Instant::now() } } [INFO] [stdout] | ^^^ [INFO] [stdout] 62 | pub fn elapsed_us(&self) -> u128 { self.start.elapsed().as_micros() } [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `level` is never read [INFO] [stdout] --> src/touchpad_engine.rs:16:44 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct TouchpadEngine { rng: SmallRng, level: u8 } [INFO] [stdout] | -------------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_configured` is never used [INFO] [stdout] --> src/config.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn is_configured() -> bool { [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 `mark_configured` is never used [INFO] [stdout] --> src/config.rs:63:8 [INFO] [stdout] | [INFO] [stdout] 63 | pub fn mark_configured() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `interactive_config` is never used [INFO] [stdout] --> src/config.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn interactive_config() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `stop` is never used [INFO] [stdout] --> src/core_engine.rs:103:12 [INFO] [stdout] | [INFO] [stdout] 33 | impl CoreEngine { [INFO] [stdout] | --------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn stop(&self) { self.running.store(false, Ordering::SeqCst); } [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `keycode` and `delay_us` are never read [INFO] [stdout] --> src/keyboard_engine.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | Press { keycode: u32, delay_us: u64 }, [INFO] [stdout] | ----- ^^^^^^^ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `KeyEvent` 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 `keycode` and `dwell_us` are never read [INFO] [stdout] --> src/keyboard_engine.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | Release { keycode: u32, dwell_us: u64 }, [INFO] [stdout] | ------- ^^^^^^^ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `KeyEvent` 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: field `keycode` is never read [INFO] [stdout] --> src/keyboard_engine.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | Ghost { keycode: u32 }, [INFO] [stdout] | ----- ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `KeyEvent` 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 `id`, `x`, `y`, and `pressure` are never read [INFO] [stdout] --> src/touchpad_engine.rs:6:29 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct TouchPoint { pub id: u8, pub x: f64, pub y: f64, pub pressure: f64 } [INFO] [stdout] | ---------- ^^ ^ ^ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = note: `TouchPoint` 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: field `0` is never read [INFO] [stdout] --> src/touchpad_engine.rs:10:15 [INFO] [stdout] | [INFO] [stdout] 10 | SingleTap(TouchPoint), [INFO] [stdout] | --------- ^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Gesture` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 10 - SingleTap(TouchPoint), [INFO] [stdout] 10 + SingleTap(()), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `dx`, `dy`, and `pressure` are never read [INFO] [stdout] --> src/touchpad_engine.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | TwoFingerScroll { dx: f64, dy: f64, pressure: f64 }, [INFO] [stdout] | --------------- ^^ ^^ ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Gesture` 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 `scale` and `center` are never read [INFO] [stdout] --> src/touchpad_engine.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | Pinch { scale: f64, center: (f64, f64) }, [INFO] [stdout] | ----- ^^^^^ ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Gesture` 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 `dx` and `dy` are never read [INFO] [stdout] --> src/touchpad_engine.rs:13:24 [INFO] [stdout] | [INFO] [stdout] 13 | ThreeFingerSwipe { dx: f64, dy: f64 }, [INFO] [stdout] | ---------------- ^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] = note: `Gesture` 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: field `level` is never read [INFO] [stdout] --> src/touchpad_engine.rs:16:44 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct TouchpadEngine { rng: SmallRng, level: u8 } [INFO] [stdout] | -------------- ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `dx` and `dy` are never read [INFO] [stdout] --> src/scroll_engine.rs:7:30 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct ScrollEvent { pub dx: f64, pub dy: f64, pub velocity: f64 } [INFO] [stdout] | ----------- ^^ ^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] | [INFO] [stdout] = note: `ScrollEvent` 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 `poisson_delay` and `level` are never used [INFO] [stdout] --> src/timing_engine.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl TimingEngine { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn poisson_delay(&mut self) -> Duration { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn level(&self) -> u8 { self.level } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `focus_delay` is never used [INFO] [stdout] --> src/window_engine.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl WindowEngine { [INFO] [stdout] | ----------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 12 | pub fn focus_delay(&mut self, pattern: &BehaviorPattern) -> Duration { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `delay_ms` is never read [INFO] [stdout] --> src/clipboard_engine.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | Copy { delay_ms: u64 }, [INFO] [stdout] | ---- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ClipboardOp` 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: field `delay_ms` is never read [INFO] [stdout] --> src/clipboard_engine.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | Paste { delay_ms: u64 }, [INFO] [stdout] | ----- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ClipboardOp` 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: field `delay_ms` is never read [INFO] [stdout] --> src/clipboard_engine.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | Cut { delay_ms: u64 }, [INFO] [stdout] | --- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `ClipboardOp` 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: variants `Banking`, `Game`, `VideoEditor`, `TextEditor`, and `Other` are never constructed [INFO] [stdout] --> src/context_detector.rs:7:23 [INFO] [stdout] | [INFO] [stdout] 7 | pub enum AppContext { Banking, Browser, Terminal, Game, VideoEditor, TextEditor, Other(String) } [INFO] [stdout] | ---------- ^^^^^^^ ^^^^ ^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | variants in this enum [INFO] [stdout] | [INFO] [stdout] = note: `AppContext` 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 `display_server` and `app_context` are never read [INFO] [stdout] --> src/context_detector.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub struct ContextDetector { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 10 | pub display_server: DisplayServer, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 11 | pub app_context: AppContext, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `display_server` is never used [INFO] [stdout] --> src/context_detector.rs:59:12 [INFO] [stdout] | [INFO] [stdout] 15 | impl ContextDetector { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn display_server(&self) -> &DisplayServer { &self.display_server } [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `secure_zero` is never used [INFO] [stdout] --> src/utils.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn secure_zero(data: &mut Vec) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PerfTimer` is never constructed [INFO] [stdout] --> src/utils.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | pub struct PerfTimer { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `elapsed_us` are never used [INFO] [stdout] --> src/utils.rs:61:12 [INFO] [stdout] | [INFO] [stdout] 60 | impl PerfTimer { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 61 | pub fn new() -> Self { Self { start: std::time::Instant::now() } } [INFO] [stdout] | ^^^ [INFO] [stdout] 62 | pub fn elapsed_us(&self) -> u128 { self.start.elapsed().as_micros() } [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 7.46s [INFO] running `Command { std: "docker" "inspect" "53c4e9a9622315940ec6192f94917281045a9af906c27e34b8c0c2ef836d29a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53c4e9a9622315940ec6192f94917281045a9af906c27e34b8c0c2ef836d29a4", kill_on_drop: false }` [INFO] [stdout] 53c4e9a9622315940ec6192f94917281045a9af906c27e34b8c0c2ef836d29a4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] d1f3853c235e6d44600142bcec5cdccb5aebaf9994145b5f032492fc0581074e [INFO] running `Command { std: "docker" "start" "-a" "d1f3853c235e6d44600142bcec5cdccb5aebaf9994145b5f032492fc0581074e", kill_on_drop: false }` [INFO] [stderr] warning: hazeveil@1.0.0: Building on kernel: 6.14.0-1014-gcp [INFO] [stderr] warning: hazeveil@1.0.0: Kernel 6: OK. [INFO] [stderr] warning: field `level` is never read [INFO] [stderr] --> src/touchpad_engine.rs:16:44 [INFO] [stderr] | [INFO] [stderr] 16 | pub struct TouchpadEngine { rng: SmallRng, level: u8 } [INFO] [stderr] | -------------- ^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this struct [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `hazeveil` (lib) generated 1 warning [INFO] [stderr] warning: constant `CONFIG_FILENAME` is never used [INFO] [stderr] --> src/config.rs:7:7 [INFO] [stderr] | [INFO] [stderr] 7 | const CONFIG_FILENAME: &str = "config.enc"; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: constant `SALT_FILENAME` is never used [INFO] [stderr] --> src/config.rs:8:7 [INFO] [stderr] | [INFO] [stderr] 8 | const SALT_FILENAME: &str = "salt.bin"; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `DEFAULT_PASSWORD` is never used [INFO] [stderr] --> src/config.rs:9:7 [INFO] [stderr] | [INFO] [stderr] 9 | const DEFAULT_PASSWORD: &[u8] = b"hazeveil-default-local-key-v1"; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `HazeVeilConfig` is never constructed [INFO] [stderr] --> src/config.rs:12:12 [INFO] [stderr] | [INFO] [stderr] 12 | pub struct HazeVeilConfig { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `load` is never used [INFO] [stderr] --> src/config.rs:38:8 [INFO] [stderr] | [INFO] [stderr] 38 | pub fn load() -> Result { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `save` is never used [INFO] [stderr] --> src/config.rs:49:8 [INFO] [stderr] | [INFO] [stderr] 49 | pub fn save(cfg: &HazeVeilConfig) -> Result<()> { [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `is_configured` is never used [INFO] [stderr] --> src/config.rs:59:8 [INFO] [stderr] | [INFO] [stderr] 59 | pub fn is_configured() -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `mark_configured` is never used [INFO] [stderr] --> src/config.rs:63:8 [INFO] [stderr] | [INFO] [stderr] 63 | pub fn mark_configured() -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `interactive_config` is never used [INFO] [stderr] --> src/config.rs:69:8 [INFO] [stderr] | [INFO] [stderr] 69 | pub fn interactive_config() -> Result<()> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `config_path` is never used [INFO] [stderr] --> src/config.rs:78:4 [INFO] [stderr] | [INFO] [stderr] 78 | fn config_path() -> Result { Ok(config_dir()?.join(CONFIG_FILENAME)) } [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `salt_path` is never used [INFO] [stderr] --> src/config.rs:79:4 [INFO] [stderr] | [INFO] [stderr] 79 | fn salt_path() -> Result { Ok(config_dir()?.join(SALT_FILENAME)) } [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `load_salt` is never used [INFO] [stderr] --> src/config.rs:81:4 [INFO] [stderr] | [INFO] [stderr] 81 | fn load_salt() -> Result<[u8; 16]> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `load_or_create_salt` is never used [INFO] [stderr] --> src/config.rs:89:4 [INFO] [stderr] | [INFO] [stderr] 89 | fn load_or_create_salt() -> Result<[u8; 16]> { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `stop` is never used [INFO] [stderr] --> src/core_engine.rs:103:12 [INFO] [stderr] | [INFO] [stderr] 33 | impl CoreEngine { [INFO] [stderr] | --------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 103 | pub fn stop(&self) { self.running.store(false, Ordering::SeqCst); } [INFO] [stderr] | ^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `keycode` and `delay_us` are never read [INFO] [stderr] --> src/keyboard_engine.rs:8:13 [INFO] [stderr] | [INFO] [stderr] 8 | Press { keycode: u32, delay_us: u64 }, [INFO] [stderr] | ----- ^^^^^^^ ^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | fields in this variant [INFO] [stderr] | [INFO] [stderr] = note: `KeyEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `keycode` and `dwell_us` are never read [INFO] [stderr] --> src/keyboard_engine.rs:9:15 [INFO] [stderr] | [INFO] [stderr] 9 | Release { keycode: u32, dwell_us: u64 }, [INFO] [stderr] | ------- ^^^^^^^ ^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | fields in this variant [INFO] [stderr] | [INFO] [stderr] = note: `KeyEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `keycode` is never read [INFO] [stderr] --> src/keyboard_engine.rs:10:13 [INFO] [stderr] | [INFO] [stderr] 10 | Ghost { keycode: u32 }, [INFO] [stderr] | ----- ^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `KeyEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `id`, `x`, `y`, and `pressure` are never read [INFO] [stderr] --> src/touchpad_engine.rs:6:29 [INFO] [stderr] | [INFO] [stderr] 6 | pub struct TouchPoint { pub id: u8, pub x: f64, pub y: f64, pub pressure: f64 } [INFO] [stderr] | ---------- ^^ ^ ^ ^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | fields in this struct [INFO] [stderr] | [INFO] [stderr] = note: `TouchPoint` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> src/touchpad_engine.rs:10:15 [INFO] [stderr] | [INFO] [stderr] 10 | SingleTap(TouchPoint), [INFO] [stderr] | --------- ^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Gesture` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stderr] | [INFO] [stderr] 10 - SingleTap(TouchPoint), [INFO] [stderr] 10 + SingleTap(()), [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: fields `dx`, `dy`, and `pressure` are never read [INFO] [stderr] --> src/touchpad_engine.rs:11:23 [INFO] [stderr] | [INFO] [stderr] 11 | TwoFingerScroll { dx: f64, dy: f64, pressure: f64 }, [INFO] [stderr] | --------------- ^^ ^^ ^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | fields in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Gesture` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `scale` and `center` are never read [INFO] [stderr] --> src/touchpad_engine.rs:12:13 [INFO] [stderr] | [INFO] [stderr] 12 | Pinch { scale: f64, center: (f64, f64) }, [INFO] [stderr] | ----- ^^^^^ ^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | fields in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Gesture` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `dx` and `dy` are never read [INFO] [stderr] --> src/touchpad_engine.rs:13:24 [INFO] [stderr] | [INFO] [stderr] 13 | ThreeFingerSwipe { dx: f64, dy: f64 }, [INFO] [stderr] | ---------------- ^^ ^^ [INFO] [stderr] | | [INFO] [stderr] | fields in this variant [INFO] [stderr] | [INFO] [stderr] = note: `Gesture` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `level` is never read [INFO] [stderr] --> src/touchpad_engine.rs:16:44 [INFO] [stderr] | [INFO] [stderr] 16 | pub struct TouchpadEngine { rng: SmallRng, level: u8 } [INFO] [stderr] | -------------- ^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this struct [INFO] [stderr] [INFO] [stderr] warning: method `pressure_curve` is never used [INFO] [stderr] --> src/touchpad_engine.rs:21:12 [INFO] [stderr] | [INFO] [stderr] 18 | impl TouchpadEngine { [INFO] [stderr] | ------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 21 | pub fn pressure_curve(&mut self) -> Vec { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `dx`, `dy`, and `velocity` are never read [INFO] [stderr] --> src/scroll_engine.rs:7:30 [INFO] [stderr] | [INFO] [stderr] 7 | pub struct ScrollEvent { pub dx: f64, pub dy: f64, pub velocity: f64 } [INFO] [stderr] | ----------- ^^ ^^ ^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | fields in this struct [INFO] [stderr] | [INFO] [stderr] = note: `ScrollEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: methods `poisson_delay`, `gaussian_jitter_us`, and `level` are never used [INFO] [stderr] --> src/timing_engine.rs:29:12 [INFO] [stderr] | [INFO] [stderr] 11 | impl TimingEngine { [INFO] [stderr] | ----------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 29 | pub fn poisson_delay(&mut self) -> Duration { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 43 | pub fn gaussian_jitter_us(&mut self, sigma: f64) -> f64 { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 50 | pub fn level(&self) -> u8 { self.level } [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `focus_delay` is never used [INFO] [stderr] --> src/window_engine.rs:12:12 [INFO] [stderr] | [INFO] [stderr] 9 | impl WindowEngine { [INFO] [stderr] | ----------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 12 | pub fn focus_delay(&mut self, pattern: &BehaviorPattern) -> Duration { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: field `delay_ms` is never read [INFO] [stderr] --> src/clipboard_engine.rs:8:12 [INFO] [stderr] | [INFO] [stderr] 8 | Copy { delay_ms: u64 }, [INFO] [stderr] | ---- ^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `ClipboardOp` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `delay_ms` is never read [INFO] [stderr] --> src/clipboard_engine.rs:9:13 [INFO] [stderr] | [INFO] [stderr] 9 | Paste { delay_ms: u64 }, [INFO] [stderr] | ----- ^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `ClipboardOp` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: field `delay_ms` is never read [INFO] [stderr] --> src/clipboard_engine.rs:10:11 [INFO] [stderr] | [INFO] [stderr] 10 | Cut { delay_ms: u64 }, [INFO] [stderr] | --- ^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | field in this variant [INFO] [stderr] | [INFO] [stderr] = note: `ClipboardOp` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: variants `Banking`, `Game`, `VideoEditor`, `TextEditor`, and `Other` are never constructed [INFO] [stderr] --> src/context_detector.rs:7:23 [INFO] [stderr] | [INFO] [stderr] 7 | pub enum AppContext { Banking, Browser, Terminal, Game, VideoEditor, TextEditor, Other(String) } [INFO] [stderr] | ---------- ^^^^^^^ ^^^^ ^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^ [INFO] [stderr] | | [INFO] [stderr] | variants in this enum [INFO] [stderr] | [INFO] [stderr] = note: `AppContext` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `display_server` and `app_context` are never read [INFO] [stderr] --> src/context_detector.rs:10:9 [INFO] [stderr] | [INFO] [stderr] 9 | pub struct ContextDetector { [INFO] [stderr] | --------------- fields in this struct [INFO] [stderr] 10 | pub display_server: DisplayServer, [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] 11 | pub app_context: AppContext, [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method `display_server` is never used [INFO] [stderr] --> src/context_detector.rs:59:12 [INFO] [stderr] | [INFO] [stderr] 15 | impl ContextDetector { [INFO] [stderr] | -------------------- method in this implementation [INFO] [stderr] ... [INFO] [stderr] 59 | pub fn display_server(&self) -> &DisplayServer { &self.display_server } [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `derive_key` is never used [INFO] [stderr] --> src/utils.rs:17:8 [INFO] [stderr] | [INFO] [stderr] 17 | pub fn derive_key(password: &[u8], salt: &[u8; 16]) -> Result> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `encrypt` is never used [INFO] [stderr] --> src/utils.rs:27:8 [INFO] [stderr] | [INFO] [stderr] 27 | pub fn encrypt(key: &[u8], plaintext: &[u8]) -> Result> { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `decrypt` is never used [INFO] [stderr] --> src/utils.rs:40:8 [INFO] [stderr] | [INFO] [stderr] 40 | pub fn decrypt(key: &[u8], data: &[u8]) -> Result> { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `secure_zero` is never used [INFO] [stderr] --> src/utils.rs:52:8 [INFO] [stderr] | [INFO] [stderr] 52 | pub fn secure_zero(data: &mut Vec) { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: struct `PerfTimer` is never constructed [INFO] [stderr] --> src/utils.rs:56:12 [INFO] [stderr] | [INFO] [stderr] 56 | pub struct PerfTimer { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated items `new` and `elapsed_us` are never used [INFO] [stderr] --> src/utils.rs:61:12 [INFO] [stderr] | [INFO] [stderr] 60 | impl PerfTimer { [INFO] [stderr] | -------------- associated items in this implementation [INFO] [stderr] 61 | pub fn new() -> Self { Self { start: std::time::Instant::now() } } [INFO] [stderr] | ^^^ [INFO] [stderr] 62 | pub fn elapsed_us(&self) -> u128 { self.start.elapsed().as_micros() } [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `hazeveil` (bin "hazeveil") generated 39 warnings [INFO] [stderr] warning: function `is_configured` is never used [INFO] [stderr] --> src/config.rs:59:8 [INFO] [stderr] | [INFO] [stderr] 59 | pub fn is_configured() -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: fields `dx` and `dy` are never read [INFO] [stderr] --> src/scroll_engine.rs:7:30 [INFO] [stderr] | [INFO] [stderr] 7 | pub struct ScrollEvent { pub dx: f64, pub dy: f64, pub velocity: f64 } [INFO] [stderr] | ----------- ^^ ^^ [INFO] [stderr] | | [INFO] [stderr] | fields in this struct [INFO] [stderr] | [INFO] [stderr] = note: `ScrollEvent` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: methods `poisson_delay` and `level` are never used [INFO] [stderr] --> src/timing_engine.rs:29:12 [INFO] [stderr] | [INFO] [stderr] 11 | impl TimingEngine { [INFO] [stderr] | ----------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 29 | pub fn poisson_delay(&mut self) -> Duration { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 50 | pub fn level(&self) -> u8 { self.level } [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `hazeveil` (lib test) generated 1 warning (1 duplicate) [INFO] [stderr] warning: `hazeveil` (bin "hazeveil" test) generated 25 warnings (22 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.23s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/hazeveil-e35f29eb94981627) [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test ai_pattern::tests::test_pattern_fields_valid ... ok [INFO] [stdout] test keyboard_engine::tests::test_keyboard_events ... ok [INFO] [stdout] test ai_pattern::tests::test_pattern_library_size ... ok [INFO] [stdout] test config::tests::test_config_default ... ok [INFO] [stdout] test mouse_engine::tests::test_mouse_variance ... ok [INFO] [stdout] test timing_engine::tests::test_timing_variance ... ok [INFO] [stdout] test scroll_engine::tests::test_scroll_variance ... ok [INFO] [stdout] test timing_engine::tests::test_gaussian_jitter ... ok [INFO] [stdout] test touchpad_engine::tests::test_pressure_curve ... ok [INFO] [stdout] test mouse_engine::tests::test_bezier_jitter ... ok [INFO] [stdout] test touchpad_engine::tests::test_gesture_variety ... ok [INFO] [stdout] test ai_pattern::tests::test_blend_patterns ... ok [INFO] [stdout] test config::tests::test_config_save_load ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 9.58s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/hazeveil-7fd15e0b9f64b1df) [INFO] [stdout] [INFO] [stdout] running 13 tests [INFO] [stdout] test ai_pattern::tests::test_pattern_library_size ... ok [INFO] [stdout] test mouse_engine::tests::test_bezier_jitter ... ok [INFO] [stdout] test mouse_engine::tests::test_mouse_variance ... ok [INFO] [stdout] test config::tests::test_config_default ... ok [INFO] [stdout] test scroll_engine::tests::test_scroll_variance ... ok [INFO] [stdout] test timing_engine::tests::test_gaussian_jitter ... ok [INFO] [stdout] test ai_pattern::tests::test_blend_patterns ... ok [INFO] [stdout] test ai_pattern::tests::test_pattern_fields_valid ... ok [INFO] [stdout] test keyboard_engine::tests::test_keyboard_events ... ok [INFO] [stdout] test touchpad_engine::tests::test_pressure_curve ... ok [INFO] [stdout] test timing_engine::tests::test_timing_variance ... ok [INFO] [stdout] test touchpad_engine::tests::test_gesture_variety ... ok [INFO] [stdout] test config::tests::test_config_save_load ... ok [INFO] [stderr] Running tests/engine_test.rs (/opt/rustwide/target/debug/deps/engine_test-e16fc9fa423045d7) [INFO] [stdout] [INFO] [stdout] test result: ok. 13 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 10.60s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test test_scroll_velocity_positive ... ok [INFO] [stdout] test test_keyboard_engine_events ... ok [INFO] [stdout] test test_mouse_engine_produces_variance ... ok [INFO] [stdout] test test_timing_engine_base_delay ... ok [INFO] [stdout] test test_touchpad_pressure_valid ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Running tests/integration_test.rs (/opt/rustwide/target/debug/deps/integration_test-24ba88776403ba01) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test test_context_detector_runs ... ok [INFO] [stdout] test test_full_pattern_blend_pipeline ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 2 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/pattern_test.rs (/opt/rustwide/target/debug/deps/pattern_test-b8941e92d7d1603c) [INFO] [stdout] [INFO] [stdout] running 5 tests [INFO] [stdout] test test_all_patterns_valid ... ok [INFO] [stdout] test test_variant_names ... ok [INFO] [stdout] test test_archetype_names_present ... ok [INFO] [stdout] test test_blend_weights_normalized ... ok [INFO] [stdout] test test_library_has_200_plus_patterns ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 5 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/stealth_test.rs (/opt/rustwide/target/debug/deps/stealth_test-9b2c2db6c92859b0) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test test_level_5_higher_variance_than_level_1 ... ok [INFO] [stdout] test test_timing_has_sufficient_entropy ... ok [INFO] [stdout] test test_mouse_positions_not_deterministic ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Doc-tests hazeveil [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "d1f3853c235e6d44600142bcec5cdccb5aebaf9994145b5f032492fc0581074e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d1f3853c235e6d44600142bcec5cdccb5aebaf9994145b5f032492fc0581074e", kill_on_drop: false }` [INFO] [stdout] d1f3853c235e6d44600142bcec5cdccb5aebaf9994145b5f032492fc0581074e