[INFO] cloning repository https://github.com/frankforges/BatteryWattage
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/frankforges/BatteryWattage" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffrankforges%2FBatteryWattage", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffrankforges%2FBatteryWattage'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 3ac7ecf3ef134b19974e2feadb77f4f2bb4d1486
[INFO] checking frankforges/BatteryWattage against 3154cc1a3e6424e44f438a95007d043ed5ceaaf6+rustflags=-Znext-solver=coherence for pr-133502-30
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ffrankforges%2FBatteryWattage" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'...
[INFO] [stderr] done.
[INFO] removed /workspace/builds/worker-7-tc1/source/.cargo/config.toml
[INFO] started tweaking git repo https://github.com/frankforges/BatteryWattage
[INFO] finished tweaking git repo https://github.com/frankforges/BatteryWattage
[INFO] tweaked toml for git repo https://github.com/frankforges/BatteryWattage written to /workspace/builds/worker-7-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/frankforges/BatteryWattage on toolchain 3154cc1a3e6424e44f438a95007d043ed5ceaaf6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/frankforges/BatteryWattage 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" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded winres v0.1.12
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 74663c957c26ff35d0ee21e482d2b6a408c9089622473230adc21166541e8026
[INFO] running `Command { std: "docker" "start" "74663c957c26ff35d0ee21e482d2b6a408c9089622473230adc21166541e8026", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "74663c957c26ff35d0ee21e482d2b6a408c9089622473230adc21166541e8026", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "74663c957c26ff35d0ee21e482d2b6a408c9089622473230adc21166541e8026" "/opt/rustwide/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "74663c957c26ff35d0ee21e482d2b6a408c9089622473230adc21166541e8026", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid -Znext-solver=coherence" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-w" "/opt/rustwide/workdir" "--user" "0:0" "74663c957c26ff35d0ee21e482d2b6a408c9089622473230adc21166541e8026" "/opt/rustwide/cargo-home/bin/cargo" "+3154cc1a3e6424e44f438a95007d043ed5ceaaf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde v1.0.229
[INFO] [stderr]    Compiling serde_core v1.0.229
[INFO] [stderr]    Compiling syn v2.0.119
[INFO] [stderr]     Checking windows-result v0.2.0
[INFO] [stderr]     Checking windows-strings v0.1.0
[INFO] [stderr]    Compiling toml v0.5.11
[INFO] [stderr]    Compiling windows-implement v0.58.0
[INFO] [stderr]    Compiling windows-interface v0.58.0
[INFO] [stderr]    Compiling winres v0.1.12
[INFO] [stderr]     Checking windows-core v0.58.0
[INFO] [stderr]     Checking windows v0.58.0
[INFO] [stderr]    Compiling battery-wattage v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]  --> src/battery.rs:2:14
[INFO] [stdout]   |
[INFO] [stdout] 2 | use windows::Win32::Devices::DeviceAndDriverInstallation::*;
[INFO] [stdout]   |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]  --> src/battery.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | use windows::Win32::Foundation::*;
[INFO] [stdout]   |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]  --> src/battery.rs:4:14
[INFO] [stdout]   |
[INFO] [stdout] 4 | use windows::Win32::Storage::FileSystem::*;
[INFO] [stdout]   |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]  --> src/battery.rs:5:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | use windows::Win32::System::Power::*;
[INFO] [stdout]   |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]  --> src/battery.rs:6:14
[INFO] [stdout]   |
[INFO] [stdout] 6 | use windows::Win32::System::IO::*;
[INFO] [stdout]   |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `windows::core`
[INFO] [stdout]  --> src/battery.rs:1:14
[INFO] [stdout]   |
[INFO] [stdout] 1 | use windows::core::*;
[INFO] [stdout]   |              ^^^^ could not find `core` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]  --> src/config.rs:2:14
[INFO] [stdout]   |
[INFO] [stdout] 2 | use windows::Win32::System::Registry::*;
[INFO] [stdout]   |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `windows::core`
[INFO] [stdout]  --> src/config.rs:1:14
[INFO] [stdout]   |
[INFO] [stdout] 1 | use windows::core::*;
[INFO] [stdout]   |              ^^^^ could not find `core` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]  --> src/icon.rs:2:14
[INFO] [stdout]   |
[INFO] [stdout] 2 | use windows::Win32::Foundation::*;
[INFO] [stdout]   |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]  --> src/icon.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | use windows::Win32::Graphics::Gdi::*;
[INFO] [stdout]   |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]  --> src/icon.rs:4:14
[INFO] [stdout]   |
[INFO] [stdout] 4 | use windows::Win32::UI::WindowsAndMessaging::*;
[INFO] [stdout]   |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `windows::core`
[INFO] [stdout]  --> src/icon.rs:1:14
[INFO] [stdout]   |
[INFO] [stdout] 1 | use windows::core::*;
[INFO] [stdout]   |              ^^^^ could not find `core` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]  --> src/tray.rs:2:14
[INFO] [stdout]   |
[INFO] [stdout] 2 | use windows::Win32::Foundation::*;
[INFO] [stdout]   |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]  --> src/tray.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | use windows::Win32::System::LibraryLoader::GetModuleFileNameW;
[INFO] [stdout]   |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]  --> src/tray.rs:4:14
[INFO] [stdout]   |
[INFO] [stdout] 4 | use windows::Win32::System::Registry::*;
[INFO] [stdout]   |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]  --> src/tray.rs:5:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | use windows::Win32::UI::Shell::*;
[INFO] [stdout]   |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]  --> src/tray.rs:6:14
[INFO] [stdout]   |
[INFO] [stdout] 6 | use windows::Win32::UI::WindowsAndMessaging::*;
[INFO] [stdout]   |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `windows::core`
[INFO] [stdout]  --> src/tray.rs:1:14
[INFO] [stdout]   |
[INFO] [stdout] 1 | use windows::core::*;
[INFO] [stdout]   |              ^^^^ could not find `core` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]  --> src/main.rs:9:14
[INFO] [stdout]   |
[INFO] [stdout] 9 | use windows::Win32::Foundation::*;
[INFO] [stdout]   |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> src/main.rs:10:14
[INFO] [stdout]    |
[INFO] [stdout] 10 | use windows::Win32::Graphics::Gdi::*;
[INFO] [stdout]    |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> src/main.rs:11:14
[INFO] [stdout]    |
[INFO] [stdout] 11 | use windows::Win32::UI::Shell::NIN_SELECT;
[INFO] [stdout]    |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> src/main.rs:12:14
[INFO] [stdout]    |
[INFO] [stdout] 12 | use windows::Win32::UI::WindowsAndMessaging::*;
[INFO] [stdout]    |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `windows::core`
[INFO] [stdout]  --> src/main.rs:8:14
[INFO] [stdout]   |
[INFO] [stdout] 8 | use windows::core::*;
[INFO] [stdout]   |              ^^^^ could not find `core` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]  --> src/battery.rs:2:14
[INFO] [stdout]   |
[INFO] [stdout] 2 | use windows::Win32::Devices::DeviceAndDriverInstallation::*;
[INFO] [stdout]   |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]  --> src/battery.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | use windows::Win32::Foundation::*;
[INFO] [stdout]   |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]  --> src/battery.rs:4:14
[INFO] [stdout]   |
[INFO] [stdout] 4 | use windows::Win32::Storage::FileSystem::*;
[INFO] [stdout]   |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]  --> src/battery.rs:5:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | use windows::Win32::System::Power::*;
[INFO] [stdout]   |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]  --> src/battery.rs:6:14
[INFO] [stdout]   |
[INFO] [stdout] 6 | use windows::Win32::System::IO::*;
[INFO] [stdout]   |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `windows::core`
[INFO] [stdout]  --> src/battery.rs:1:14
[INFO] [stdout]   |
[INFO] [stdout] 1 | use windows::core::*;
[INFO] [stdout]   |              ^^^^ could not find `core` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]  --> src/config.rs:2:14
[INFO] [stdout]   |
[INFO] [stdout] 2 | use windows::Win32::System::Registry::*;
[INFO] [stdout]   |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `windows::core`
[INFO] [stdout]  --> src/config.rs:1:14
[INFO] [stdout]   |
[INFO] [stdout] 1 | use windows::core::*;
[INFO] [stdout]   |              ^^^^ could not find `core` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]  --> src/icon.rs:2:14
[INFO] [stdout]   |
[INFO] [stdout] 2 | use windows::Win32::Foundation::*;
[INFO] [stdout]   |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]  --> src/icon.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | use windows::Win32::Graphics::Gdi::*;
[INFO] [stdout]   |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]  --> src/icon.rs:4:14
[INFO] [stdout]   |
[INFO] [stdout] 4 | use windows::Win32::UI::WindowsAndMessaging::*;
[INFO] [stdout]   |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `windows::core`
[INFO] [stdout]  --> src/icon.rs:1:14
[INFO] [stdout]   |
[INFO] [stdout] 1 | use windows::core::*;
[INFO] [stdout]   |              ^^^^ could not find `core` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]  --> src/tray.rs:2:14
[INFO] [stdout]   |
[INFO] [stdout] 2 | use windows::Win32::Foundation::*;
[INFO] [stdout]   |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]  --> src/tray.rs:3:14
[INFO] [stdout]   |
[INFO] [stdout] 3 | use windows::Win32::System::LibraryLoader::GetModuleFileNameW;
[INFO] [stdout]   |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]  --> src/tray.rs:4:14
[INFO] [stdout]   |
[INFO] [stdout] 4 | use windows::Win32::System::Registry::*;
[INFO] [stdout]   |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]  --> src/tray.rs:5:14
[INFO] [stdout]   |
[INFO] [stdout] 5 | use windows::Win32::UI::Shell::*;
[INFO] [stdout]   |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]  --> src/tray.rs:6:14
[INFO] [stdout]   |
[INFO] [stdout] 6 | use windows::Win32::UI::WindowsAndMessaging::*;
[INFO] [stdout]   |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `windows::core`
[INFO] [stdout]  --> src/tray.rs:1:14
[INFO] [stdout]   |
[INFO] [stdout] 1 | use windows::core::*;
[INFO] [stdout]   |              ^^^^ could not find `core` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]  --> src/main.rs:9:14
[INFO] [stdout]   |
[INFO] [stdout] 9 | use windows::Win32::Foundation::*;
[INFO] [stdout]   |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> src/main.rs:10:14
[INFO] [stdout]    |
[INFO] [stdout] 10 | use windows::Win32::Graphics::Gdi::*;
[INFO] [stdout]    |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> src/main.rs:11:14
[INFO] [stdout]    |
[INFO] [stdout] 11 | use windows::Win32::UI::Shell::NIN_SELECT;
[INFO] [stdout]    |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: cannot find `Win32` in `windows`
[INFO] [stdout]   --> src/main.rs:12:14
[INFO] [stdout]    |
[INFO] [stdout] 12 | use windows::Win32::UI::WindowsAndMessaging::*;
[INFO] [stdout]    |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `windows::core`
[INFO] [stdout]  --> src/main.rs:8:14
[INFO] [stdout]   |
[INFO] [stdout] 8 | use windows::core::*;
[INFO] [stdout]   |              ^^^^ could not find `core` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]   --> src/battery.rs:27:29
[INFO] [stdout]    |
[INFO] [stdout] 27 | fn open_battery_device() -> Result<HANDLE> {
[INFO] [stdout]    |                             ^^^^^^ ------ supplied 1 generic argument
[INFO] [stdout]    |                             |
[INFO] [stdout]    |                             expected 2 generic arguments
[INFO] [stdout]    |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]    |
[INFO] [stdout] 27 | fn open_battery_device() -> Result<HANDLE, E> {
[INFO] [stdout]    |                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]   --> src/battery.rs:95:39
[INFO] [stdout]    |
[INFO] [stdout] 95 | fn get_battery_tag(handle: HANDLE) -> Result<u32> {
[INFO] [stdout]    |                                       ^^^^^^ --- supplied 1 generic argument
[INFO] [stdout]    |                                       |
[INFO] [stdout]    |                                       expected 2 generic arguments
[INFO] [stdout]    |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]    |
[INFO] [stdout] 95 | fn get_battery_tag(handle: HANDLE) -> Result<u32, E> {
[INFO] [stdout]    |                                                 +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]   --> src/icon.rs:13:6
[INFO] [stdout]    |
[INFO] [stdout] 13 | ) -> Result<HICON> {
[INFO] [stdout]    |      ^^^^^^ ----- supplied 1 generic argument
[INFO] [stdout]    |      |
[INFO] [stdout]    |      expected 2 generic arguments
[INFO] [stdout]    |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]    |
[INFO] [stdout] 13 | ) -> Result<HICON, E> {
[INFO] [stdout]    |                  +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]   --> src/tray.rs:20:30
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn create(hwnd: HWND) -> Result<()> {
[INFO] [stdout]    |                              ^^^^^^ -- supplied 1 generic argument
[INFO] [stdout]    |                              |
[INFO] [stdout]    |                              expected 2 generic arguments
[INFO] [stdout]    |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn create(hwnd: HWND) -> Result<(), E> {
[INFO] [stdout]    |                                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]    --> src/main.rs:355:51
[INFO] [stdout]     |
[INFO] [stdout] 355 | fn create_hidden_window(app_ptr: *mut AppData) -> Result<HWND> {
[INFO] [stdout]     |                                                   ^^^^^^ ---- supplied 1 generic argument
[INFO] [stdout]     |                                                   |
[INFO] [stdout]     |                                                   expected 2 generic arguments
[INFO] [stdout]     |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]     |
[INFO] [stdout] 355 | fn create_hidden_window(app_ptr: *mut AppData) -> Result<HWND, E> {
[INFO] [stdout]     |                                                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]    --> src/main.rs:396:14
[INFO] [stdout]     |
[INFO] [stdout] 396 | fn main() -> Result<()> {
[INFO] [stdout]     |              ^^^^^^ -- supplied 1 generic argument
[INFO] [stdout]     |              |
[INFO] [stdout]     |              expected 2 generic arguments
[INFO] [stdout]     |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]     |
[INFO] [stdout] 396 | fn main() -> Result<(), E> {
[INFO] [stdout]     |                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]    --> src/battery.rs:118:22
[INFO] [stdout]     |
[INFO] [stdout] 118 |     pub fn open() -> Result<Self> {
[INFO] [stdout]     |                      ^^^^^^ ---- supplied 1 generic argument
[INFO] [stdout]     |                      |
[INFO] [stdout]     |                      expected 2 generic arguments
[INFO] [stdout]     |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]     |
[INFO] [stdout] 118 |     pub fn open() -> Result<Self, E> {
[INFO] [stdout]     |                                 +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]   --> src/battery.rs:27:29
[INFO] [stdout]    |
[INFO] [stdout] 27 | fn open_battery_device() -> Result<HANDLE> {
[INFO] [stdout]    |                             ^^^^^^ ------ supplied 1 generic argument
[INFO] [stdout]    |                             |
[INFO] [stdout]    |                             expected 2 generic arguments
[INFO] [stdout]    |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]    |
[INFO] [stdout] 27 | fn open_battery_device() -> Result<HANDLE, E> {
[INFO] [stdout]    |                                          +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]   --> src/battery.rs:95:39
[INFO] [stdout]    |
[INFO] [stdout] 95 | fn get_battery_tag(handle: HANDLE) -> Result<u32> {
[INFO] [stdout]    |                                       ^^^^^^ --- supplied 1 generic argument
[INFO] [stdout]    |                                       |
[INFO] [stdout]    |                                       expected 2 generic arguments
[INFO] [stdout]    |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]    |
[INFO] [stdout] 95 | fn get_battery_tag(handle: HANDLE) -> Result<u32, E> {
[INFO] [stdout]    |                                                 +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]   --> src/icon.rs:13:6
[INFO] [stdout]    |
[INFO] [stdout] 13 | ) -> Result<HICON> {
[INFO] [stdout]    |      ^^^^^^ ----- supplied 1 generic argument
[INFO] [stdout]    |      |
[INFO] [stdout]    |      expected 2 generic arguments
[INFO] [stdout]    |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]    |
[INFO] [stdout] 13 | ) -> Result<HICON, E> {
[INFO] [stdout]    |                  +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]   --> src/tray.rs:20:30
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn create(hwnd: HWND) -> Result<()> {
[INFO] [stdout]    |                              ^^^^^^ -- supplied 1 generic argument
[INFO] [stdout]    |                              |
[INFO] [stdout]    |                              expected 2 generic arguments
[INFO] [stdout]    |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]    |
[INFO] [stdout] 20 | pub fn create(hwnd: HWND) -> Result<(), E> {
[INFO] [stdout]    |                                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]    --> src/main.rs:355:51
[INFO] [stdout]     |
[INFO] [stdout] 355 | fn create_hidden_window(app_ptr: *mut AppData) -> Result<HWND> {
[INFO] [stdout]     |                                                   ^^^^^^ ---- supplied 1 generic argument
[INFO] [stdout]     |                                                   |
[INFO] [stdout]     |                                                   expected 2 generic arguments
[INFO] [stdout]     |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]     |
[INFO] [stdout] 355 | fn create_hidden_window(app_ptr: *mut AppData) -> Result<HWND, E> {
[INFO] [stdout]     |                                                              +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]    --> src/main.rs:396:14
[INFO] [stdout]     |
[INFO] [stdout] 396 | fn main() -> Result<()> {
[INFO] [stdout]     |              ^^^^^^ -- supplied 1 generic argument
[INFO] [stdout]     |              |
[INFO] [stdout]     |              expected 2 generic arguments
[INFO] [stdout]     |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]     |
[INFO] [stdout] 396 | fn main() -> Result<(), E> {
[INFO] [stdout]     |                       +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0107]: enum takes 2 generic arguments but 1 generic argument was supplied
[INFO] [stdout]    --> src/battery.rs:118:22
[INFO] [stdout]     |
[INFO] [stdout] 118 |     pub fn open() -> Result<Self> {
[INFO] [stdout]     |                      ^^^^^^ ---- supplied 1 generic argument
[INFO] [stdout]     |                      |
[INFO] [stdout]     |                      expected 2 generic arguments
[INFO] [stdout]     |
[INFO] [stdout] help: add missing generic argument
[INFO] [stdout]     |
[INFO] [stdout] 118 |     pub fn open() -> Result<Self, E> {
[INFO] [stdout]     |                                 +++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0107, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0107`.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0107, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0107`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `battery-wattage` (bin "BatteryWattage" test) due to 30 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `battery-wattage` (bin "BatteryWattage") due to 30 previous errors
[INFO] running `Command { std: "docker" "inspect" "74663c957c26ff35d0ee21e482d2b6a408c9089622473230adc21166541e8026", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "74663c957c26ff35d0ee21e482d2b6a408c9089622473230adc21166541e8026", kill_on_drop: false }`
[INFO] [stdout] 74663c957c26ff35d0ee21e482d2b6a408c9089622473230adc21166541e8026
