[INFO] fetching crate mki_fork 0.2.1... [INFO] checking mki_fork-0.2.1 against master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] extracting crate mki_fork 0.2.1 into /workspace/builds/worker-4-tc1/source [INFO] validating manifest of crates.io crate mki_fork 0.2.1 on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate mki_fork 0.2.1 [INFO] finished tweaking crates.io crate mki_fork 0.2.1 [INFO] tweaked toml for crates.io crate mki_fork 0.2.1 written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate crates.io crate mki_fork 0.2.1 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" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded uinput v0.1.3 [INFO] [stderr] Downloaded ioctl-sys v0.5.2 [INFO] [stderr] Downloaded uinput-sys v0.1.7 [INFO] [stderr] Downloaded input v0.7.1 [INFO] [stderr] Downloaded udev v0.6.3 [INFO] [stderr] Downloaded input-sys v1.16.1 [INFO] [stderr] Downloaded enum_derive v0.1.7 [INFO] [stderr] Downloaded nix v0.10.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 356d9b14c88a5c08775b6371815d282b0fb3a042f32fc1a13ad5200eaf7c571b [INFO] running `Command { std: "docker" "start" "-a" "356d9b14c88a5c08775b6371815d282b0fb3a042f32fc1a13ad5200eaf7c571b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "356d9b14c88a5c08775b6371815d282b0fb3a042f32fc1a13ad5200eaf7c571b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "356d9b14c88a5c08775b6371815d282b0fb3a042f32fc1a13ad5200eaf7c571b", kill_on_drop: false }` [INFO] [stdout] 356d9b14c88a5c08775b6371815d282b0fb3a042f32fc1a13ad5200eaf7c571b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f6c39c0cc2ebb15da9ed13794ba3fa758fdfcaceabfd33c23889b5ce1a852c94 [INFO] running `Command { std: "docker" "start" "-a" "f6c39c0cc2ebb15da9ed13794ba3fa758fdfcaceabfd33c23889b5ce1a852c94", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.124 [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 serde_derive v1.0.136 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Compiling input-sys v1.16.1 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Compiling nix v0.10.0 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling x11 v2.19.1 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Checking ioctl-sys v0.5.2 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking custom_derive v0.1.7 [INFO] [stderr] Checking enum_derive v0.1.7 [INFO] [stderr] Checking ryu v1.0.9 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking indexmap v1.8.1 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking uinput-sys v0.1.7 [INFO] [stderr] Checking nix v0.22.3 [INFO] [stderr] Checking udev v0.6.3 [INFO] [stderr] Checking bytes v0.4.12 [INFO] [stderr] Checking input v0.7.1 [INFO] [stderr] Checking uinput v0.1.3 [INFO] [stderr] Checking serde_yaml v0.8.23 [INFO] [stderr] Checking mki_fork v0.2.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `mki` [INFO] [stdout] --> examples/readme.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use mki::{bind_key, Action, InhibitEvent, Keyboard, Sequence}; [INFO] [stdout] | ^^^ use of undeclared crate or module `mki` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `mki` [INFO] [stdout] --> examples/test.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use mki::*; [INFO] [stdout] | ^^^ use of undeclared crate or module `mki` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `Keyboard` [INFO] [stdout] --> examples/test.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | use Keyboard::*; [INFO] [stdout] | ^^^^^^^^ help: a similar path exists: `mki_fork::Keyboard` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `mki` [INFO] [stdout] --> examples/using_config.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use mki::load_config; [INFO] [stdout] | ^^^ use of undeclared crate or module `mki` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mki_fork` (example "using_config") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0408]: variable `L` is not bound in all patterns [INFO] [stdout] --> examples/readme.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 12 | if matches!(key, S | L | O | W | LeftShift | LeftControl | B) { [INFO] [stdout] | ^ - ^ ^ ^^^^^^^^^ ^^^^^^^^^^^ ^ pattern doesn't bind `L` [INFO] [stdout] | | | | | | | [INFO] [stdout] | | | | | | pattern doesn't bind `L` [INFO] [stdout] | | | | | pattern doesn't bind `L` [INFO] [stdout] | | | | pattern doesn't bind `L` [INFO] [stdout] | | | pattern doesn't bind `L` [INFO] [stdout] | | variable not in all patterns [INFO] [stdout] | pattern doesn't bind `L` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on items, use the full path in the pattern [INFO] [stdout] | [INFO] [stdout] 12 | if matches!(key, S | mki_fork::Keyboard::L | O | W | LeftShift | LeftControl | B) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 12 | if matches!(key, S | uinput::event::keyboard::Key::L | O | W | LeftShift | LeftControl | B) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `O` is not bound in all patterns [INFO] [stdout] --> examples/readme.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 12 | if matches!(key, S | L | O | W | LeftShift | LeftControl | B) { [INFO] [stdout] | ^ ^ - ^ ^^^^^^^^^ ^^^^^^^^^^^ ^ pattern doesn't bind `O` [INFO] [stdout] | | | | | | | [INFO] [stdout] | | | | | | pattern doesn't bind `O` [INFO] [stdout] | | | | | pattern doesn't bind `O` [INFO] [stdout] | | | | pattern doesn't bind `O` [INFO] [stdout] | | | variable not in all patterns [INFO] [stdout] | | pattern doesn't bind `O` [INFO] [stdout] | pattern doesn't bind `O` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on items, use the full path in the pattern [INFO] [stdout] | [INFO] [stdout] 12 | if matches!(key, S | L | mki_fork::Keyboard::O | W | LeftShift | LeftControl | B) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 12 | if matches!(key, S | L | uinput::event::keyboard::Key::O | W | LeftShift | LeftControl | B) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `W` is not bound in all patterns [INFO] [stdout] --> examples/readme.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 12 | if matches!(key, S | L | O | W | LeftShift | LeftControl | B) { [INFO] [stdout] | ^ ^ ^ - ^^^^^^^^^ ^^^^^^^^^^^ ^ pattern doesn't bind `W` [INFO] [stdout] | | | | | | | [INFO] [stdout] | | | | | | pattern doesn't bind `W` [INFO] [stdout] | | | | | pattern doesn't bind `W` [INFO] [stdout] | | | | variable not in all patterns [INFO] [stdout] | | | pattern doesn't bind `W` [INFO] [stdout] | | pattern doesn't bind `W` [INFO] [stdout] | pattern doesn't bind `W` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on items, use the full path in the pattern [INFO] [stdout] | [INFO] [stdout] 12 | if matches!(key, S | L | O | mki_fork::Keyboard::W | LeftShift | LeftControl | B) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 12 | if matches!(key, S | L | O | uinput::event::keyboard::Key::W | LeftShift | LeftControl | B) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `LeftShift` is not bound in all patterns [INFO] [stdout] --> examples/readme.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 12 | if matches!(key, S | L | O | W | LeftShift | LeftControl | B) { [INFO] [stdout] | ^ ^ ^ ^ --------- ^^^^^^^^^^^ ^ pattern doesn't bind `LeftShift` [INFO] [stdout] | | | | | | | [INFO] [stdout] | | | | | | pattern doesn't bind `LeftShift` [INFO] [stdout] | | | | | variable not in all patterns [INFO] [stdout] | | | | pattern doesn't bind `LeftShift` [INFO] [stdout] | | | pattern doesn't bind `LeftShift` [INFO] [stdout] | | pattern doesn't bind `LeftShift` [INFO] [stdout] | pattern doesn't bind `LeftShift` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on items, use the full path in the pattern [INFO] [stdout] | [INFO] [stdout] 12 | if matches!(key, S | L | O | W | mki_fork::Keyboard::LeftShift | LeftControl | B) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 12 | if matches!(key, S | L | O | W | uinput::event::keyboard::Key::LeftShift | LeftControl | B) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `LeftControl` is not bound in all patterns [INFO] [stdout] --> examples/readme.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 12 | if matches!(key, S | L | O | W | LeftShift | LeftControl | B) { [INFO] [stdout] | ^ ^ ^ ^ ^^^^^^^^^ ----------- ^ pattern doesn't bind `LeftControl` [INFO] [stdout] | | | | | | | [INFO] [stdout] | | | | | | variable not in all patterns [INFO] [stdout] | | | | | pattern doesn't bind `LeftControl` [INFO] [stdout] | | | | pattern doesn't bind `LeftControl` [INFO] [stdout] | | | pattern doesn't bind `LeftControl` [INFO] [stdout] | | pattern doesn't bind `LeftControl` [INFO] [stdout] | pattern doesn't bind `LeftControl` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on items, use the full path in the pattern [INFO] [stdout] | [INFO] [stdout] 12 | if matches!(key, S | L | O | W | LeftShift | mki_fork::Keyboard::LeftControl | B) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 12 | if matches!(key, S | L | O | W | LeftShift | uinput::event::keyboard::Key::LeftControl | B) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `B` is not bound in all patterns [INFO] [stdout] --> examples/readme.rs:12:26 [INFO] [stdout] | [INFO] [stdout] 12 | if matches!(key, S | L | O | W | LeftShift | LeftControl | B) { [INFO] [stdout] | ^ ^ ^ ^ ^^^^^^^^^ ^^^^^^^^^^^ - variable not in all patterns [INFO] [stdout] | | | | | | | [INFO] [stdout] | | | | | | pattern doesn't bind `B` [INFO] [stdout] | | | | | pattern doesn't bind `B` [INFO] [stdout] | | | | pattern doesn't bind `B` [INFO] [stdout] | | | pattern doesn't bind `B` [INFO] [stdout] | | pattern doesn't bind `B` [INFO] [stdout] | pattern doesn't bind `B` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on items, use the full path in the pattern [INFO] [stdout] | [INFO] [stdout] 12 | if matches!(key, S | L | O | W | LeftShift | LeftControl | mki_fork::Keyboard::B) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 12 | if matches!(key, S | L | O | W | LeftShift | LeftControl | uinput::event::controller::GamePad::B) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 12 | if matches!(key, S | L | O | W | LeftShift | LeftControl | uinput::event::keyboard::Function::B) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 12 | if matches!(key, S | L | O | W | LeftShift | LeftControl | uinput::event::keyboard::Key::B) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `S` is not bound in all patterns [INFO] [stdout] --> examples/readme.rs:12:30 [INFO] [stdout] | [INFO] [stdout] 12 | if matches!(key, S | L | O | W | LeftShift | LeftControl | B) { [INFO] [stdout] | - ^ ^ ^ ^^^^^^^^^ ^^^^^^^^^^^ ^ pattern doesn't bind `S` [INFO] [stdout] | | | | | | | [INFO] [stdout] | | | | | | pattern doesn't bind `S` [INFO] [stdout] | | | | | pattern doesn't bind `S` [INFO] [stdout] | | | | pattern doesn't bind `S` [INFO] [stdout] | | | pattern doesn't bind `S` [INFO] [stdout] | | pattern doesn't bind `S` [INFO] [stdout] | variable not in all patterns [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on items, use the full path in the pattern [INFO] [stdout] | [INFO] [stdout] 12 | if matches!(key, mki_fork::Keyboard::S | L | O | W | LeftShift | LeftControl | B) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 12 | if matches!(key, uinput::event::keyboard::Function::S | L | O | W | LeftShift | LeftControl | B) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] 12 | if matches!(key, uinput::event::keyboard::Key::S | L | O | W | LeftShift | LeftControl | B) { [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mki` [INFO] [stdout] --> examples/readme.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | mki::bind_any_key(Action::handle_kb(|key| { [INFO] [stdout] | ^^^ use of undeclared crate or module `mki` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mki` [INFO] [stdout] --> examples/readme.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | mki::bind_any_button(Action::handle_mouse(|button| { [INFO] [stdout] | ^^^ use of undeclared crate or module `mki` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mki` [INFO] [stdout] --> examples/readme.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | mki::register_hotkey(&[Keyboard::LeftControl, Keyboard::B], || { [INFO] [stdout] | ^^^ use of undeclared crate or module `mki` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `mki` [INFO] [stdout] --> examples/readme.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | mki::bind_key( [INFO] [stdout] | ^^^ use of undeclared crate or module `mki` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0408, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0408`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mki_fork` (example "readme") due to 13 previous errors [INFO] [stdout] error[E0425]: cannot find function `bind_any_key` in this scope [INFO] [stdout] --> examples/test.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | bind_any_key(Action::handle_kb(|key| { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use mki_fork::bind_any_key; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Action` [INFO] [stdout] --> examples/test.rs:8:18 [INFO] [stdout] | [INFO] [stdout] 8 | bind_any_key(Action::handle_kb(|key| { [INFO] [stdout] | ^^^^^^ use of undeclared type `Action` [INFO] [stdout] | [INFO] [stdout] help: an enum with a similar name exists [INFO] [stdout] | [INFO] [stdout] 8 | bind_any_key(Option::handle_kb(|key| { [INFO] [stdout] | ~~~~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use mki_fork::Action; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `A` in this scope [INFO] [stdout] --> examples/test.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | A.bind(|_| { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use mki_fork::Keyboard::A; [INFO] [stdout] | [INFO] [stdout] 1 + use uinput::event::controller::GamePad::A; [INFO] [stdout] | [INFO] [stdout] 1 + use uinput::event::keyboard::Key::A; [INFO] [stdout] | [INFO] [stdout] 1 + use uinput::event::keyboard::Numeric::A; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `S` in this scope [INFO] [stdout] --> examples/test.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | S.act_on(Action::sequencing_kb(|_| { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use mki_fork::Keyboard::S; [INFO] [stdout] | [INFO] [stdout] 1 + use uinput::event::keyboard::Function::S; [INFO] [stdout] | [INFO] [stdout] 1 + use uinput::event::keyboard::Key::S; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Action` [INFO] [stdout] --> examples/test.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | S.act_on(Action::sequencing_kb(|_| { [INFO] [stdout] | ^^^^^^ use of undeclared type `Action` [INFO] [stdout] | [INFO] [stdout] help: an enum with a similar name exists [INFO] [stdout] | [INFO] [stdout] 15 | S.act_on(Option::sequencing_kb(|_| { [INFO] [stdout] | ~~~~~~ [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use mki_fork::Action; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `R` in this scope [INFO] [stdout] --> examples/test.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | R.bind(|_| { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use mki_fork::Keyboard::R; [INFO] [stdout] | [INFO] [stdout] 1 + use uinput::event::keyboard::Key::R; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Q` in this scope [INFO] [stdout] --> examples/test.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | Q.click(); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use mki_fork::Keyboard::Q; [INFO] [stdout] | [INFO] [stdout] 1 + use uinput::event::keyboard::Key::Q; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mouse` [INFO] [stdout] --> examples/test.rs:27:5 [INFO] [stdout] | [INFO] [stdout] 27 | Mouse::Left.bind(|_| { [INFO] [stdout] | ^^^^^ use of undeclared type `Mouse` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use mki_fork::Mouse; [INFO] [stdout] | [INFO] [stdout] 1 + use uinput::event::controller::Mouse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mouse` [INFO] [stdout] --> examples/test.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | Mouse::Right.bind(|_| { [INFO] [stdout] | ^^^^^ use of undeclared type `Mouse` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use mki_fork::Mouse; [INFO] [stdout] | [INFO] [stdout] 1 + use uinput::event::controller::Mouse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `O` in this scope [INFO] [stdout] --> examples/test.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | O.bind(|_| loop { [INFO] [stdout] | ^ [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/result.rs:510:5 [INFO] [stdout] | [INFO] [stdout] = note: similarly named tuple variant `Ok` defined here [INFO] [stdout] | [INFO] [stdout] help: a tuple variant with a similar name exists [INFO] [stdout] | [INFO] [stdout] 40 | Ok.bind(|_| loop { [INFO] [stdout] | ~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use mki_fork::Keyboard::O; [INFO] [stdout] | [INFO] [stdout] 1 + use uinput::event::keyboard::Key::O; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `T` in this scope [INFO] [stdout] --> examples/test.rs:41:37 [INFO] [stdout] | [INFO] [stdout] 41 | println!("Observing T: {}", T.is_pressed()); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use mki_fork::Keyboard::T; [INFO] [stdout] | [INFO] [stdout] 1 + use uinput::event::keyboard::Key::T; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `T` in this scope [INFO] [stdout] --> examples/test.rs:45:17 [INFO] [stdout] | [INFO] [stdout] 45 | for key in [T, H, I, S, Space, A, Space, T, E, S, T].iter() { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use mki_fork::Keyboard::T; [INFO] [stdout] | [INFO] [stdout] 1 + use uinput::event::keyboard::Key::T; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `H` in this scope [INFO] [stdout] --> examples/test.rs:45:20 [INFO] [stdout] | [INFO] [stdout] 45 | for key in [T, H, I, S, Space, A, Space, T, E, S, T].iter() { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use mki_fork::Keyboard::H; [INFO] [stdout] | [INFO] [stdout] 1 + use uinput::event::keyboard::Key::H; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `I` in this scope [INFO] [stdout] --> examples/test.rs:45:23 [INFO] [stdout] | [INFO] [stdout] 45 | for key in [T, H, I, S, Space, A, Space, T, E, S, T].iter() { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use mki_fork::Keyboard::I; [INFO] [stdout] | [INFO] [stdout] 1 + use uinput::event::keyboard::Key::I; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `S` in this scope [INFO] [stdout] --> examples/test.rs:45:26 [INFO] [stdout] | [INFO] [stdout] 45 | for key in [T, H, I, S, Space, A, Space, T, E, S, T].iter() { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use mki_fork::Keyboard::S; [INFO] [stdout] | [INFO] [stdout] 1 + use uinput::event::keyboard::Function::S; [INFO] [stdout] | [INFO] [stdout] 1 + use uinput::event::keyboard::Key::S; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Space` in this scope [INFO] [stdout] --> examples/test.rs:45:29 [INFO] [stdout] | [INFO] [stdout] 45 | for key in [T, H, I, S, Space, A, Space, T, E, S, T].iter() { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use core::ascii::Char::Space; [INFO] [stdout] | [INFO] [stdout] 1 + use mki_fork::Keyboard::Space; [INFO] [stdout] | [INFO] [stdout] 1 + use std::ascii::Char::Space; [INFO] [stdout] | [INFO] [stdout] 1 + use uinput::event::keyboard::Key::Space; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `A` in this scope [INFO] [stdout] --> examples/test.rs:45:36 [INFO] [stdout] | [INFO] [stdout] 45 | for key in [T, H, I, S, Space, A, Space, T, E, S, T].iter() { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use mki_fork::Keyboard::A; [INFO] [stdout] | [INFO] [stdout] 1 + use uinput::event::controller::GamePad::A; [INFO] [stdout] | [INFO] [stdout] 1 + use uinput::event::keyboard::Key::A; [INFO] [stdout] | [INFO] [stdout] 1 + use uinput::event::keyboard::Numeric::A; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Space` in this scope [INFO] [stdout] --> examples/test.rs:45:39 [INFO] [stdout] | [INFO] [stdout] 45 | for key in [T, H, I, S, Space, A, Space, T, E, S, T].iter() { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use core::ascii::Char::Space; [INFO] [stdout] | [INFO] [stdout] 1 + use mki_fork::Keyboard::Space; [INFO] [stdout] | [INFO] [stdout] 1 + use std::ascii::Char::Space; [INFO] [stdout] | [INFO] [stdout] 1 + use uinput::event::keyboard::Key::Space; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `T` in this scope [INFO] [stdout] --> examples/test.rs:45:46 [INFO] [stdout] | [INFO] [stdout] 45 | for key in [T, H, I, S, Space, A, Space, T, E, S, T].iter() { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use mki_fork::Keyboard::T; [INFO] [stdout] | [INFO] [stdout] 1 + use uinput::event::keyboard::Key::T; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `E` in this scope [INFO] [stdout] --> examples/test.rs:45:49 [INFO] [stdout] | [INFO] [stdout] 45 | for key in [T, H, I, S, Space, A, Space, T, E, S, T].iter() { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use core::f128::consts::E; [INFO] [stdout] | [INFO] [stdout] 1 + use core::f16::consts::E; [INFO] [stdout] | [INFO] [stdout] 1 + use core::f32::consts::E; [INFO] [stdout] | [INFO] [stdout] 1 + use core::f64::consts::E; [INFO] [stdout] | [INFO] [stdout] and 7 other candidates [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `S` in this scope [INFO] [stdout] --> examples/test.rs:45:52 [INFO] [stdout] | [INFO] [stdout] 45 | for key in [T, H, I, S, Space, A, Space, T, E, S, T].iter() { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use mki_fork::Keyboard::S; [INFO] [stdout] | [INFO] [stdout] 1 + use uinput::event::keyboard::Function::S; [INFO] [stdout] | [INFO] [stdout] 1 + use uinput::event::keyboard::Key::S; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `T` in this scope [INFO] [stdout] --> examples/test.rs:45:55 [INFO] [stdout] | [INFO] [stdout] 45 | for key in [T, H, I, S, Space, A, Space, T, E, S, T].iter() { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use mki_fork::Keyboard::T; [INFO] [stdout] | [INFO] [stdout] 1 + use uinput::event::keyboard::Key::T; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `register_hotkey` in this scope [INFO] [stdout] --> examples/test.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 49 | register_hotkey(&[LeftControl, U], || println!("Ctrl+U pressed")); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use mki_fork::register_hotkey; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `LeftControl` in this scope [INFO] [stdout] --> examples/test.rs:49:23 [INFO] [stdout] | [INFO] [stdout] 49 | register_hotkey(&[LeftControl, U], || println!("Ctrl+U pressed")); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use mki_fork::Keyboard::LeftControl; [INFO] [stdout] | [INFO] [stdout] 1 + use uinput::event::keyboard::Key::LeftControl; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `U` in this scope [INFO] [stdout] --> examples/test.rs:49:36 [INFO] [stdout] | [INFO] [stdout] 49 | register_hotkey(&[LeftControl, U], || println!("Ctrl+U pressed")); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use mki_fork::Keyboard::U; [INFO] [stdout] | [INFO] [stdout] 1 + use uinput::event::keyboard::Key::U; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Mouse` [INFO] [stdout] --> examples/test.rs:51:5 [INFO] [stdout] | [INFO] [stdout] 51 | Mouse::track(|x, y| { [INFO] [stdout] | ^^^^^ use of undeclared type `Mouse` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use mki_fork::Mouse; [INFO] [stdout] | [INFO] [stdout] 1 + use uinput::event::controller::Mouse; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `B` in this scope [INFO] [stdout] --> examples/test.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 59 | B.bind(|_| { [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use mki_fork::Keyboard::B; [INFO] [stdout] | [INFO] [stdout] 1 + use uinput::event::controller::GamePad::B; [INFO] [stdout] | [INFO] [stdout] 1 + use uinput::event::keyboard::Function::B; [INFO] [stdout] | [INFO] [stdout] 1 + use uinput::event::keyboard::Key::B; [INFO] [stdout] | [INFO] [stdout] and 1 other candidate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `remove_any_key_bind` in this scope [INFO] [stdout] --> examples/test.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | remove_any_key_bind(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 + use mki_fork::remove_any_key_bind; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `R` in this scope [INFO] [stdout] --> examples/test.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | R.clear_bind(); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use mki_fork::Keyboard::R; [INFO] [stdout] | [INFO] [stdout] 1 + use uinput::event::keyboard::Key::R; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `O` in this scope [INFO] [stdout] --> examples/test.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | O.clear_bind(); [INFO] [stdout] | ^ [INFO] [stdout] --> /rustc/506512391b1a75ae450d36c9420978402a91abcc/library/core/src/result.rs:510:5 [INFO] [stdout] | [INFO] [stdout] = note: similarly named tuple variant `Ok` defined here [INFO] [stdout] | [INFO] [stdout] help: a tuple variant with a similar name exists [INFO] [stdout] | [INFO] [stdout] 63 | Ok.clear_bind(); [INFO] [stdout] | ~~ [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use mki_fork::Keyboard::O; [INFO] [stdout] | [INFO] [stdout] 1 + use uinput::event::keyboard::Key::O; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `S` in this scope [INFO] [stdout] --> examples/test.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | S.clear_bind(); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use mki_fork::Keyboard::S; [INFO] [stdout] | [INFO] [stdout] 1 + use uinput::event::keyboard::Function::S; [INFO] [stdout] | [INFO] [stdout] 1 + use uinput::event::keyboard::Key::S; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `A` in this scope [INFO] [stdout] --> examples/test.rs:65:9 [INFO] [stdout] | [INFO] [stdout] 65 | A.clear_bind(); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use mki_fork::Keyboard::A; [INFO] [stdout] | [INFO] [stdout] 1 + use uinput::event::controller::GamePad::A; [INFO] [stdout] | [INFO] [stdout] 1 + use uinput::event::keyboard::Key::A; [INFO] [stdout] | [INFO] [stdout] 1 + use uinput::event::keyboard::Numeric::A; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Sequence` [INFO] [stdout] --> examples/test.rs:68:9 [INFO] [stdout] | [INFO] [stdout] 68 | Sequence::text("\nWill now type...:\nmini. very, mini1\nHello World.\nAnswer is: 42") [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Sequence` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use mki_fork::Sequence; [INFO] [stdout] | [INFO] [stdout] 1 + use serde_yaml::Sequence; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 35 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mki_fork` (example "test") due to 36 previous errors [INFO] running `Command { std: "docker" "inspect" "f6c39c0cc2ebb15da9ed13794ba3fa758fdfcaceabfd33c23889b5ce1a852c94", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f6c39c0cc2ebb15da9ed13794ba3fa758fdfcaceabfd33c23889b5ce1a852c94", kill_on_drop: false }` [INFO] [stdout] f6c39c0cc2ebb15da9ed13794ba3fa758fdfcaceabfd33c23889b5ce1a852c94