[INFO] fetching crate mki_fork 0.2.1... [INFO] checking mki_fork-0.2.1 against master#ff1737bb00913444173658b4e0b274fd79aabf66 for pr-132712-1 [INFO] extracting crate mki_fork 0.2.1 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate mki_fork 0.2.1 on toolchain ff1737bb00913444173658b4e0b274fd79aabf66 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "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-3-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" "+ff1737bb00913444173658b4e0b274fd79aabf66" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded uinput-sys v0.1.7 [INFO] [stderr] Downloaded ioctl-sys v0.5.2 [INFO] [stderr] Downloaded enum_derive v0.1.7 [INFO] [stderr] Downloaded udev v0.6.3 [INFO] [stderr] Downloaded uinput v0.1.3 [INFO] [stderr] Downloaded input v0.7.1 [INFO] [stderr] Downloaded x11 v2.19.1 [INFO] [stderr] Downloaded input-sys v1.16.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b94f428900f7e5d4dd0f39fa20070ed35d2f84b2e765ee863d15371b08eda2ec [INFO] running `Command { std: "docker" "start" "-a" "b94f428900f7e5d4dd0f39fa20070ed35d2f84b2e765ee863d15371b08eda2ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b94f428900f7e5d4dd0f39fa20070ed35d2f84b2e765ee863d15371b08eda2ec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b94f428900f7e5d4dd0f39fa20070ed35d2f84b2e765ee863d15371b08eda2ec", kill_on_drop: false }` [INFO] [stdout] b94f428900f7e5d4dd0f39fa20070ed35d2f84b2e765ee863d15371b08eda2ec [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:4a844ea9eb2546a2d2c7022eacef16ef2e8229c7fbb2c7d4d55a9ceca922f72d" "/opt/rustwide/cargo-home/bin/cargo" "+ff1737bb00913444173658b4e0b274fd79aabf66" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aa09314e235bf7f3223166ab0ff1fadf12d4cc6978f08216955a335f77c331b2 [INFO] running `Command { std: "docker" "start" "-a" "aa09314e235bf7f3223166ab0ff1fadf12d4cc6978f08216955a335f77c331b2", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.124 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling pkg-config v0.3.25 [INFO] [stderr] Compiling proc-macro2 v1.0.37 [INFO] [stderr] Compiling syn v1.0.91 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling input-sys v1.16.1 [INFO] [stderr] Compiling serde v1.0.136 [INFO] [stderr] Compiling nix v0.10.0 [INFO] [stderr] Compiling log v0.4.16 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking linked-hash-map v0.5.4 [INFO] [stderr] Checking ioctl-sys v0.5.2 [INFO] [stderr] Checking enum_derive v0.1.7 [INFO] [stderr] Checking custom_derive v0.1.7 [INFO] [stderr] Checking yaml-rust v0.4.5 [INFO] [stderr] Compiling indexmap v1.8.1 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling x11 v2.19.1 [INFO] [stderr] Compiling quote v1.0.18 [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/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[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] 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 1 previous error [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 unit variants, 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 unit variants, 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 unit variants, 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 unit variants, 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 unit variants, 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 unit variants, 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 unit variants, 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] For more information about this error, try `rustc --explain E0432`. [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] 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 "test") due to 2 previous errors [INFO] [stderr] error: could not compile `mki_fork` (example "readme") due to 12 previous errors [INFO] running `Command { std: "docker" "inspect" "aa09314e235bf7f3223166ab0ff1fadf12d4cc6978f08216955a335f77c331b2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aa09314e235bf7f3223166ab0ff1fadf12d4cc6978f08216955a335f77c331b2", kill_on_drop: false }` [INFO] [stdout] aa09314e235bf7f3223166ab0ff1fadf12d4cc6978f08216955a335f77c331b2