[INFO] cloning repository https://github.com/MechDancer/joystick-win [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/MechDancer/joystick-win" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMechDancer%2Fjoystick-win", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMechDancer%2Fjoystick-win'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8c9f910b53dc06ad28c20a1e2293dac3cf68ae26 [INFO] checking MechDancer/joystick-win against try#cac44d9528e3bbbdaa1537d187bd489ccc5de18c for pr-91141 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMechDancer%2Fjoystick-win" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MechDancer/joystick-win on toolchain cac44d9528e3bbbdaa1537d187bd489ccc5de18c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/MechDancer/joystick-win [INFO] finished tweaking git repo https://github.com/MechDancer/joystick-win [INFO] tweaked toml for git repo https://github.com/MechDancer/joystick-win written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/MechDancer/joystick-win already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 9cb7d15647ea7923d82a3bc5235a5b1a9980088c62c4db51dedd181382466bdc [INFO] running `Command { std: "docker" "start" "-a" "9cb7d15647ea7923d82a3bc5235a5b1a9980088c62c4db51dedd181382466bdc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9cb7d15647ea7923d82a3bc5235a5b1a9980088c62c4db51dedd181382466bdc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9cb7d15647ea7923d82a3bc5235a5b1a9980088c62c4db51dedd181382466bdc", kill_on_drop: false }` [INFO] [stdout] 9cb7d15647ea7923d82a3bc5235a5b1a9980088c62c4db51dedd181382466bdc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+cac44d9528e3bbbdaa1537d187bd489ccc5de18c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5824536b5453534f8ff1974bef1537b6d1dd1d100b9020fdd657899a4470406c [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "5824536b5453534f8ff1974bef1537b6d1dd1d100b9020fdd657899a4470406c", kill_on_drop: false }` [INFO] [stderr] Checking joystick-win v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `bindings_joystick_win` [INFO] [stdout] --> src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use bindings_joystick_win::Windows::Win32::Media::Multimedia::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `bindings_joystick_win` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JOYINFO` [INFO] [stdout] --> src/lib.rs:22:28 [INFO] [stdout] | [INFO] [stdout] 22 | let mut info = JOYINFO::default(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `JOYINFO` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `bindings_joystick_win` [INFO] [stdout] --> src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use bindings_joystick_win::Windows::Win32::Media::Multimedia::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ use of undeclared crate or module `bindings_joystick_win` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JOYCAPSA` [INFO] [stdout] --> src/lib.rs:39:20 [INFO] [stdout] | [INFO] [stdout] 39 | let mut caps = JOYCAPSA::default(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `JOYCAPSA` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `joyGetPos` in this scope [INFO] [stdout] --> src/lib.rs:23:25 [INFO] [stdout] | [INFO] [stdout] 23 | if unsafe { joyGetPos(self.0, &mut info as *mut _) } == JOYERR_NOERROR { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `JOYERR_NOERROR` in this scope [INFO] [stdout] --> src/lib.rs:23:69 [INFO] [stdout] | [INFO] [stdout] 23 | if unsafe { joyGetPos(self.0, &mut info as *mut _) } == JOYERR_NOERROR { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `joyGetDevCapsA` in this scope [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | joyGetDevCapsA( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JOYCAPSA` in this scope [INFO] [stdout] --> src/lib.rs:44:33 [INFO] [stdout] | [INFO] [stdout] 38 | fn get_caps(pos: u32) -> Option<((u32, u32), (u32, u32))> { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 44 | std::mem::size_of::() as u32, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `JOYERR_NOERROR` in this scope [INFO] [stdout] --> src/lib.rs:47:23 [INFO] [stdout] | [INFO] [stdout] 47 | .filter(|e| *e == JOYERR_NOERROR) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JOYINFO` [INFO] [stdout] --> src/lib.rs:22:28 [INFO] [stdout] | [INFO] [stdout] 22 | let mut info = JOYINFO::default(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `JOYINFO` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `JOYCAPSA` [INFO] [stdout] --> src/lib.rs:39:20 [INFO] [stdout] | [INFO] [stdout] 39 | let mut caps = JOYCAPSA::default(); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `JOYCAPSA` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `joyGetPos` in this scope [INFO] [stdout] --> src/lib.rs:23:25 [INFO] [stdout] | [INFO] [stdout] 23 | if unsafe { joyGetPos(self.0, &mut info as *mut _) } == JOYERR_NOERROR { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `JOYERR_NOERROR` in this scope [INFO] [stdout] --> src/lib.rs:23:69 [INFO] [stdout] | [INFO] [stdout] 23 | if unsafe { joyGetPos(self.0, &mut info as *mut _) } == JOYERR_NOERROR { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `joyGetDevCapsA` in this scope [INFO] [stdout] --> src/lib.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | joyGetDevCapsA( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `JOYCAPSA` in this scope [INFO] [stdout] --> src/lib.rs:44:33 [INFO] [stdout] | [INFO] [stdout] 38 | fn get_caps(pos: u32) -> Option<((u32, u32), (u32, u32))> { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 44 | std::mem::size_of::() as u32, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `JOYERR_NOERROR` in this scope [INFO] [stdout] --> src/lib.rs:47:23 [INFO] [stdout] | [INFO] [stdout] 47 | .filter(|e| *e == JOYERR_NOERROR) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `joystick-win` due to 9 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "5824536b5453534f8ff1974bef1537b6d1dd1d100b9020fdd657899a4470406c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5824536b5453534f8ff1974bef1537b6d1dd1d100b9020fdd657899a4470406c", kill_on_drop: false }` [INFO] [stdout] 5824536b5453534f8ff1974bef1537b6d1dd1d100b9020fdd657899a4470406c