[INFO] fetching crate keymouse 0.6.5... [INFO] testing keymouse-0.6.5 against try#dec9417b8611e34e787a3e4c37686b5131f9e5c5 for pr-154210-1 [INFO] extracting crate keymouse 0.6.5 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate keymouse 0.6.5 [INFO] finished tweaking crates.io crate keymouse 0.6.5 [INFO] tweaked toml for crates.io crate keymouse 0.6.5 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate keymouse 0.6.5 on toolchain dec9417b8611e34e787a3e4c37686b5131f9e5c5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate keymouse 0.6.5 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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5392614369dce43b06007ce2c00f9e63c9427a3ebe1de26bd4a09418c0f428df [INFO] running `Command { std: "docker" "start" "-a" "5392614369dce43b06007ce2c00f9e63c9427a3ebe1de26bd4a09418c0f428df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5392614369dce43b06007ce2c00f9e63c9427a3ebe1de26bd4a09418c0f428df", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5392614369dce43b06007ce2c00f9e63c9427a3ebe1de26bd4a09418c0f428df", kill_on_drop: false }` [INFO] [stdout] 5392614369dce43b06007ce2c00f9e63c9427a3ebe1de26bd4a09418c0f428df [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+dec9417b8611e34e787a3e4c37686b5131f9e5c5" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 496bd97e92a708e032942660c8312a355c05c9d9faac8f47c6eda2845980dc2d [INFO] running `Command { std: "docker" "start" "-a" "496bd97e92a708e032942660c8312a355c05c9d9faac8f47c6eda2845980dc2d", kill_on_drop: false }` [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling enigo v0.1.3 [INFO] [stderr] Compiling dirs-sys v0.4.1 [INFO] [stderr] Compiling dirs v5.0.1 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling serde_spanned v0.6.9 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Compiling toml v0.8.23 [INFO] [stderr] Compiling keymouse v0.6.5 (/opt/rustwide/workdir) [INFO] [stdout] error: Keymouse currently supports only macOS and Windows. Add platform implementations in src/platforms/ for your target OS. [INFO] [stdout] --> src/platforms/mod.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | / compile_error!( [INFO] [stdout] 15 | | "Keymouse currently supports only macOS and Windows. Add platform implementations in src/platforms/ for your target OS." [INFO] [stdout] 16 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: Keymouse runtime is currently implemented only for macOS and Windows. [INFO] [stdout] --> src/runtime/mod.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | compile_error!("Keymouse runtime is currently implemented only for macOS and Windows."); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Modifier` [INFO] [stdout] --> src/input.rs:1:34 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::config::{KeyBindings, Modifier}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `run_default` in this scope [INFO] [stdout] --> src/main.rs:21:17 [INFO] [stdout] | [INFO] [stdout] 21 | None => run_default(), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/main.rs:155:4 [INFO] [stdout] | [INFO] [stdout] 154 | #[cfg(target_os = "macos")] [INFO] [stdout] | ------------------- the item is gated behind the `macos` feature [INFO] [stdout] 155 | fn run_default() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/main.rs:160:4 [INFO] [stdout] | [INFO] [stdout] 159 | #[cfg(target_os = "windows")] [INFO] [stdout] | --------------------- the item is gated behind the `windows` feature [INFO] [stdout] 160 | fn run_default() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `install_app` in this scope [INFO] [stdout] --> src/main.rs:28:13 [INFO] [stdout] | [INFO] [stdout] 28 | install_app(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/main.rs:165:4 [INFO] [stdout] | [INFO] [stdout] 164 | #[cfg(target_os = "macos")] [INFO] [stdout] | ------------------- the item is gated behind the `macos` feature [INFO] [stdout] 165 | fn install_app() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/main.rs:176:4 [INFO] [stdout] | [INFO] [stdout] 175 | #[cfg(target_os = "windows")] [INFO] [stdout] | --------------------- the item is gated behind the `windows` feature [INFO] [stdout] 176 | fn install_app() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `uninstall_app` in this scope [INFO] [stdout] --> src/main.rs:36:13 [INFO] [stdout] | [INFO] [stdout] 36 | uninstall_app(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/main.rs:181:4 [INFO] [stdout] | [INFO] [stdout] 180 | #[cfg(target_os = "macos")] [INFO] [stdout] | ------------------- the item is gated behind the `macos` feature [INFO] [stdout] 181 | fn uninstall_app() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/main.rs:192:4 [INFO] [stdout] | [INFO] [stdout] 191 | #[cfg(target_os = "windows")] [INFO] [stdout] | --------------------- the item is gated behind the `windows` feature [INFO] [stdout] 192 | fn uninstall_app() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `start_managed` in this scope [INFO] [stdout] --> src/main.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | start_managed(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/main.rs:197:4 [INFO] [stdout] | [INFO] [stdout] 196 | #[cfg(target_os = "macos")] [INFO] [stdout] | ------------------- the item is gated behind the `macos` feature [INFO] [stdout] 197 | fn start_managed() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/main.rs:208:4 [INFO] [stdout] | [INFO] [stdout] 207 | #[cfg(target_os = "windows")] [INFO] [stdout] | --------------------- the item is gated behind the `windows` feature [INFO] [stdout] 208 | fn start_managed() { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `stop_managed` in this scope [INFO] [stdout] --> src/main.rs:52:13 [INFO] [stdout] | [INFO] [stdout] 52 | stop_managed(); [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/main.rs:213:4 [INFO] [stdout] | [INFO] [stdout] 212 | #[cfg(target_os = "macos")] [INFO] [stdout] | ------------------- the item is gated behind the `macos` feature [INFO] [stdout] 213 | fn stop_managed() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/main.rs:232:4 [INFO] [stdout] | [INFO] [stdout] 231 | #[cfg(target_os = "windows")] [INFO] [stdout] | --------------------- the item is gated behind the `windows` feature [INFO] [stdout] 232 | fn stop_managed() { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `restart_managed` in this scope [INFO] [stdout] --> src/main.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | restart_managed(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/main.rs:237:4 [INFO] [stdout] | [INFO] [stdout] 236 | #[cfg(target_os = "macos")] [INFO] [stdout] | ------------------- the item is gated behind the `macos` feature [INFO] [stdout] 237 | fn restart_managed() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/main.rs:248:4 [INFO] [stdout] | [INFO] [stdout] 247 | #[cfg(target_os = "windows")] [INFO] [stdout] | --------------------- the item is gated behind the `windows` feature [INFO] [stdout] 248 | fn restart_managed() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `is_managed_run_flag` in this scope [INFO] [stdout] --> src/main.rs:62:23 [INFO] [stdout] | [INFO] [stdout] 62 | Some(flag) if is_managed_run_flag(flag) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/main.rs:253:4 [INFO] [stdout] | [INFO] [stdout] 252 | #[cfg(target_os = "macos")] [INFO] [stdout] | ------------------- the item is gated behind the `macos` feature [INFO] [stdout] 253 | fn is_managed_run_flag(flag: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/main.rs:258:4 [INFO] [stdout] | [INFO] [stdout] 257 | #[cfg(target_os = "windows")] [INFO] [stdout] | --------------------- the item is gated behind the `windows` feature [INFO] [stdout] 258 | fn is_managed_run_flag(_flag: &str) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `run_managed` in this scope [INFO] [stdout] --> src/main.rs:68:13 [INFO] [stdout] | [INFO] [stdout] 68 | run_managed(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/main.rs:263:4 [INFO] [stdout] | [INFO] [stdout] 262 | #[cfg(target_os = "macos")] [INFO] [stdout] | ------------------- the item is gated behind the `macos` feature [INFO] [stdout] 263 | fn run_managed() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> src/main.rs:268:4 [INFO] [stdout] | [INFO] [stdout] 267 | #[cfg(target_os = "windows")] [INFO] [stdout] | --------------------- the item is gated behind the `windows` feature [INFO] [stdout] 268 | fn run_managed() { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:110:20 [INFO] [stdout] | [INFO] [stdout] 110 | fn usage_text() -> &'static str { [INFO] [stdout] | ---------- ^^^^^^^^^^^^ expected `&str`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/input.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 121 | KEYCODE_1 => Some(0), [INFO] [stdout] | --------- matches any value [INFO] [stdout] 122 | KEYCODE_NUMPAD_1 => Some(0), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/input.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 121 | KEYCODE_1 => Some(0), [INFO] [stdout] | --------- matches any value [INFO] [stdout] 122 | KEYCODE_NUMPAD_1 => Some(0), [INFO] [stdout] 123 | KEYCODE_2 => Some(1), [INFO] [stdout] | ^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/input.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 121 | KEYCODE_1 => Some(0), [INFO] [stdout] | --------- matches any value [INFO] [stdout] ... [INFO] [stdout] 124 | KEYCODE_NUMPAD_2 => Some(1), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/input.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 121 | KEYCODE_1 => Some(0), [INFO] [stdout] | --------- matches any value [INFO] [stdout] ... [INFO] [stdout] 125 | KEYCODE_3 => Some(2), [INFO] [stdout] | ^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/input.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 121 | KEYCODE_1 => Some(0), [INFO] [stdout] | --------- matches any value [INFO] [stdout] ... [INFO] [stdout] 126 | KEYCODE_NUMPAD_3 => Some(2), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/input.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 121 | KEYCODE_1 => Some(0), [INFO] [stdout] | --------- matches any value [INFO] [stdout] ... [INFO] [stdout] 127 | KEYCODE_4 => Some(3), [INFO] [stdout] | ^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/input.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 121 | KEYCODE_1 => Some(0), [INFO] [stdout] | --------- matches any value [INFO] [stdout] ... [INFO] [stdout] 128 | KEYCODE_NUMPAD_4 => Some(3), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/input.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 121 | KEYCODE_1 => Some(0), [INFO] [stdout] | --------- matches any value [INFO] [stdout] ... [INFO] [stdout] 129 | KEYCODE_5 => Some(4), [INFO] [stdout] | ^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/input.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 121 | KEYCODE_1 => Some(0), [INFO] [stdout] | --------- matches any value [INFO] [stdout] ... [INFO] [stdout] 130 | KEYCODE_NUMPAD_5 => Some(4), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/input.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 121 | KEYCODE_1 => Some(0), [INFO] [stdout] | --------- matches any value [INFO] [stdout] ... [INFO] [stdout] 131 | KEYCODE_6 => Some(5), [INFO] [stdout] | ^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/input.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 121 | KEYCODE_1 => Some(0), [INFO] [stdout] | --------- matches any value [INFO] [stdout] ... [INFO] [stdout] 132 | KEYCODE_NUMPAD_6 => Some(5), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/input.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 121 | KEYCODE_1 => Some(0), [INFO] [stdout] | --------- matches any value [INFO] [stdout] ... [INFO] [stdout] 133 | KEYCODE_7 => Some(6), [INFO] [stdout] | ^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/input.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 121 | KEYCODE_1 => Some(0), [INFO] [stdout] | --------- matches any value [INFO] [stdout] ... [INFO] [stdout] 134 | KEYCODE_NUMPAD_7 => Some(6), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/input.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 121 | KEYCODE_1 => Some(0), [INFO] [stdout] | --------- matches any value [INFO] [stdout] ... [INFO] [stdout] 135 | KEYCODE_8 => Some(7), [INFO] [stdout] | ^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/input.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 121 | KEYCODE_1 => Some(0), [INFO] [stdout] | --------- matches any value [INFO] [stdout] ... [INFO] [stdout] 136 | KEYCODE_NUMPAD_8 => Some(7), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/input.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 121 | KEYCODE_1 => Some(0), [INFO] [stdout] | --------- matches any value [INFO] [stdout] ... [INFO] [stdout] 137 | KEYCODE_9 => Some(8), [INFO] [stdout] | ^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/input.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 121 | KEYCODE_1 => Some(0), [INFO] [stdout] | --------- matches any value [INFO] [stdout] ... [INFO] [stdout] 138 | KEYCODE_NUMPAD_9 => Some(8), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/input.rs:139:9 [INFO] [stdout] | [INFO] [stdout] 121 | KEYCODE_1 => Some(0), [INFO] [stdout] | --------- matches any value [INFO] [stdout] ... [INFO] [stdout] 139 | _ => None, [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `KEYCODE_1` [INFO] [stdout] --> src/input.rs:121:9 [INFO] [stdout] | [INFO] [stdout] 121 | KEYCODE_1 => Some(0), [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_KEYCODE_1` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `KEYCODE_NUMPAD_1` [INFO] [stdout] --> src/input.rs:122:9 [INFO] [stdout] | [INFO] [stdout] 122 | KEYCODE_NUMPAD_1 => Some(0), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_KEYCODE_NUMPAD_1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `KEYCODE_2` [INFO] [stdout] --> src/input.rs:123:9 [INFO] [stdout] | [INFO] [stdout] 123 | KEYCODE_2 => Some(1), [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_KEYCODE_2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `KEYCODE_NUMPAD_2` [INFO] [stdout] --> src/input.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | KEYCODE_NUMPAD_2 => Some(1), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_KEYCODE_NUMPAD_2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `KEYCODE_3` [INFO] [stdout] --> src/input.rs:125:9 [INFO] [stdout] | [INFO] [stdout] 125 | KEYCODE_3 => Some(2), [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_KEYCODE_3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `KEYCODE_NUMPAD_3` [INFO] [stdout] --> src/input.rs:126:9 [INFO] [stdout] | [INFO] [stdout] 126 | KEYCODE_NUMPAD_3 => Some(2), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_KEYCODE_NUMPAD_3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `KEYCODE_4` [INFO] [stdout] --> src/input.rs:127:9 [INFO] [stdout] | [INFO] [stdout] 127 | KEYCODE_4 => Some(3), [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_KEYCODE_4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `KEYCODE_NUMPAD_4` [INFO] [stdout] --> src/input.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | KEYCODE_NUMPAD_4 => Some(3), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_KEYCODE_NUMPAD_4` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `KEYCODE_5` [INFO] [stdout] --> src/input.rs:129:9 [INFO] [stdout] | [INFO] [stdout] 129 | KEYCODE_5 => Some(4), [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_KEYCODE_5` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `KEYCODE_NUMPAD_5` [INFO] [stdout] --> src/input.rs:130:9 [INFO] [stdout] | [INFO] [stdout] 130 | KEYCODE_NUMPAD_5 => Some(4), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_KEYCODE_NUMPAD_5` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `KEYCODE_6` [INFO] [stdout] --> src/input.rs:131:9 [INFO] [stdout] | [INFO] [stdout] 131 | KEYCODE_6 => Some(5), [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_KEYCODE_6` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `KEYCODE_NUMPAD_6` [INFO] [stdout] --> src/input.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | KEYCODE_NUMPAD_6 => Some(5), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_KEYCODE_NUMPAD_6` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `KEYCODE_7` [INFO] [stdout] --> src/input.rs:133:9 [INFO] [stdout] | [INFO] [stdout] 133 | KEYCODE_7 => Some(6), [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_KEYCODE_7` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `KEYCODE_NUMPAD_7` [INFO] [stdout] --> src/input.rs:134:9 [INFO] [stdout] | [INFO] [stdout] 134 | KEYCODE_NUMPAD_7 => Some(6), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_KEYCODE_NUMPAD_7` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `KEYCODE_8` [INFO] [stdout] --> src/input.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | KEYCODE_8 => Some(7), [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_KEYCODE_8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `KEYCODE_NUMPAD_8` [INFO] [stdout] --> src/input.rs:136:9 [INFO] [stdout] | [INFO] [stdout] 136 | KEYCODE_NUMPAD_8 => Some(7), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_KEYCODE_NUMPAD_8` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `KEYCODE_9` [INFO] [stdout] --> src/input.rs:137:9 [INFO] [stdout] | [INFO] [stdout] 137 | KEYCODE_9 => Some(8), [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_KEYCODE_9` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `KEYCODE_NUMPAD_9` [INFO] [stdout] --> src/input.rs:138:9 [INFO] [stdout] | [INFO] [stdout] 138 | KEYCODE_NUMPAD_9 => Some(8), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_KEYCODE_NUMPAD_9` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `keymouse` (bin "keymouse") due to 11 previous errors; 37 warnings emitted [INFO] running `Command { std: "docker" "inspect" "496bd97e92a708e032942660c8312a355c05c9d9faac8f47c6eda2845980dc2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "496bd97e92a708e032942660c8312a355c05c9d9faac8f47c6eda2845980dc2d", kill_on_drop: false }` [INFO] [stdout] 496bd97e92a708e032942660c8312a355c05c9d9faac8f47c6eda2845980dc2d