[INFO] cloning repository https://github.com/lcdr/ui_scaler [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lcdr/ui_scaler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flcdr%2Fui_scaler", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flcdr%2Fui_scaler'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bc73e2e54e2be0f578f1cf0ce4892363811eba4f [INFO] checking lcdr/ui_scaler against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flcdr%2Fui_scaler" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lcdr/ui_scaler on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-9/source/.cargo/config [INFO] started tweaking git repo https://github.com/lcdr/ui_scaler [INFO] finished tweaking git repo https://github.com/lcdr/ui_scaler [INFO] tweaked toml for git repo https://github.com/lcdr/ui_scaler written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/lcdr/ui_scaler already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e6620f862edffe625637f681fd4fcd3c155202f5f61bc6ae3f981a52c5a6f0f5 [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" "e6620f862edffe625637f681fd4fcd3c155202f5f61bc6ae3f981a52c5a6f0f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e6620f862edffe625637f681fd4fcd3c155202f5f61bc6ae3f981a52c5a6f0f5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e6620f862edffe625637f681fd4fcd3c155202f5f61bc6ae3f981a52c5a6f0f5", kill_on_drop: false }` [INFO] [stdout] e6620f862edffe625637f681fd4fcd3c155202f5f61bc6ae3f981a52c5a6f0f5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", 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] 75b9ea83cd5eceffb2e53f60585d8b808f74d906ca9f2d60124bfd4b4b1d595d [INFO] running `Command { std: "docker" "start" "-a" "75b9ea83cd5eceffb2e53f60585d8b808f74d906ca9f2d60124bfd4b4b1d595d", kill_on_drop: false }` [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking mod v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/patch.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::shared::minwindef::{DWORD, LPVOID}; [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/patch.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::um::memoryapi::VirtualProtect; [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/patch.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::um::winnt::PAGE_EXECUTE_READWRITE; [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/lib.rs:6:2 [INFO] [stdout] | [INFO] [stdout] 6 | shared::minwindef::{BOOL, DWORD, HINSTANCE, LPVOID, 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/lib.rs:7:2 [INFO] [stdout] | [INFO] [stdout] 7 | um::libloaderapi::GetModuleHandleA, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stdout] --> src/patch.rs:9:29 [INFO] [stdout] | [INFO] [stdout] 9 | let dst = (dst + BASE) as LPVOID; [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/patch.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::shared::minwindef::{DWORD, LPVOID}; [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/patch.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::um::memoryapi::VirtualProtect; [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/patch.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use winapi::um::winnt::PAGE_EXECUTE_READWRITE; [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/lib.rs:6:2 [INFO] [stdout] | [INFO] [stdout] 6 | shared::minwindef::{BOOL, DWORD, HINSTANCE, LPVOID, 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/lib.rs:7:2 [INFO] [stdout] | [INFO] [stdout] 7 | um::libloaderapi::GetModuleHandleA, [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/patch.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | let mut old_protect: DWORD = PAGE_EXECUTE_READWRITE; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PAGE_EXECUTE_READWRITE` in this scope [INFO] [stdout] --> src/patch.rs:10:32 [INFO] [stdout] | [INFO] [stdout] 10 | let mut old_protect: DWORD = PAGE_EXECUTE_READWRITE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualProtect` in this scope [INFO] [stdout] --> src/patch.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 11 | VirtualProtect(dst, std::mem::size_of::(), PAGE_EXECUTE_READWRITE, &mut old_protect); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PAGE_EXECUTE_READWRITE` in this scope [INFO] [stdout] --> src/patch.rs:11:49 [INFO] [stdout] | [INFO] [stdout] 11 | VirtualProtect(dst, std::mem::size_of::(), PAGE_EXECUTE_READWRITE, &mut old_protect); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualProtect` in this scope [INFO] [stdout] --> src/patch.rs:13:3 [INFO] [stdout] | [INFO] [stdout] 13 | VirtualProtect(dst, std::mem::size_of::(), old_protect, &mut old_protect); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stdout] --> src/lib.rs:14:15 [INFO] [stdout] | [INFO] [stdout] 14 | _dll_module: HINSTANCE, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | call_reason: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stdout] --> src/lib.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | _reserved: LPVOID) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | -> BOOL { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:18:28 [INFO] [stdout] | [INFO] [stdout] 18 | const DLL_PROCESS_ATTACH: DWORD = 1; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> src/lib.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | _ => TRUE [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> src/lib.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 26 | fn init() -> BOOL { [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/lib.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | unsafe { BASE = GetModuleHandleA(std::ptr::null()) as usize; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> src/lib.rs:29:2 [INFO] [stdout] | [INFO] [stdout] 29 | TRUE [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] [stdout] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stdout] --> src/patch.rs:9:29 [INFO] [stdout] | [INFO] [stdout] 9 | let dst = (dst + BASE) as LPVOID; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/patch.rs:10:24 [INFO] [stdout] | [INFO] [stdout] 10 | let mut old_protect: DWORD = PAGE_EXECUTE_READWRITE; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PAGE_EXECUTE_READWRITE` in this scope [INFO] [stdout] --> src/patch.rs:10:32 [INFO] [stdout] | [INFO] [stdout] 10 | let mut old_protect: DWORD = PAGE_EXECUTE_READWRITE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualProtect` in this scope [INFO] [stdout] --> src/patch.rs:11:3 [INFO] [stdout] | [INFO] [stdout] 11 | VirtualProtect(dst, std::mem::size_of::(), PAGE_EXECUTE_READWRITE, &mut old_protect); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PAGE_EXECUTE_READWRITE` in this scope [INFO] [stdout] --> src/patch.rs:11:49 [INFO] [stdout] | [INFO] [stdout] 11 | VirtualProtect(dst, std::mem::size_of::(), PAGE_EXECUTE_READWRITE, &mut old_protect); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `VirtualProtect` in this scope [INFO] [stdout] --> src/patch.rs:13:3 [INFO] [stdout] | [INFO] [stdout] 13 | VirtualProtect(dst, std::mem::size_of::(), old_protect, &mut old_protect); [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HINSTANCE` in this scope [INFO] [stdout] --> src/lib.rs:14:15 [INFO] [stdout] | [INFO] [stdout] 14 | _dll_module: HINSTANCE, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:15:15 [INFO] [stdout] | [INFO] [stdout] 15 | call_reason: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPVOID` in this scope [INFO] [stdout] --> src/lib.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | _reserved: LPVOID) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mod` [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> src/lib.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | -> BOOL { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/lib.rs:18:28 [INFO] [stdout] | [INFO] [stdout] 18 | const DLL_PROCESS_ATTACH: DWORD = 1; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> src/lib.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | _ => TRUE [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> src/lib.rs:26:14 [INFO] [stdout] | [INFO] [stdout] 26 | fn init() -> BOOL { [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/lib.rs:27:18 [INFO] [stdout] | [INFO] [stdout] 27 | unsafe { BASE = GetModuleHandleA(std::ptr::null()) as usize; } [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> src/lib.rs:29:2 [INFO] [stdout] | [INFO] [stdout] 29 | TRUE [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" "75b9ea83cd5eceffb2e53f60585d8b808f74d906ca9f2d60124bfd4b4b1d595d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "75b9ea83cd5eceffb2e53f60585d8b808f74d906ca9f2d60124bfd4b4b1d595d", kill_on_drop: false }` [INFO] [stdout] 75b9ea83cd5eceffb2e53f60585d8b808f74d906ca9f2d60124bfd4b4b1d595d