[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#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHerbstein%2Firacingsdk" "/workspace/builds/worker-15/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-15/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Herbstein/iracingsdk on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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-15/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" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bd0d9271431d2fcf39fa306d9413b3379e1df032c132a3eb07b681df64cc54bc [INFO] running `Command { std: "docker" "start" "-a" "bd0d9271431d2fcf39fa306d9413b3379e1df032c132a3eb07b681df64cc54bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bd0d9271431d2fcf39fa306d9413b3379e1df032c132a3eb07b681df64cc54bc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bd0d9271431d2fcf39fa306d9413b3379e1df032c132a3eb07b681df64cc54bc", kill_on_drop: false }` [INFO] [stdout] bd0d9271431d2fcf39fa306d9413b3379e1df032c132a3eb07b681df64cc54bc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 12818330d9d9eecf504f280617c339bc884c1ac978f395dda6074bba3264b5c5 [INFO] running `Command { std: "docker" "start" "-a" "12818330d9d9eecf504f280617c339bc884c1ac978f395dda6074bba3264b5c5", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Checking iracingsdk v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [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: 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` due to 21 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [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: 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] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "12818330d9d9eecf504f280617c339bc884c1ac978f395dda6074bba3264b5c5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "12818330d9d9eecf504f280617c339bc884c1ac978f395dda6074bba3264b5c5", kill_on_drop: false }` [INFO] [stdout] 12818330d9d9eecf504f280617c339bc884c1ac978f395dda6074bba3264b5c5