[INFO] cloning repository https://github.com/aizcutei/pseudoinstall-template [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aizcutei/pseudoinstall-template" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faizcutei%2Fpseudoinstall-template", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faizcutei%2Fpseudoinstall-template'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 774e053869e6a58ce5812d33096812a4841fbc1c [INFO] checking aizcutei/pseudoinstall-template against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faizcutei%2Fpseudoinstall-template" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/aizcutei/pseudoinstall-template on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/aizcutei/pseudoinstall-template [INFO] finished tweaking git repo https://github.com/aizcutei/pseudoinstall-template [INFO] tweaked toml for git repo https://github.com/aizcutei/pseudoinstall-template written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/aizcutei/pseudoinstall-template already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "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-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "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] 7759bdba75a9e6fa4279ecbe72e9c8ccc289442491096a315b2a68f9d2f1f2cd [INFO] running `Command { std: "docker" "start" "-a" "7759bdba75a9e6fa4279ecbe72e9c8ccc289442491096a315b2a68f9d2f1f2cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7759bdba75a9e6fa4279ecbe72e9c8ccc289442491096a315b2a68f9d2f1f2cd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7759bdba75a9e6fa4279ecbe72e9c8ccc289442491096a315b2a68f9d2f1f2cd", kill_on_drop: false }` [INFO] [stdout] 7759bdba75a9e6fa4279ecbe72e9c8ccc289442491096a315b2a68f9d2f1f2cd [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "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] c8938348d536cfd26853f267ca6eddae555ce00b61e5e9d8e18ea3058644388a [INFO] running `Command { std: "docker" "start" "-a" "c8938348d536cfd26853f267ca6eddae555ce00b61e5e9d8e18ea3058644388a", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling syn v1.0.14 [INFO] [stderr] Compiling cairo-rs v0.7.1 [INFO] [stderr] Compiling gio v0.7.0 [INFO] [stderr] Compiling pango v0.7.0 [INFO] [stderr] Checking tinystr v0.3.2 [INFO] [stderr] Compiling gdk-pixbuf v0.7.0 [INFO] [stderr] Checking fragile v0.3.0 [INFO] [stderr] Compiling atk v0.7.0 [INFO] [stderr] Compiling gdk v0.11.0 [INFO] [stderr] Checking unicode-segmentation v1.6.0 [INFO] [stderr] Compiling gtk v0.7.0 [INFO] [stderr] Checking stable_deref_trait v1.1.1 [INFO] [stderr] Checking fluent-syntax v0.9.1 [INFO] [stderr] Compiling winapi v0.3.8 [INFO] [stderr] Checking kurbo v0.5.7 [INFO] [stderr] Checking unic-langid-impl v0.7.2 [INFO] [stderr] Checking log v0.4.8 [INFO] [stderr] Checking backtrace v0.3.42 [INFO] [stderr] Checking unic-langid v0.7.1 [INFO] [stderr] Checking simple_logger v1.5.0 [INFO] [stderr] Checking intl_pluralrules v5.0.2 [INFO] [stderr] Checking fluent-langneg v0.11.1 [INFO] [stderr] Compiling glib-sys v0.9.1 [INFO] [stderr] Compiling gobject-sys v0.9.1 [INFO] [stderr] Compiling gio-sys v0.9.1 [INFO] [stderr] Compiling cairo-sys-rs v0.9.2 [INFO] [stderr] Compiling gdk-pixbuf-sys v0.9.1 [INFO] [stderr] Compiling pango-sys v0.9.1 [INFO] [stderr] Compiling gdk-sys v0.9.1 [INFO] [stderr] Compiling atk-sys v0.9.1 [INFO] [stderr] Compiling gtk-sys v0.9.2 [INFO] [stderr] Checking piet v0.0.7 [INFO] [stderr] Checking glib v0.8.2 [INFO] [stderr] Checking piet-cairo v0.0.7 [INFO] [stderr] Checking piet-common v0.0.7 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling rental-impl v0.5.5 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Compiling druid-derive v0.1.2 [INFO] [stderr] Checking failure v0.1.6 [INFO] [stderr] Checking rental v0.5.5 [INFO] [stderr] Checking fluent-bundle v0.9.1 [INFO] [stderr] Checking druid-shell v0.4.0 [INFO] [stderr] Checking druid v0.4.0 [INFO] [stderr] Checking pseudoinstall v0.0.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::um::winnt::TOKEN_QUERY; [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/main.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::um::handleapi::CloseHandle; [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/main.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::um::processthreadsapi::GetCurrentProcess; [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/main.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::processthreadsapi::OpenProcessToken; [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/main.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::um::securitybaseapi::GetTokenInformation; [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/main.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::um::winnt::TokenElevation; [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/main.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::um::winnt::HANDLE; [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/main.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use winapi::um::winnt::TOKEN_ELEVATION; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stdout] --> src/main.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::ctypes::c_void; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::os::windows` [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use std::os::windows; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use winapi::um::winnt::TOKEN_QUERY; [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/main.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::um::handleapi::CloseHandle; [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/main.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::um::processthreadsapi::GetCurrentProcess; [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/main.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::um::processthreadsapi::OpenProcessToken; [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/main.rs:10:13 [INFO] [stdout] | [INFO] [stdout] 10 | use winapi::um::securitybaseapi::GetTokenInformation; [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/main.rs:11:13 [INFO] [stdout] | [INFO] [stdout] 11 | use winapi::um::winnt::TokenElevation; [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/main.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | use winapi::um::winnt::HANDLE; [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/main.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use winapi::um::winnt::TOKEN_ELEVATION; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes` [INFO] [stdout] --> src/main.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::ctypes::c_void; [INFO] [stdout] | ^^^^^^ could not find `ctypes` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `std::os::windows` [INFO] [stdout] --> src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | use std::os::windows; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ no `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> src/main.rs:172:21 [INFO] [stdout] | [INFO] [stdout] 172 | let mut handle: HANDLE = null_mut(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenProcessToken` in this scope [INFO] [stdout] --> src/main.rs:173:14 [INFO] [stdout] | [INFO] [stdout] 173 | unsafe { OpenProcessToken(GetCurrentProcess(), TOKEN_QUERY, &mut handle) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCurrentProcess` in this scope [INFO] [stdout] --> src/main.rs:173:31 [INFO] [stdout] | [INFO] [stdout] 173 | unsafe { OpenProcessToken(GetCurrentProcess(), TOKEN_QUERY, &mut handle) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TOKEN_QUERY` in this scope [INFO] [stdout] --> src/main.rs:173:52 [INFO] [stdout] | [INFO] [stdout] 173 | unsafe { OpenProcessToken(GetCurrentProcess(), TOKEN_QUERY, &mut handle) }; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TOKEN_ELEVATION` in this scope [INFO] [stdout] --> src/main.rs:175:58 [INFO] [stdout] | [INFO] [stdout] 170 | fn check_admin() -> bool { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 175 | let elevation = unsafe { libc::malloc(mem::size_of::()) as *mut c_void }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TOKEN_ELEVATION` in this scope [INFO] [stdout] --> src/main.rs:176:36 [INFO] [stdout] | [INFO] [stdout] 170 | fn check_admin() -> bool { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 176 | let size = std::mem::size_of::() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetTokenInformation` in this scope [INFO] [stdout] --> src/main.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 179 | GetTokenInformation( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TokenElevation` in this scope [INFO] [stdout] --> src/main.rs:181:13 [INFO] [stdout] | [INFO] [stdout] 181 | TokenElevation, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TOKEN_ELEVATION` in this scope [INFO] [stdout] --> src/main.rs:187:27 [INFO] [stdout] | [INFO] [stdout] 187 | let elevation_struct: TOKEN_ELEVATION = unsafe{ *(elevation as *mut TOKEN_ELEVATION)}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TOKEN_ELEVATION` in this scope [INFO] [stdout] --> src/main.rs:187:73 [INFO] [stdout] | [INFO] [stdout] 187 | let elevation_struct: TOKEN_ELEVATION = unsafe{ *(elevation as *mut TOKEN_ELEVATION)}; [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:191:13 [INFO] [stdout] | [INFO] [stdout] 191 | CloseHandle(handle); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Application`, `UnitPoint` [INFO] [stdout] --> src/main.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | use druid::{Application, AppLauncher, Data, Lens, LensWrap, LocalizedString, UnitPoint, Widget, WindowDesc}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Align` [INFO] [stdout] --> src/main.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | use druid::widget::{Align, Button, Checkbox, Container, Flex, Label, Padding, WidgetExt}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 21 previous errors; 3 warnings emitted [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 `pseudoinstall` [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:172:21 [INFO] [stdout] | [INFO] [stdout] 172 | let mut handle: HANDLE = null_mut(); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenProcessToken` in this scope [INFO] [stdout] --> src/main.rs:173:14 [INFO] [stdout] | [INFO] [stdout] 173 | unsafe { OpenProcessToken(GetCurrentProcess(), TOKEN_QUERY, &mut handle) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetCurrentProcess` in this scope [INFO] [stdout] --> src/main.rs:173:31 [INFO] [stdout] | [INFO] [stdout] 173 | unsafe { OpenProcessToken(GetCurrentProcess(), TOKEN_QUERY, &mut handle) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TOKEN_QUERY` in this scope [INFO] [stdout] --> src/main.rs:173:52 [INFO] [stdout] | [INFO] [stdout] 173 | unsafe { OpenProcessToken(GetCurrentProcess(), TOKEN_QUERY, &mut handle) }; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TOKEN_ELEVATION` in this scope [INFO] [stdout] --> src/main.rs:175:58 [INFO] [stdout] | [INFO] [stdout] 170 | fn check_admin() -> bool { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 175 | let elevation = unsafe { libc::malloc(mem::size_of::()) as *mut c_void }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TOKEN_ELEVATION` in this scope [INFO] [stdout] --> src/main.rs:176:36 [INFO] [stdout] | [INFO] [stdout] 170 | fn check_admin() -> bool { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 176 | let size = std::mem::size_of::() as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetTokenInformation` in this scope [INFO] [stdout] --> src/main.rs:179:9 [INFO] [stdout] | [INFO] [stdout] 179 | GetTokenInformation( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TokenElevation` in this scope [INFO] [stdout] --> src/main.rs:181:13 [INFO] [stdout] | [INFO] [stdout] 181 | TokenElevation, [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TOKEN_ELEVATION` in this scope [INFO] [stdout] --> src/main.rs:187:27 [INFO] [stdout] | [INFO] [stdout] 187 | let elevation_struct: TOKEN_ELEVATION = unsafe{ *(elevation as *mut TOKEN_ELEVATION)}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TOKEN_ELEVATION` in this scope [INFO] [stdout] --> src/main.rs:187:73 [INFO] [stdout] | [INFO] [stdout] 187 | let elevation_struct: TOKEN_ELEVATION = unsafe{ *(elevation as *mut TOKEN_ELEVATION)}; [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:191:13 [INFO] [stdout] | [INFO] [stdout] 191 | CloseHandle(handle); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/main.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Application`, `UnitPoint` [INFO] [stdout] --> src/main.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | use druid::{Application, AppLauncher, Data, Lens, LensWrap, LocalizedString, UnitPoint, Widget, WindowDesc}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Align` [INFO] [stdout] --> src/main.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | use druid::widget::{Align, Button, Checkbox, Container, Flex, Label, Padding, WidgetExt}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 21 previous errors; 3 warnings emitted [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: build failed [INFO] running `Command { std: "docker" "inspect" "c8938348d536cfd26853f267ca6eddae555ce00b61e5e9d8e18ea3058644388a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c8938348d536cfd26853f267ca6eddae555ce00b61e5e9d8e18ea3058644388a", kill_on_drop: false }` [INFO] [stdout] c8938348d536cfd26853f267ca6eddae555ce00b61e5e9d8e18ea3058644388a