[INFO] fetching crate iracing 0.1.1... [INFO] checking iracing-0.1.1 against try#13f916f63bc6575d5ff1f989237dfabe88981368 for pr-69880 [INFO] extracting crate iracing 0.1.1 into /workspace/builds/worker-12/source [INFO] validating manifest of crates.io crate iracing 0.1.1 on toolchain 13f916f63bc6575d5ff1f989237dfabe88981368 [INFO] running `"/workspace/cargo-home/bin/cargo" "+13f916f63bc6575d5ff1f989237dfabe88981368" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking crates.io crate iracing 0.1.1 [INFO] finished tweaking crates.io crate iracing 0.1.1 [INFO] tweaked toml for crates.io crate iracing 0.1.1 written to /workspace/builds/worker-12/source/Cargo.toml [INFO] crate crates.io crate iracing 0.1.1 already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+13f916f63bc6575d5ff1f989237dfabe88981368" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] warning: `panic` setting is ignored for `bench` profile [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-12/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" "MAP_USER_ID=0" "-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" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+13f916f63bc6575d5ff1f989237dfabe88981368" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 587d470e4e9d985cfc5c4b68f0d89d7f92b5d57d20448bce4b6ac439c12f862a [INFO] running `"docker" "start" "-a" "587d470e4e9d985cfc5c4b68f0d89d7f92b5d57d20448bce4b6ac439c12f862a"` [INFO] [stderr] warning: `panic` setting is ignored for `bench` profile [INFO] [stderr] Compiling winapi v0.3.8 [INFO] [stderr] Compiling syn v1.0.16 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Checking serde v1.0.104 [INFO] [stderr] Checking serde_yaml v0.8.11 [INFO] [stderr] Checking iracing v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stderr] --> src/lib.rs:18:14 [INFO] [stderr] | [INFO] [stderr] 18 | use std::os::windows::raw::HANDLE; [INFO] [stderr] | ^^^^^^^ could not find `windows` in `os` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/lib.rs:22:13 [INFO] [stderr] | [INFO] [stderr] 22 | use winapi::shared::minwindef::LPVOID; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/lib.rs:23:13 [INFO] [stderr] | [INFO] [stderr] 23 | use winapi::um::errhandlingapi::GetLastError; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/lib.rs:24:13 [INFO] [stderr] | [INFO] [stderr] 24 | use winapi::um::memoryapi::{OpenFileMappingW, FILE_MAP_READ, MapViewOfFile}; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stderr] --> src/telemetry.rs:7:14 [INFO] [stderr] | [INFO] [stderr] 7 | use std::os::windows::raw::HANDLE; [INFO] [stderr] | ^^^^^^^ could not find `windows` in `os` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/telemetry.rs:14:13 [INFO] [stderr] | [INFO] [stderr] 14 | use winapi::um::errhandlingapi::GetLastError; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/telemetry.rs:15:13 [INFO] [stderr] | [INFO] [stderr] 15 | use winapi::um::minwinbase::LPSECURITY_ATTRIBUTES; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/telemetry.rs:16:13 [INFO] [stderr] | [INFO] [stderr] 16 | use winapi::um::synchapi::{CreateEventW,WaitForSingleObject,ResetEvent}; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stderr] --> src/lib.rs:18:14 [INFO] [stderr] | [INFO] [stderr] 18 | use std::os::windows::raw::HANDLE; [INFO] [stderr] | ^^^^^^^ could not find `windows` in `os` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stderr] --> src/lib.rs:22:13 [INFO] [stderr] | [INFO] [stderr] 22 | use winapi::shared::minwindef::LPVOID; [INFO] [stderr] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/lib.rs:23:13 [INFO] [stderr] | [INFO] [stderr] 23 | use winapi::um::errhandlingapi::GetLastError; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/lib.rs:24:13 [INFO] [stderr] | [INFO] [stderr] 24 | use winapi::um::memoryapi::{OpenFileMappingW, FILE_MAP_READ, MapViewOfFile}; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stderr] --> src/telemetry.rs:7:14 [INFO] [stderr] | [INFO] [stderr] 7 | use std::os::windows::raw::HANDLE; [INFO] [stderr] | ^^^^^^^ could not find `windows` in `os` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/telemetry.rs:14:13 [INFO] [stderr] | [INFO] [stderr] 14 | use winapi::um::errhandlingapi::GetLastError; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/telemetry.rs:15:13 [INFO] [stderr] | [INFO] [stderr] 15 | use winapi::um::minwinbase::LPSECURITY_ATTRIBUTES; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stderr] --> src/telemetry.rs:16:13 [INFO] [stderr] | [INFO] [stderr] 16 | use winapi::um::synchapi::{CreateEventW,WaitForSingleObject,ResetEvent}; [INFO] [stderr] | ^^ could not find `um` in `winapi` [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stderr] --> src/telemetry.rs:50:19 [INFO] [stderr] | [INFO] [stderr] 50 | event_handle: HANDLE [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPSECURITY_ATTRIBUTES` in this scope [INFO] [stderr] --> src/telemetry.rs:484:17 [INFO] [stderr] | [INFO] [stderr] 484 | let sc: LPSECURITY_ATTRIBUTES = unsafe { std::mem::zeroed() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stderr] --> src/telemetry.rs:486:21 [INFO] [stderr] | [INFO] [stderr] 486 | let handle: HANDLE = unsafe { CreateEventW(sc, 0, 0, event_name.as_ptr()) }; [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `CreateEventW` in this scope [INFO] [stderr] --> src/telemetry.rs:486:39 [INFO] [stderr] | [INFO] [stderr] 486 | let handle: HANDLE = unsafe { CreateEventW(sc, 0, 0, event_name.as_ptr()) }; [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stderr] --> src/telemetry.rs:489:39 [INFO] [stderr] | [INFO] [stderr] 489 | let errno: i32 = unsafe { GetLastError() as i32 }; [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `WaitForSingleObject` in this scope [INFO] [stderr] --> src/telemetry.rs:525:31 [INFO] [stderr] | [INFO] [stderr] 525 | let signal = unsafe { WaitForSingleObject(self.event_handle, wait_time) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stderr] --> src/telemetry.rs:531:38 [INFO] [stderr] | [INFO] [stderr] 531 | let errno = unsafe { GetLastError() as i32 }; [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `ResetEvent` in this scope [INFO] [stderr] --> src/telemetry.rs:535:26 [INFO] [stderr] | [INFO] [stderr] 535 | unsafe { ResetEvent(self.event_handle) }; [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stderr] --> src/lib.rs:59:22 [INFO] [stderr] | [INFO] [stderr] 59 | let mapping: HANDLE; [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `OpenFileMappingW` in this scope [INFO] [stderr] --> src/lib.rs:62:28 [INFO] [stderr] | [INFO] [stderr] 62 | unsafe { mapping = OpenFileMappingW(FILE_MAP_READ, 0, path.as_ptr()); }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FILE_MAP_READ` in this scope [INFO] [stderr] --> src/lib.rs:62:45 [INFO] [stderr] | [INFO] [stderr] 62 | unsafe { mapping = OpenFileMappingW(FILE_MAP_READ, 0, path.as_ptr()); }; [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stderr] --> src/lib.rs:66:30 [INFO] [stderr] | [INFO] [stderr] 66 | unsafe { errno = GetLastError() as i32; } [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stderr] --> src/lib.rs:71:19 [INFO] [stderr] | [INFO] [stderr] 71 | let view: LPVOID; [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `MapViewOfFile` in this scope [INFO] [stderr] --> src/lib.rs:74:20 [INFO] [stderr] | [INFO] [stderr] 74 | view = MapViewOfFile(mapping, FILE_MAP_READ, 0, 0, 0); [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FILE_MAP_READ` in this scope [INFO] [stderr] --> src/lib.rs:74:43 [INFO] [stderr] | [INFO] [stderr] 74 | view = MapViewOfFile(mapping, FILE_MAP_READ, 0, 0, 0); [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stderr] --> src/lib.rs:78:30 [INFO] [stderr] | [INFO] [stderr] 78 | unsafe { errno = GetLastError() as i32; } [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stderr] --> src/telemetry.rs:50:19 [INFO] [stderr] | [INFO] [stderr] 50 | event_handle: HANDLE [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPSECURITY_ATTRIBUTES` in this scope [INFO] [stderr] --> src/telemetry.rs:484:17 [INFO] [stderr] | [INFO] [stderr] 484 | let sc: LPSECURITY_ATTRIBUTES = unsafe { std::mem::zeroed() }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stderr] --> src/telemetry.rs:486:21 [INFO] [stderr] | [INFO] [stderr] 486 | let handle: HANDLE = unsafe { CreateEventW(sc, 0, 0, event_name.as_ptr()) }; [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `CreateEventW` in this scope [INFO] [stderr] --> src/telemetry.rs:486:39 [INFO] [stderr] | [INFO] [stderr] 486 | let handle: HANDLE = unsafe { CreateEventW(sc, 0, 0, event_name.as_ptr()) }; [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stderr] --> src/telemetry.rs:489:39 [INFO] [stderr] | [INFO] [stderr] 489 | let errno: i32 = unsafe { GetLastError() as i32 }; [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `WaitForSingleObject` in this scope [INFO] [stderr] --> src/telemetry.rs:525:31 [INFO] [stderr] | [INFO] [stderr] 525 | let signal = unsafe { WaitForSingleObject(self.event_handle, wait_time) }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stderr] --> src/telemetry.rs:531:38 [INFO] [stderr] | [INFO] [stderr] 531 | let errno = unsafe { GetLastError() as i32 }; [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `ResetEvent` in this scope [INFO] [stderr] --> src/telemetry.rs:535:26 [INFO] [stderr] | [INFO] [stderr] 535 | unsafe { ResetEvent(self.event_handle) }; [INFO] [stderr] | ^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stderr] --> src/lib.rs:59:22 [INFO] [stderr] | [INFO] [stderr] 59 | let mapping: HANDLE; [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `OpenFileMappingW` in this scope [INFO] [stderr] --> src/lib.rs:62:28 [INFO] [stderr] | [INFO] [stderr] 62 | unsafe { mapping = OpenFileMappingW(FILE_MAP_READ, 0, path.as_ptr()); }; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FILE_MAP_READ` in this scope [INFO] [stderr] --> src/lib.rs:62:45 [INFO] [stderr] | [INFO] [stderr] 62 | unsafe { mapping = OpenFileMappingW(FILE_MAP_READ, 0, path.as_ptr()); }; [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stderr] --> src/lib.rs:66:30 [INFO] [stderr] | [INFO] [stderr] 66 | unsafe { errno = GetLastError() as i32; } [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stderr] --> src/lib.rs:71:19 [INFO] [stderr] | [INFO] [stderr] 71 | let view: LPVOID; [INFO] [stderr] | ^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `MapViewOfFile` in this scope [INFO] [stderr] --> src/lib.rs:74:20 [INFO] [stderr] | [INFO] [stderr] 74 | view = MapViewOfFile(mapping, FILE_MAP_READ, 0, 0, 0); [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find value `FILE_MAP_READ` in this scope [INFO] [stderr] --> src/lib.rs:74:43 [INFO] [stderr] | [INFO] [stderr] 74 | view = MapViewOfFile(mapping, FILE_MAP_READ, 0, 0, 0); [INFO] [stderr] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stderr] --> src/lib.rs:78:30 [INFO] [stderr] | [INFO] [stderr] 78 | unsafe { errno = GetLastError() as i32; } [INFO] [stderr] | ^^^^^^^^^^^^ not found in this scope [INFO] [stderr] [INFO] [stderr] error: aborting due to 24 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: could not compile `iracing`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: aborting due to 24 previous errors [INFO] [stderr] [INFO] [stderr] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stderr] For more information about an error, try `rustc --explain E0412`. [INFO] [stderr] error: could not compile `iracing`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "587d470e4e9d985cfc5c4b68f0d89d7f92b5d57d20448bce4b6ac439c12f862a"` [INFO] running `"docker" "rm" "-f" "587d470e4e9d985cfc5c4b68f0d89d7f92b5d57d20448bce4b6ac439c12f862a"` [INFO] [stdout] 587d470e4e9d985cfc5c4b68f0d89d7f92b5d57d20448bce4b6ac439c12f862a