[INFO] cloning repository https://github.com/Herbstein/iracingsdk [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Herbstein/iracingsdk" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHerbstein%2Firacingsdk", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHerbstein%2Firacingsdk'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8116d352e009c38edc104a8efe5fcd4857ac5347 [INFO] checking Herbstein/iracingsdk against try#b20a093d9fb1ffaa04ae9852cb034864a992bafd for pr-85073 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHerbstein%2Firacingsdk" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Herbstein/iracingsdk on toolchain b20a093d9fb1ffaa04ae9852cb034864a992bafd [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Herbstein/iracingsdk [INFO] finished tweaking git repo https://github.com/Herbstein/iracingsdk [INFO] tweaked toml for git repo https://github.com/Herbstein/iracingsdk written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/Herbstein/iracingsdk already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "fetch" "--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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "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] 62a4f359f4a79d341c34c8657c10493cf65d9ae98384fa25ca694f7ed4ef3e99 [INFO] running `Command { std: "docker" "start" "-a" "62a4f359f4a79d341c34c8657c10493cf65d9ae98384fa25ca694f7ed4ef3e99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "62a4f359f4a79d341c34c8657c10493cf65d9ae98384fa25ca694f7ed4ef3e99", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "62a4f359f4a79d341c34c8657c10493cf65d9ae98384fa25ca694f7ed4ef3e99", kill_on_drop: false }` [INFO] [stdout] 62a4f359f4a79d341c34c8657c10493cf65d9ae98384fa25ca694f7ed4ef3e99 [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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+b20a093d9fb1ffaa04ae9852cb034864a992bafd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 990007d38baf0bf107dde4694a9549f2bf6de79e9ff5635b0ce4ce40f291bd0f [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" "990007d38baf0bf107dde4694a9549f2bf6de79e9ff5635b0ce4ce40f291bd0f", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking iracingsdk v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | shared::minwindef::{FALSE, LPCVOID}, [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/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | um::{ [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/main.rs:168:14 [INFO] [stdout] | [INFO] [stdout] 168 | mapping: HANDLE, [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/main.rs:169:12 [INFO] [stdout] | [INFO] [stdout] 169 | event: HANDLE, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenFileMappingW` in this scope [INFO] [stdout] --> src/main.rs:179:32 [INFO] [stdout] | [INFO] [stdout] 179 | let mapping = unsafe { OpenFileMappingW(FILE_MAP_READ, FALSE, telemetry_path.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/main.rs:179:49 [INFO] [stdout] | [INFO] [stdout] 179 | let mapping = unsafe { OpenFileMappingW(FILE_MAP_READ, FALSE, telemetry_path.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/main.rs:179:64 [INFO] [stdout] | [INFO] [stdout] 179 | let mapping = unsafe { OpenFileMappingW(FILE_MAP_READ, FALSE, telemetry_path.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 `OpenEventW` in this scope [INFO] [stdout] --> src/main.rs:189:30 [INFO] [stdout] | [INFO] [stdout] 189 | let event = unsafe { OpenEventW(SYNCHRONIZE, FALSE, event_name.as_ptr()) }; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SYNCHRONIZE` in this scope [INFO] [stdout] --> src/main.rs:189:41 [INFO] [stdout] | [INFO] [stdout] 189 | let event = unsafe { OpenEventW(SYNCHRONIZE, FALSE, event_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/main.rs:189:54 [INFO] [stdout] | [INFO] [stdout] 189 | let event = unsafe { OpenEventW(SYNCHRONIZE, FALSE, event_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 `WaitForSingleObject` in this scope [INFO] [stdout] --> src/main.rs:198:28 [INFO] [stdout] | [INFO] [stdout] 198 | let res = unsafe { WaitForSingleObject(self.event, INFINITE) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INFINITE` in this scope [INFO] [stdout] --> src/main.rs:198:60 [INFO] [stdout] | [INFO] [stdout] 198 | let res = unsafe { WaitForSingleObject(self.event, INFINITE) }; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/main.rs:201:38 [INFO] [stdout] | [INFO] [stdout] 201 | let errno = unsafe { GetLastError() }; [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/main.rs:212:13 [INFO] [stdout] | [INFO] [stdout] 212 | CloseHandle(self.event); [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/main.rs:213:13 [INFO] [stdout] | [INFO] [stdout] 213 | CloseHandle(self.mapping); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCVOID` in this scope [INFO] [stdout] --> src/main.rs:219:11 [INFO] [stdout] | [INFO] [stdout] 219 | view: LPCVOID, [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/main.rs:224:29 [INFO] [stdout] | [INFO] [stdout] 224 | let view = unsafe { MapViewOfFile(conn.mapping, FILE_MAP_READ | FILE_MAP_COPY, 0, 0, 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/main.rs:224:57 [INFO] [stdout] | [INFO] [stdout] 224 | let view = unsafe { MapViewOfFile(conn.mapping, FILE_MAP_READ | FILE_MAP_COPY, 0, 0, 0) }; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FILE_MAP_COPY` in this scope [INFO] [stdout] --> src/main.rs:224:73 [INFO] [stdout] | [INFO] [stdout] 224 | let view = unsafe { MapViewOfFile(conn.mapping, FILE_MAP_READ | FILE_MAP_COPY, 0, 0, 0) }; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `UnmapViewOfFile` in this scope [INFO] [stdout] --> src/main.rs:235:18 [INFO] [stdout] | [INFO] [stdout] 235 | unsafe { UnmapViewOfFile(self.view) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | shared::minwindef::{FALSE, LPCVOID}, [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/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | um::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 20 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 `iracingsdk` [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] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/main.rs:168:14 [INFO] [stdout] | [INFO] [stdout] 168 | mapping: HANDLE, [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/main.rs:169:12 [INFO] [stdout] | [INFO] [stdout] 169 | event: HANDLE, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenFileMappingW` in this scope [INFO] [stdout] --> src/main.rs:179:32 [INFO] [stdout] | [INFO] [stdout] 179 | let mapping = unsafe { OpenFileMappingW(FILE_MAP_READ, FALSE, telemetry_path.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/main.rs:179:49 [INFO] [stdout] | [INFO] [stdout] 179 | let mapping = unsafe { OpenFileMappingW(FILE_MAP_READ, FALSE, telemetry_path.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/main.rs:179:64 [INFO] [stdout] | [INFO] [stdout] 179 | let mapping = unsafe { OpenFileMappingW(FILE_MAP_READ, FALSE, telemetry_path.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 `OpenEventW` in this scope [INFO] [stdout] --> src/main.rs:189:30 [INFO] [stdout] | [INFO] [stdout] 189 | let event = unsafe { OpenEventW(SYNCHRONIZE, FALSE, event_name.as_ptr()) }; [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SYNCHRONIZE` in this scope [INFO] [stdout] --> src/main.rs:189:41 [INFO] [stdout] | [INFO] [stdout] 189 | let event = unsafe { OpenEventW(SYNCHRONIZE, FALSE, event_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/main.rs:189:54 [INFO] [stdout] | [INFO] [stdout] 189 | let event = unsafe { OpenEventW(SYNCHRONIZE, FALSE, event_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 `WaitForSingleObject` in this scope [INFO] [stdout] --> src/main.rs:198:28 [INFO] [stdout] | [INFO] [stdout] 198 | let res = unsafe { WaitForSingleObject(self.event, INFINITE) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `INFINITE` in this scope [INFO] [stdout] --> src/main.rs:198:60 [INFO] [stdout] | [INFO] [stdout] 198 | let res = unsafe { WaitForSingleObject(self.event, INFINITE) }; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> src/main.rs:201:38 [INFO] [stdout] | [INFO] [stdout] 201 | let errno = unsafe { GetLastError() }; [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/main.rs:212:13 [INFO] [stdout] | [INFO] [stdout] 212 | CloseHandle(self.event); [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/main.rs:213:13 [INFO] [stdout] | [INFO] [stdout] 213 | CloseHandle(self.mapping); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCVOID` in this scope [INFO] [stdout] --> src/main.rs:219:11 [INFO] [stdout] | [INFO] [stdout] 219 | view: LPCVOID, [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/main.rs:224:29 [INFO] [stdout] | [INFO] [stdout] 224 | let view = unsafe { MapViewOfFile(conn.mapping, FILE_MAP_READ | FILE_MAP_COPY, 0, 0, 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/main.rs:224:57 [INFO] [stdout] | [INFO] [stdout] 224 | let view = unsafe { MapViewOfFile(conn.mapping, FILE_MAP_READ | FILE_MAP_COPY, 0, 0, 0) }; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FILE_MAP_COPY` in this scope [INFO] [stdout] --> src/main.rs:224:73 [INFO] [stdout] | [INFO] [stdout] 224 | let view = unsafe { MapViewOfFile(conn.mapping, FILE_MAP_READ | FILE_MAP_COPY, 0, 0, 0) }; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `UnmapViewOfFile` in this scope [INFO] [stdout] --> src/main.rs:235:18 [INFO] [stdout] | [INFO] [stdout] 235 | unsafe { UnmapViewOfFile(self.view) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 20 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" "990007d38baf0bf107dde4694a9549f2bf6de79e9ff5635b0ce4ce40f291bd0f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "990007d38baf0bf107dde4694a9549f2bf6de79e9ff5635b0ce4ce40f291bd0f", kill_on_drop: false }` [INFO] [stdout] 990007d38baf0bf107dde4694a9549f2bf6de79e9ff5635b0ce4ce40f291bd0f