[INFO] fetching crate rsbwapi 0.2.1...
[INFO] checking rsbwapi-0.2.1 against beta-2020-07-24 for pr-75494-beta
[INFO] extracting crate rsbwapi 0.2.1 into /workspace/builds/worker-7/source
[INFO] validating manifest of crates.io crate rsbwapi 0.2.1 on toolchain beta-2020-07-24
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] started tweaking crates.io crate rsbwapi 0.2.1
[INFO] finished tweaking crates.io crate rsbwapi 0.2.1
[INFO] tweaked toml for crates.io crate rsbwapi 0.2.1 written to /workspace/builds/worker-7/source/Cargo.toml
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }`
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2020-07-24" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 55ce4d01cd75d48a0e765ba0fdaeaf6613fe73327ea2a5dd9f94cc271fcc72e6
[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" "55ce4d01cd75d48a0e765ba0fdaeaf6613fe73327ea2a5dd9f94cc271fcc72e6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "55ce4d01cd75d48a0e765ba0fdaeaf6613fe73327ea2a5dd9f94cc271fcc72e6", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "55ce4d01cd75d48a0e765ba0fdaeaf6613fe73327ea2a5dd9f94cc271fcc72e6", kill_on_drop: false }`
[INFO] [stdout] 55ce4d01cd75d48a0e765ba0fdaeaf6613fe73327ea2a5dd9f94cc271fcc72e6
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2020-07-24" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] f76ecaaf196b5ecead0cf9b52d0f8d759cd9f040c126ccefa84540a678bccfb8
[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" "f76ecaaf196b5ecead0cf9b52d0f8d759cd9f040c126ccefa84540a678bccfb8", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.19
[INFO] [stderr]    Compiling glob v0.3.0
[INFO] [stderr]    Compiling unicode-xid v0.2.1
[INFO] [stderr]    Compiling cc v1.0.59
[INFO] [stderr]    Compiling bindgen v0.53.3
[INFO] [stderr]    Compiling rustc-hash v1.1.0
[INFO] [stderr]    Compiling lazycell v1.3.0
[INFO] [stderr]    Compiling shlex v0.1.1
[INFO] [stderr]    Compiling heapless v0.5.5
[INFO] [stderr]     Checking stable_deref_trait v1.2.0
[INFO] [stderr]    Compiling winapi v0.3.9
[INFO] [stderr]     Checking smallvec v1.4.2
[INFO] [stderr]     Checking pdqselect v0.1.0
[INFO] [stderr]    Compiling nom v5.1.2
[INFO] [stderr]    Compiling libc v0.2.76
[INFO] [stderr]    Compiling bitflags v1.2.1
[INFO] [stderr]     Checking as-slice v0.1.3
[INFO] [stderr]     Checking hash32 v0.1.1
[INFO] [stderr]    Compiling clang-sys v0.29.3
[INFO] [stderr]    Compiling atty v0.2.14
[INFO] [stderr]    Compiling which v3.1.1
[INFO] [stderr]    Compiling env_logger v0.7.1
[INFO] [stderr]    Compiling clap v2.33.3
[INFO] [stderr]    Compiling quote v1.0.7
[INFO] [stderr]    Compiling syn v1.0.39
[INFO] [stderr]    Compiling libloading v0.5.2
[INFO] [stderr]     Checking rstar v0.8.2
[INFO] [stderr]    Compiling cexpr v0.4.0
[INFO] [stderr]    Compiling num-derive v0.3.1
[INFO] [stderr]    Compiling bwapi_wrapper v0.2.2
[INFO] [stderr]     Checking rsbwapi v0.2.1 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/shm.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | use winapi::shared::minwindef::FALSE;
[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/shm.rs:4:13
[INFO] [stdout]   |
[INFO] [stdout] 4 | use winapi::um::handleapi::CloseHandle;
[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/shm.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | use winapi::um::memoryapi::MapViewOfFile;
[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/shm.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | use winapi::um::memoryapi::FILE_MAP_READ;
[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/shm.rs:7:13
[INFO] [stdout]   |
[INFO] [stdout] 7 | use winapi::um::memoryapi::FILE_MAP_WRITE;
[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/shm.rs:8:13
[INFO] [stdout]   |
[INFO] [stdout] 8 | use winapi::um::winbase::OpenFileMappingA;
[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/shm.rs:9:13
[INFO] [stdout]   |
[INFO] [stdout] 9 | use winapi::um::winnt::HANDLE;
[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/shm.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | use winapi::shared::minwindef::FALSE;
[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/shm.rs:4:13
[INFO] [stdout]   |
[INFO] [stdout] 4 | use winapi::um::handleapi::CloseHandle;
[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/shm.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | use winapi::um::memoryapi::MapViewOfFile;
[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/shm.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | use winapi::um::memoryapi::FILE_MAP_READ;
[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/shm.rs:7:13
[INFO] [stdout]   |
[INFO] [stdout] 7 | use winapi::um::memoryapi::FILE_MAP_WRITE;
[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/shm.rs:8:13
[INFO] [stdout]   |
[INFO] [stdout] 8 | use winapi::um::winbase::OpenFileMappingA;
[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/shm.rs:9:13
[INFO] [stdout]   |
[INFO] [stdout] 9 | use winapi::um::winnt::HANDLE;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stdout]   --> src/shm.rs:11:34
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub(crate) struct Shm<T: ?Sized>(HANDLE, NonNull<T>);
[INFO] [stdout]    |                                  ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  | use bwapi_wrapper::HANDLE;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use crate::unit::HANDLE;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope
[INFO] [stdout]   --> src/shm.rs:28:13
[INFO] [stdout]    |
[INFO] [stdout] 28 |             CloseHandle(self.0);
[INFO] [stdout]    |             ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenFileMappingA` in this scope
[INFO] [stdout]   --> src/shm.rs:37:22
[INFO] [stdout]    |
[INFO] [stdout] 37 |         let handle = OpenFileMappingA(FILE_MAP_READ | FILE_MAP_WRITE, FALSE, lp_name.as_ptr());
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FILE_MAP_READ` in this scope
[INFO] [stdout]   --> src/shm.rs:37:39
[INFO] [stdout]    |
[INFO] [stdout] 37 |         let handle = OpenFileMappingA(FILE_MAP_READ | FILE_MAP_WRITE, FALSE, lp_name.as_ptr());
[INFO] [stdout]    |                                       ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FILE_MAP_WRITE` in this scope
[INFO] [stdout]   --> src/shm.rs:37:55
[INFO] [stdout]    |
[INFO] [stdout] 37 |         let handle = OpenFileMappingA(FILE_MAP_READ | FILE_MAP_WRITE, FALSE, lp_name.as_ptr());
[INFO] [stdout]    |                                                       ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope
[INFO] [stdout]   --> src/shm.rs:11:34
[INFO] [stdout]    |
[INFO] [stdout] 11 | pub(crate) struct Shm<T: ?Sized>(HANDLE, NonNull<T>);
[INFO] [stdout]    |                                  ^^^^^^ not found in this scope
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout] 1  | use bwapi_wrapper::HANDLE;
[INFO] [stdout]    |
[INFO] [stdout] 1  | use crate::unit::HANDLE;
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope
[INFO] [stdout]   --> src/shm.rs:37:71
[INFO] [stdout]    |
[INFO] [stdout] 37 |         let handle = OpenFileMappingA(FILE_MAP_READ | FILE_MAP_WRITE, FALSE, lp_name.as_ptr());
[INFO] [stdout]    |                                                                       ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MapViewOfFile` in this scope
[INFO] [stdout]   --> src/shm.rs:39:13
[INFO] [stdout]    |
[INFO] [stdout] 39 |             MapViewOfFile(handle, FILE_MAP_READ | FILE_MAP_WRITE, 0, 0, memory_size) as *mut T;
[INFO] [stdout]    |             ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseHandle` in this scope
[INFO] [stdout]   --> src/shm.rs:28:13
[INFO] [stdout]    |
[INFO] [stdout] 28 |             CloseHandle(self.0);
[INFO] [stdout]    |             ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FILE_MAP_READ` in this scope
[INFO] [stdout]   --> src/shm.rs:39:35
[INFO] [stdout]    |
[INFO] [stdout] 39 |             MapViewOfFile(handle, FILE_MAP_READ | FILE_MAP_WRITE, 0, 0, memory_size) as *mut T;
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FILE_MAP_WRITE` in this scope
[INFO] [stdout]   --> src/shm.rs:39:51
[INFO] [stdout]    |
[INFO] [stdout] 39 |             MapViewOfFile(handle, FILE_MAP_READ | FILE_MAP_WRITE, 0, 0, memory_size) as *mut T;
[INFO] [stdout]    |                                                   ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenFileMappingA` in this scope
[INFO] [stdout]   --> src/shm.rs:37:22
[INFO] [stdout]    |
[INFO] [stdout] 37 |         let handle = OpenFileMappingA(FILE_MAP_READ | FILE_MAP_WRITE, FALSE, lp_name.as_ptr());
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FILE_MAP_READ` in this scope
[INFO] [stdout]   --> src/shm.rs:37:39
[INFO] [stdout]    |
[INFO] [stdout] 37 |         let handle = OpenFileMappingA(FILE_MAP_READ | FILE_MAP_WRITE, FALSE, lp_name.as_ptr());
[INFO] [stdout]    |                                       ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FILE_MAP_WRITE` in this scope
[INFO] [stdout]   --> src/shm.rs:37:55
[INFO] [stdout]    |
[INFO] [stdout] 37 |         let handle = OpenFileMappingA(FILE_MAP_READ | FILE_MAP_WRITE, FALSE, lp_name.as_ptr());
[INFO] [stdout]    |                                                       ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope
[INFO] [stdout]   --> src/shm.rs:37:71
[INFO] [stdout]    |
[INFO] [stdout] 37 |         let handle = OpenFileMappingA(FILE_MAP_READ | FILE_MAP_WRITE, FALSE, lp_name.as_ptr());
[INFO] [stdout]    |                                                                       ^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `MapViewOfFile` in this scope
[INFO] [stdout]   --> src/shm.rs:39:13
[INFO] [stdout]    |
[INFO] [stdout] 39 |             MapViewOfFile(handle, FILE_MAP_READ | FILE_MAP_WRITE, 0, 0, memory_size) as *mut T;
[INFO] [stdout]    |             ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FILE_MAP_READ` in this scope
[INFO] [stdout]   --> src/shm.rs:39:35
[INFO] [stdout]    |
[INFO] [stdout] 39 |             MapViewOfFile(handle, FILE_MAP_READ | FILE_MAP_WRITE, 0, 0, memory_size) as *mut T;
[INFO] [stdout]    |                                   ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `FILE_MAP_WRITE` in this scope
[INFO] [stdout]   --> src/shm.rs:39:51
[INFO] [stdout]    |
[INFO] [stdout] 39 |             MapViewOfFile(handle, FILE_MAP_READ | FILE_MAP_WRITE, 0, 0, memory_size) as *mut T;
[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] [stderr] error: could not compile `rsbwapi`.
[INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433.
[INFO] [stdout] 
[INFO] [stderr] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] To learn more, run the command again with --verbose.
[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, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0412`.
[INFO] [stdout] 
[INFO] [stderr] error: build failed
[INFO] running `Command { std: "docker" "inspect" "f76ecaaf196b5ecead0cf9b52d0f8d759cd9f040c126ccefa84540a678bccfb8", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f76ecaaf196b5ecead0cf9b52d0f8d759cd9f040c126ccefa84540a678bccfb8", kill_on_drop: false }`
[INFO] [stdout] f76ecaaf196b5ecead0cf9b52d0f8d759cd9f040c126ccefa84540a678bccfb8
