[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 try#3fada14ee01d755dc8076e611f11bf65b28ffd21 for pr-154971-1
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkfdykme%2Fkeydown_library_rust" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/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-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/kfdykme/keydown_library_rust on toolchain 3fada14ee01d755dc8076e611f11bf65b28ffd21
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3fada14ee01d755dc8076e611f11bf65b28ffd21" "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" "+3fada14ee01d755dc8076e611f11bf65b28ffd21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: file `/workspace/builds/worker-0-tc2/source/src/main.rs` found to be present in multiple build targets:
[INFO] [stderr]   * `lib` target `libkeydown`
[INFO] [stderr]   * `bin` target `keydown`
[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 serde_derive v1.0.136
[INFO] [stderr]   Downloaded unicode-xid v0.2.2
[INFO] [stderr]   Downloaded ulid v0.5.0
[INFO] [stderr]   Downloaded serde v1.0.136
[INFO] [stderr]   Downloaded heck v0.4.0
[INFO] [stderr]   Downloaded wasm-bindgen-macro v0.2.80
[INFO] [stderr]   Downloaded tauri-hotkey-sys v0.1.2
[INFO] [stderr]   Downloaded wasm-bindgen-macro-support v0.2.80
[INFO] [stderr]   Downloaded tauri-hotkey v0.1.2
[INFO] [stderr]   Downloaded wasi v0.10.2+wasi-snapshot-preview1
[INFO] [stderr]   Downloaded strum v0.24.0
[INFO] [stderr]   Downloaded parking_lot_core v0.9.2
[INFO] [stderr]   Downloaded cc v1.0.73
[INFO] [stderr]   Downloaded pkg-config v0.3.25
[INFO] [stderr]   Downloaded thiserror-impl v1.0.30
[INFO] [stderr]   Downloaded anyhow v1.0.56
[INFO] [stderr]   Downloaded redox_syscall v0.2.13
[INFO] [stderr]   Downloaded aho-corasick v0.7.18
[INFO] [stderr]   Downloaded parking_lot v0.12.0
[INFO] [stderr]   Downloaded strum_macros v0.24.0
[INFO] [stderr]   Downloaded js-sys v0.3.57
[INFO] [stderr]   Downloaded smallvec v1.8.0
[INFO] [stderr]   Downloaded lock_api v0.4.7
[INFO] [stderr]   Downloaded memchr v2.4.1
[INFO] [stderr]   Downloaded wasm-bindgen v0.2.80
[INFO] [stderr]   Downloaded chrono v0.4.19
[INFO] [stderr]   Downloaded rand_core v0.6.3
[INFO] [stderr]   Downloaded unicode-segmentation v1.9.0
[INFO] [stderr]   Downloaded strum_macros v0.20.1
[INFO] [stderr]   Downloaded num-traits v0.2.14
[INFO] [stderr]   Downloaded log v0.4.16
[INFO] [stderr]   Downloaded regex-syntax v0.6.25
[INFO] [stderr]   Downloaded proc-macro2 v1.0.37
[INFO] [stderr]   Downloaded regex v1.5.5
[INFO] [stderr]   Downloaded rustversion v1.0.6
[INFO] [stderr]   Downloaded x11-dl v2.19.1
[INFO] [stderr]   Downloaded wasm-bindgen-shared v0.2.80
[INFO] [stderr]   Downloaded getrandom v0.2.6
[INFO] [stderr]   Downloaded syn v1.0.91
[INFO] [stderr]   Downloaded once_cell v1.10.0
[INFO] [stderr]   Downloaded bumpalo v3.9.1
[INFO] [stderr]   Downloaded thiserror v1.0.30
[INFO] [stderr]   Downloaded time v0.1.43
[INFO] [stderr]   Downloaded wasm-bindgen-backend v0.2.80
[INFO] [stderr]   Downloaded strum v0.20.0
[INFO] [stderr]   Downloaded windows_x86_64_msvc v0.34.0
[INFO] [stderr]   Downloaded libc v0.2.122
[INFO] [stderr]   Downloaded num-integer v0.1.44
[INFO] [stderr]   Downloaded ppv-lite86 v0.2.16
[INFO] [stderr]   Downloaded quote v1.0.18
[INFO] [stderr]   Downloaded windows_i686_gnu v0.34.0
[INFO] [stderr]   Downloaded windows_x86_64_gnu v0.34.0
[INFO] [stderr]   Downloaded windows_i686_msvc v0.34.0
[INFO] [stderr]   Downloaded windows_aarch64_msvc v0.34.0
[INFO] [stderr]   Downloaded windows-sys v0.34.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+3fada14ee01d755dc8076e611f11bf65b28ffd21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 2a5adc0ed9ccef51f2e509e72b0a04138b64fef52eefa97340d2846a3bd5bc67
[INFO] running `Command { std: "docker" "start" "-a" "2a5adc0ed9ccef51f2e509e72b0a04138b64fef52eefa97340d2846a3bd5bc67", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "2a5adc0ed9ccef51f2e509e72b0a04138b64fef52eefa97340d2846a3bd5bc67", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "2a5adc0ed9ccef51f2e509e72b0a04138b64fef52eefa97340d2846a3bd5bc67", kill_on_drop: false }`
[INFO] [stdout] 2a5adc0ed9ccef51f2e509e72b0a04138b64fef52eefa97340d2846a3bd5bc67
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+3fada14ee01d755dc8076e611f11bf65b28ffd21" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e7d8397250928651a26ba80026eb00c9281884451d7256f50652cc410ae6e7ee
[INFO] running `Command { std: "docker" "start" "-a" "e7d8397250928651a26ba80026eb00c9281884451d7256f50652cc410ae6e7ee", 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 libc v0.2.122
[INFO] [stderr]    Compiling proc-macro2 v1.0.37
[INFO] [stderr]    Compiling unicode-xid v0.2.2
[INFO] [stderr]    Compiling syn v1.0.91
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling pkg-config v0.3.25
[INFO] [stderr]    Compiling serde_derive v1.0.136
[INFO] [stderr]    Compiling memchr v2.4.1
[INFO] [stderr]    Compiling serde v1.0.136
[INFO] [stderr]    Compiling log v0.4.16
[INFO] [stderr]    Compiling unicode-segmentation v1.9.0
[INFO] [stderr]    Compiling parking_lot_core v0.9.2
[INFO] [stderr]    Compiling num-traits v0.2.14
[INFO] [stderr]    Compiling num-integer v0.1.44
[INFO] [stderr]    Compiling lock_api v0.4.7
[INFO] [stderr]     Checking ppv-lite86 v0.2.16
[INFO] [stderr]    Compiling rustversion v1.0.6
[INFO] [stderr]    Compiling x11-dl v2.19.1
[INFO] [stderr]    Compiling tauri-hotkey-sys v0.1.2
[INFO] [stderr]    Compiling heck v0.3.3
[INFO] [stderr]    Compiling quote v1.0.18
[INFO] [stderr]     Checking getrandom v0.2.6
[INFO] [stderr]     Checking rand_core v0.6.3
[INFO] [stderr]     Checking time v0.1.43
[INFO] [stderr]     Checking scopeguard v1.1.0
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]    Compiling anyhow v1.0.56
[INFO] [stderr]     Checking smallvec v1.8.0
[INFO] [stderr]    Compiling hotkey-soundboard v0.0.3 (/opt/rustwide/workdir/extern/hotkey-rs)
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking aho-corasick v0.7.18
[INFO] [stderr]     Checking regex-syntax v0.6.25
[INFO] [stderr]    Compiling heck v0.4.0
[INFO] [stderr]     Checking once_cell v1.10.0
[INFO] [stderr]     Checking strum v0.20.0
[INFO] [stderr]     Checking chrono v0.4.19
[INFO] [stderr]     Checking parking_lot v0.12.0
[INFO] [stderr]     Checking strum v0.24.0
[INFO] [stderr]     Checking regex v1.5.5
[INFO] [stderr]    Compiling thiserror-impl v1.0.30
[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 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: 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: 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: 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: 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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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: 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]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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: 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]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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: 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]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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: 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]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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: 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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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: 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]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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: 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]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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: 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]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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: 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]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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: 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: 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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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: 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]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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: 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]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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: 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]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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: 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]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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: 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: 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: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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: 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]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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: 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]    = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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: 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]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[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: 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]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 14.48s
[INFO] running `Command { std: "docker" "inspect" "e7d8397250928651a26ba80026eb00c9281884451d7256f50652cc410ae6e7ee", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e7d8397250928651a26ba80026eb00c9281884451d7256f50652cc410ae6e7ee", kill_on_drop: false }`
[INFO] [stdout] e7d8397250928651a26ba80026eb00c9281884451d7256f50652cc410ae6e7ee
