[INFO] fetching crate toy-arms 0.5.1...
[INFO] checking toy-arms-0.5.1 against beta-2021-10-15 for beta-1.56-3
[INFO] extracting crate toy-arms 0.5.1 into /workspace/builds/worker-87/source
[INFO] validating manifest of crates.io crate toy-arms 0.5.1 on toolchain beta-2021-10-15
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-10-15" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate toy-arms 0.5.1
[INFO] removed 0 missing examples
[INFO] finished tweaking crates.io crate toy-arms 0.5.1
[INFO] tweaked toml for crates.io crate toy-arms 0.5.1 written to /workspace/builds/worker-87/source/Cargo.toml
[INFO] crate crates.io crate toy-arms 0.5.1 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2021-10-15" "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-87/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-87/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-10-15" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 49c5e05557d3ff18516d792d475576e889f8c3be9a032da1fa4a92ced486d699
[INFO] running `Command { std: "docker" "start" "-a" "49c5e05557d3ff18516d792d475576e889f8c3be9a032da1fa4a92ced486d699", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "49c5e05557d3ff18516d792d475576e889f8c3be9a032da1fa4a92ced486d699", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "49c5e05557d3ff18516d792d475576e889f8c3be9a032da1fa4a92ced486d699", kill_on_drop: false }`
[INFO] [stdout] 49c5e05557d3ff18516d792d475576e889f8c3be9a032da1fa4a92ced486d699
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-87/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-87/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2021-10-15" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 6a0aef39e018b737ef165282434aa2850066975f50e1f41f652cc711ab94af2c
[INFO] running `Command { std: "docker" "start" "-a" "6a0aef39e018b737ef165282434aa2850066975f50e1f41f652cc711ab94af2c", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]    Compiling proc-macro2 v1.0.29
[INFO] [stderr]    Compiling winapi v0.3.9
[INFO] [stderr]    Compiling quote v1.0.10
[INFO] [stderr]    Compiling syn v1.0.80
[INFO] [stderr]    Compiling toy-arms_derive v0.1.0
[INFO] [stderr]     Checking toy-arms v0.5.1 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/utils.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 |     shared::minwindef::{FARPROC, HMODULE},
[INFO] [stdout]   |     ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/utils.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 |     shared::minwindef::BOOL, shared::minwindef::HINSTANCE, shared::minwindef::TRUE,
[INFO] [stdout]   |     ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/utils.rs:5:30
[INFO] [stdout]   |
[INFO] [stdout] 5 |     shared::minwindef::BOOL, shared::minwindef::HINSTANCE, shared::minwindef::TRUE,
[INFO] [stdout]   |                              ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/utils.rs:5:60
[INFO] [stdout]   |
[INFO] [stdout] 5 |     shared::minwindef::BOOL, shared::minwindef::HINSTANCE, shared::minwindef::TRUE,
[INFO] [stdout]   |                                                            ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/utils.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     um::consoleapi::AllocConsole, um::libloaderapi::DisableThreadLibraryCalls,
[INFO] [stdout]   |     ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/utils.rs:6:35
[INFO] [stdout]   |
[INFO] [stdout] 6 |     um::consoleapi::AllocConsole, um::libloaderapi::DisableThreadLibraryCalls,
[INFO] [stdout]   |                                   ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/utils.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     um::wincon::FreeConsole, um::winnt::DLL_PROCESS_ATTACH,
[INFO] [stdout]   |     ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/utils.rs:7:30
[INFO] [stdout]   |
[INFO] [stdout] 7 |     um::wincon::FreeConsole, um::winnt::DLL_PROCESS_ATTACH,
[INFO] [stdout]   |                              ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/utils.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     um::libloaderapi::{GetModuleHandleA, GetProcAddress},
[INFO] [stdout]   |     ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/memory.rs:2:13
[INFO] [stdout]   |
[INFO] [stdout] 2 | use winapi::shared::minwindef::HMODULE;
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `keyboard`, `crate::get_module_handle`, `crate::read_null_terminated_string`, `crate::cast`
[INFO] [stdout]  --> src/lib.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub use keyboard::*;
[INFO] [stdout]   |         ^^^^^^^^ use of undeclared crate or module `keyboard`
[INFO] [stdout]   |
[INFO] [stdout]  ::: src/memory.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::{get_module_handle, read_null_terminated_string};
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 4 | use crate::cast;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/utils.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 |     shared::minwindef::{FARPROC, HMODULE},
[INFO] [stdout]   |     ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/utils.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 |     shared::minwindef::BOOL, shared::minwindef::HINSTANCE, shared::minwindef::TRUE,
[INFO] [stdout]   |     ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/utils.rs:5:30
[INFO] [stdout]   |
[INFO] [stdout] 5 |     shared::minwindef::BOOL, shared::minwindef::HINSTANCE, shared::minwindef::TRUE,
[INFO] [stdout]   |                              ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/utils.rs:5:60
[INFO] [stdout]   |
[INFO] [stdout] 5 |     shared::minwindef::BOOL, shared::minwindef::HINSTANCE, shared::minwindef::TRUE,
[INFO] [stdout]   |                                                            ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/utils.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     um::consoleapi::AllocConsole, um::libloaderapi::DisableThreadLibraryCalls,
[INFO] [stdout]   |     ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/utils.rs:6:35
[INFO] [stdout]   |
[INFO] [stdout] 6 |     um::consoleapi::AllocConsole, um::libloaderapi::DisableThreadLibraryCalls,
[INFO] [stdout]   |                                   ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/utils.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     um::wincon::FreeConsole, um::winnt::DLL_PROCESS_ATTACH,
[INFO] [stdout]   |     ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/utils.rs:7:30
[INFO] [stdout]   |
[INFO] [stdout] 7 |     um::wincon::FreeConsole, um::winnt::DLL_PROCESS_ATTACH,
[INFO] [stdout]   |                              ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/utils.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 |     um::libloaderapi::{GetModuleHandleA, GetProcAddress},
[INFO] [stdout]   |     ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/memory.rs:2:13
[INFO] [stdout]   |
[INFO] [stdout] 2 | use winapi::shared::minwindef::HMODULE;
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `keyboard`, `crate::get_module_handle`, `crate::read_null_terminated_string`, `crate::cast`
[INFO] [stdout]  --> src/lib.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub use keyboard::*;
[INFO] [stdout]   |         ^^^^^^^^ use of undeclared crate or module `keyboard`
[INFO] [stdout]   |
[INFO] [stdout]  ::: src/memory.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | use crate::{get_module_handle, read_null_terminated_string};
[INFO] [stdout]   |             ^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 4 | use crate::cast;
[INFO] [stdout]   |     ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HMODULE` in this scope
[INFO] [stdout]   --> src/utils.rs:52:41
[INFO] [stdout]    |
[INFO] [stdout] 52 | pub fn get_module_handle(text: &str) -> HMODULE {
[INFO] [stdout]    |                                         ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleA` in this scope
[INFO] [stdout]   --> src/utils.rs:54:9
[INFO] [stdout]    |
[INFO] [stdout] 54 |         GetModuleHandleA(make_lpcstr(text))
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `FARPROC` in this scope
[INFO] [stdout]   --> src/utils.rs:58:86
[INFO] [stdout]    |
[INFO] [stdout] 58 | pub unsafe fn get_module_function_address(module_name: &str, function_name: &str) -> FARPROC {
[INFO] [stdout]    |                                                                                      ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in this scope
[INFO] [stdout]   --> src/utils.rs:59:5
[INFO] [stdout]    |
[INFO] [stdout] 59 |     GetProcAddress(get_module_handle(module_name), make_lpcstr(function_name))
[INFO] [stdout]    |     ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HMODULE` in this scope
[INFO] [stdout]  --> src/memory.rs:8:24
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub module_handle: HMODULE,
[INFO] [stdout]   |                        ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 16 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HMODULE` in this scope
[INFO] [stdout]   --> src/utils.rs:52:41
[INFO] [stdout]    |
[INFO] [stdout] 52 | pub fn get_module_handle(text: &str) -> HMODULE {
[INFO] [stdout]    |                                         ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleA` in this scope
[INFO] [stdout]   --> src/utils.rs:54:9
[INFO] [stdout]    |
[INFO] [stdout] 54 |         GetModuleHandleA(make_lpcstr(text))
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `FARPROC` in this scope
[INFO] [stdout]   --> src/utils.rs:58:86
[INFO] [stdout]    |
[INFO] [stdout] 58 | pub unsafe fn get_module_function_address(module_name: &str, function_name: &str) -> FARPROC {
[INFO] [stdout]    |                                                                                      ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in this scope
[INFO] [stdout]   --> src/utils.rs:59:5
[INFO] [stdout]    |
[INFO] [stdout] 59 |     GetProcAddress(get_module_handle(module_name), make_lpcstr(function_name))
[INFO] [stdout]    |     ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HMODULE` in this scope
[INFO] [stdout]  --> src/memory.rs:8:24
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub module_handle: HMODULE,
[INFO] [stdout]   |                        ^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `toy-arms` due to 17 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to 16 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] running `Command { std: "docker" "inspect" "6a0aef39e018b737ef165282434aa2850066975f50e1f41f652cc711ab94af2c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "6a0aef39e018b737ef165282434aa2850066975f50e1f41f652cc711ab94af2c", kill_on_drop: false }`
[INFO] [stdout] 6a0aef39e018b737ef165282434aa2850066975f50e1f41f652cc711ab94af2c
