[INFO] cloning repository https://github.com/ZakisM/regedit_rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ZakisM/regedit_rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZakisM%2Fregedit_rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZakisM%2Fregedit_rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 44518b5c7c25f455d12973fa903d05ae1fccfc93 [INFO] checking ZakisM/regedit_rust against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FZakisM%2Fregedit_rust" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ZakisM/regedit_rust 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] started tweaking git repo https://github.com/ZakisM/regedit_rust [INFO] finished tweaking git repo https://github.com/ZakisM/regedit_rust [INFO] tweaked toml for git repo https://github.com/ZakisM/regedit_rust written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/ZakisM/regedit_rust 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-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 663a91147cf2954683d94608fe28147def790134da2989f5a4613418a6ea3afc [INFO] running `Command { std: "docker" "start" "-a" "663a91147cf2954683d94608fe28147def790134da2989f5a4613418a6ea3afc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "663a91147cf2954683d94608fe28147def790134da2989f5a4613418a6ea3afc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "663a91147cf2954683d94608fe28147def790134da2989f5a4613418a6ea3afc", kill_on_drop: false }` [INFO] [stdout] 663a91147cf2954683d94608fe28147def790134da2989f5a4613418a6ea3afc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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] [stdout] 4abab9c11ba0fc5f902193516f66f429289d3163356d13dfc8fe1006972ddd71 [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" "4abab9c11ba0fc5f902193516f66f429289d3163356d13dfc8fe1006972ddd71", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.42 [INFO] [stderr] Compiling serde_derive v1.0.116 [INFO] [stderr] Compiling serde v1.0.116 [INFO] [stderr] Checking linked-hash-map v0.5.3 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking dtoa v0.4.6 [INFO] [stderr] Checking yaml-rust v0.4.4 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking serde_yaml v0.8.13 [INFO] [stderr] Checking regedit_rust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/config.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/config.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::um::winreg::{ [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/registry_handler.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::um::winnt::{ [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/registry_handler.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::um::winreg::{RegOpenKeyExW, RegQueryValueExW, RegSetValueExW}; [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/registry_value.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::um::winnt::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/util.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use std::os::windows::ffi::OsStrExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/config.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/config.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use winapi::um::winreg::{ [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/registry_handler.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::um::winnt::{ [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/registry_handler.rs:8:13 [INFO] [stdout] | [INFO] [stdout] 8 | use winapi::um::winreg::{RegOpenKeyExW, RegQueryValueExW, RegSetValueExW}; [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/registry_value.rs:4:13 [INFO] [stdout] | [INFO] [stdout] 4 | use winapi::um::winnt::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/util.rs:2:14 [INFO] [stdout] | [INFO] [stdout] 2 | use std::os::windows::ffi::OsStrExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> src/registry_handler.rs:118:26 [INFO] [stdout] | [INFO] [stdout] 118 | ) -> Result<*mut winapi::shared::minwindef::HKEY__> { [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `REG_EXPAND_SZ` is not bound in all patterns [INFO] [stdout] --> src/registry_value.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | REG_SZ | REG_EXPAND_SZ | REG_MULTI_SZ | REG_LINK => { [INFO] [stdout] | ^^^^^^ ------------- ^^^^^^^^^^^^ ^^^^^^^^ pattern doesn't bind `REG_EXPAND_SZ` [INFO] [stdout] | | | | [INFO] [stdout] | | | pattern doesn't bind `REG_EXPAND_SZ` [INFO] [stdout] | | variable not in all patterns [INFO] [stdout] | pattern doesn't bind `REG_EXPAND_SZ` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::REG_EXPAND_SZ` [INFO] [stdout] --> src/registry_value.rs:49:22 [INFO] [stdout] | [INFO] [stdout] 49 | REG_SZ | REG_EXPAND_SZ | REG_MULTI_SZ | REG_LINK => { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `REG_LINK` is not bound in all patterns [INFO] [stdout] --> src/registry_value.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | REG_SZ | REG_EXPAND_SZ | REG_MULTI_SZ | REG_LINK => { [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^ -------- variable not in all patterns [INFO] [stdout] | | | | [INFO] [stdout] | | | pattern doesn't bind `REG_LINK` [INFO] [stdout] | | pattern doesn't bind `REG_LINK` [INFO] [stdout] | pattern doesn't bind `REG_LINK` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::REG_LINK` [INFO] [stdout] --> src/registry_value.rs:49:53 [INFO] [stdout] | [INFO] [stdout] 49 | REG_SZ | REG_EXPAND_SZ | REG_MULTI_SZ | REG_LINK => { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `REG_MULTI_SZ` is not bound in all patterns [INFO] [stdout] --> src/registry_value.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | REG_SZ | REG_EXPAND_SZ | REG_MULTI_SZ | REG_LINK => { [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ ------------ ^^^^^^^^ pattern doesn't bind `REG_MULTI_SZ` [INFO] [stdout] | | | | [INFO] [stdout] | | | variable not in all patterns [INFO] [stdout] | | pattern doesn't bind `REG_MULTI_SZ` [INFO] [stdout] | pattern doesn't bind `REG_MULTI_SZ` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::REG_MULTI_SZ` [INFO] [stdout] --> src/registry_value.rs:49:38 [INFO] [stdout] | [INFO] [stdout] 49 | REG_SZ | REG_EXPAND_SZ | REG_MULTI_SZ | REG_LINK => { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `REG_SZ` is not bound in all patterns [INFO] [stdout] --> src/registry_value.rs:49:22 [INFO] [stdout] | [INFO] [stdout] 49 | REG_SZ | REG_EXPAND_SZ | REG_MULTI_SZ | REG_LINK => { [INFO] [stdout] | ------ ^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^ pattern doesn't bind `REG_SZ` [INFO] [stdout] | | | | [INFO] [stdout] | | | pattern doesn't bind `REG_SZ` [INFO] [stdout] | | pattern doesn't bind `REG_SZ` [INFO] [stdout] | variable not in all patterns [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::REG_SZ` [INFO] [stdout] --> src/registry_value.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | REG_SZ | REG_EXPAND_SZ | REG_MULTI_SZ | REG_LINK => { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HKEY` in this scope [INFO] [stdout] --> src/config.rs:106:28 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn value(&self) -> HKEY { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HKEY_CLASSES_ROOT` in this scope [INFO] [stdout] --> src/config.rs:108:49 [INFO] [stdout] | [INFO] [stdout] 108 | RegistryKeyType::HkeyClassesRoot => HKEY_CLASSES_ROOT, [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/config.rs:109:49 [INFO] [stdout] | [INFO] [stdout] 109 | RegistryKeyType::HkeyCurrentUser => HKEY_CURRENT_USER, [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/config.rs:110:50 [INFO] [stdout] | [INFO] [stdout] 110 | RegistryKeyType::HkeyLocalMachine => HKEY_LOCAL_MACHINE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HKEY_USERS` in this scope [INFO] [stdout] --> src/config.rs:111:43 [INFO] [stdout] | [INFO] [stdout] 111 | RegistryKeyType::HkeyUsers => HKEY_USERS, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HKEY_CURRENT_CONFIG` in this scope [INFO] [stdout] --> src/config.rs:112:51 [INFO] [stdout] | [INFO] [stdout] 112 | RegistryKeyType::HkeyCurrentConfig => HKEY_CURRENT_CONFIG, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `KEY_READ` in this scope [INFO] [stdout] --> src/registry_handler.rs:21:79 [INFO] [stdout] | [INFO] [stdout] 21 | let hkey_handle = open_registry_key(registry_key_type, registry_key_name, KEY_READ)?; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegQueryValueExW` in this scope [INFO] [stdout] --> src/registry_handler.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | RegQueryValueExW( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegQueryValueExW` in this scope [INFO] [stdout] --> src/registry_handler.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | RegQueryValueExW( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `KEY_SET_VALUE` in this scope [INFO] [stdout] --> src/registry_handler.rs:90:79 [INFO] [stdout] | [INFO] [stdout] 90 | let hkey_handle = open_registry_key(registry_key_type, registry_key_name, KEY_SET_VALUE)?; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegSetValueExW` in this scope [INFO] [stdout] --> src/registry_handler.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | RegSetValueExW( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegOpenKeyExW` in this scope [INFO] [stdout] --> src/registry_handler.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | RegOpenKeyExW( [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REG_BINARY` in this scope [INFO] [stdout] --> src/registry_value.rs:100:41 [INFO] [stdout] | [INFO] [stdout] 100 | RegistryValue::Binary(_) => REG_BINARY, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REG_DWORD` in this scope [INFO] [stdout] --> src/registry_value.rs:101:40 [INFO] [stdout] | [INFO] [stdout] 101 | RegistryValue::Dword(_) => REG_DWORD, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REG_DWORD_BIG_ENDIAN` in this scope [INFO] [stdout] --> src/registry_value.rs:102:42 [INFO] [stdout] | [INFO] [stdout] 102 | RegistryValue::DwordBE(_) => REG_DWORD_BIG_ENDIAN, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REG_EXPAND_SZ` in this scope [INFO] [stdout] --> src/registry_value.rs:103:43 [INFO] [stdout] | [INFO] [stdout] 103 | RegistryValue::ExpandSz(_) => REG_EXPAND_SZ, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REG_LINK` in this scope [INFO] [stdout] --> src/registry_value.rs:104:39 [INFO] [stdout] | [INFO] [stdout] 104 | RegistryValue::Link(_) => REG_LINK, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REG_MULTI_SZ` in this scope [INFO] [stdout] --> src/registry_value.rs:105:42 [INFO] [stdout] | [INFO] [stdout] 105 | RegistryValue::MultiSz(_) => REG_MULTI_SZ, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REG_NONE` in this scope [INFO] [stdout] --> src/registry_value.rs:106:39 [INFO] [stdout] | [INFO] [stdout] 106 | RegistryValue::None(_) => REG_NONE, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REG_QWORD` in this scope [INFO] [stdout] --> src/registry_value.rs:107:40 [INFO] [stdout] | [INFO] [stdout] 107 | RegistryValue::Qword(_) => REG_QWORD, [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/registry_value.rs:108:37 [INFO] [stdout] | [INFO] [stdout] 108 | RegistryValue::Sz(_) => REG_SZ, [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/registry_handler.rs:118:26 [INFO] [stdout] | [INFO] [stdout] 118 | ) -> Result<*mut winapi::shared::minwindef::HKEY__> { [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `REG_EXPAND_SZ` is not bound in all patterns [INFO] [stdout] --> src/registry_value.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | REG_SZ | REG_EXPAND_SZ | REG_MULTI_SZ | REG_LINK => { [INFO] [stdout] | ^^^^^^ ------------- ^^^^^^^^^^^^ ^^^^^^^^ pattern doesn't bind `REG_EXPAND_SZ` [INFO] [stdout] | | | | [INFO] [stdout] | | | pattern doesn't bind `REG_EXPAND_SZ` [INFO] [stdout] | | variable not in all patterns [INFO] [stdout] | pattern doesn't bind `REG_EXPAND_SZ` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::REG_EXPAND_SZ` [INFO] [stdout] --> src/registry_value.rs:49:22 [INFO] [stdout] | [INFO] [stdout] 49 | REG_SZ | REG_EXPAND_SZ | REG_MULTI_SZ | REG_LINK => { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `REG_LINK` is not bound in all patterns [INFO] [stdout] --> src/registry_value.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | REG_SZ | REG_EXPAND_SZ | REG_MULTI_SZ | REG_LINK => { [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^^^ -------- variable not in all patterns [INFO] [stdout] | | | | [INFO] [stdout] | | | pattern doesn't bind `REG_LINK` [INFO] [stdout] | | pattern doesn't bind `REG_LINK` [INFO] [stdout] | pattern doesn't bind `REG_LINK` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::REG_LINK` [INFO] [stdout] --> src/registry_value.rs:49:53 [INFO] [stdout] | [INFO] [stdout] 49 | REG_SZ | REG_EXPAND_SZ | REG_MULTI_SZ | REG_LINK => { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `REG_MULTI_SZ` is not bound in all patterns [INFO] [stdout] --> src/registry_value.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | REG_SZ | REG_EXPAND_SZ | REG_MULTI_SZ | REG_LINK => { [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ ------------ ^^^^^^^^ pattern doesn't bind `REG_MULTI_SZ` [INFO] [stdout] | | | | [INFO] [stdout] | | | variable not in all patterns [INFO] [stdout] | | pattern doesn't bind `REG_MULTI_SZ` [INFO] [stdout] | pattern doesn't bind `REG_MULTI_SZ` [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::REG_MULTI_SZ` [INFO] [stdout] --> src/registry_value.rs:49:38 [INFO] [stdout] | [INFO] [stdout] 49 | REG_SZ | REG_EXPAND_SZ | REG_MULTI_SZ | REG_LINK => { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0408]: variable `REG_SZ` is not bound in all patterns [INFO] [stdout] --> src/registry_value.rs:49:22 [INFO] [stdout] | [INFO] [stdout] 49 | REG_SZ | REG_EXPAND_SZ | REG_MULTI_SZ | REG_LINK => { [INFO] [stdout] | ------ ^^^^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^ pattern doesn't bind `REG_SZ` [INFO] [stdout] | | | | [INFO] [stdout] | | | pattern doesn't bind `REG_SZ` [INFO] [stdout] | | pattern doesn't bind `REG_SZ` [INFO] [stdout] | variable not in all patterns [INFO] [stdout] | [INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `?::REG_SZ` [INFO] [stdout] --> src/registry_value.rs:49:13 [INFO] [stdout] | [INFO] [stdout] 49 | REG_SZ | REG_EXPAND_SZ | REG_MULTI_SZ | REG_LINK => { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HKEY` in this scope [INFO] [stdout] --> src/config.rs:106:28 [INFO] [stdout] | [INFO] [stdout] 106 | pub fn value(&self) -> HKEY { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HKEY_CLASSES_ROOT` in this scope [INFO] [stdout] --> src/config.rs:108:49 [INFO] [stdout] | [INFO] [stdout] 108 | RegistryKeyType::HkeyClassesRoot => HKEY_CLASSES_ROOT, [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/config.rs:109:49 [INFO] [stdout] | [INFO] [stdout] 109 | RegistryKeyType::HkeyCurrentUser => HKEY_CURRENT_USER, [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/config.rs:110:50 [INFO] [stdout] | [INFO] [stdout] 110 | RegistryKeyType::HkeyLocalMachine => HKEY_LOCAL_MACHINE, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HKEY_USERS` in this scope [INFO] [stdout] --> src/config.rs:111:43 [INFO] [stdout] | [INFO] [stdout] 111 | RegistryKeyType::HkeyUsers => HKEY_USERS, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `HKEY_CURRENT_CONFIG` in this scope [INFO] [stdout] --> src/config.rs:112:51 [INFO] [stdout] | [INFO] [stdout] 112 | RegistryKeyType::HkeyCurrentConfig => HKEY_CURRENT_CONFIG, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `KEY_READ` in this scope [INFO] [stdout] --> src/registry_handler.rs:21:79 [INFO] [stdout] | [INFO] [stdout] 21 | let hkey_handle = open_registry_key(registry_key_type, registry_key_name, KEY_READ)?; [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegQueryValueExW` in this scope [INFO] [stdout] --> src/registry_handler.rs:29:9 [INFO] [stdout] | [INFO] [stdout] 29 | RegQueryValueExW( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegQueryValueExW` in this scope [INFO] [stdout] --> src/registry_handler.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | RegQueryValueExW( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `KEY_SET_VALUE` in this scope [INFO] [stdout] --> src/registry_handler.rs:90:79 [INFO] [stdout] | [INFO] [stdout] 90 | let hkey_handle = open_registry_key(registry_key_type, registry_key_name, KEY_SET_VALUE)?; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegSetValueExW` in this scope [INFO] [stdout] --> src/registry_handler.rs:95:9 [INFO] [stdout] | [INFO] [stdout] 95 | RegSetValueExW( [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegOpenKeyExW` in this scope [INFO] [stdout] --> src/registry_handler.rs:124:9 [INFO] [stdout] | [INFO] [stdout] 124 | RegOpenKeyExW( [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REG_BINARY` in this scope [INFO] [stdout] --> src/registry_value.rs:100:41 [INFO] [stdout] | [INFO] [stdout] 100 | RegistryValue::Binary(_) => REG_BINARY, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REG_DWORD` in this scope [INFO] [stdout] --> src/registry_value.rs:101:40 [INFO] [stdout] | [INFO] [stdout] 101 | RegistryValue::Dword(_) => REG_DWORD, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REG_DWORD_BIG_ENDIAN` in this scope [INFO] [stdout] --> src/registry_value.rs:102:42 [INFO] [stdout] | [INFO] [stdout] 102 | RegistryValue::DwordBE(_) => REG_DWORD_BIG_ENDIAN, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REG_EXPAND_SZ` in this scope [INFO] [stdout] --> src/registry_value.rs:103:43 [INFO] [stdout] | [INFO] [stdout] 103 | RegistryValue::ExpandSz(_) => REG_EXPAND_SZ, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REG_LINK` in this scope [INFO] [stdout] --> src/registry_value.rs:104:39 [INFO] [stdout] | [INFO] [stdout] 104 | RegistryValue::Link(_) => REG_LINK, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REG_MULTI_SZ` in this scope [INFO] [stdout] --> src/registry_value.rs:105:42 [INFO] [stdout] | [INFO] [stdout] 105 | RegistryValue::MultiSz(_) => REG_MULTI_SZ, [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REG_NONE` in this scope [INFO] [stdout] --> src/registry_value.rs:106:39 [INFO] [stdout] | [INFO] [stdout] 106 | RegistryValue::None(_) => REG_NONE, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `REG_QWORD` in this scope [INFO] [stdout] --> src/registry_value.rs:107:40 [INFO] [stdout] | [INFO] [stdout] 107 | RegistryValue::Qword(_) => REG_QWORD, [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/registry_value.rs:108:37 [INFO] [stdout] | [INFO] [stdout] 108 | RegistryValue::Sz(_) => REG_SZ, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/util.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | .encode_wide() [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/util.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | .encode_wide() [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 33 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 33 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0408, E0412, E0425, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0408`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0408, E0412, E0425, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0408`. [INFO] [stdout] [INFO] [stderr] error: could not compile `regedit_rust` [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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "4abab9c11ba0fc5f902193516f66f429289d3163356d13dfc8fe1006972ddd71", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4abab9c11ba0fc5f902193516f66f429289d3163356d13dfc8fe1006972ddd71", kill_on_drop: false }` [INFO] [stdout] 4abab9c11ba0fc5f902193516f66f429289d3163356d13dfc8fe1006972ddd71