[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#fc545c6b951a304df08b327c158f92678582f435 for pr-140557 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMechDancer%2Fjoystick-win" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MechDancer/joystick-win on toolchain fc545c6b951a304df08b327c158f92678582f435 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fc545c6b951a304df08b327c158f92678582f435" "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-6-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fc545c6b951a304df08b327c158f92678582f435" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking MechDancer/joystick-win against try#fc545c6b951a304df08b327c158f92678582f435 for pr-140557 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FMechDancer%2Fjoystick-win" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/MechDancer/joystick-win on toolchain fc545c6b951a304df08b327c158f92678582f435 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fc545c6b951a304df08b327c158f92678582f435" "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-6-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+fc545c6b951a304df08b327c158f92678582f435" "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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded windows_macros v0.21.1 [INFO] [stderr] Downloaded const-sha1 v0.2.0 [INFO] [stderr] Downloaded windows_quote v0.21.1 [INFO] [stderr] Downloaded windows_gen v0.21.1 [INFO] [stderr] Downloaded windows_reader v0.21.1 [INFO] [stderr] Downloaded windows v0.21.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+fc545c6b951a304df08b327c158f92678582f435" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cfcd933ed1e0e41e738e1fc3a3beebf1f02145af7e2f4103f47b8d09d2f20e2e [INFO] running `Command { std: "docker" "start" "-a" "cfcd933ed1e0e41e738e1fc3a3beebf1f02145af7e2f4103f47b8d09d2f20e2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cfcd933ed1e0e41e738e1fc3a3beebf1f02145af7e2f4103f47b8d09d2f20e2e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cfcd933ed1e0e41e738e1fc3a3beebf1f02145af7e2f4103f47b8d09d2f20e2e", kill_on_drop: false }` [INFO] [stdout] cfcd933ed1e0e41e738e1fc3a3beebf1f02145af7e2f4103f47b8d09d2f20e2e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+fc545c6b951a304df08b327c158f92678582f435" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 147ed4030d460549ce9ecd62d5ffe8438e79e62df1ccb7bc43da07731393b5b1 [INFO] running `Command { std: "docker" "start" "-a" "147ed4030d460549ce9ecd62d5ffe8438e79e62df1ccb7bc43da07731393b5b1", kill_on_drop: false }` [INFO] [stderr] Checking joystick-win v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `bindings_joystick_win` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bindings_joystick_win`, use `cargo add bindings_joystick_win` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `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 unresolved module or unlinked crate `bindings_joystick_win` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `bindings_joystick_win`, use `cargo add bindings_joystick_win` to add it to your `Cargo.toml` [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[E0412]: cannot find type `JOYCAPSA` in this scope [INFO] [stdout] --> src/lib.rs:44:33 [INFO] [stdout] | [INFO] [stdout] 44 | std::mem::size_of::() as u32, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 38 | fn get_caps(pos: u32) -> Option<((u32, u32), (u32, u32))> { [INFO] [stdout] | ++++++++++ [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[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[E0412]: cannot find type `JOYCAPSA` in this scope [INFO] [stdout] --> src/lib.rs:44:33 [INFO] [stdout] | [INFO] [stdout] 44 | std::mem::size_of::() as u32, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 38 | fn get_caps(pos: u32) -> Option<((u32, u32), (u32, u32))> { [INFO] [stdout] | ++++++++++ [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 `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[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 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[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[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 `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[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] 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] 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` (lib) due to 8 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `joystick-win` (lib test) due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "147ed4030d460549ce9ecd62d5ffe8438e79e62df1ccb7bc43da07731393b5b1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "147ed4030d460549ce9ecd62d5ffe8438e79e62df1ccb7bc43da07731393b5b1", kill_on_drop: false }` [INFO] [stdout] 147ed4030d460549ce9ecd62d5ffe8438e79e62df1ccb7bc43da07731393b5b1