[INFO] cloning repository https://github.com/chfi/re-bind [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/chfi/re-bind" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchfi%2Fre-bind", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchfi%2Fre-bind'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7fee84df875a1219a0fcd8d463c614cb4eb0189f [INFO] testing chfi/re-bind against 1.59.0 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fchfi%2Fre-bind" "/workspace/builds/worker-21/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-21/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/chfi/re-bind on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/chfi/re-bind [INFO] finished tweaking git repo https://github.com/chfi/re-bind [INFO] tweaked toml for git repo https://github.com/chfi/re-bind written to /workspace/builds/worker-21/source/Cargo.toml [INFO] crate git repo https://github.com/chfi/re-bind already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0893c701347a9ec3ffa63364bdcee2e7f81d665541fe6d7e89ae58bb5cc08cb4 [INFO] running `Command { std: "docker" "start" "-a" "0893c701347a9ec3ffa63364bdcee2e7f81d665541fe6d7e89ae58bb5cc08cb4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0893c701347a9ec3ffa63364bdcee2e7f81d665541fe6d7e89ae58bb5cc08cb4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0893c701347a9ec3ffa63364bdcee2e7f81d665541fe6d7e89ae58bb5cc08cb4", kill_on_drop: false }` [INFO] [stdout] 0893c701347a9ec3ffa63364bdcee2e7f81d665541fe6d7e89ae58bb5cc08cb4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-21/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 217d9fa0f2e3345b100528a2966f702c57cb2e8394a92d6aba133724685e1744 [INFO] running `Command { std: "docker" "start" "-a" "217d9fa0f2e3345b100528a2966f702c57cb2e8394a92d6aba133724685e1744", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling proc-macro2 v1.0.34 [INFO] [stderr] Compiling syn v1.0.82 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling ppv-lite86 v0.2.15 [INFO] [stderr] Compiling serde_derive v1.0.132 [INFO] [stderr] Compiling futures-core v0.3.19 [INFO] [stderr] Compiling serde v1.0.132 [INFO] [stderr] Compiling version-compare v0.1.0 [INFO] [stderr] Compiling typenum v1.14.0 [INFO] [stderr] Compiling futures-task v0.3.19 [INFO] [stderr] Compiling futures-channel v0.3.19 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.2 [INFO] [stderr] Compiling futures-sink v0.3.19 [INFO] [stderr] Compiling futures-util v0.3.19 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling slab v0.4.5 [INFO] [stderr] Compiling rustversion v1.0.6 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling serde_json v1.0.73 [INFO] [stderr] Compiling futures-io v0.3.19 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling paste v1.0.6 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling anyhow v1.0.51 [INFO] [stderr] Compiling sdl2 v0.35.1 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling argh_shared v0.1.7 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling regex-automata v0.1.10 [INFO] [stderr] Compiling yansi v0.5.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling colorous v1.0.5 [INFO] [stderr] Compiling futures-timer v3.0.2 [INFO] [stderr] Compiling strum v0.23.0 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling matrixmultiply v0.2.4 [INFO] [stderr] Compiling sdl2-sys v0.35.1 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Compiling ahash v0.7.6 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling crossbeam v0.8.1 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling num-complex v0.3.1 [INFO] [stderr] Compiling approx v0.4.0 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling simba v0.3.1 [INFO] [stderr] Compiling rand_distr v0.3.0 [INFO] [stderr] Compiling futures-macro v0.3.19 [INFO] [stderr] Compiling bytemuck_derive v1.0.1 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling rhai_codegen v1.2.0 [INFO] [stderr] Compiling argh_derive v0.1.7 [INFO] [stderr] Compiling strum_macros v0.23.1 [INFO] [stderr] Compiling nalgebra v0.24.1 [INFO] [stderr] Compiling bytemuck v1.7.3 [INFO] [stderr] Compiling rgb v0.8.31 [INFO] [stderr] Compiling argh v0.1.7 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling flexi_logger v0.18.1 [INFO] [stderr] Compiling futures-executor v0.3.19 [INFO] [stderr] Compiling futures v0.3.19 [INFO] [stderr] Compiling smartstring v0.2.9 [INFO] [stderr] Compiling rhai v1.3.0 [INFO] [stderr] Compiling nalgebra-glm v0.10.0 [INFO] [stderr] Compiling rmap v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `FutureExt`, `Future` [INFO] [stdout] --> src/binds.rs:1:53 [INFO] [stdout] | [INFO] [stdout] 1 | use futures::{future::RemoteHandle, task::SpawnExt, Future, FutureExt}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Future`, `future::RemoteHandle`, `task::SpawnExt` [INFO] [stdout] --> src/automata.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use futures::{future::RemoteHandle, task::SpawnExt, Future, FutureExt}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crossbeam::atomic::AtomicCell` [INFO] [stdout] --> src/automata.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crossbeam::atomic::AtomicCell; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `futures_timer::Delay` [INFO] [stdout] --> src/automata.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use futures_timer::Delay; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FxHashSet` [INFO] [stdout] --> src/automata.rs:5:29 [INFO] [stdout] | [INFO] [stdout] 5 | use rustc_hash::{FxHashMap, FxHashSet}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `anyhow::Result` [INFO] [stdout] --> src/automata.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use anyhow::Result; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `FutureExt` [INFO] [stdout] --> src/automata.rs:1:61 [INFO] [stdout] | [INFO] [stdout] 1 | use futures::{future::RemoteHandle, task::SpawnExt, Future, FutureExt}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `prev_state` [INFO] [stdout] --> src/automata.rs:107:13 [INFO] [stdout] | [INFO] [stdout] 107 | let prev_state = self.active; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_prev_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input_count` [INFO] [stdout] --> src/automata.rs:127:13 [INFO] [stdout] | [INFO] [stdout] 127 | let input_count = builder.inputs.len(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_input_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `inputs_by_ix` [INFO] [stdout] --> src/automata.rs:140:13 [INFO] [stdout] | [INFO] [stdout] 140 | let inputs_by_ix = inputs_by_ix [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_inputs_by_ix` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output_id` [INFO] [stdout] --> src/automata.rs:150:15 [INFO] [stdout] | [INFO] [stdout] 150 | for (&output_id, output) in builder.outputs.iter() { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_id` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `output_count` [INFO] [stdout] --> src/automata.rs:160:13 [INFO] [stdout] | [INFO] [stdout] 160 | let output_count = outputs.len(); [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_output_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state_count` [INFO] [stdout] --> src/automata.rs:162:13 [INFO] [stdout] | [INFO] [stdout] 162 | let state_count = builder.states.len(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_state_count` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> src/automata.rs:165:19 [INFO] [stdout] | [INFO] [stdout] 165 | for (&id, state) in builder.states.iter() { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state_ts` [INFO] [stdout] --> src/automata/dsl.rs:122:24 [INFO] [stdout] | [INFO] [stdout] 122 | for (state_id, state_ts) in state_transitions.iter() { [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_state_ts` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `index` [INFO] [stdout] --> src/automata/dsl.rs:232:35 [INFO] [stdout] | [INFO] [stdout] 232 | engine.on_var(move |name, index, ctx| { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/automata/dsl.rs:232:42 [INFO] [stdout] | [INFO] [stdout] 232 | engine.on_var(move |name, index, ctx| { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/automata/dsl.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | let mut engine = self.create_engine(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/automata/dsl.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | let mut scope = rhai::Scope::new(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/automata/dsl.rs:81:13 [INFO] [stdout] | [INFO] [stdout] 81 | let mut builder = self.clone(); [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `automata` [INFO] [stdout] --> src/binds.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | automata: Vec, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `id` [INFO] [stdout] --> src/binds.rs:42:5 [INFO] [stdout] | [INFO] [stdout] 42 | id: usize, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::{ [INFO] [stdout] | ^^^^^^ use of undeclared crate or module `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `winapi::ctypes::*`, `winapi::shared::minwindef::*`, `winapi::shared::windef::*`, `winapi::um::winuser::*` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | ctypes::*, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 12 | shared::{minwindef::*, windef::*}, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] 13 | um::winuser::*, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `INPUT` in this scope [INFO] [stdout] --> src/main.rs:239:21 [INFO] [stdout] | [INFO] [stdout] 239 | let mut input = INPUT { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INPUT_MOUSE` in this scope [INFO] [stdout] --> src/main.rs:240:16 [INFO] [stdout] | [INFO] [stdout] 240 | type_: INPUT_MOUSE, [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `MOUSEINPUT` in this scope [INFO] [stdout] --> src/main.rs:242:39 [INFO] [stdout] | [INFO] [stdout] 242 | std::mem::transmute_copy(&MOUSEINPUT { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SendInput` in this scope [INFO] [stdout] --> src/main.rs:253:9 [INFO] [stdout] | [INFO] [stdout] 253 | SendInput( [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPINPUT` in this scope [INFO] [stdout] --> src/main.rs:255:27 [INFO] [stdout] | [INFO] [stdout] 255 | &mut input as LPINPUT, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `INPUT` in this scope [INFO] [stdout] --> src/main.rs:256:33 [INFO] [stdout] | [INFO] [stdout] 238 | fn send_mouse_input(flags: u32, data: u32, dx: i32, dy: i32) { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 256 | std::mem::size_of::() as c_int, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_int` in this scope [INFO] [stdout] --> src/main.rs:256:45 [INFO] [stdout] | [INFO] [stdout] 256 | std::mem::size_of::() as c_int, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::raw::c_int; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `INPUT` in this scope [INFO] [stdout] --> src/main.rs:262:21 [INFO] [stdout] | [INFO] [stdout] 262 | let mut input = INPUT { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INPUT_KEYBOARD` in this scope [INFO] [stdout] --> src/main.rs:263:16 [INFO] [stdout] | [INFO] [stdout] 263 | type_: INPUT_KEYBOARD, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `KEYBDINPUT` in this scope [INFO] [stdout] --> src/main.rs:265:39 [INFO] [stdout] | [INFO] [stdout] 265 | std::mem::transmute_copy(&KEYBDINPUT { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MapVirtualKeyW` in this scope [INFO] [stdout] --> src/main.rs:267:24 [INFO] [stdout] | [INFO] [stdout] 267 | wScan: MapVirtualKeyW(u64::from(key_code) as u32, 0) as u16, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `SendInput` in this scope [INFO] [stdout] --> src/main.rs:275:9 [INFO] [stdout] | [INFO] [stdout] 275 | SendInput( [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPINPUT` in this scope [INFO] [stdout] --> src/main.rs:277:27 [INFO] [stdout] | [INFO] [stdout] 277 | &mut input as LPINPUT, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `INPUT` in this scope [INFO] [stdout] --> src/main.rs:278:33 [INFO] [stdout] | [INFO] [stdout] 261 | fn send_keybd_input(flags: u32, key_code: u64) { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 278 | std::mem::size_of::() as c_int, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `c_int` in this scope [INFO] [stdout] --> src/main.rs:278:45 [INFO] [stdout] | [INFO] [stdout] 278 | std::mem::size_of::() as c_int, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 | use std::os::raw::c_int; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rmap::automata::OutputId` [INFO] [stdout] --> src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rmap::automata::OutputId; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::keyboard::Keycode` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use sdl2::keyboard::Keycode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::keyboard::Scancode` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use sdl2::keyboard::Scancode; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::pixels::Color` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use sdl2::pixels::Color; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AutomataBuilder` [INFO] [stdout] --> src/main.rs:18:32 [INFO] [stdout] | [INFO] [stdout] 18 | use rmap::automata::{Automata, AutomataBuilder}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::controller::Button` [INFO] [stdout] --> src/main.rs:50:13 [INFO] [stdout] | [INFO] [stdout] 50 | use sdl2::controller::Button; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 17 previous errors; 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rmap` due to 18 previous errors; 6 warnings emitted [INFO] running `Command { std: "docker" "inspect" "217d9fa0f2e3345b100528a2966f702c57cb2e8394a92d6aba133724685e1744", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "217d9fa0f2e3345b100528a2966f702c57cb2e8394a92d6aba133724685e1744", kill_on_drop: false }` [INFO] [stdout] 217d9fa0f2e3345b100528a2966f702c57cb2e8394a92d6aba133724685e1744