[INFO] cloning repository https://github.com/zoritle/rshim [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zoritle/rshim" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzoritle%2Frshim", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzoritle%2Frshim'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7934dde74df8b7ebacf8b58c098a736c7d1113a5 [INFO] checking zoritle/rshim against try#3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f for pr-87248 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzoritle%2Frshim" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zoritle/rshim on toolchain 3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-4/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/zoritle/rshim [INFO] finished tweaking git repo https://github.com/zoritle/rshim [INFO] tweaked toml for git repo https://github.com/zoritle/rshim written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/zoritle/rshim already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded fs-err v2.5.0 [INFO] [stderr] Downloaded unicode-bom v1.1.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b083db81ab5a592518d050491b9fa43c590abd916c60aef8aedb9e4cce28bbb7 [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" "b083db81ab5a592518d050491b9fa43c590abd916c60aef8aedb9e4cce28bbb7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b083db81ab5a592518d050491b9fa43c590abd916c60aef8aedb9e4cce28bbb7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b083db81ab5a592518d050491b9fa43c590abd916c60aef8aedb9e4cce28bbb7", kill_on_drop: false }` [INFO] [stdout] b083db81ab5a592518d050491b9fa43c590abd916c60aef8aedb9e4cce28bbb7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "+3e59a8c2f14152ccc92a6c079f592dc2dc6fa93f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f3578360d9811c42a02ced3ed432882ef8cccc56220571712d58e32d79198474 [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" "f3578360d9811c42a02ced3ed432882ef8cccc56220571712d58e32d79198474", kill_on_drop: false }` [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking unicode-bom v1.1.4 [INFO] [stderr] Checking fs-err v2.5.0 [INFO] [stderr] Checking rshim v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | shared::minwindef::{BOOL, DWORD, FALSE, 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/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | um::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | um::{ [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/main.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | shared::minwindef::{BOOL, DWORD, FALSE, 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/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | um::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::um` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | um::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SHELLEXECUTEINFOA` [INFO] [stdout] --> src/main.rs:120:20 [INFO] [stdout] | [INFO] [stdout] 120 | let mut info = SHELLEXECUTEINFOA::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `SHELLEXECUTEINFOA` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/main.rs:25:48 [INFO] [stdout] | [INFO] [stdout] 25 | unsafe extern "system" fn routine_handler(evt: DWORD) -> BOOL { [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/main.rs:25:58 [INFO] [stdout] | [INFO] [stdout] 25 | unsafe extern "system" fn routine_handler(evt: DWORD) -> BOOL { [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/main.rs:27:33 [INFO] [stdout] | [INFO] [stdout] 27 | wincon::CTRL_C_EVENT => TRUE, //eprintln!("ctrl_c handled!"), [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/main.rs:28:37 [INFO] [stdout] | [INFO] [stdout] 28 | wincon::CTRL_BREAK_EVENT => TRUE, //eprintln!("ctrl_break handled!"), [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/main.rs:29:37 [INFO] [stdout] | [INFO] [stdout] 29 | wincon::CTRL_CLOSE_EVENT => TRUE, //eprintln!("ctrl_close handled!"), [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/main.rs:30:38 [INFO] [stdout] | [INFO] [stdout] 30 | wincon::CTRL_LOGOFF_EVENT => TRUE, //eprintln!("ctrl_logoff handled!"), [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/main.rs:31:40 [INFO] [stdout] | [INFO] [stdout] 31 | wincon::CTRL_SHUTDOWN_EVENT => TRUE, //eprintln!("ctrl_shutdown handled!"), [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:34:20 [INFO] [stdout] | [INFO] [stdout] 34 | return FALSE; [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/main.rs:49:14 [INFO] [stdout] | [INFO] [stdout] 49 | let res: BOOL = unsafe { consoleapi::SetConsoleCtrlHandler(Some(routine_handler), TRUE) }; [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/main.rs:49:87 [INFO] [stdout] | [INFO] [stdout] 49 | let res: BOOL = unsafe { consoleapi::SetConsoleCtrlHandler(Some(routine_handler), TRUE) }; [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:50:15 [INFO] [stdout] | [INFO] [stdout] 50 | if res == FALSE { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SHELLEXECUTEINFOA` in this scope [INFO] [stdout] --> src/main.rs:121:29 [INFO] [stdout] | [INFO] [stdout] 96 | fn execute_elevated(program: &Path, args: &[String]) -> i32 { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 121 | info.cbSize = size_of::() as DWORD; [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/main.rs:121:53 [INFO] [stdout] | [INFO] [stdout] 121 | info.cbSize = size_of::() as DWORD; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SEE_MASK_NOASYNC` in this scope [INFO] [stdout] --> src/main.rs:122:18 [INFO] [stdout] | [INFO] [stdout] 122 | info.fMask = SEE_MASK_NOASYNC | SEE_MASK_NOCLOSEPROCESS; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SEE_MASK_NOCLOSEPROCESS` in this scope [INFO] [stdout] --> src/main.rs:122:37 [INFO] [stdout] | [INFO] [stdout] 122 | info.fMask = SEE_MASK_NOASYNC | SEE_MASK_NOCLOSEPROCESS; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SW_NORMAL` in this scope [INFO] [stdout] --> src/main.rs:126:18 [INFO] [stdout] | [INFO] [stdout] 126 | info.nShow = SW_NORMAL; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CoInitializeEx` in this scope [INFO] [stdout] --> src/main.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | CoInitializeEx( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `COINIT_APARTMENTTHREADED` in this scope [INFO] [stdout] --> src/main.rs:130:13 [INFO] [stdout] | [INFO] [stdout] 130 | COINIT_APARTMENTTHREADED | COINIT_DISABLE_OLE1DDE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `COINIT_DISABLE_OLE1DDE` in this scope [INFO] [stdout] --> src/main.rs:130:40 [INFO] [stdout] | [INFO] [stdout] 130 | COINIT_APARTMENTTHREADED | COINIT_DISABLE_OLE1DDE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ShellExecuteExA` in this scope [INFO] [stdout] --> src/main.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | ShellExecuteExA(&mut info as *mut _) [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:134:15 [INFO] [stdout] | [INFO] [stdout] 134 | if res == FALSE || info.hProcess == null_mut() { [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/main.rs:137:19 [INFO] [stdout] | [INFO] [stdout] 137 | let mut code: DWORD = 0; [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:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | WaitForSingleObject(info.hProcess, 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:139:44 [INFO] [stdout] | [INFO] [stdout] 139 | WaitForSingleObject(info.hProcess, INFINITE); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetExitCodeProcess` in this scope [INFO] [stdout] --> src/main.rs:140:12 [INFO] [stdout] | [INFO] [stdout] 140 | if GetExitCodeProcess(info.hProcess, &mut code as *mut _) == FALSE { [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:140:70 [INFO] [stdout] | [INFO] [stdout] 140 | if GetExitCodeProcess(info.hProcess, &mut code as *mut _) == FALSE { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SHELLEXECUTEINFOA` [INFO] [stdout] --> src/main.rs:120:20 [INFO] [stdout] | [INFO] [stdout] 120 | let mut info = SHELLEXECUTEINFOA::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ use of undeclared type `SHELLEXECUTEINFOA` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> src/main.rs:25:48 [INFO] [stdout] | [INFO] [stdout] 25 | unsafe extern "system" fn routine_handler(evt: DWORD) -> BOOL { [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/main.rs:25:58 [INFO] [stdout] | [INFO] [stdout] 25 | unsafe extern "system" fn routine_handler(evt: DWORD) -> BOOL { [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/main.rs:27:33 [INFO] [stdout] | [INFO] [stdout] 27 | wincon::CTRL_C_EVENT => TRUE, //eprintln!("ctrl_c handled!"), [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/main.rs:28:37 [INFO] [stdout] | [INFO] [stdout] 28 | wincon::CTRL_BREAK_EVENT => TRUE, //eprintln!("ctrl_break handled!"), [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/main.rs:29:37 [INFO] [stdout] | [INFO] [stdout] 29 | wincon::CTRL_CLOSE_EVENT => TRUE, //eprintln!("ctrl_close handled!"), [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/main.rs:30:38 [INFO] [stdout] | [INFO] [stdout] 30 | wincon::CTRL_LOGOFF_EVENT => TRUE, //eprintln!("ctrl_logoff handled!"), [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/main.rs:31:40 [INFO] [stdout] | [INFO] [stdout] 31 | wincon::CTRL_SHUTDOWN_EVENT => TRUE, //eprintln!("ctrl_shutdown handled!"), [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:34:20 [INFO] [stdout] | [INFO] [stdout] 34 | return FALSE; [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/main.rs:49:14 [INFO] [stdout] | [INFO] [stdout] 49 | let res: BOOL = unsafe { consoleapi::SetConsoleCtrlHandler(Some(routine_handler), TRUE) }; [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/main.rs:49:87 [INFO] [stdout] | [INFO] [stdout] 49 | let res: BOOL = unsafe { consoleapi::SetConsoleCtrlHandler(Some(routine_handler), TRUE) }; [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:50:15 [INFO] [stdout] | [INFO] [stdout] 50 | if res == FALSE { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SHELLEXECUTEINFOA` in this scope [INFO] [stdout] --> src/main.rs:121:29 [INFO] [stdout] | [INFO] [stdout] 96 | fn execute_elevated(program: &Path, args: &[String]) -> i32 { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 121 | info.cbSize = size_of::() as DWORD; [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/main.rs:121:53 [INFO] [stdout] | [INFO] [stdout] 121 | info.cbSize = size_of::() as DWORD; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SEE_MASK_NOASYNC` in this scope [INFO] [stdout] --> src/main.rs:122:18 [INFO] [stdout] | [INFO] [stdout] 122 | info.fMask = SEE_MASK_NOASYNC | SEE_MASK_NOCLOSEPROCESS; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SEE_MASK_NOCLOSEPROCESS` in this scope [INFO] [stdout] --> src/main.rs:122:37 [INFO] [stdout] | [INFO] [stdout] 122 | info.fMask = SEE_MASK_NOASYNC | SEE_MASK_NOCLOSEPROCESS; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `SW_NORMAL` in this scope [INFO] [stdout] --> src/main.rs:126:18 [INFO] [stdout] | [INFO] [stdout] 126 | info.nShow = SW_NORMAL; [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CoInitializeEx` in this scope [INFO] [stdout] --> src/main.rs:128:9 [INFO] [stdout] | [INFO] [stdout] 128 | CoInitializeEx( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `COINIT_APARTMENTTHREADED` in this scope [INFO] [stdout] --> src/main.rs:130:13 [INFO] [stdout] | [INFO] [stdout] 130 | COINIT_APARTMENTTHREADED | COINIT_DISABLE_OLE1DDE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `COINIT_DISABLE_OLE1DDE` in this scope [INFO] [stdout] --> src/main.rs:130:40 [INFO] [stdout] | [INFO] [stdout] 130 | COINIT_APARTMENTTHREADED | COINIT_DISABLE_OLE1DDE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ShellExecuteExA` in this scope [INFO] [stdout] --> src/main.rs:132:9 [INFO] [stdout] | [INFO] [stdout] 132 | ShellExecuteExA(&mut info as *mut _) [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:134:15 [INFO] [stdout] | [INFO] [stdout] 134 | if res == FALSE || info.hProcess == null_mut() { [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/main.rs:137:19 [INFO] [stdout] | [INFO] [stdout] 137 | let mut code: DWORD = 0; [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:139:9 [INFO] [stdout] | [INFO] [stdout] 139 | WaitForSingleObject(info.hProcess, 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:139:44 [INFO] [stdout] | [INFO] [stdout] 139 | WaitForSingleObject(info.hProcess, INFINITE); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetExitCodeProcess` in this scope [INFO] [stdout] --> src/main.rs:140:12 [INFO] [stdout] | [INFO] [stdout] 140 | if GetExitCodeProcess(info.hProcess, &mut code as *mut _) == FALSE { [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:140:70 [INFO] [stdout] | [INFO] [stdout] 140 | if GetExitCodeProcess(info.hProcess, &mut code as *mut _) == FALSE { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 30 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 30 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `rshim` due to 31 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "f3578360d9811c42a02ced3ed432882ef8cccc56220571712d58e32d79198474", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f3578360d9811c42a02ced3ed432882ef8cccc56220571712d58e32d79198474", kill_on_drop: false }` [INFO] [stdout] f3578360d9811c42a02ced3ed432882ef8cccc56220571712d58e32d79198474