[INFO] cloning repository https://github.com/ratijas/windows-rust-counters
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ratijas/windows-rust-counters" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fratijas%2Fwindows-rust-counters", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fratijas%2Fwindows-rust-counters'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 936fa7fca2c1f76b970d1c4131087650c17e36fa
[INFO] checking ratijas/windows-rust-counters against try#1f5783cbeb5da8b38566d718631d016891e9c912 for pr-142704
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fratijas%2Fwindows-rust-counters" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/ratijas/windows-rust-counters on toolchain 1f5783cbeb5da8b38566d718631d016891e9c912
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f5783cbeb5da8b38566d718631d016891e9c912" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/ratijas/windows-rust-counters
[INFO] finished tweaking git repo https://github.com/ratijas/windows-rust-counters
[INFO] tweaked toml for git repo https://github.com/ratijas/windows-rust-counters written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/ratijas/windows-rust-counters already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1f5783cbeb5da8b38566d718631d016891e9c912" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded utfx v0.1.0
[INFO] [stderr]   Downloaded eventlog v0.3.0
[INFO] [stderr]   Downloaded RustyXML v0.3.0
[INFO] [stderr]   Downloaded registry v1.3.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+1f5783cbeb5da8b38566d718631d016891e9c912" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b33929bd91d82778b7c0580368d66eeb0b7d71b9f36e8a043da2ef6b526ab555
[INFO] running `Command { std: "docker" "start" "-a" "b33929bd91d82778b7c0580368d66eeb0b7d71b9f36e8a043da2ef6b526ab555", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b33929bd91d82778b7c0580368d66eeb0b7d71b9f36e8a043da2ef6b526ab555", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b33929bd91d82778b7c0580368d66eeb0b7d71b9f36e8a043da2ef6b526ab555", kill_on_drop: false }`
[INFO] [stdout] b33929bd91d82778b7c0580368d66eeb0b7d71b9f36e8a043da2ef6b526ab555
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/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" "RUSTDOCFLAGS=--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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+1f5783cbeb5da8b38566d718631d016891e9c912" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a4bee11945b112987255ea6f4a2ac9403eafefcf3b78e78838696603968afe79
[INFO] running `Command { std: "docker" "start" "-a" "a4bee11945b112987255ea6f4a2ac9403eafefcf3b78e78838696603968afe79", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.95
[INFO] [stderr]    Compiling unicode-ident v1.0.18
[INFO] [stderr]    Compiling libc v0.2.172
[INFO] [stderr]    Compiling autocfg v1.4.0
[INFO] [stderr]     Checking smallvec v1.15.0
[INFO] [stderr]     Checking log v0.4.27
[INFO] [stderr]    Compiling parking_lot_core v0.9.10
[INFO] [stderr]     Checking signal-flow v0.1.0 (/opt/rustwide/workdir/signal-flow)
[INFO] [stderr]     Checking scopeguard v1.2.0
[INFO] [stderr]     Checking bitflags v2.9.0
[INFO] [stderr]     Checking itoa v1.0.15
[INFO] [stderr]     Checking futures-core v0.3.31
[INFO] [stderr]     Checking stable_deref_trait v1.2.0
[INFO] [stderr]     Checking bytes v1.10.1
[INFO] [stderr]     Checking pin-project-lite v0.2.16
[INFO] [stderr]     Checking equivalent v1.0.2
[INFO] [stderr]     Checking allocator-api2 v0.2.21
[INFO] [stderr]    Compiling shlex v1.3.0
[INFO] [stderr]     Checking foldhash v0.1.5
[INFO] [stderr]     Checking once_cell v1.21.3
[INFO] [stderr]    Compiling vcpkg v0.2.15
[INFO] [stderr]    Compiling pkg-config v0.3.32
[INFO] [stderr]    Compiling typenum v1.18.0
[INFO] [stderr]    Compiling version_check v0.9.5
[INFO] [stderr]     Checking memchr v2.7.4
[INFO] [stderr]    Compiling icu_locid_transform_data v1.5.1
[INFO] [stderr]    Compiling serde v1.0.219
[INFO] [stderr]    Compiling cc v1.2.21
[INFO] [stderr]     Checking morse-stream v0.1.0 (/opt/rustwide/workdir/morse-stream)
[INFO] [stderr]     Checking litemap v0.7.5
[INFO] [stderr]    Compiling lock_api v0.4.12
[INFO] [stderr]    Compiling slab v0.4.9
[INFO] [stderr]     Checking writeable v0.5.5
[INFO] [stderr]     Checking futures-sink v0.3.31
[INFO] [stderr]     Checking hashbrown v0.15.3
[INFO] [stderr]    Compiling generic-array v0.14.7
[INFO] [stderr]    Compiling windows_x86_64_gnu v0.52.6
[INFO] [stderr]     Checking fnv v1.0.7
[INFO] [stderr]    Compiling icu_properties_data v1.5.1
[INFO] [stderr]    Compiling icu_normalizer_data v1.5.1
[INFO] [stderr]     Checking http v1.3.1
[INFO] [stderr]    Compiling regex-syntax v0.8.5
[INFO] [stderr]     Checking widestring v1.2.0
[INFO] [stderr]     Checking ryu v1.0.20
[INFO] [stderr]    Compiling rustversion v1.0.20
[INFO] [stderr]     Checking windows-targets v0.52.6
[INFO] [stderr]     Checking tracing-core v0.1.33
[INFO] [stderr]     Checking either v1.15.0
[INFO] [stderr]    Compiling quote v1.0.40
[INFO] [stderr]     Checking foreign-types-shared v0.1.1
[INFO] [stderr]    Compiling signal-hook v0.3.17
[INFO] [stderr]    Compiling httparse v1.10.1
[INFO] [stderr]    Compiling syn v2.0.101
[INFO] [stderr]     Checking futures-io v0.3.31
[INFO] [stderr]     Checking futures-task v0.3.31
[INFO] [stderr]    Compiling openssl v0.10.72
[INFO] [stderr]     Checking indexmap v2.9.0
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]     Checking foreign-types v0.3.2
[INFO] [stderr]     Checking windows-result v0.2.0
[INFO] [stderr]    Compiling ident_case v1.0.1
[INFO] [stderr]     Checking try-lock v0.2.5
[INFO] [stderr]    Compiling aho-corasick v1.1.3
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking write16 v1.0.0
[INFO] [stderr]    Compiling native-tls v0.2.14
[INFO] [stderr]     Checking utf8_iter v1.0.4
[INFO] [stderr]     Checking atomic-waker v1.1.2
[INFO] [stderr]    Compiling strsim v0.11.1
[INFO] [stderr]     Checking http-body v1.0.1
[INFO] [stderr]     Checking utf16_iter v1.0.5
[INFO] [stderr]     Checking windows-strings v0.1.0
[INFO] [stderr]     Checking want v0.3.1
[INFO] [stderr]     Checking futures-channel v0.3.31
[INFO] [stderr]    Compiling rustix v0.38.44
[INFO] [stderr]    Compiling thiserror v1.0.69
[INFO] [stderr]    Compiling cpufeatures v0.2.17
[INFO] [stderr]     Checking percent-encoding v2.3.1
[INFO] [stderr]     Checking openssl-probe v0.1.6
[INFO] [stderr]     Checking tower-service v0.3.3
[INFO] [stderr]    Compiling unicode-segmentation v1.12.0
[INFO] [stderr]     Checking form_urlencoded v1.2.1
[INFO] [stderr]     Checking signal-hook-registry v1.4.5
[INFO] [stderr]     Checking mio v1.0.3
[INFO] [stderr]     Checking socket2 v0.5.9
[INFO] [stderr]     Checking examples v0.1.0 (/opt/rustwide/workdir/examples)
[INFO] [stderr]    Compiling paste v1.0.15
[INFO] [stderr]    Compiling heck v0.5.0
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]    Compiling serde_json v1.0.140
[INFO] [stderr]    Compiling rustix v1.0.7
[INFO] [stderr]     Checking lazy_static v1.5.0
[INFO] [stderr]     Checking linux-raw-sys v0.4.15
[INFO] [stderr]     Checking castaway v0.2.3
[INFO] [stderr]     Checking http-body-util v0.1.3
[INFO] [stderr]     Checking itertools v0.13.0
[INFO] [stderr]     Checking sync_wrapper v1.0.2
[INFO] [stderr]    Compiling convert_case v0.7.1
[INFO] [stderr]    Compiling litrs v0.4.1
[INFO] [stderr]     Checking utfx v0.1.0
[INFO] [stderr]     Checking figlet-rs v0.1.5
[INFO] [stderr]     Checking tower-layer v0.3.3
[INFO] [stderr]     Checking signal-hook-mio v0.2.4
[INFO] [stderr]    Compiling block-buffer v0.10.4
[INFO] [stderr]    Compiling crypto-common v0.1.6
[INFO] [stderr]     Checking unicode-width v0.1.14
[INFO] [stderr]     Checking bitflags v1.3.2
[INFO] [stderr]    Compiling cargo-emit v0.2.1
[INFO] [stderr]    Compiling path-slash v0.2.1
[INFO] [stderr]     Checking rustls-pki-types v1.11.0
[INFO] [stderr]    Compiling openssl-sys v0.9.108
[INFO] [stderr]    Compiling digest v0.10.7
[INFO] [stderr]     Checking linux-raw-sys v0.9.4
[INFO] [stderr]    Compiling indoc v2.0.6
[INFO] [stderr]    Compiling argh_shared v0.1.13
[INFO] [stderr]     Checking static_assertions v1.1.0
[INFO] [stderr]     Checking compact_str v0.8.1
[INFO] [stderr]     Checking lru v0.12.5
[INFO] [stderr]    Compiling document-features v0.2.11
[INFO] [stderr]    Compiling sha2 v0.10.9
[INFO] [stderr]     Checking rustls-pemfile v2.2.0
[INFO] [stderr]     Checking encoding_rs v0.8.35
[INFO] [stderr]     Checking cassowary v0.3.0
[INFO] [stderr]     Checking rust-fuzzy-search v0.1.1
[INFO] [stderr]     Checking base64 v0.22.1
[INFO] [stderr]     Checking ipnet v2.11.0
[INFO] [stderr]     Checking unicode-width v0.2.0
[INFO] [stderr]     Checking mime v0.3.17
[INFO] [stderr]     Checking itertools v0.14.0
[INFO] [stderr]     Checking nom v8.0.0
[INFO] [stderr]     Checking RustyXML v0.3.0
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `windows`
[INFO] [stdout]  --> examples/examples/get_cmd_line.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use windows::Win32::System::Environment::*;
[INFO] [stdout]   |     ^^^^^^^ use of unresolved module or unlinked crate `windows`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `windows`, use `cargo add windows` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `windows_core`
[INFO] [stdout]  --> examples/examples/get_cmd_line.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use windows_core::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^ use of unresolved module or unlinked crate `windows_core`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `windows_core`, use `cargo add windows_core` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `examples` (example "get_cmd_line") due to 2 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `win_high`
[INFO] [stdout]  --> examples/examples/retrieve_values.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | use win_high::perf::{consume::*, nom::*, types::*, values::*};
[INFO] [stdout]   |     ^^^^^^^^ use of unresolved module or unlinked crate `win_high`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `win_high`, use `cargo add win_high` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `win_high`
[INFO] [stdout]  --> examples/examples/retrieve_values.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use win_high::prelude::v2::*;
[INFO] [stdout]   |     ^^^^^^^^ use of unresolved module or unlinked crate `win_high`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `win_high`, use `cargo add win_high` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `win_high::perf::consume::*`, `win_high::perf::nom::*`, `win_high::perf::types::*`, `win_high::perf::values::*`, `win_high::prelude::v2::*`
[INFO] [stdout]  --> examples/examples/retrieve_values.rs:4:22
[INFO] [stdout]   |
[INFO] [stdout] 4 | use win_high::perf::{consume::*, nom::*, types::*, values::*};
[INFO] [stdout]   |                      ^^^^^^^^^^  ^^^^^^  ^^^^^^^^  ^^^^^^^^^
[INFO] [stdout] 5 | use win_high::prelude::v2::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `win_high`
[INFO] [stdout]  --> examples/examples/drop_handle.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use win_high::prelude::v2::*;
[INFO] [stdout]   |     ^^^^^^^^ use of unresolved module or unlinked crate `win_high`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `win_high`, use `cargo add win_high` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `win_high`
[INFO] [stdout]  --> examples/examples/retrieve_names.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use win_high::perf::consume::*;
[INFO] [stdout]   |     ^^^^^^^^ use of unresolved module or unlinked crate `win_high`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `win_high`, use `cargo add win_high` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `win_high`
[INFO] [stdout]  --> examples/examples/retrieve_names.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | use win_high::prelude::v2::*;
[INFO] [stdout]   |     ^^^^^^^^ use of unresolved module or unlinked crate `win_high`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `win_high`, use `cargo add win_high` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `win_low`
[INFO] [stdout]  --> examples/examples/retrieve_names.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | use win_low::um::winnt::MAKELANGID;
[INFO] [stdout]   |     ^^^^^^^ use of unresolved module or unlinked crate `win_low`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `win_low`, use `cargo add win_low` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `win_high::perf::consume::*`, `win_high::prelude::v2::*`, `win_low::um::winnt::MAKELANGID`
[INFO] [stdout]  --> examples/examples/retrieve_names.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use win_high::perf::consume::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 2 | use win_high::prelude::v2::*;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 3 | use win_low::um::winnt::MAKELANGID;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `HKEY_PERFORMANCE_DATA` in this scope
[INFO] [stdout]  --> examples/examples/drop_handle.rs:4:52
[INFO] [stdout]   |
[INFO] [stdout] 4 |     match RegConnectRegistryW_Safe(PCWSTR::null(), HKEY_PERFORMANCE_DATA) {
[INFO] [stdout]   |                                                    ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PCWSTR`
[INFO] [stdout]  --> examples/examples/drop_handle.rs:4:36
[INFO] [stdout]   |
[INFO] [stdout] 4 |     match RegConnectRegistryW_Safe(PCWSTR::null(), HKEY_PERFORMANCE_DATA) {
[INFO] [stdout]   |                                    ^^^^^^ use of undeclared type `PCWSTR`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegConnectRegistryW_Safe` in this scope
[INFO] [stdout]  --> examples/examples/drop_handle.rs:4:11
[INFO] [stdout]   |
[INFO] [stdout] 4 |     match RegConnectRegistryW_Safe(PCWSTR::null(), HKEY_PERFORMANCE_DATA) {
[INFO] [stdout]   |           ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `examples` (example "drop_handle") due to 4 previous errors
[INFO] [stdout] error[E0412]: cannot find type `PERF_DATA_BLOCK` in this scope
[INFO] [stdout]   --> examples/examples/retrieve_values.rs:10:20
[INFO] [stdout]    |
[INFO] [stdout] 10 |         align_of::<PERF_DATA_BLOCK>()
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PERF_OBJECT_TYPE` in this scope
[INFO] [stdout]   --> examples/examples/retrieve_values.rs:14:20
[INFO] [stdout]    |
[INFO] [stdout] 14 |         align_of::<PERF_OBJECT_TYPE>()
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PERF_INSTANCE_DEFINITION` in this scope
[INFO] [stdout]   --> examples/examples/retrieve_values.rs:18:20
[INFO] [stdout]    |
[INFO] [stdout] 18 |         align_of::<PERF_INSTANCE_DEFINITION>()
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PERF_COUNTER_DEFINITION` in this scope
[INFO] [stdout]   --> examples/examples/retrieve_values.rs:22:20
[INFO] [stdout]    |
[INFO] [stdout] 22 |         align_of::<PERF_COUNTER_DEFINITION>()
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PERF_COUNTER_BLOCK` in this scope
[INFO] [stdout]   --> examples/examples/retrieve_values.rs:26:20
[INFO] [stdout]    |
[INFO] [stdout] 26 |         align_of::<PERF_COUNTER_BLOCK>()
[INFO] [stdout]    |                    ^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `HKEY_PERFORMANCE_DATA` in this scope
[INFO] [stdout]   --> examples/examples/retrieve_values.rs:33:58
[INFO] [stdout]    |
[INFO] [stdout] 33 |     let _hkey = RegConnectRegistryW_Safe(PCWSTR::null(), HKEY_PERFORMANCE_DATA)
[INFO] [stdout]    |                                                          ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PERF_OBJECT_TYPE` in this scope
[INFO] [stdout]   --> examples/examples/retrieve_values.rs:74:43
[INFO] [stdout]    |
[INFO] [stdout] 74 |                 &obj_system.raw as *const PERF_OBJECT_TYPE as *const u8,
[INFO] [stdout]    |                                           ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PerfDataBlock` in this scope
[INFO] [stdout]    --> examples/examples/retrieve_values.rs:112:27
[INFO] [stdout]     |
[INFO] [stdout] 112 | fn print_perf_data(data: &PerfDataBlock, meta: &AllCounters) {
[INFO] [stdout]     |                           ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `AllCounters` in this scope
[INFO] [stdout]    --> examples/examples/retrieve_values.rs:112:49
[INFO] [stdout]     |
[INFO] [stdout] 112 | fn print_perf_data(data: &PerfDataBlock, meta: &AllCounters) {
[INFO] [stdout]     |                                                 ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `PERF_NO_INSTANCES` in this scope
[INFO] [stdout]    --> examples/examples/retrieve_values.rs:119:59
[INFO] [stdout]     |
[INFO] [stdout] 119 |         println!("Has instances? {}", obj.NumInstances != PERF_NO_INSTANCES);
[INFO] [stdout]     |                                                           ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PerfCounterDefinition` in this scope
[INFO] [stdout]    --> examples/examples/retrieve_values.rs:137:17
[INFO] [stdout]     |
[INFO] [stdout] 137 |     counters: &[PerfCounterDefinition],
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `PerfCounterBlock` in this scope
[INFO] [stdout]    --> examples/examples/retrieve_values.rs:138:13
[INFO] [stdout]     |
[INFO] [stdout] 138 |     block: &PerfCounterBlock,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `AllCounters` in this scope
[INFO] [stdout]    --> examples/examples/retrieve_values.rs:139:12
[INFO] [stdout]     |
[INFO] [stdout] 139 |     meta: &AllCounters,
[INFO] [stdout]     |            ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `WinResult` in this scope
[INFO] [stdout]    --> examples/examples/retrieve_values.rs:167:23
[INFO] [stdout]     |
[INFO] [stdout] 167 | fn do_get_values() -> WinResult<Vec<u8>> {
[INFO] [stdout]     |                       ^^^^^^^^^ help: an enum with a similar name exists: `Result`
[INFO] [stdout]    --> /rustc/1f5783cbeb5da8b38566d718631d016891e9c912/library/core/src/result.rs:548:1
[INFO] [stdout]     |
[INFO] [stdout]     = note: similarly named enum `Result` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `REG_VALUE_TYPE` in this scope
[INFO] [stdout]    --> examples/examples/retrieve_values.rs:168:18
[INFO] [stdout]     |
[INFO] [stdout] 168 |     let mut typ: REG_VALUE_TYPE = REG_NONE;
[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]    --> examples/examples/retrieve_values.rs:168:35
[INFO] [stdout]     |
[INFO] [stdout] 168 |     let mut typ: REG_VALUE_TYPE = REG_NONE;
[INFO] [stdout]     |                                   ^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `HKEY_PERFORMANCE_DATA` in this scope
[INFO] [stdout]    --> examples/examples/retrieve_values.rs:172:9
[INFO] [stdout]     |
[INFO] [stdout] 172 |         HKEY_PERFORMANCE_DATA,
[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]    --> examples/examples/retrieve_values.rs:178:21
[INFO] [stdout]     |
[INFO] [stdout] 178 |     assert_eq!(typ, REG_BINARY);
[INFO] [stdout]     |                     ^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UseLocale`
[INFO] [stdout]   --> examples/examples/retrieve_values.rs:30:40
[INFO] [stdout]    |
[INFO] [stdout] 30 |     let meta = get_counters_info(None, UseLocale::English).expect("get_counters_info");
[INFO] [stdout]    |                                        ^^^^^^^^^ use of undeclared type `UseLocale`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `LANG_RUSSIAN` in this scope
[INFO] [stdout]   --> examples/examples/retrieve_names.rs:17:30
[INFO] [stdout]    |
[INFO] [stdout] 17 |     let lang_id = MAKELANGID(LANG_RUSSIAN as u16, 0);
[INFO] [stdout]    |                              ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `UseLocale` in this scope
[INFO] [stdout]   --> examples/examples/retrieve_names.rs:22:30
[INFO] [stdout]    |
[INFO] [stdout] 22 | fn do_local_counters(locale: UseLocale, limit: Option<usize>) {
[INFO] [stdout]    |                              ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `AllCounters` in this scope
[INFO] [stdout]   --> examples/examples/retrieve_names.rs:33:27
[INFO] [stdout]    |
[INFO] [stdout] 33 | fn print_counters(table: &AllCounters, limit: Option<usize>) {
[INFO] [stdout]    |                           ^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `get_counters_info` in this scope
[INFO] [stdout]   --> examples/examples/retrieve_values.rs:30:16
[INFO] [stdout]    |
[INFO] [stdout] 30 |     let meta = get_counters_info(None, UseLocale::English).expect("get_counters_info");
[INFO] [stdout]    |                ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PCWSTR`
[INFO] [stdout]   --> examples/examples/retrieve_values.rs:33:42
[INFO] [stdout]    |
[INFO] [stdout] 33 |     let _hkey = RegConnectRegistryW_Safe(PCWSTR::null(), HKEY_PERFORMANCE_DATA)
[INFO] [stdout]    |                                          ^^^^^^ use of undeclared type `PCWSTR`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UseLocale`
[INFO] [stdout]  --> examples/examples/retrieve_names.rs:7:23
[INFO] [stdout]   |
[INFO] [stdout] 7 |     do_local_counters(UseLocale::English, Some(3));
[INFO] [stdout]   |                       ^^^^^^^^^ use of undeclared type `UseLocale`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UseLocale`
[INFO] [stdout]   --> examples/examples/retrieve_names.rs:10:23
[INFO] [stdout]    |
[INFO] [stdout] 10 |     do_local_counters(UseLocale::UIDefault, None);
[INFO] [stdout]    |                       ^^^^^^^^^ use of undeclared type `UseLocale`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `get_language_id` in this scope
[INFO] [stdout]   --> examples/examples/retrieve_names.rs:13:19
[INFO] [stdout]    |
[INFO] [stdout] 13 |     let lang_id = get_language_id().expect("GetLanguageId");
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UseLocale`
[INFO] [stdout]   --> examples/examples/retrieve_names.rs:14:23
[INFO] [stdout]    |
[INFO] [stdout] 14 |     do_local_counters(UseLocale::LangId(lang_id), Some(3));
[INFO] [stdout]    |                       ^^^^^^^^^ use of undeclared type `UseLocale`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegConnectRegistryW_Safe` in this scope
[INFO] [stdout]   --> examples/examples/retrieve_values.rs:33:17
[INFO] [stdout]    |
[INFO] [stdout] 33 |     let _hkey = RegConnectRegistryW_Safe(PCWSTR::null(), HKEY_PERFORMANCE_DATA)
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UseLocale`
[INFO] [stdout]   --> examples/examples/retrieve_names.rs:18:23
[INFO] [stdout]    |
[INFO] [stdout] 18 |     do_local_counters(UseLocale::LangId(lang_id), Some(3));
[INFO] [stdout]    |                       ^^^^^^^^^ use of undeclared type `UseLocale`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `perf_data_block` in this scope
[INFO] [stdout]   --> examples/examples/retrieve_values.rs:40:30
[INFO] [stdout]    |
[INFO] [stdout] 40 |         let (_, perf_data) = perf_data_block(buf.as_slice()).expect("Parse data block");
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `perf_data_block` in this scope
[INFO] [stdout]   --> examples/examples/retrieve_values.rs:63:30
[INFO] [stdout]    |
[INFO] [stdout] 63 |         let (_, perf_data) = perf_data_block(buf.as_slice()).expect("Parse data block");
[INFO] [stdout]    |                              ^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CounterValue`
[INFO] [stdout]   --> examples/examples/retrieve_values.rs:91:25
[INFO] [stdout]    |
[INFO] [stdout] 91 |             let value = CounterValue::try_get(counter_uptime, block).expect("get value");
[INFO] [stdout]    |                         ^^^^^^^^^^^^ use of undeclared type `CounterValue`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `get_counters_info` in this scope
[INFO] [stdout]   --> examples/examples/retrieve_names.rs:23:23
[INFO] [stdout]    |
[INFO] [stdout] 23 |     let table = match get_counters_info(None, locale) {
[INFO] [stdout]    |                       ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `get_slice` in this scope
[INFO] [stdout]    --> examples/examples/retrieve_values.rs:145:19
[INFO] [stdout]     |
[INFO] [stdout] 145 |         let raw = get_slice(c, block).expect("get slice");
[INFO] [stdout]     |                   ^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CounterTypeDefinition`
[INFO] [stdout]    --> examples/examples/retrieve_values.rs:150:19
[INFO] [stdout]     |
[INFO] [stdout] 150 |         let typ = CounterTypeDefinition::from_raw(c.CounterType).expect("Counter type");
[INFO] [stdout]     |                   ^^^^^^^^^^^^^^^^^^^^^ use of undeclared type `CounterTypeDefinition`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `query_value` in this scope
[INFO] [stdout]    --> examples/examples/retrieve_values.rs:171:17
[INFO] [stdout]     |
[INFO] [stdout] 171 |     let value = query_value(
[INFO] [stdout]     |                 ^^^^^^^^^^^ not found in this scope
[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[E0433]: failed to resolve: use of undeclared type `PerfObjectData`
[INFO] [stdout]    --> examples/examples/retrieve_values.rs:121:13
[INFO] [stdout]     |
[INFO] [stdout] 121 |             PerfObjectData::Singleton(block) => {
[INFO] [stdout]     |             ^^^^^^^^^^^^^^ use of undeclared type `PerfObjectData`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PerfObjectData`
[INFO] [stdout]    --> examples/examples/retrieve_values.rs:124:13
[INFO] [stdout]     |
[INFO] [stdout] 124 |             PerfObjectData::Instances(pairs) => pairs.iter().for_each(|(instance, block)| {
[INFO] [stdout]     |             ^^^^^^^^^^^^^^ use of undeclared type `PerfObjectData`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PerfObjectData`
[INFO] [stdout]   --> examples/examples/retrieve_values.rs:89:16
[INFO] [stdout]    |
[INFO] [stdout] 89 |         if let PerfObjectData::Singleton(block) = &obj_system.data {
[INFO] [stdout]    |                ^^^^^^^^^^^^^^ use of undeclared type `PerfObjectData`
[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 `examples` (example "retrieve_values") due to 34 previous errors
[INFO] [stderr] error: could not compile `examples` (example "retrieve_names") due to 13 previous errors
[INFO] running `Command { std: "docker" "inspect" "a4bee11945b112987255ea6f4a2ac9403eafefcf3b78e78838696603968afe79", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a4bee11945b112987255ea6f4a2ac9403eafefcf3b78e78838696603968afe79", kill_on_drop: false }`
[INFO] [stdout] a4bee11945b112987255ea6f4a2ac9403eafefcf3b78e78838696603968afe79
