[INFO] fetching crate logiops-daemon 0.1.0... [INFO] testing logiops-daemon-0.1.0 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-1 [INFO] extracting crate logiops-daemon 0.1.0 into /workspace/builds/worker-0-tc1/source [INFO] started tweaking crates.io crate logiops-daemon 0.1.0 [INFO] finished tweaking crates.io crate logiops-daemon 0.1.0 [INFO] tweaked toml for crates.io crate logiops-daemon 0.1.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate logiops-daemon 0.1.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 logiops-daemon 0.1.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] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded zbus_names v4.3.1 [INFO] [stderr] Downloaded atomic v0.6.1 [INFO] [stderr] Downloaded pear_codegen v0.2.9 [INFO] [stderr] Downloaded uncased v0.9.10 [INFO] [stderr] Downloaded hidpp-transport v0.1.0 [INFO] [stderr] Downloaded udev v0.9.3 [INFO] [stderr] Downloaded inlinable_string v0.1.15 [INFO] [stderr] Downloaded logiops-core v0.1.0 [INFO] [stderr] Downloaded evdev v0.12.2 [INFO] [stderr] Downloaded figment v0.10.19 [INFO] [stderr] Downloaded zvariant v5.9.2 [INFO] [stderr] Downloaded zbus v5.13.2 [INFO] [stderr] Downloaded pear v0.2.9 [INFO] [stderr] Downloaded udev v0.8.0 [INFO] [stderr] Downloaded hidapi v2.6.4 [INFO] [stderr] Downloaded zvariant_derive v5.9.2 [INFO] [stderr] Downloaded zvariant_utils v3.3.0 [INFO] [stderr] Downloaded zbus_macros v5.13.2 [INFO] [stderr] Downloaded nix v0.23.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 657275bd7a24957b755f8534ec1e180347920af9b0dc88094bf98bda925aa9eb [INFO] running `Command { std: "docker" "start" "-a" "657275bd7a24957b755f8534ec1e180347920af9b0dc88094bf98bda925aa9eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "657275bd7a24957b755f8534ec1e180347920af9b0dc88094bf98bda925aa9eb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "657275bd7a24957b755f8534ec1e180347920af9b0dc88094bf98bda925aa9eb", kill_on_drop: false }` [INFO] [stdout] 657275bd7a24957b755f8534ec1e180347920af9b0dc88094bf98bda925aa9eb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ef06ef63f339aae8d88aa1fbca68a95a379b53cc1d593d5086e8cd1be1dc4647 [INFO] running `Command { std: "docker" "start" "-a" "ef06ef63f339aae8d88aa1fbca68a95a379b53cc1d593d5086e8cd1be1dc4647", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.105 [INFO] [stderr] Compiling quote v1.0.43 [INFO] [stderr] Compiling libc v0.2.180 [INFO] [stderr] Compiling indexmap v2.13.0 [INFO] [stderr] Compiling toml_parser v1.0.6+spec-1.1.0 [INFO] [stderr] Compiling toml_datetime v0.7.5+spec-1.1.0 [INFO] [stderr] Compiling futures-io v0.3.31 [INFO] [stderr] Compiling tracing-core v0.1.36 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling io-lifetimes v1.0.11 [INFO] [stderr] Compiling rustix v1.1.3 [INFO] [stderr] Compiling linux-raw-sys v0.11.0 [INFO] [stderr] Compiling endi v1.1.1 [INFO] [stderr] Compiling event-listener v5.4.1 [INFO] [stderr] Compiling cc v1.2.53 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling yansi v1.0.1 [INFO] [stderr] Compiling futures-lite v2.6.1 [INFO] [stderr] Compiling zmij v1.0.16 [INFO] [stderr] Compiling event-listener-strategy v0.5.4 [INFO] [stderr] Compiling async-channel v2.5.0 [INFO] [stderr] Compiling uncased v0.9.10 [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling piper v0.2.4 [INFO] [stderr] Compiling async-lock v3.4.2 [INFO] [stderr] Compiling figment v0.10.19 [INFO] [stderr] Compiling inlinable_string v0.1.15 [INFO] [stderr] Compiling anyhow v1.0.100 [INFO] [stderr] Compiling log v0.4.29 [INFO] [stderr] Compiling toml_edit v0.23.10+spec-1.0.0 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling async-broadcast v0.7.2 [INFO] [stderr] Compiling uuid v1.19.0 [INFO] [stderr] Compiling tracing-log v0.2.0 [INFO] [stderr] Compiling ordered-stream v0.2.0 [INFO] [stderr] Compiling thread_local v1.1.9 [INFO] [stderr] Compiling syn v2.0.114 [INFO] [stderr] Compiling blocking v1.6.2 [INFO] [stderr] Compiling async-executor v1.13.3 [INFO] [stderr] Compiling hidapi v2.6.4 [INFO] [stderr] Compiling proc-macro-crate v3.4.0 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling errno v0.3.14 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Compiling socket2 v0.6.1 [INFO] [stderr] Compiling mio v1.1.1 [INFO] [stderr] Compiling nix v0.27.1 [INFO] [stderr] Compiling dirs-sys v0.5.0 [INFO] [stderr] Compiling nix v0.23.2 [INFO] [stderr] Compiling dirs v6.0.0 [INFO] [stderr] Compiling signal-hook-registry v1.4.8 [INFO] [stderr] Compiling parking_lot v0.12.5 [INFO] [stderr] Compiling udev v0.8.0 [INFO] [stderr] Compiling udev v0.9.3 [INFO] [stderr] Compiling matchers v0.2.0 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling enumflags2_derive v0.7.12 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling tokio-macros v2.6.0 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling pear_codegen v0.2.9 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling polling v3.11.0 [INFO] [stderr] Compiling tokio v1.49.0 [INFO] [stderr] Compiling async-io v2.6.0 [INFO] [stderr] Compiling futures-util v0.3.31 [INFO] [stderr] Compiling async-signal v0.2.13 [INFO] [stderr] Compiling pear v0.2.9 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Compiling async-process v2.5.0 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Compiling evdev v0.12.2 [INFO] [stderr] Compiling tracing v0.1.44 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling zvariant_utils v3.3.0 [INFO] [stderr] Compiling enumflags2 v0.7.12 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling tracing-serde v0.2.0 [INFO] [stderr] Compiling tracing-subscriber v0.3.22 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling zvariant_derive v5.9.2 [INFO] [stderr] Compiling zvariant v5.9.2 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling hidpp-transport v0.1.0 [INFO] [stderr] Compiling tokio-util v0.7.18 [INFO] [stderr] Compiling logiops-core v0.1.0 [INFO] [stderr] Compiling zbus_names v4.3.1 [INFO] [stderr] Compiling zbus_macros v5.13.2 [INFO] [stderr] Compiling zbus v5.13.2 [INFO] [stderr] Compiling logiops-daemon v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: usage of an `unsafe` block [INFO] [stdout] --> src/udev_monitor.rs:142:19 [INFO] [stdout] | [INFO] [stdout] 142 | let ret = unsafe { libc::poll(&mut pollfd, 1, 500) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-W unsafe-code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `virtual_device`, `dpi_cycle_index`, `held_keys`, and `smartshift_enabled` are never read [INFO] [stdout] --> src/action.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct ActionExecutor { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 38 | /// Virtual input device for emitting key events. [INFO] [stdout] 39 | virtual_device: LogiopsVirtualDevice, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | dpi_cycle_index: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | held_keys: HashMap>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | smartshift_enabled: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `execute_press`, `execute_release`, `cycle_dpi`, `toggle_smartshift`, and `parse_keys` are never used [INFO] [stdout] --> src/action.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 51 | impl ActionExecutor { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn execute_press(&mut self, cid: u16, action: &ActionConfig) -> Result<(), ActionError> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn execute_release(&mut self, cid: u16, action: &ActionConfig) -> Result<(), ActionError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | pub fn cycle_dpi(&mut self, cid: u16, dpis: &[u16]) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | pub fn toggle_smartshift(&mut self, device_id: &str, current_state: bool) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 192 | fn parse_keys(key_names: &[String]) -> Result, ActionError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `action_executor`, `device_id`, and `pressed_buttons` are never read [INFO] [stdout] --> src/actor.rs:266:5 [INFO] [stdout] | [INFO] [stdout] 261 | pub struct DeviceActor { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 266 | action_executor: Option>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 267 | /// Device identifier for logging. [INFO] [stdout] 268 | device_id: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 274 | pressed_buttons: HashSet, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `poll_and_handle_button_events` and `handle_button_event` are never used [INFO] [stdout] --> src/actor.rs:741:14 [INFO] [stdout] | [INFO] [stdout] 277 | impl DeviceActor { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 741 | async fn poll_and_handle_button_events(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 774 | async fn handle_button_event(&mut self, event: ButtonEvent) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `keys_down` and `keys_up` are never used [INFO] [stdout] --> src/virtual_device.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl LogiopsVirtualDevice { [INFO] [stdout] | ------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn keys_down(&mut self, keys: &[Key]) -> Result<(), std::io::Error> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn keys_up(&mut self, keys: &[Key]) -> Result<(), std::io::Error> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_key_name` is never used [INFO] [stdout] --> src/virtual_device.rs:140:8 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn parse_key_name(name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `key_from_name` is never used [INFO] [stdout] --> src/virtual_device.rs:202:4 [INFO] [stdout] | [INFO] [stdout] 202 | fn key_from_name(name: &str) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 00s [INFO] running `Command { std: "docker" "inspect" "ef06ef63f339aae8d88aa1fbca68a95a379b53cc1d593d5086e8cd1be1dc4647", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ef06ef63f339aae8d88aa1fbca68a95a379b53cc1d593d5086e8cd1be1dc4647", kill_on_drop: false }` [INFO] [stdout] ef06ef63f339aae8d88aa1fbca68a95a379b53cc1d593d5086e8cd1be1dc4647 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6601ab01329bfae8664d67c4ac1862afb932b2a959aa4b8eb4dab3fe8f969c2e [INFO] running `Command { std: "docker" "start" "-a" "6601ab01329bfae8664d67c4ac1862afb932b2a959aa4b8eb4dab3fe8f969c2e", kill_on_drop: false }` [INFO] [stderr] Compiling logiops-daemon v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: usage of an `unsafe` block [INFO] [stdout] --> src/udev_monitor.rs:142:19 [INFO] [stdout] | [INFO] [stdout] 142 | let ret = unsafe { libc::poll(&mut pollfd, 1, 500) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-W unsafe-code` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `virtual_device`, `dpi_cycle_index`, `held_keys`, and `smartshift_enabled` are never read [INFO] [stdout] --> src/action.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct ActionExecutor { [INFO] [stdout] | -------------- fields in this struct [INFO] [stdout] 38 | /// Virtual input device for emitting key events. [INFO] [stdout] 39 | virtual_device: LogiopsVirtualDevice, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | dpi_cycle_index: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | held_keys: HashMap>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 48 | smartshift_enabled: HashMap, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `execute_press`, `execute_release`, `cycle_dpi`, `toggle_smartshift`, and `parse_keys` are never used [INFO] [stdout] --> src/action.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 51 | impl ActionExecutor { [INFO] [stdout] | ------------------- associated items in this implementation [INFO] [stdout] ... [INFO] [stdout] 75 | pub fn execute_press(&mut self, cid: u16, action: &ActionConfig) -> Result<(), ActionError> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 122 | pub fn execute_release(&mut self, cid: u16, action: &ActionConfig) -> Result<(), ActionError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 152 | pub fn cycle_dpi(&mut self, cid: u16, dpis: &[u16]) -> Option { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 181 | pub fn toggle_smartshift(&mut self, device_id: &str, current_state: bool) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 192 | fn parse_keys(key_names: &[String]) -> Result, ActionError> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `action_executor`, `device_id`, and `pressed_buttons` are never read [INFO] [stdout] --> src/actor.rs:266:5 [INFO] [stdout] | [INFO] [stdout] 261 | pub struct DeviceActor { [INFO] [stdout] | ----------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 266 | action_executor: Option>>, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 267 | /// Device identifier for logging. [INFO] [stdout] 268 | device_id: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 274 | pressed_buttons: HashSet, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `poll_and_handle_button_events` and `handle_button_event` are never used [INFO] [stdout] --> src/actor.rs:741:14 [INFO] [stdout] | [INFO] [stdout] 277 | impl DeviceActor { [INFO] [stdout] | ---------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 741 | async fn poll_and_handle_button_events(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 774 | async fn handle_button_event(&mut self, event: ButtonEvent) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `keys_down` and `keys_up` are never used [INFO] [stdout] --> src/virtual_device.rs:113:12 [INFO] [stdout] | [INFO] [stdout] 18 | impl LogiopsVirtualDevice { [INFO] [stdout] | ------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 113 | pub fn keys_down(&mut self, keys: &[Key]) -> Result<(), std::io::Error> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 125 | pub fn keys_up(&mut self, keys: &[Key]) -> Result<(), std::io::Error> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 4.04s [INFO] running `Command { std: "docker" "inspect" "6601ab01329bfae8664d67c4ac1862afb932b2a959aa4b8eb4dab3fe8f969c2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6601ab01329bfae8664d67c4ac1862afb932b2a959aa4b8eb4dab3fe8f969c2e", kill_on_drop: false }` [INFO] [stdout] 6601ab01329bfae8664d67c4ac1862afb932b2a959aa4b8eb4dab3fe8f969c2e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] f884580ac1273361af6391172f0a8e349cc85cb6fb11374fbf050c08675f9da5 [INFO] running `Command { std: "docker" "start" "-a" "f884580ac1273361af6391172f0a8e349cc85cb6fb11374fbf050c08675f9da5", kill_on_drop: false }` [INFO] [stderr] warning: usage of an `unsafe` block [INFO] [stderr] --> src/udev_monitor.rs:142:19 [INFO] [stderr] | [INFO] [stderr] 142 | let ret = unsafe { libc::poll(&mut pollfd, 1, 500) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stderr] | [INFO] [stdout] running 11 tests [INFO] [stderr] = note: requested on the command line with `-W unsafe-code` [INFO] [stdout] test action::tests::test_cycle_dpi ... ok [INFO] [stderr] [INFO] [stdout] test config::tests::test_default_config ... ok [INFO] [stderr] warning: fields `virtual_device`, `dpi_cycle_index`, `held_keys`, and `smartshift_enabled` are never read [INFO] [stdout] test action::tests::test_toggle_smartshift ... ok [INFO] [stderr] --> src/action.rs:39:5 [INFO] [stdout] test config::tests::test_thumbwheel_config_parsing ... ok [INFO] [stderr] | [INFO] [stdout] test systemd::tests::test_notify_without_socket ... ok [INFO] [stderr] 37 | pub struct ActionExecutor { [INFO] [stdout] test registry::tests::test_registry_creation ... ok [INFO] [stderr] | -------------- fields in this struct [INFO] [stdout] test udev_monitor::tests::test_constants ... ok [INFO] [stderr] 38 | /// Virtual input device for emitting key events. [INFO] [stdout] test virtual_device::tests::test_parse_mouse_buttons ... ok [INFO] [stderr] 39 | virtual_device: LogiopsVirtualDevice, [INFO] [stdout] test virtual_device::tests::test_parse_key_name ... ok [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stdout] test config::tests::test_hiresscroll_config_parsing ... ok [INFO] [stderr] ... [INFO] [stdout] test config::tests::test_full_phase5_config ... ok [INFO] [stderr] 42 | dpi_cycle_index: HashMap, [INFO] [stdout] [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stdout] test result: ok. 11 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stderr] ... [INFO] [stdout] [INFO] [stderr] 45 | held_keys: HashMap>, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 48 | smartshift_enabled: HashMap, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: associated items `execute_press`, `execute_release`, `cycle_dpi`, `toggle_smartshift`, and `parse_keys` are never used [INFO] [stderr] --> src/action.rs:75:12 [INFO] [stderr] | [INFO] [stderr] 51 | impl ActionExecutor { [INFO] [stderr] | ------------------- associated items in this implementation [INFO] [stderr] ... [INFO] [stderr] 75 | pub fn execute_press(&mut self, cid: u16, action: &ActionConfig) -> Result<(), ActionError> { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 122 | pub fn execute_release(&mut self, cid: u16, action: &ActionConfig) -> Result<(), ActionError> { [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 152 | pub fn cycle_dpi(&mut self, cid: u16, dpis: &[u16]) -> Option { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 181 | pub fn toggle_smartshift(&mut self, device_id: &str, current_state: bool) -> bool { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 192 | fn parse_keys(key_names: &[String]) -> Result, ActionError> { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `action_executor`, `device_id`, and `pressed_buttons` are never read [INFO] [stderr] --> src/actor.rs:266:5 [INFO] [stderr] | [INFO] [stderr] 261 | pub struct DeviceActor { [INFO] [stderr] | ----------- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 266 | action_executor: Option>>, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] 267 | /// Device identifier for logging. [INFO] [stderr] 268 | device_id: String, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 274 | pressed_buttons: HashSet, [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `poll_and_handle_button_events` and `handle_button_event` are never used [INFO] [stderr] --> src/actor.rs:741:14 [INFO] [stderr] | [INFO] [stderr] 277 | impl DeviceActor { [INFO] [stderr] | ---------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 741 | async fn poll_and_handle_button_events(&mut self) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 774 | async fn handle_button_event(&mut self, event: ButtonEvent) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: methods `keys_down` and `keys_up` are never used [INFO] [stderr] --> src/virtual_device.rs:113:12 [INFO] [stderr] | [INFO] [stderr] 18 | impl LogiopsVirtualDevice { [INFO] [stderr] | ------------------------- methods in this implementation [INFO] [stderr] ... [INFO] [stderr] 113 | pub fn keys_down(&mut self, keys: &[Key]) -> Result<(), std::io::Error> { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 125 | pub fn keys_up(&mut self, keys: &[Key]) -> Result<(), std::io::Error> { [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `logiops-daemon` (bin "logiops" test) generated 6 warnings [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.18s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/logiops-b18443c306962b1d) [INFO] running `Command { std: "docker" "inspect" "f884580ac1273361af6391172f0a8e349cc85cb6fb11374fbf050c08675f9da5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f884580ac1273361af6391172f0a8e349cc85cb6fb11374fbf050c08675f9da5", kill_on_drop: false }` [INFO] [stdout] f884580ac1273361af6391172f0a8e349cc85cb6fb11374fbf050c08675f9da5