[INFO] cloning repository https://github.com/blono/set_efficiency_mode [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/blono/set_efficiency_mode" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fblono%2Fset_efficiency_mode", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fblono%2Fset_efficiency_mode'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] a1d557ca12fa8030e1358cc962bd350a4a857cc1 [INFO] checking blono/set_efficiency_mode against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fblono%2Fset_efficiency_mode" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/blono/set_efficiency_mode [INFO] finished tweaking git repo https://github.com/blono/set_efficiency_mode [INFO] tweaked toml for git repo https://github.com/blono/set_efficiency_mode written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/blono/set_efficiency_mode on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/blono/set_efficiency_mode 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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 730a5d0e7aabf2bbb26b57552b72c94ed0951f260dbe501a7d10de3c18241397 [INFO] running `Command { std: "docker" "start" "-a" "730a5d0e7aabf2bbb26b57552b72c94ed0951f260dbe501a7d10de3c18241397", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "730a5d0e7aabf2bbb26b57552b72c94ed0951f260dbe501a7d10de3c18241397", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "730a5d0e7aabf2bbb26b57552b72c94ed0951f260dbe501a7d10de3c18241397", kill_on_drop: false }` [INFO] [stdout] 730a5d0e7aabf2bbb26b57552b72c94ed0951f260dbe501a7d10de3c18241397 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6861ff2fe709bbe604a2f4ef210fe067aaf077ed391b959c78b8c91b0d583882 [INFO] running `Command { std: "docker" "start" "-a" "6861ff2fe709bbe604a2f4ef210fe067aaf077ed391b959c78b8c91b0d583882", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.94 [INFO] [stderr] Compiling unicode-ident v1.0.18 [INFO] [stderr] Checking windows-link v0.1.1 [INFO] [stderr] Compiling anyhow v1.0.97 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking windows-result v0.3.2 [INFO] [stderr] Checking windows-strings v0.3.1 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Compiling windows-implement v0.59.0 [INFO] [stderr] Compiling windows-interface v0.59.1 [INFO] [stderr] Checking windows-core v0.60.1 [INFO] [stderr] Checking windows-collections v0.1.1 [INFO] [stderr] Checking windows-numerics v0.1.1 [INFO] [stderr] Checking windows-future v0.1.1 [INFO] [stderr] Checking windows v0.60.0 [INFO] [stderr] Checking set_efficiency_mode v1.0.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/win.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | use windows::{core::PWSTR, Win32::{Foundation::CloseHandle, System::{ProcessStatus::EnumProcesses, Threading::{OpenProcess, ProcessPowerT... [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/main.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | use windows::Win32::System::Threading::PROCESS_POWER_THROTTLING_EXECUTION_SPEED; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windows::core` [INFO] [stdout] --> src/win.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use windows::{core::PWSTR, Win32::{Foundation::CloseHandle, System::{ProcessStatus::EnumProcesses, Threading::{OpenProcess, ProcessPowerT... [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/win.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | use windows::{core::PWSTR, Win32::{Foundation::CloseHandle, System::{ProcessStatus::EnumProcesses, Threading::{OpenProcess, ProcessPowerT... [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/main.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | use windows::Win32::System::Threading::PROCESS_POWER_THROTTLING_EXECUTION_SPEED; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windows::core` [INFO] [stdout] --> src/win.rs:5:15 [INFO] [stdout] | [INFO] [stdout] 5 | use windows::{core::PWSTR, Win32::{Foundation::CloseHandle, System::{ProcessStatus::EnumProcesses, Threading::{OpenProcess, ProcessPowerT... [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PCWSTR` in this scope [INFO] [stdout] --> src/wstr.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | s: PCWSTR, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PWSTR` in this scope [INFO] [stdout] --> src/wstr.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct CWSTR<'a> { [INFO] [stdout] | -------------------- similarly named struct `CWSTR` defined here [INFO] [stdout] ... [INFO] [stdout] 13 | s: PWSTR, [INFO] [stdout] | ^^^^^ help: a struct with a similar name exists: `CWSTR` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Param` in this scope [INFO] [stdout] --> src/wstr.rs:17:6 [INFO] [stdout] | [INFO] [stdout] 17 | impl Param for CWSTR<'_> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PCWSTR` in this scope [INFO] [stdout] --> src/wstr.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct CWSTR<'a> { [INFO] [stdout] | -------------------- similarly named struct `CWSTR` defined here [INFO] [stdout] ... [INFO] [stdout] 17 | impl Param for CWSTR<'_> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 17 - impl Param for CWSTR<'_> { [INFO] [stdout] 17 + impl Param for CWSTR<'_> { [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 17 | impl Param for CWSTR<'_> { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ParamValue` in this scope [INFO] [stdout] --> src/wstr.rs:18:30 [INFO] [stdout] | [INFO] [stdout] 18 | unsafe fn param(self) -> ParamValue { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PCWSTR` in this scope [INFO] [stdout] --> src/wstr.rs:18:41 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct CWSTR<'a> { [INFO] [stdout] | -------------------- similarly named struct `CWSTR` defined here [INFO] [stdout] ... [INFO] [stdout] 18 | unsafe fn param(self) -> ParamValue { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 18 - unsafe fn param(self) -> ParamValue { [INFO] [stdout] 18 + unsafe fn param(self) -> ParamValue { [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 17 | impl Param for CWSTR<'_> { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Param` in this scope [INFO] [stdout] --> src/wstr.rs:27:6 [INFO] [stdout] | [INFO] [stdout] 27 | impl Param for WSTR<'_> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PWSTR` in this scope [INFO] [stdout] --> src/wstr.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct CWSTR<'a> { [INFO] [stdout] | -------------------- similarly named struct `CWSTR` defined here [INFO] [stdout] ... [INFO] [stdout] 27 | impl Param for WSTR<'_> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 27 - impl Param for WSTR<'_> { [INFO] [stdout] 27 + impl Param for WSTR<'_> { [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 27 | impl Param for WSTR<'_> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ParamValue` in this scope [INFO] [stdout] --> src/wstr.rs:28:30 [INFO] [stdout] | [INFO] [stdout] 28 | unsafe fn param(self) -> ParamValue { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PWSTR` in this scope [INFO] [stdout] --> src/wstr.rs:28:41 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct CWSTR<'a> { [INFO] [stdout] | -------------------- similarly named struct `CWSTR` defined here [INFO] [stdout] ... [INFO] [stdout] 28 | unsafe fn param(self) -> ParamValue { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 28 - unsafe fn param(self) -> ParamValue { [INFO] [stdout] 28 + unsafe fn param(self) -> ParamValue { [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 27 | impl Param for WSTR<'_> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PCWSTR` in this scope [INFO] [stdout] --> src/wstr.rs:70:26 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct CWSTR<'a> { [INFO] [stdout] | -------------------- similarly named struct `CWSTR` defined here [INFO] [stdout] ... [INFO] [stdout] 70 | impl From> for PCWSTR { [INFO] [stdout] | ^^^^^^ help: a struct with a similar name exists: `CWSTR` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PWSTR` in this scope [INFO] [stdout] --> src/wstr.rs:76:25 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct CWSTR<'a> { [INFO] [stdout] | -------------------- similarly named struct `CWSTR` defined here [INFO] [stdout] ... [INFO] [stdout] 76 | impl From> for PWSTR { [INFO] [stdout] | ^^^^^ help: a struct with a similar name exists: `CWSTR` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PCWSTR` in this scope [INFO] [stdout] --> src/wstr.rs:82:33 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct CWSTR<'a> { [INFO] [stdout] | -------------------- similarly named struct `CWSTR` defined here [INFO] [stdout] ... [INFO] [stdout] 82 | impl From> for Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 82 - impl From> for Option { [INFO] [stdout] 82 + impl From> for Option { [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 82 | impl From> for Option { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PWSTR` in this scope [INFO] [stdout] --> src/wstr.rs:92:32 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct CWSTR<'a> { [INFO] [stdout] | -------------------- similarly named struct `CWSTR` defined here [INFO] [stdout] ... [INFO] [stdout] 92 | impl From> for Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 92 - impl From> for Option { [INFO] [stdout] 92 + impl From> for Option { [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 92 | impl From> for Option { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ParamValue` [INFO] [stdout] --> src/wstr.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | ParamValue::Borrowed(zeroed()) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ParamValue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ParamValue` [INFO] [stdout] --> src/wstr.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | ParamValue::Owned(self.s) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ParamValue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ParamValue` [INFO] [stdout] --> src/wstr.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | ParamValue::Borrowed(zeroed()) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ParamValue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ParamValue` [INFO] [stdout] --> src/wstr.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | ParamValue::Owned(self.s) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ParamValue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PCWSTR` [INFO] [stdout] --> src/wstr.rs:45:16 [INFO] [stdout] | [INFO] [stdout] 45 | s: PCWSTR::from_raw(self.as_ptr()), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `PCWSTR` [INFO] [stdout] | help: a struct with a similar name exists: `CWSTR` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PWSTR` [INFO] [stdout] --> src/wstr.rs:52:16 [INFO] [stdout] | [INFO] [stdout] 52 | s: PWSTR::from_raw(self.as_mut_ptr()), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `PWSTR` [INFO] [stdout] | help: a struct with a similar name exists: `CWSTR` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `set_efficiency_mode` (bin "set_efficiency_mode") due to 23 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0412]: cannot find type `PCWSTR` in this scope [INFO] [stdout] --> src/wstr.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | s: PCWSTR, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PWSTR` in this scope [INFO] [stdout] --> src/wstr.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct CWSTR<'a> { [INFO] [stdout] | -------------------- similarly named struct `CWSTR` defined here [INFO] [stdout] ... [INFO] [stdout] 13 | s: PWSTR, [INFO] [stdout] | ^^^^^ help: a struct with a similar name exists: `CWSTR` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Param` in this scope [INFO] [stdout] --> src/wstr.rs:17:6 [INFO] [stdout] | [INFO] [stdout] 17 | impl Param for CWSTR<'_> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PCWSTR` in this scope [INFO] [stdout] --> src/wstr.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct CWSTR<'a> { [INFO] [stdout] | -------------------- similarly named struct `CWSTR` defined here [INFO] [stdout] ... [INFO] [stdout] 17 | impl Param for CWSTR<'_> { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 17 - impl Param for CWSTR<'_> { [INFO] [stdout] 17 + impl Param for CWSTR<'_> { [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 17 | impl Param for CWSTR<'_> { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ParamValue` in this scope [INFO] [stdout] --> src/wstr.rs:18:30 [INFO] [stdout] | [INFO] [stdout] 18 | unsafe fn param(self) -> ParamValue { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PCWSTR` in this scope [INFO] [stdout] --> src/wstr.rs:18:41 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct CWSTR<'a> { [INFO] [stdout] | -------------------- similarly named struct `CWSTR` defined here [INFO] [stdout] ... [INFO] [stdout] 18 | unsafe fn param(self) -> ParamValue { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 18 - unsafe fn param(self) -> ParamValue { [INFO] [stdout] 18 + unsafe fn param(self) -> ParamValue { [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 17 | impl Param for CWSTR<'_> { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `Param` in this scope [INFO] [stdout] --> src/wstr.rs:27:6 [INFO] [stdout] | [INFO] [stdout] 27 | impl Param for WSTR<'_> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PWSTR` in this scope [INFO] [stdout] --> src/wstr.rs:27:12 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct CWSTR<'a> { [INFO] [stdout] | -------------------- similarly named struct `CWSTR` defined here [INFO] [stdout] ... [INFO] [stdout] 27 | impl Param for WSTR<'_> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 27 - impl Param for WSTR<'_> { [INFO] [stdout] 27 + impl Param for WSTR<'_> { [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 27 | impl Param for WSTR<'_> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ParamValue` in this scope [INFO] [stdout] --> src/wstr.rs:28:30 [INFO] [stdout] | [INFO] [stdout] 28 | unsafe fn param(self) -> ParamValue { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PWSTR` in this scope [INFO] [stdout] --> src/wstr.rs:28:41 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct CWSTR<'a> { [INFO] [stdout] | -------------------- similarly named struct `CWSTR` defined here [INFO] [stdout] ... [INFO] [stdout] 28 | unsafe fn param(self) -> ParamValue { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 28 - unsafe fn param(self) -> ParamValue { [INFO] [stdout] 28 + unsafe fn param(self) -> ParamValue { [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 27 | impl Param for WSTR<'_> { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PCWSTR` in this scope [INFO] [stdout] --> src/wstr.rs:70:26 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct CWSTR<'a> { [INFO] [stdout] | -------------------- similarly named struct `CWSTR` defined here [INFO] [stdout] ... [INFO] [stdout] 70 | impl From> for PCWSTR { [INFO] [stdout] | ^^^^^^ help: a struct with a similar name exists: `CWSTR` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PWSTR` in this scope [INFO] [stdout] --> src/wstr.rs:76:25 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct CWSTR<'a> { [INFO] [stdout] | -------------------- similarly named struct `CWSTR` defined here [INFO] [stdout] ... [INFO] [stdout] 76 | impl From> for PWSTR { [INFO] [stdout] | ^^^^^ help: a struct with a similar name exists: `CWSTR` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PCWSTR` in this scope [INFO] [stdout] --> src/wstr.rs:82:33 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct CWSTR<'a> { [INFO] [stdout] | -------------------- similarly named struct `CWSTR` defined here [INFO] [stdout] ... [INFO] [stdout] 82 | impl From> for Option { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 82 - impl From> for Option { [INFO] [stdout] 82 + impl From> for Option { [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 82 | impl From> for Option { [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PWSTR` in this scope [INFO] [stdout] --> src/wstr.rs:92:32 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct CWSTR<'a> { [INFO] [stdout] | -------------------- similarly named struct `CWSTR` defined here [INFO] [stdout] ... [INFO] [stdout] 92 | impl From> for Option { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 92 - impl From> for Option { [INFO] [stdout] 92 + impl From> for Option { [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 92 | impl From> for Option { [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ParamValue` [INFO] [stdout] --> src/wstr.rs:20:13 [INFO] [stdout] | [INFO] [stdout] 20 | ParamValue::Borrowed(zeroed()) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ParamValue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ParamValue` [INFO] [stdout] --> src/wstr.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | ParamValue::Owned(self.s) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ParamValue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ParamValue` [INFO] [stdout] --> src/wstr.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | ParamValue::Borrowed(zeroed()) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ParamValue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ParamValue` [INFO] [stdout] --> src/wstr.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 32 | ParamValue::Owned(self.s) [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ParamValue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PCWSTR` [INFO] [stdout] --> src/wstr.rs:45:16 [INFO] [stdout] | [INFO] [stdout] 45 | s: PCWSTR::from_raw(self.as_ptr()), [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `PCWSTR` [INFO] [stdout] | help: a struct with a similar name exists: `CWSTR` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PWSTR` [INFO] [stdout] --> src/wstr.rs:52:16 [INFO] [stdout] | [INFO] [stdout] 52 | s: PWSTR::from_raw(self.as_mut_ptr()), [INFO] [stdout] | ^^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of undeclared type `PWSTR` [INFO] [stdout] | help: a struct with a similar name exists: `CWSTR` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: could not compile `set_efficiency_mode` (bin "set_efficiency_mode" test) due to 23 previous errors [INFO] running `Command { std: "docker" "inspect" "6861ff2fe709bbe604a2f4ef210fe067aaf077ed391b959c78b8c91b0d583882", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6861ff2fe709bbe604a2f4ef210fe067aaf077ed391b959c78b8c91b0d583882", kill_on_drop: false }` [INFO] [stdout] 6861ff2fe709bbe604a2f4ef210fe067aaf077ed391b959c78b8c91b0d583882