[INFO] cloning repository https://github.com/kfdykme/keydown_library_rust
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kfdykme/keydown_library_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkfdykme%2Fkeydown_library_rust", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkfdykme%2Fkeydown_library_rust'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 2a198efb9ef7d0c1f8206eec47b8558925ca7788
[INFO] checking kfdykme/keydown_library_rust against master#bca37a20bd376ce3fd138e7cdee7fe704e0f8814 for pr-139493-3
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkfdykme%2Fkeydown_library_rust" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/kfdykme/keydown_library_rust
[INFO] finished tweaking git repo https://github.com/kfdykme/keydown_library_rust
[INFO] tweaked toml for git repo https://github.com/kfdykme/keydown_library_rust written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/kfdykme/keydown_library_rust on toolchain bca37a20bd376ce3fd138e7cdee7fe704e0f8814
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/kfdykme/keydown_library_rust 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" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: file `/workspace/builds/worker-2-tc1/source/src/main.rs` found to be present in multiple build targets:
[INFO] [stderr]   * `lib` target `libkeydown`
[INFO] [stderr]   * `bin` target `keydown`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded strum v0.24.0
[INFO] [stderr]   Downloaded tauri-hotkey v0.1.2
[INFO] [stderr]   Downloaded ulid v0.5.0
[INFO] [stderr]   Downloaded strum_macros v0.24.0
[INFO] [stderr]   Downloaded tauri-hotkey-sys v0.1.2
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 7cead26159473c3cb056469b43a867cf3b5420e9e628061d8e85bd16e1f0f237
[INFO] running `Command { std: "docker" "start" "-a" "7cead26159473c3cb056469b43a867cf3b5420e9e628061d8e85bd16e1f0f237", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "7cead26159473c3cb056469b43a867cf3b5420e9e628061d8e85bd16e1f0f237", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7cead26159473c3cb056469b43a867cf3b5420e9e628061d8e85bd16e1f0f237", kill_on_drop: false }`
[INFO] [stdout] 7cead26159473c3cb056469b43a867cf3b5420e9e628061d8e85bd16e1f0f237
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+bca37a20bd376ce3fd138e7cdee7fe704e0f8814" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 27ba58610223d71ac68205b3f5403920ab885e06690b68e0765cb012b9df5aad
[INFO] running `Command { std: "docker" "start" "-a" "27ba58610223d71ac68205b3f5403920ab885e06690b68e0765cb012b9df5aad", kill_on_drop: false }`
[INFO] [stderr] warning: file `/opt/rustwide/workdir/src/main.rs` found to be present in multiple build targets:
[INFO] [stderr]   * `lib` target `libkeydown`
[INFO] [stderr]   * `bin` target `keydown`
[INFO] [stderr]    Compiling syn v1.0.91
[INFO] [stderr]    Compiling tauri-hotkey-sys v0.1.2
[INFO] [stderr]    Compiling rustversion v1.0.6
[INFO] [stderr]    Compiling x11-dl v2.19.1
[INFO] [stderr]     Checking getrandom v0.2.6
[INFO] [stderr]     Checking time v0.1.43
[INFO] [stderr]    Compiling hotkey-soundboard v0.0.3 (/opt/rustwide/workdir/extern/hotkey-rs)
[INFO] [stderr]     Checking strum v0.20.0
[INFO] [stderr]     Checking strum v0.24.0
[INFO] [stderr]     Checking rand_core v0.6.3
[INFO] [stderr]     Checking chrono v0.4.19
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]    Compiling thiserror-impl v1.0.30
[INFO] [stderr]    Compiling serde_derive v1.0.136
[INFO] [stderr]    Compiling strum_macros v0.20.1
[INFO] [stderr]    Compiling strum_macros v0.24.0
[INFO] [stderr]     Checking thiserror v1.0.30
[INFO] [stdout] warning: field `0` is never read
[INFO] [stdout]   --> extern/hotkey-rs/src/linux.rs:79:20
[INFO] [stdout]    |
[INFO] [stdout] 79 |     RegisterHotkey(ListenerId, u32, u32),
[INFO] [stdout]    |     -------------- ^^^^^^^^^^
[INFO] [stdout]    |     |
[INFO] [stdout]    |     field in this variant
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[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] 79 -     RegisterHotkey(ListenerId, u32, u32),
[INFO] [stdout] 79 +     RegisterHotkey((), u32, u32),
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking serde v1.0.136
[INFO] [stderr]     Checking tauri-hotkey v0.1.2
[INFO] [stderr]     Checking ulid v0.5.0
[INFO] [stderr]     Checking keydown v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: found module declaration for lib.rs
[INFO] [stdout]  --> src/main.rs:7:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | mod lib;
[INFO] [stdout]   | ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: lib.rs is the root of this crate's library target
[INFO] [stdout]   = help: to refer to it from other targets, use the library's name as the path
[INFO] [stdout]   = note: `#[warn(special_module_name)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `_init_invoke_callback`
[INFO] [stdout]  --> src/main.rs:1:36
[INFO] [stdout]   |
[INFO] [stdout] 1 | use keydown::{_inner_register_key, _init_invoke_callback, _init_invoke_rust_callback};
[INFO] [stdout]   |                                    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `NonNull`, `null_mut`, and `null`
[INFO] [stdout]  --> src/keydown.rs:3:28
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::{sync::Arc, ptr::{null_mut, null, NonNull}};
[INFO] [stdout]   |                            ^^^^^^^^  ^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::hotkey::Key`
[INFO] [stdout]  --> src/keydown.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::hotkey::Key;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]   --> src/keydown.rs:21:36
[INFO] [stdout]    |
[INFO] [stdout] 21 | static mut CALLBACK_HODLER: Option<extern fn(i32)> = Option::None;
[INFO] [stdout]    |                                    ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(missing_abi)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]   --> src/keydown.rs:40:36
[INFO] [stdout]    |
[INFO] [stdout] 40 | pub fn _init_invoke_callback(func: extern fn(i32)) {
[INFO] [stdout]    |                                    ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]   --> src/keydown.rs:73:31
[INFO] [stdout]    |
[INFO] [stdout] 73 |                 let callback: extern fn(i32) = CALLBACK_HODLER.unwrap();
[INFO] [stdout]    |                               ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around pattern
[INFO] [stdout]    --> src/keydown.rs:108:13
[INFO] [stdout]     |
[INFO] [stdout] 108 |         for (keyevent_info) in CALLBACK_INFO_LIST.iter() {
[INFO] [stdout]     |             ^             ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 108 -         for (keyevent_info) in CALLBACK_INFO_LIST.iter() {
[INFO] [stdout] 108 +         for keyevent_info in CALLBACK_INFO_LIST.iter() {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around pattern
[INFO] [stdout]    --> src/keydown.rs:117:13
[INFO] [stdout]     |
[INFO] [stdout] 117 |         for (keyevent_info) in CALLBACK_INFO_LIST.iter() {
[INFO] [stdout]     |             ^             ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 117 -         for (keyevent_info) in CALLBACK_INFO_LIST.iter() {
[INFO] [stdout] 117 +         for keyevent_info in CALLBACK_INFO_LIST.iter() {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]   --> src/lib.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub extern fn register_key(hotkey: * const i8, callback_id: i32) {
[INFO] [stdout]    |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]   --> src/lib.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub extern  fn keydown_stop_keyevent() {
[INFO] [stdout]    |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]   --> src/lib.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub extern fn keydown_resume_keyenvent() {
[INFO] [stdout]    |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]   --> src/lib.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub extern fn init_invoke_callback(func: extern fn(i32)) { 
[INFO] [stdout]    |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]   --> src/lib.rs:32:42
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub extern fn init_invoke_callback(func: extern fn(i32)) { 
[INFO] [stdout]    |                                          ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: denote infinite loops with `loop { ... }`
[INFO] [stdout]   --> src/main.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 |     while true {
[INFO] [stdout]    |     ^^^^^^^^^^ help: use `loop`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(while_true)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: found module declaration for lib.rs
[INFO] [stdout]  --> src/main.rs:7:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | mod lib;
[INFO] [stdout]   | ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: lib.rs is the root of this crate's library target
[INFO] [stdout]   = help: to refer to it from other targets, use the library's name as the path
[INFO] [stdout]   = note: `#[warn(special_module_name)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `_init_invoke_callback`
[INFO] [stdout]  --> src/main.rs:1:36
[INFO] [stdout]   |
[INFO] [stdout] 1 | use keydown::{_inner_register_key, _init_invoke_callback, _init_invoke_rust_callback};
[INFO] [stdout]   |                                    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `NonNull`, `null_mut`, and `null`
[INFO] [stdout]  --> src/keydown.rs:3:28
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::{sync::Arc, ptr::{null_mut, null, NonNull}};
[INFO] [stdout]   |                            ^^^^^^^^  ^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::hotkey::Key`
[INFO] [stdout]  --> src/keydown.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::hotkey::Key;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]   --> src/keydown.rs:21:36
[INFO] [stdout]    |
[INFO] [stdout] 21 | static mut CALLBACK_HODLER: Option<extern fn(i32)> = Option::None;
[INFO] [stdout]    |                                    ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(missing_abi)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]   --> src/keydown.rs:40:36
[INFO] [stdout]    |
[INFO] [stdout] 40 | pub fn _init_invoke_callback(func: extern fn(i32)) {
[INFO] [stdout]    |                                    ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]   --> src/keydown.rs:73:31
[INFO] [stdout]    |
[INFO] [stdout] 73 |                 let callback: extern fn(i32) = CALLBACK_HODLER.unwrap();
[INFO] [stdout]    |                               ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around pattern
[INFO] [stdout]    --> src/keydown.rs:108:13
[INFO] [stdout]     |
[INFO] [stdout] 108 |         for (keyevent_info) in CALLBACK_INFO_LIST.iter() {
[INFO] [stdout]     |             ^             ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 108 -         for (keyevent_info) in CALLBACK_INFO_LIST.iter() {
[INFO] [stdout] 108 +         for keyevent_info in CALLBACK_INFO_LIST.iter() {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around pattern
[INFO] [stdout]    --> src/keydown.rs:117:13
[INFO] [stdout]     |
[INFO] [stdout] 117 |         for (keyevent_info) in CALLBACK_INFO_LIST.iter() {
[INFO] [stdout]     |             ^             ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 117 -         for (keyevent_info) in CALLBACK_INFO_LIST.iter() {
[INFO] [stdout] 117 +         for keyevent_info in CALLBACK_INFO_LIST.iter() {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]   --> src/lib.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub extern fn register_key(hotkey: * const i8, callback_id: i32) {
[INFO] [stdout]    |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]   --> src/lib.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub extern  fn keydown_stop_keyevent() {
[INFO] [stdout]    |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]   --> src/lib.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub extern fn keydown_resume_keyenvent() {
[INFO] [stdout]    |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]   --> src/lib.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub extern fn init_invoke_callback(func: extern fn(i32)) { 
[INFO] [stdout]    |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]   --> src/lib.rs:32:42
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub extern fn init_invoke_callback(func: extern fn(i32)) { 
[INFO] [stdout]    |                                          ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: denote infinite loops with `loop { ... }`
[INFO] [stdout]   --> src/main.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 |     while true {
[INFO] [stdout]    |     ^^^^^^^^^^ help: use `loop`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(while_true)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: found module declaration for lib.rs
[INFO] [stdout]  --> src/main.rs:7:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | mod lib;
[INFO] [stdout]   | ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: lib.rs is the root of this crate's library target
[INFO] [stdout]   = help: to refer to it from other targets, use the library's name as the path
[INFO] [stdout]   = note: `#[warn(special_module_name)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `_init_invoke_callback`
[INFO] [stdout]  --> src/main.rs:1:36
[INFO] [stdout]   |
[INFO] [stdout] 1 | use keydown::{_inner_register_key, _init_invoke_callback, _init_invoke_rust_callback};
[INFO] [stdout]   |                                    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `NonNull`, `null_mut`, and `null`
[INFO] [stdout]  --> src/keydown.rs:3:28
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::{sync::Arc, ptr::{null_mut, null, NonNull}};
[INFO] [stdout]   |                            ^^^^^^^^  ^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::hotkey::Key`
[INFO] [stdout]  --> src/keydown.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::hotkey::Key;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]   --> src/keydown.rs:21:36
[INFO] [stdout]    |
[INFO] [stdout] 21 | static mut CALLBACK_HODLER: Option<extern fn(i32)> = Option::None;
[INFO] [stdout]    |                                    ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(missing_abi)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]   --> src/keydown.rs:40:36
[INFO] [stdout]    |
[INFO] [stdout] 40 | pub fn _init_invoke_callback(func: extern fn(i32)) {
[INFO] [stdout]    |                                    ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]   --> src/keydown.rs:73:31
[INFO] [stdout]    |
[INFO] [stdout] 73 |                 let callback: extern fn(i32) = CALLBACK_HODLER.unwrap();
[INFO] [stdout]    |                               ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around pattern
[INFO] [stdout]    --> src/keydown.rs:108:13
[INFO] [stdout]     |
[INFO] [stdout] 108 |         for (keyevent_info) in CALLBACK_INFO_LIST.iter() {
[INFO] [stdout]     |             ^             ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 108 -         for (keyevent_info) in CALLBACK_INFO_LIST.iter() {
[INFO] [stdout] 108 +         for keyevent_info in CALLBACK_INFO_LIST.iter() {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around pattern
[INFO] [stdout]    --> src/keydown.rs:117:13
[INFO] [stdout]     |
[INFO] [stdout] 117 |         for (keyevent_info) in CALLBACK_INFO_LIST.iter() {
[INFO] [stdout]     |             ^             ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 117 -         for (keyevent_info) in CALLBACK_INFO_LIST.iter() {
[INFO] [stdout] 117 +         for keyevent_info in CALLBACK_INFO_LIST.iter() {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]   --> src/lib.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub extern fn register_key(hotkey: * const i8, callback_id: i32) {
[INFO] [stdout]    |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]   --> src/lib.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub extern  fn keydown_stop_keyevent() {
[INFO] [stdout]    |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]   --> src/lib.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub extern fn keydown_resume_keyenvent() {
[INFO] [stdout]    |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]   --> src/lib.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub extern fn init_invoke_callback(func: extern fn(i32)) { 
[INFO] [stdout]    |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]   --> src/lib.rs:32:42
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub extern fn init_invoke_callback(func: extern fn(i32)) { 
[INFO] [stdout]    |                                          ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: denote infinite loops with `loop { ... }`
[INFO] [stdout]   --> src/main.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 |     while true {
[INFO] [stdout]    |     ^^^^^^^^^^ help: use `loop`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(while_true)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `err`
[INFO] [stdout]   --> src/keydown.rs:13:44
[INFO] [stdout]    |
[INFO] [stdout] 13 | fn format_json_error<T: std::fmt::Display>(err: T) {
[INFO] [stdout]    |                                            ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `callback_id`
[INFO] [stdout]   --> src/keydown.rs:91:49
[INFO] [stdout]    |
[INFO] [stdout] 91 | pub fn _inner_unregister_key(hokey_str: String, callback_id: i32) {
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_callback_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: found module declaration for lib.rs
[INFO] [stdout]  --> src/main.rs:7:1
[INFO] [stdout]   |
[INFO] [stdout] 7 | mod lib;
[INFO] [stdout]   | ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: lib.rs is the root of this crate's library target
[INFO] [stdout]   = help: to refer to it from other targets, use the library's name as the path
[INFO] [stdout]   = note: `#[warn(special_module_name)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `_init_invoke_callback`
[INFO] [stdout]  --> src/main.rs:1:36
[INFO] [stdout]   |
[INFO] [stdout] 1 | use keydown::{_inner_register_key, _init_invoke_callback, _init_invoke_rust_callback};
[INFO] [stdout]   |                                    ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused imports: `NonNull`, `null_mut`, and `null`
[INFO] [stdout]  --> src/keydown.rs:3:28
[INFO] [stdout]   |
[INFO] [stdout] 3 | use std::{sync::Arc, ptr::{null_mut, null, NonNull}};
[INFO] [stdout]   |                            ^^^^^^^^  ^^^^  ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::hotkey::Key`
[INFO] [stdout]  --> src/keydown.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use crate::hotkey::Key;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]   --> src/keydown.rs:21:36
[INFO] [stdout]    |
[INFO] [stdout] 21 | static mut CALLBACK_HODLER: Option<extern fn(i32)> = Option::None;
[INFO] [stdout]    |                                    ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(missing_abi)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]   --> src/keydown.rs:40:36
[INFO] [stdout]    |
[INFO] [stdout] 40 | pub fn _init_invoke_callback(func: extern fn(i32)) {
[INFO] [stdout]    |                                    ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]   --> src/keydown.rs:73:31
[INFO] [stdout]    |
[INFO] [stdout] 73 |                 let callback: extern fn(i32) = CALLBACK_HODLER.unwrap();
[INFO] [stdout]    |                               ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around pattern
[INFO] [stdout]    --> src/keydown.rs:108:13
[INFO] [stdout]     |
[INFO] [stdout] 108 |         for (keyevent_info) in CALLBACK_INFO_LIST.iter() {
[INFO] [stdout]     |             ^             ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 108 -         for (keyevent_info) in CALLBACK_INFO_LIST.iter() {
[INFO] [stdout] 108 +         for keyevent_info in CALLBACK_INFO_LIST.iter() {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around pattern
[INFO] [stdout]    --> src/keydown.rs:117:13
[INFO] [stdout]     |
[INFO] [stdout] 117 |         for (keyevent_info) in CALLBACK_INFO_LIST.iter() {
[INFO] [stdout]     |             ^             ^
[INFO] [stdout]     |
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 117 -         for (keyevent_info) in CALLBACK_INFO_LIST.iter() {
[INFO] [stdout] 117 +         for keyevent_info in CALLBACK_INFO_LIST.iter() {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]   --> src/lib.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub extern fn register_key(hotkey: * const i8, callback_id: i32) {
[INFO] [stdout]    |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]   --> src/lib.rs:22:5
[INFO] [stdout]    |
[INFO] [stdout] 22 | pub extern  fn keydown_stop_keyevent() {
[INFO] [stdout]    |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]   --> src/lib.rs:27:5
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub extern fn keydown_resume_keyenvent() {
[INFO] [stdout]    |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]   --> src/lib.rs:32:5
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub extern fn init_invoke_callback(func: extern fn(i32)) { 
[INFO] [stdout]    |     ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated
[INFO] [stdout]   --> src/lib.rs:32:42
[INFO] [stdout]    |
[INFO] [stdout] 32 | pub extern fn init_invoke_callback(func: extern fn(i32)) { 
[INFO] [stdout]    |                                          ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: denote infinite loops with `loop { ... }`
[INFO] [stdout]   --> src/main.rs:19:5
[INFO] [stdout]    |
[INFO] [stdout] 19 |     while true {
[INFO] [stdout]    |     ^^^^^^^^^^ help: use `loop`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(while_true)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `IS_LOG_OPEN` is never used
[INFO] [stdout]   --> src/keydown.rs:31:12
[INFO] [stdout]    |
[INFO] [stdout] 31 | static mut IS_LOG_OPEN: bool = false;
[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 `set_log_status` is never used
[INFO] [stdout]   --> src/keydown.rs:33:8
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub fn set_log_status(is_open: bool) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/keydown.rs:58:13
[INFO] [stdout]    |
[INFO] [stdout] 58 |             CALLBACK_INFO_LIST.push(keyevent_info);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/keydown.rs:72:17
[INFO] [stdout]    |
[INFO] [stdout] 72 |             if !CALLBACK_HODLER.is_none() {
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/keydown.rs:77:17
[INFO] [stdout]    |
[INFO] [stdout] 77 |             if !CALLBACK_RUST_HODLER.is_none() {
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/keydown.rs:108:32
[INFO] [stdout]     |
[INFO] [stdout] 108 |         for (keyevent_info) in CALLBACK_INFO_LIST.iter() {
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/keydown.rs:117:32
[INFO] [stdout]     |
[INFO] [stdout] 117 |         for (keyevent_info) in CALLBACK_INFO_LIST.iter() {
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `err`
[INFO] [stdout]   --> src/keydown.rs:13:44
[INFO] [stdout]    |
[INFO] [stdout] 13 | fn format_json_error<T: std::fmt::Display>(err: T) {
[INFO] [stdout]    |                                            ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `callback_id`
[INFO] [stdout]   --> src/keydown.rs:91:49
[INFO] [stdout]    |
[INFO] [stdout] 91 | pub fn _inner_unregister_key(hokey_str: String, callback_id: i32) {
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_callback_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `IS_LOG_OPEN` is never used
[INFO] [stdout]   --> src/keydown.rs:31:12
[INFO] [stdout]    |
[INFO] [stdout] 31 | static mut IS_LOG_OPEN: bool = false;
[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 `set_log_status` is never used
[INFO] [stdout]   --> src/keydown.rs:33:8
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub fn set_log_status(is_open: bool) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/keydown.rs:58:13
[INFO] [stdout]    |
[INFO] [stdout] 58 |             CALLBACK_INFO_LIST.push(keyevent_info);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/keydown.rs:72:17
[INFO] [stdout]    |
[INFO] [stdout] 72 |             if !CALLBACK_HODLER.is_none() {
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/keydown.rs:77:17
[INFO] [stdout]    |
[INFO] [stdout] 77 |             if !CALLBACK_RUST_HODLER.is_none() {
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/keydown.rs:108:32
[INFO] [stdout]     |
[INFO] [stdout] 108 |         for (keyevent_info) in CALLBACK_INFO_LIST.iter() {
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `err`
[INFO] [stdout]   --> src/keydown.rs:13:44
[INFO] [stdout]    |
[INFO] [stdout] 13 | fn format_json_error<T: std::fmt::Display>(err: T) {
[INFO] [stdout]    |                                            ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/keydown.rs:117:32
[INFO] [stdout]     |
[INFO] [stdout] 117 |         for (keyevent_info) in CALLBACK_INFO_LIST.iter() {
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `callback_id`
[INFO] [stdout]   --> src/keydown.rs:91:49
[INFO] [stdout]    |
[INFO] [stdout] 91 | pub fn _inner_unregister_key(hokey_str: String, callback_id: i32) {
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_callback_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `err`
[INFO] [stdout]   --> src/keydown.rs:13:44
[INFO] [stdout]    |
[INFO] [stdout] 13 | fn format_json_error<T: std::fmt::Display>(err: T) {
[INFO] [stdout]    |                                            ^^^ help: if this is intentional, prefix it with an underscore: `_err`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `callback_id`
[INFO] [stdout]   --> src/keydown.rs:91:49
[INFO] [stdout]    |
[INFO] [stdout] 91 | pub fn _inner_unregister_key(hokey_str: String, callback_id: i32) {
[INFO] [stdout]    |                                                 ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_callback_id`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `callback` is never used
[INFO] [stdout]   --> src/main.rs:10:4
[INFO] [stdout]    |
[INFO] [stdout] 10 | fn callback(callback_id: i32) {
[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 `main` is never used
[INFO] [stdout]   --> src/main.rs:15:4
[INFO] [stdout]    |
[INFO] [stdout] 15 | fn main() {
[INFO] [stdout]    |    ^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `IS_LOG_OPEN` is never used
[INFO] [stdout]   --> src/keydown.rs:31:12
[INFO] [stdout]    |
[INFO] [stdout] 31 | static mut IS_LOG_OPEN: bool = false;
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `set_log_status` is never used
[INFO] [stdout]   --> src/keydown.rs:33:8
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub fn set_log_status(is_open: bool) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/keydown.rs:58:13
[INFO] [stdout]    |
[INFO] [stdout] 58 |             CALLBACK_INFO_LIST.push(keyevent_info);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/keydown.rs:72:17
[INFO] [stdout]    |
[INFO] [stdout] 72 |             if !CALLBACK_HODLER.is_none() {
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/keydown.rs:77:17
[INFO] [stdout]    |
[INFO] [stdout] 77 |             if !CALLBACK_RUST_HODLER.is_none() {
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/keydown.rs:108:32
[INFO] [stdout]     |
[INFO] [stdout] 108 |         for (keyevent_info) in CALLBACK_INFO_LIST.iter() {
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/keydown.rs:117:32
[INFO] [stdout]     |
[INFO] [stdout] 117 |         for (keyevent_info) in CALLBACK_INFO_LIST.iter() {
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: static `IS_LOG_OPEN` is never used
[INFO] [stdout]   --> src/keydown.rs:31:12
[INFO] [stdout]    |
[INFO] [stdout] 31 | static mut IS_LOG_OPEN: bool = false;
[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 `set_log_status` is never used
[INFO] [stdout]   --> src/keydown.rs:33:8
[INFO] [stdout]    |
[INFO] [stdout] 33 | pub fn set_log_status(is_open: bool) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]   --> src/keydown.rs:58:13
[INFO] [stdout]    |
[INFO] [stdout] 58 |             CALLBACK_INFO_LIST.push(keyevent_info);
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]    = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/keydown.rs:72:17
[INFO] [stdout]    |
[INFO] [stdout] 72 |             if !CALLBACK_HODLER.is_none() {
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]   --> src/keydown.rs:77:17
[INFO] [stdout]    |
[INFO] [stdout] 77 |             if !CALLBACK_RUST_HODLER.is_none() {
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]    |
[INFO] [stdout]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]    = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/keydown.rs:108:32
[INFO] [stdout]     |
[INFO] [stdout] 108 |         for (keyevent_info) in CALLBACK_INFO_LIST.iter() {
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a shared reference to mutable static
[INFO] [stdout]    --> src/keydown.rs:117:32
[INFO] [stdout]     |
[INFO] [stdout] 117 |         for (keyevent_info) in CALLBACK_INFO_LIST.iter() {
[INFO] [stdout]     |                                ^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 13.24s
[INFO] running `Command { std: "docker" "inspect" "27ba58610223d71ac68205b3f5403920ab885e06690b68e0765cb012b9df5aad", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "27ba58610223d71ac68205b3f5403920ab885e06690b68e0765cb012b9df5aad", kill_on_drop: false }`
[INFO] [stdout] 27ba58610223d71ac68205b3f5403920ab885e06690b68e0765cb012b9df5aad
