[INFO] cloning repository https://github.com/takubokudori/addenv-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/takubokudori/addenv-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftakubokudori%2Faddenv-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftakubokudori%2Faddenv-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 50815579f6e179957a2af33de76eb9d0e3ba8936 [INFO] checking takubokudori/addenv-rs against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftakubokudori%2Faddenv-rs" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/takubokudori/addenv-rs on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/takubokudori/addenv-rs [INFO] finished tweaking git repo https://github.com/takubokudori/addenv-rs [INFO] tweaked toml for git repo https://github.com/takubokudori/addenv-rs written to /workspace/builds/worker-1/source/Cargo.toml [INFO] crate git repo https://github.com/takubokudori/addenv-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f604379142ade6d35c0bee351c7946803de1498fb23c12cdc7dad3a755a81f98 [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" "f604379142ade6d35c0bee351c7946803de1498fb23c12cdc7dad3a755a81f98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f604379142ade6d35c0bee351c7946803de1498fb23c12cdc7dad3a755a81f98", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f604379142ade6d35c0bee351c7946803de1498fb23c12cdc7dad3a755a81f98", kill_on_drop: false }` [INFO] [stdout] f604379142ade6d35c0bee351c7946803de1498fb23c12cdc7dad3a755a81f98 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a4e58e3f91961f51a9f64be625e68e3059d435f83030a6428cf606ebe0f5d095 [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" "a4e58e3f91961f51a9f64be625e68e3059d435f83030a6428cf606ebe0f5d095", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling winapi v0.3.8 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking addenv v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::um::processenv::GetEnvironmentVariableA; [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:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::um::errhandlingapi::GetLastError; [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:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::um::winreg::{RegOpenKeyExA, HKEY_CURRENT_USER, HKEY_LOCAL_MACHINE, RegSetValueExA, RegCloseKey}; [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:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::shared::minwindef::HKEY; [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:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::um::winnt::{REG_SZ, KEY_QUERY_VALUE, KEY_ENUMERATE_SUB_KEYS, KEY_NOTIFY, KEY_WRITE}; [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:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::shared::winerror::{ERROR_ENVVAR_NOT_FOUND, ERROR_ACCESS_DENIED}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetEnvironmentVariableA` in this scope [INFO] [stdout] --> src/main.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 14 | let mut nb = GetEnvironmentVariableA(name.as_ptr() as *const i8, [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:17:23 [INFO] [stdout] | [INFO] [stdout] 17 | if nb == 0 && GetLastError() == ERROR_ENVVAR_NOT_FOUND { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ERROR_ENVVAR_NOT_FOUND` in this scope [INFO] [stdout] --> src/main.rs:17:41 [INFO] [stdout] | [INFO] [stdout] 17 | if nb == 0 && GetLastError() == ERROR_ENVVAR_NOT_FOUND { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetEnvironmentVariableA` in this scope [INFO] [stdout] --> src/main.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 24 | nb = GetEnvironmentVariableA(name.as_ptr() as *const i8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HKEY_LOCAL_MACHINE` in this scope [INFO] [stdout] --> src/main.rs:43:36 [INFO] [stdout] | [INFO] [stdout] 43 | let hkey_area = if is_system { HKEY_LOCAL_MACHINE } else { HKEY_CURRENT_USER }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HKEY_CURRENT_USER` in this scope [INFO] [stdout] --> src/main.rs:43:64 [INFO] [stdout] | [INFO] [stdout] 43 | let hkey_area = if is_system { HKEY_LOCAL_MACHINE } else { HKEY_CURRENT_USER }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HKEY` in this scope [INFO] [stdout] --> src/main.rs:45:24 [INFO] [stdout] | [INFO] [stdout] 37 | fn set_env_var(name: CString, value: CString, is_system: bool) -> Result<(), u32> { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 45 | let hkey: Cell = Cell::new(std::mem::zeroed()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegOpenKeyExA` in this scope [INFO] [stdout] --> src/main.rs:47:17 [INFO] [stdout] | [INFO] [stdout] 47 | let e = RegOpenKeyExA(hkey_area, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `KEY_QUERY_VALUE` in this scope [INFO] [stdout] --> src/main.rs:50:31 [INFO] [stdout] | [INFO] [stdout] 50 | ... KEY_QUERY_VALUE | KEY_ENUMERATE_SUB_KEYS | KEY_NOTIFY | KEY_WRITE, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `KEY_ENUMERATE_SUB_KEYS` in this scope [INFO] [stdout] --> src/main.rs:50:49 [INFO] [stdout] | [INFO] [stdout] 50 | ... KEY_QUERY_VALUE | KEY_ENUMERATE_SUB_KEYS | KEY_NOTIFY | KEY_WRITE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `KEY_NOTIFY` in this scope [INFO] [stdout] --> src/main.rs:50:74 [INFO] [stdout] | [INFO] [stdout] 50 | ... KEY_QUERY_VALUE | KEY_ENUMERATE_SUB_KEYS | KEY_NOTIFY | KEY_WRITE, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `KEY_WRITE` in this scope [INFO] [stdout] --> src/main.rs:50:87 [INFO] [stdout] | [INFO] [stdout] 50 | ... KEY_QUERY_VALUE | KEY_ENUMERATE_SUB_KEYS | KEY_NOTIFY | KEY_WRITE, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegSetValueExA` in this scope [INFO] [stdout] --> src/main.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | let e = RegSetValueExA(hkey.get(), [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REG_SZ` in this scope [INFO] [stdout] --> src/main.rs:57:32 [INFO] [stdout] | [INFO] [stdout] 57 | ... REG_SZ, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegCloseKey` in this scope [INFO] [stdout] --> src/main.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | RegCloseKey(hkey.get()); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> src/main.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use winapi::um::processenv::GetEnvironmentVariableA; [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:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use winapi::um::errhandlingapi::GetLastError; [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:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::um::winreg::{RegOpenKeyExA, HKEY_CURRENT_USER, HKEY_LOCAL_MACHINE, RegSetValueExA, RegCloseKey}; [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:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use winapi::shared::minwindef::HKEY; [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:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::um::winnt::{REG_SZ, KEY_QUERY_VALUE, KEY_ENUMERATE_SUB_KEYS, KEY_NOTIFY, KEY_WRITE}; [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:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use winapi::shared::winerror::{ERROR_ENVVAR_NOT_FOUND, ERROR_ACCESS_DENIED}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetEnvironmentVariableA` in this scope [INFO] [stdout] --> src/main.rs:14:22 [INFO] [stdout] | [INFO] [stdout] 14 | let mut nb = GetEnvironmentVariableA(name.as_ptr() as *const i8, [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:17:23 [INFO] [stdout] | [INFO] [stdout] 17 | if nb == 0 && GetLastError() == ERROR_ENVVAR_NOT_FOUND { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ERROR_ENVVAR_NOT_FOUND` in this scope [INFO] [stdout] --> src/main.rs:17:41 [INFO] [stdout] | [INFO] [stdout] 17 | if nb == 0 && GetLastError() == ERROR_ENVVAR_NOT_FOUND { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetEnvironmentVariableA` in this scope [INFO] [stdout] --> src/main.rs:24:18 [INFO] [stdout] | [INFO] [stdout] 24 | nb = GetEnvironmentVariableA(name.as_ptr() as *const i8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HKEY_LOCAL_MACHINE` in this scope [INFO] [stdout] --> src/main.rs:43:36 [INFO] [stdout] | [INFO] [stdout] 43 | let hkey_area = if is_system { HKEY_LOCAL_MACHINE } else { HKEY_CURRENT_USER }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HKEY_CURRENT_USER` in this scope [INFO] [stdout] --> src/main.rs:43:64 [INFO] [stdout] | [INFO] [stdout] 43 | let hkey_area = if is_system { HKEY_LOCAL_MACHINE } else { HKEY_CURRENT_USER }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HKEY` in this scope [INFO] [stdout] --> src/main.rs:45:24 [INFO] [stdout] | [INFO] [stdout] 37 | fn set_env_var(name: CString, value: CString, is_system: bool) -> Result<(), u32> { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 45 | let hkey: Cell = Cell::new(std::mem::zeroed()); [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegOpenKeyExA` in this scope [INFO] [stdout] --> src/main.rs:47:17 [INFO] [stdout] | [INFO] [stdout] 47 | let e = RegOpenKeyExA(hkey_area, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `KEY_QUERY_VALUE` in this scope [INFO] [stdout] --> src/main.rs:50:31 [INFO] [stdout] | [INFO] [stdout] 50 | ... KEY_QUERY_VALUE | KEY_ENUMERATE_SUB_KEYS | KEY_NOTIFY | KEY_WRITE, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `KEY_ENUMERATE_SUB_KEYS` in this scope [INFO] [stdout] --> src/main.rs:50:49 [INFO] [stdout] | [INFO] [stdout] 50 | ... KEY_QUERY_VALUE | KEY_ENUMERATE_SUB_KEYS | KEY_NOTIFY | KEY_WRITE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `KEY_NOTIFY` in this scope [INFO] [stdout] --> src/main.rs:50:74 [INFO] [stdout] | [INFO] [stdout] 50 | ... KEY_QUERY_VALUE | KEY_ENUMERATE_SUB_KEYS | KEY_NOTIFY | KEY_WRITE, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `KEY_WRITE` in this scope [INFO] [stdout] --> src/main.rs:50:87 [INFO] [stdout] | [INFO] [stdout] 50 | ... KEY_QUERY_VALUE | KEY_ENUMERATE_SUB_KEYS | KEY_NOTIFY | KEY_WRITE, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegSetValueExA` in this scope [INFO] [stdout] --> src/main.rs:54:17 [INFO] [stdout] | [INFO] [stdout] 54 | let e = RegSetValueExA(hkey.get(), [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REG_SZ` in this scope [INFO] [stdout] --> src/main.rs:57:32 [INFO] [stdout] | [INFO] [stdout] 57 | ... REG_SZ, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegCloseKey` in this scope [INFO] [stdout] --> src/main.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | RegCloseKey(hkey.get()); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `addenv` [INFO] [stdout] error: aborting due to 21 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433. [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: aborting due to 21 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" "a4e58e3f91961f51a9f64be625e68e3059d435f83030a6428cf606ebe0f5d095", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a4e58e3f91961f51a9f64be625e68e3059d435f83030a6428cf606ebe0f5d095", kill_on_drop: false }` [INFO] [stdout] a4e58e3f91961f51a9f64be625e68e3059d435f83030a6428cf606ebe0f5d095