[INFO] cloning repository https://github.com/zaphar/win-utils [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/zaphar/win-utils" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzaphar%2Fwin-utils", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzaphar%2Fwin-utils'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 8215fc3b56cd083c7f4575e663f0469d51eb9e2d [INFO] checking zaphar/win-utils against try#45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 for pr-83744 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fzaphar%2Fwin-utils" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/zaphar/win-utils on toolchain 45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/zaphar/win-utils [INFO] finished tweaking git repo https://github.com/zaphar/win-utils [INFO] tweaked toml for git repo https://github.com/zaphar/win-utils written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/zaphar/win-utils already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tinyvec v0.3.3 [INFO] [stderr] Downloaded prometheus v0.9.0 [INFO] [stderr] Downloaded sha2 v0.9.1 [INFO] [stderr] Downloaded generic-array v0.14.4 [INFO] [stderr] Downloaded block-buffer v0.9.0 [INFO] [stderr] Downloaded cpuid-bool v0.1.2 [INFO] [stderr] Downloaded docopt v1.1.0 [INFO] [stderr] Downloaded serde_derive v1.0.115 [INFO] [stderr] Downloaded strsim v0.9.3 [INFO] [stderr] Downloaded libc v0.2.74 [INFO] [stderr] Downloaded rustversion v1.0.3 [INFO] [stderr] Downloaded unreachable v1.0.0 [INFO] [stderr] Downloaded anyhow v1.0.32 [INFO] [stderr] Downloaded chunked_transfer v1.2.0 [INFO] [stderr] Downloaded lazy_static v0.2.11 [INFO] [stderr] Downloaded chrono v0.4.13 [INFO] [stderr] Downloaded ascii v1.0.0 [INFO] [stderr] Downloaded windows-service v0.3.0 [INFO] [stderr] Downloaded widestring v0.4.2 [INFO] [stderr] Downloaded time v0.1.43 [INFO] [stderr] Downloaded syn v1.0.36 [INFO] [stderr] Downloaded serde v1.0.115 [INFO] [stderr] Downloaded thread_local v0.3.4 [INFO] [stderr] Downloaded protobuf v2.16.2 [INFO] [stderr] Downloaded thiserror v1.0.20 [INFO] [stderr] Downloaded stderrlog v0.4.3 [INFO] [stderr] Downloaded opaque-debug v0.3.0 [INFO] [stderr] Downloaded digest v0.9.0 [INFO] [stderr] Downloaded termion v1.5.5 [INFO] [stderr] Downloaded tiny_http v0.7.0 [INFO] [stderr] Downloaded thiserror-impl v1.0.20 [INFO] [stderr] Downloaded proc-macro2 v1.0.19 [INFO] [stderr] Downloaded eventlog v0.1.0 [INFO] [stderr] Downloaded registry v1.0.0-alpha.4 [INFO] [stderr] Downloaded utfx v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "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] 9836026e6a44781387506250810c14f1d358237c3fde541fb1de2a54176a1554 [INFO] running `Command { std: "docker" "start" "-a" "9836026e6a44781387506250810c14f1d358237c3fde541fb1de2a54176a1554", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9836026e6a44781387506250810c14f1d358237c3fde541fb1de2a54176a1554", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9836026e6a44781387506250810c14f1d358237c3fde541fb1de2a54176a1554", kill_on_drop: false }` [INFO] [stdout] 9836026e6a44781387506250810c14f1d358237c3fde541fb1de2a54176a1554 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+45d8b6e68beee1c9c1ce92ae258a7e02f8f13aa4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 24acedda2ac8c79abc4aa4ef7d08b7dc1ecc2291434584c2331fdf7e587ccfed [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" "24acedda2ac8c79abc4aa4ef7d08b7dc1ecc2291434584c2331fdf7e587ccfed", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling typenum v1.12.0 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling serde_derive v1.0.115 [INFO] [stderr] Compiling serde v1.0.115 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling opaque-debug v0.3.0 [INFO] [stderr] Compiling cpuid-bool v0.1.2 [INFO] [stderr] Compiling regex-syntax v0.6.18 [INFO] [stderr] Compiling anyhow v1.0.32 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling prometheus v0.9.0 [INFO] [stderr] Checking lazy_static v0.2.11 [INFO] [stderr] Checking utfx v0.1.0 [INFO] [stderr] Checking chunked_transfer v1.2.0 [INFO] [stderr] Checking ascii v1.0.0 [INFO] [stderr] Checking fnv v1.0.7 [INFO] [stderr] Checking windows-service v0.3.0 [INFO] [stderr] Compiling thread_local v1.0.1 [INFO] [stderr] Checking unicode-normalization v0.1.13 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.19 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling generic-array v0.14.4 [INFO] [stderr] Checking thread_local v0.3.4 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Checking regex v1.3.9 [INFO] [stderr] Compiling aho-corasick v0.7.13 [INFO] [stderr] Checking winapi-perf-wrapper v0.1.0 (/opt/rustwide/workdir/winapi-perf-wrapper) [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> winapi-perf-wrapper/src/lib.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | use winapi::shared::minwindef::{DWORD, FALSE, TRUE}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> winapi-perf-wrapper/src/lib.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | use winapi::shared::winerror::ERROR_SUCCESS; [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] --> winapi-perf-wrapper/src/lib.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use winapi::um::pdh::{ [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] --> winapi-perf-wrapper/src/lib.rs:18:13 [INFO] [stdout] | [INFO] [stdout] 18 | use winapi::shared::minwindef::{DWORD, FALSE, TRUE}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> winapi-perf-wrapper/src/lib.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | use winapi::shared::winerror::ERROR_SUCCESS; [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] --> winapi-perf-wrapper/src/lib.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | use winapi::um::pdh::{ [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> winapi-perf-wrapper/src/lib.rs:95:32 [INFO] [stdout] | [INFO] [stdout] 95 | let mut buffer_length: DWORD = 0; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PdhEnumObjectsW` in this scope [INFO] [stdout] --> winapi-perf-wrapper/src/lib.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | PdhEnumObjectsW( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PERF_DETAIL_STANDARD` in this scope [INFO] [stdout] --> winapi-perf-wrapper/src/lib.rs:104:17 [INFO] [stdout] | [INFO] [stdout] 104 | PERF_DETAIL_STANDARD, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> winapi-perf-wrapper/src/lib.rs:105:17 [INFO] [stdout] | [INFO] [stdout] 105 | TRUE, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PdhEnumObjectsW` in this scope [INFO] [stdout] --> winapi-perf-wrapper/src/lib.rs:115:17 [INFO] [stdout] | [INFO] [stdout] 115 | PdhEnumObjectsW( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PERF_DETAIL_STANDARD` in this scope [INFO] [stdout] --> winapi-perf-wrapper/src/lib.rs:120:21 [INFO] [stdout] | [INFO] [stdout] 120 | PERF_DETAIL_STANDARD, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> winapi-perf-wrapper/src/lib.rs:121:21 [INFO] [stdout] | [INFO] [stdout] 121 | FALSE, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ERROR_SUCCESS` in this scope [INFO] [stdout] --> winapi-perf-wrapper/src/lib.rs:124:26 [INFO] [stdout] | [INFO] [stdout] 124 | if status == ERROR_SUCCESS { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> winapi-perf-wrapper/src/lib.rs:162:35 [INFO] [stdout] | [INFO] [stdout] 162 | let mut counter_list_len: DWORD = 0; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> winapi-perf-wrapper/src/lib.rs:163:36 [INFO] [stdout] | [INFO] [stdout] 163 | let mut instance_list_len: DWORD = 0; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PdhEnumObjectItemsW` in this scope [INFO] [stdout] --> winapi-perf-wrapper/src/lib.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 165 | PdhEnumObjectItemsW( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PERF_DETAIL_STANDARD` in this scope [INFO] [stdout] --> winapi-perf-wrapper/src/lib.rs:173:17 [INFO] [stdout] | [INFO] [stdout] 173 | PERF_DETAIL_STANDARD, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PdhEnumObjectItemsW` in this scope [INFO] [stdout] --> winapi-perf-wrapper/src/lib.rs:181:17 [INFO] [stdout] | [INFO] [stdout] 181 | PdhEnumObjectItemsW( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PERF_DETAIL_STANDARD` in this scope [INFO] [stdout] --> winapi-perf-wrapper/src/lib.rs:189:21 [INFO] [stdout] | [INFO] [stdout] 189 | PERF_DETAIL_STANDARD, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ERROR_SUCCESS` in this scope [INFO] [stdout] --> winapi-perf-wrapper/src/lib.rs:193:26 [INFO] [stdout] | [INFO] [stdout] 193 | if status != ERROR_SUCCESS { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PdhOpenQueryW` in this scope [INFO] [stdout] --> winapi-perf-wrapper/src/lib.rs:208:31 [INFO] [stdout] | [INFO] [stdout] 208 | let status = unsafe { PdhOpenQueryW(null_mut(), 0, query.query()) } as u32; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ERROR_SUCCESS` in this scope [INFO] [stdout] --> winapi-perf-wrapper/src/lib.rs:210:22 [INFO] [stdout] | [INFO] [stdout] 210 | if status != ERROR_SUCCESS { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> winapi-perf-wrapper/src/lib.rs:256:35 [INFO] [stdout] | [INFO] [stdout] 256 | let mut counter_list_len: DWORD = 0; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PdhExpandCounterPathW` in this scope [INFO] [stdout] --> winapi-perf-wrapper/src/lib.rs:258:22 [INFO] [stdout] | [INFO] [stdout] 258 | unsafe { PdhExpandCounterPathW(path.as_ptr(), null_mut(), &mut counter_list_len) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PdhExpandCounterPathW` in this scope [INFO] [stdout] --> winapi-perf-wrapper/src/lib.rs:265:13 [INFO] [stdout] | [INFO] [stdout] 265 | PdhExpandCounterPathW( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ERROR_SUCCESS` in this scope [INFO] [stdout] --> winapi-perf-wrapper/src/lib.rs:271:22 [INFO] [stdout] | [INFO] [stdout] 271 | if status != ERROR_SUCCESS { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HQuery` in this scope [INFO] [stdout] --> winapi-perf-wrapper/src/lib.rs:291:21 [INFO] [stdout] | [INFO] [stdout] 291 | pub struct PdhQuery(HQuery); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HQuery` in this scope [INFO] [stdout] --> winapi-perf-wrapper/src/lib.rs:295:37 [INFO] [stdout] | [INFO] [stdout] 295 | pub fn query(&mut self) -> &mut HQuery { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PdhValidatePathW` in this scope [INFO] [stdout] --> winapi-perf-wrapper/src/lib.rs:301:35 [INFO] [stdout] | [INFO] [stdout] 301 | let mut status = unsafe { PdhValidatePathW(wide_path.as_ptr()) } as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ERROR_SUCCESS` in this scope [INFO] [stdout] --> winapi-perf-wrapper/src/lib.rs:302:22 [INFO] [stdout] | [INFO] [stdout] 302 | if status != ERROR_SUCCESS { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HCounter` in this scope [INFO] [stdout] --> winapi-perf-wrapper/src/lib.rs:305:33 [INFO] [stdout] | [INFO] [stdout] 305 | let mut counter_handle: HCounter = 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 `PdhAddCounterW` in this scope [INFO] [stdout] --> winapi-perf-wrapper/src/lib.rs:307:22 [INFO] [stdout] | [INFO] [stdout] 307 | unsafe { PdhAddCounterW(self.0, wide_path.as_ptr(), 0, &mut counter_handle) } as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: a tuple struct with a similar name exists: `PdhCounter` [INFO] [stdout] ... [INFO] [stdout] 478 | pub struct PdhCounter(HCounter); [INFO] [stdout] | -------------------------------- similarly named tuple struct `PdhCounter` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ERROR_SUCCESS` in this scope [INFO] [stdout] --> winapi-perf-wrapper/src/lib.rs:308:22 [INFO] [stdout] | [INFO] [stdout] 308 | if status != ERROR_SUCCESS { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PDH_FMT_COUNTERVALUE` in this scope [INFO] [stdout] --> winapi-perf-wrapper/src/lib.rs:331:17 [INFO] [stdout] | [INFO] [stdout] 293 | impl PdhQuery { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 331 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PdhCollectQueryData` in this scope [INFO] [stdout] --> winapi-perf-wrapper/src/lib.rs:332:35 [INFO] [stdout] | [INFO] [stdout] 332 | let mut status = unsafe { PdhCollectQueryData(self.0) } as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ERROR_SUCCESS` in this scope [INFO] [stdout] --> winapi-perf-wrapper/src/lib.rs:333:22 [INFO] [stdout] | [INFO] [stdout] 333 | if status != ERROR_SUCCESS { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `PDH_FMT_COUNTERVALUE` in this scope [INFO] [stdout] --> winapi-perf-wrapper/src/lib.rs:337:13 [INFO] [stdout] | [INFO] [stdout] 337 | PDH_FMT_COUNTERVALUE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PDH_FMT_COUNTERVALUE_u` in this scope [INFO] [stdout] --> winapi-perf-wrapper/src/lib.rs:339:39 [INFO] [stdout] | [INFO] [stdout] 293 | impl PdhQuery { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 339 | u: 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 `PdhGetFormattedCounterValue` in this scope [INFO] [stdout] --> winapi-perf-wrapper/src/lib.rs:344:13 [INFO] [stdout] | [INFO] [stdout] 344 | PdhGetFormattedCounterValue( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ERROR_SUCCESS` in this scope [INFO] [stdout] --> winapi-perf-wrapper/src/lib.rs:351:22 [INFO] [stdout] | [INFO] [stdout] 351 | if status != ERROR_SUCCESS { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PdhCloseQuery` in this scope [INFO] [stdout] --> winapi-perf-wrapper/src/lib.rs:471:13 [INFO] [stdout] | [INFO] [stdout] 471 | PdhCloseQuery(self.0); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HCounter` in this scope [INFO] [stdout] --> winapi-perf-wrapper/src/lib.rs:478:23 [INFO] [stdout] | [INFO] [stdout] 478 | pub struct PdhCounter(HCounter); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PdhRemoveCounter` in this scope [INFO] [stdout] --> winapi-perf-wrapper/src/lib.rs:483:13 [INFO] [stdout] | [INFO] [stdout] 483 | PdhRemoveCounter(self.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> winapi-perf-wrapper/src/lib.rs:95:32 [INFO] [stdout] | [INFO] [stdout] 95 | let mut buffer_length: DWORD = 0; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PdhEnumObjectsW` in this scope [INFO] [stdout] --> winapi-perf-wrapper/src/lib.rs:99:13 [INFO] [stdout] | [INFO] [stdout] 99 | PdhEnumObjectsW( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PERF_DETAIL_STANDARD` in this scope [INFO] [stdout] --> winapi-perf-wrapper/src/lib.rs:104:17 [INFO] [stdout] | [INFO] [stdout] 104 | PERF_DETAIL_STANDARD, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `TRUE` in this scope [INFO] [stdout] --> winapi-perf-wrapper/src/lib.rs:105:17 [INFO] [stdout] | [INFO] [stdout] 105 | TRUE, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PdhEnumObjectsW` in this scope [INFO] [stdout] --> winapi-perf-wrapper/src/lib.rs:115:17 [INFO] [stdout] | [INFO] [stdout] 115 | PdhEnumObjectsW( [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PERF_DETAIL_STANDARD` in this scope [INFO] [stdout] --> winapi-perf-wrapper/src/lib.rs:120:21 [INFO] [stdout] | [INFO] [stdout] 120 | PERF_DETAIL_STANDARD, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `FALSE` in this scope [INFO] [stdout] --> winapi-perf-wrapper/src/lib.rs:121:21 [INFO] [stdout] | [INFO] [stdout] 121 | FALSE, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ERROR_SUCCESS` in this scope [INFO] [stdout] --> winapi-perf-wrapper/src/lib.rs:124:26 [INFO] [stdout] | [INFO] [stdout] 124 | if status == ERROR_SUCCESS { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> winapi-perf-wrapper/src/lib.rs:162:35 [INFO] [stdout] | [INFO] [stdout] 162 | let mut counter_list_len: DWORD = 0; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> winapi-perf-wrapper/src/lib.rs:163:36 [INFO] [stdout] | [INFO] [stdout] 163 | let mut instance_list_len: DWORD = 0; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PdhEnumObjectItemsW` in this scope [INFO] [stdout] --> winapi-perf-wrapper/src/lib.rs:165:13 [INFO] [stdout] | [INFO] [stdout] 165 | PdhEnumObjectItemsW( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PERF_DETAIL_STANDARD` in this scope [INFO] [stdout] --> winapi-perf-wrapper/src/lib.rs:173:17 [INFO] [stdout] | [INFO] [stdout] 173 | PERF_DETAIL_STANDARD, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PdhEnumObjectItemsW` in this scope [INFO] [stdout] --> winapi-perf-wrapper/src/lib.rs:181:17 [INFO] [stdout] | [INFO] [stdout] 181 | PdhEnumObjectItemsW( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `PERF_DETAIL_STANDARD` in this scope [INFO] [stdout] --> winapi-perf-wrapper/src/lib.rs:189:21 [INFO] [stdout] | [INFO] [stdout] 189 | PERF_DETAIL_STANDARD, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ERROR_SUCCESS` in this scope [INFO] [stdout] --> winapi-perf-wrapper/src/lib.rs:193:26 [INFO] [stdout] | [INFO] [stdout] 193 | if status != ERROR_SUCCESS { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PdhOpenQueryW` in this scope [INFO] [stdout] --> winapi-perf-wrapper/src/lib.rs:208:31 [INFO] [stdout] | [INFO] [stdout] 208 | let status = unsafe { PdhOpenQueryW(null_mut(), 0, query.query()) } as u32; [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ERROR_SUCCESS` in this scope [INFO] [stdout] --> winapi-perf-wrapper/src/lib.rs:210:22 [INFO] [stdout] | [INFO] [stdout] 210 | if status != ERROR_SUCCESS { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> winapi-perf-wrapper/src/lib.rs:256:35 [INFO] [stdout] | [INFO] [stdout] 256 | let mut counter_list_len: DWORD = 0; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PdhExpandCounterPathW` in this scope [INFO] [stdout] --> winapi-perf-wrapper/src/lib.rs:258:22 [INFO] [stdout] | [INFO] [stdout] 258 | unsafe { PdhExpandCounterPathW(path.as_ptr(), null_mut(), &mut counter_list_len) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PdhExpandCounterPathW` in this scope [INFO] [stdout] --> winapi-perf-wrapper/src/lib.rs:265:13 [INFO] [stdout] | [INFO] [stdout] 265 | PdhExpandCounterPathW( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ERROR_SUCCESS` in this scope [INFO] [stdout] --> winapi-perf-wrapper/src/lib.rs:271:22 [INFO] [stdout] | [INFO] [stdout] 271 | if status != ERROR_SUCCESS { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HQuery` in this scope [INFO] [stdout] --> winapi-perf-wrapper/src/lib.rs:291:21 [INFO] [stdout] | [INFO] [stdout] 291 | pub struct PdhQuery(HQuery); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HQuery` in this scope [INFO] [stdout] --> winapi-perf-wrapper/src/lib.rs:295:37 [INFO] [stdout] | [INFO] [stdout] 295 | pub fn query(&mut self) -> &mut HQuery { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PdhValidatePathW` in this scope [INFO] [stdout] --> winapi-perf-wrapper/src/lib.rs:301:35 [INFO] [stdout] | [INFO] [stdout] 301 | let mut status = unsafe { PdhValidatePathW(wide_path.as_ptr()) } as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ERROR_SUCCESS` in this scope [INFO] [stdout] --> winapi-perf-wrapper/src/lib.rs:302:22 [INFO] [stdout] | [INFO] [stdout] 302 | if status != ERROR_SUCCESS { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HCounter` in this scope [INFO] [stdout] --> winapi-perf-wrapper/src/lib.rs:305:33 [INFO] [stdout] | [INFO] [stdout] 305 | let mut counter_handle: HCounter = 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 `PdhAddCounterW` in this scope [INFO] [stdout] --> winapi-perf-wrapper/src/lib.rs:307:22 [INFO] [stdout] | [INFO] [stdout] 307 | unsafe { PdhAddCounterW(self.0, wide_path.as_ptr(), 0, &mut counter_handle) } as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: a tuple struct with a similar name exists: `PdhCounter` [INFO] [stdout] ... [INFO] [stdout] 478 | pub struct PdhCounter(HCounter); [INFO] [stdout] | -------------------------------- similarly named tuple struct `PdhCounter` defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ERROR_SUCCESS` in this scope [INFO] [stdout] --> winapi-perf-wrapper/src/lib.rs:308:22 [INFO] [stdout] | [INFO] [stdout] 308 | if status != ERROR_SUCCESS { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PDH_FMT_COUNTERVALUE` in this scope [INFO] [stdout] --> winapi-perf-wrapper/src/lib.rs:331:17 [INFO] [stdout] | [INFO] [stdout] 293 | impl PdhQuery { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 331 | ) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PdhCollectQueryData` in this scope [INFO] [stdout] --> winapi-perf-wrapper/src/lib.rs:332:35 [INFO] [stdout] | [INFO] [stdout] 332 | let mut status = unsafe { PdhCollectQueryData(self.0) } as u32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ERROR_SUCCESS` in this scope [INFO] [stdout] --> winapi-perf-wrapper/src/lib.rs:333:22 [INFO] [stdout] | [INFO] [stdout] 333 | if status != ERROR_SUCCESS { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `PDH_FMT_COUNTERVALUE` in this scope [INFO] [stdout] --> winapi-perf-wrapper/src/lib.rs:337:13 [INFO] [stdout] | [INFO] [stdout] 337 | PDH_FMT_COUNTERVALUE { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PDH_FMT_COUNTERVALUE_u` in this scope [INFO] [stdout] --> winapi-perf-wrapper/src/lib.rs:339:39 [INFO] [stdout] | [INFO] [stdout] 293 | impl PdhQuery { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 339 | u: 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 `PdhGetFormattedCounterValue` in this scope [INFO] [stdout] --> winapi-perf-wrapper/src/lib.rs:344:13 [INFO] [stdout] | [INFO] [stdout] 344 | PdhGetFormattedCounterValue( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `ERROR_SUCCESS` in this scope [INFO] [stdout] --> winapi-perf-wrapper/src/lib.rs:351:22 [INFO] [stdout] | [INFO] [stdout] 351 | if status != ERROR_SUCCESS { [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PdhCloseQuery` in this scope [INFO] [stdout] --> winapi-perf-wrapper/src/lib.rs:471:13 [INFO] [stdout] | [INFO] [stdout] 471 | PdhCloseQuery(self.0); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HCounter` in this scope [INFO] [stdout] --> winapi-perf-wrapper/src/lib.rs:478:23 [INFO] [stdout] | [INFO] [stdout] 478 | pub struct PdhCounter(HCounter); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PdhRemoveCounter` in this scope [INFO] [stdout] --> winapi-perf-wrapper/src/lib.rs:483:13 [INFO] [stdout] | [INFO] [stdout] 483 | PdhRemoveCounter(self.0); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stdout] error: aborting due to 41 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `winapi-perf-wrapper` [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: aborting due to 41 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, 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" "24acedda2ac8c79abc4aa4ef7d08b7dc1ecc2291434584c2331fdf7e587ccfed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24acedda2ac8c79abc4aa4ef7d08b7dc1ecc2291434584c2331fdf7e587ccfed", kill_on_drop: false }` [INFO] [stdout] 24acedda2ac8c79abc4aa4ef7d08b7dc1ecc2291434584c2331fdf7e587ccfed