[INFO] cloning repository https://github.com/robertsweetman/winvent
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/robertsweetman/winvent" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobertsweetman%2Fwinvent", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobertsweetman%2Fwinvent'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f896bf0292068f711a8815fe558b58cb1fdd38db
[INFO] checking robertsweetman/winvent against try#95813608313bff49cfc1afc393a946a3c085b772 for pr-148946
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobertsweetman%2Fwinvent" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/robertsweetman/winvent
[INFO] finished tweaking git repo https://github.com/robertsweetman/winvent
[INFO] tweaked toml for git repo https://github.com/robertsweetman/winvent written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/robertsweetman/winvent on toolchain 95813608313bff49cfc1afc393a946a3c085b772
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+95813608313bff49cfc1afc393a946a3c085b772" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/robertsweetman/winvent 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" "+95813608313bff49cfc1afc393a946a3c085b772" "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
[ERROR] error running command: no output for 300 seconds
[INFO] checking robertsweetman/winvent against try#95813608313bff49cfc1afc393a946a3c085b772 for pr-148946
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frobertsweetman%2Fwinvent" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/robertsweetman/winvent
[INFO] finished tweaking git repo https://github.com/robertsweetman/winvent
[INFO] tweaked toml for git repo https://github.com/robertsweetman/winvent written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/robertsweetman/winvent on toolchain 95813608313bff49cfc1afc393a946a3c085b772
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+95813608313bff49cfc1afc393a946a3c085b772" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/robertsweetman/winvent 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" "+95813608313bff49cfc1afc393a946a3c085b772" "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 windows-result v0.3.0
[INFO] [stderr]   Downloaded uuid v1.15.1
[INFO] [stderr]   Downloaded aws-config v1.5.17
[INFO] [stderr]   Downloaded windows-core v0.59.0
[INFO] [stderr]   Downloaded windows-strings v0.3.0
[INFO] [stderr]   Downloaded aws-sdk-cloudwatchlogs v1.71.0
[INFO] [stderr]   Downloaded windows-implement v0.59.0
[INFO] [stderr]   Downloaded windows-service v0.7.0
[INFO] [stderr]   Downloaded aws-sigv4 v1.2.9
[INFO] [stderr]   Downloaded windows-interface v0.59.0
[INFO] [stderr]   Downloaded ring v0.17.11
[INFO] [stderr]   Downloaded aws-sdk-sso v1.60.0
[INFO] [stderr]   Downloaded aws-sdk-ssooidc v1.61.0
[INFO] [stderr]   Downloaded aws-sdk-sts v1.61.0
[INFO] [stderr]   Downloaded windows v0.59.0
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+95813608313bff49cfc1afc393a946a3c085b772" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] f12b947d377d7f21aa2c2c03372dac2bb1ccf6147f8f64811b85970475641c35
[INFO] running `Command { std: "docker" "start" "-a" "f12b947d377d7f21aa2c2c03372dac2bb1ccf6147f8f64811b85970475641c35", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "f12b947d377d7f21aa2c2c03372dac2bb1ccf6147f8f64811b85970475641c35", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "f12b947d377d7f21aa2c2c03372dac2bb1ccf6147f8f64811b85970475641c35", kill_on_drop: false }`
[INFO] [stdout] f12b947d377d7f21aa2c2c03372dac2bb1ccf6147f8f64811b85970475641c35
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+95813608313bff49cfc1afc393a946a3c085b772" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 519810a8531f46242080b7b17f31e2c3dfd50083565b27f0eac55bdddbc0d490
[INFO] running `Command { std: "docker" "start" "-a" "519810a8531f46242080b7b17f31e2c3dfd50083565b27f0eac55bdddbc0d490", kill_on_drop: false }`
[INFO] [stderr]    Compiling unicode-ident v1.0.15
[INFO] [stderr]    Compiling libc v0.2.170
[INFO] [stderr]     Checking futures-task v0.3.31
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling cc v1.2.16
[INFO] [stderr]     Checking either v1.14.0
[INFO] [stderr]     Checking time v0.3.37
[INFO] [stderr]     Checking indexmap v2.7.1
[INFO] [stderr]    Compiling semver v1.0.25
[INFO] [stderr]    Compiling rustls v0.21.12
[INFO] [stderr]     Checking log v0.4.26
[INFO] [stderr]     Checking digest v0.10.7
[INFO] [stderr]     Checking rustls-native-certs v0.6.3
[INFO] [stderr]    Compiling windows_x86_64_gnu v0.53.0
[INFO] [stderr]     Checking uuid v1.15.1
[INFO] [stderr]     Checking smallvec v1.14.0
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking predicates-core v1.0.9
[INFO] [stderr]    Compiling proc-macro2 v1.0.93
[INFO] [stderr]     Checking bytes-utils v0.1.4
[INFO] [stderr]     Checking xmlparser v0.13.6
[INFO] [stderr]    Compiling mockall_derive v0.13.1
[INFO] [stderr]     Checking termtree v0.5.1
[INFO] [stderr]    Compiling serde_json v1.0.139
[INFO] [stderr]     Checking winnow v0.7.2
[INFO] [stderr]     Checking hmac v0.12.1
[INFO] [stderr]     Checking sha2 v0.10.8
[INFO] [stderr]     Checking predicates-tree v1.0.12
[INFO] [stderr]     Checking windows-targets v0.53.0
[INFO] [stderr]     Checking windows-strings v0.3.0
[INFO] [stderr]     Checking windows-result v0.3.0
[INFO] [stderr]     Checking predicates v3.1.3
[INFO] [stderr]     Checking fragile v2.0.0
[INFO] [stderr]     Checking aws-smithy-xml v0.60.9
[INFO] [stderr]     Checking downcast v0.11.0
[INFO] [stderr]     Checking windows-service v0.7.0
[INFO] [stderr]    Compiling rustc_version v0.4.1
[INFO] [stderr]    Compiling quote v1.0.38
[INFO] [stderr]     Checking num-integer v0.1.46
[INFO] [stderr]    Compiling syn v2.0.96
[INFO] [stderr]    Compiling aws-types v1.3.5
[INFO] [stderr]    Compiling ring v0.17.11
[INFO] [stderr]     Checking http-body-util v0.1.2
[INFO] [stderr]     Checking socket2 v0.5.8
[INFO] [stderr]     Checking signal-hook-registry v1.4.2
[INFO] [stderr]     Checking mio v1.0.3
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]     Checking tokio v1.43.0
[INFO] [stderr]     Checking rustls-webpki v0.101.7
[INFO] [stderr]     Checking sct v0.7.1
[INFO] [stderr]    Compiling synstructure v0.13.1
[INFO] [stderr]     Checking tokio-util v0.7.13
[INFO] [stderr]     Checking aws-smithy-async v1.2.4
[INFO] [stderr]    Compiling tracing-attributes v0.1.28
[INFO] [stderr]    Compiling zerovec-derive v0.10.3
[INFO] [stderr]    Compiling displaydoc v0.2.5
[INFO] [stderr]    Compiling icu_provider_macros v1.5.0
[INFO] [stderr]    Compiling serde_derive v1.0.217
[INFO] [stderr]    Compiling windows-implement v0.59.0
[INFO] [stderr]    Compiling windows-interface v0.59.0
[INFO] [stderr]    Compiling zerofrom-derive v0.1.6
[INFO] [stderr]    Compiling yoke-derive v0.7.5
[INFO] [stderr]     Checking aws-smithy-types v1.2.13
[INFO] [stderr]     Checking aws-smithy-json v0.61.2
[INFO] [stderr]     Checking aws-smithy-query v0.60.7
[INFO] [stderr]     Checking windows-core v0.59.0
[INFO] [stderr]     Checking tracing v0.1.41
[INFO] [stderr]     Checking zerofrom v0.1.6
[INFO] [stderr]     Checking yoke v0.7.5
[INFO] [stderr]     Checking aws-smithy-runtime-api v1.7.3
[INFO] [stderr]     Checking h2 v0.3.26
[INFO] [stderr]     Checking windows v0.59.0
[INFO] [stderr]     Checking zerovec v0.10.4
[INFO] [stderr]     Checking tokio-rustls v0.24.1
[INFO] [stderr]     Checking aws-credential-types v1.2.1
[INFO] [stderr]     Checking aws-smithy-http v0.60.12
[INFO] [stderr]     Checking aws-sigv4 v1.2.9
[INFO] [stderr]     Checking tinystr v0.7.6
[INFO] [stderr]     Checking icu_collections v1.5.0
[INFO] [stderr]     Checking icu_locid v1.5.0
[INFO] [stderr]     Checking mockall v0.13.1
[INFO] [stderr]     Checking serde v1.0.217
[INFO] [stderr]     Checking icu_provider v1.5.0
[INFO] [stderr]     Checking icu_locid_transform v1.5.0
[INFO] [stderr]     Checking hyper v0.14.32
[INFO] [stderr]     Checking icu_properties v1.5.1
[INFO] [stderr]     Checking serde_spanned v0.6.8
[INFO] [stderr]     Checking toml_datetime v0.6.8
[INFO] [stderr]     Checking toml_edit v0.22.24
[INFO] [stderr]     Checking hyper-rustls v0.24.2
[INFO] [stderr]     Checking icu_normalizer v1.5.0
[INFO] [stderr]     Checking aws-smithy-runtime v1.7.8
[INFO] [stderr]     Checking idna_adapter v1.2.0
[INFO] [stderr]     Checking idna v1.0.3
[INFO] [stderr]     Checking toml v0.8.20
[INFO] [stderr]     Checking url v2.5.4
[INFO] [stderr]     Checking aws-runtime v1.5.5
[INFO] [stderr]     Checking aws-sdk-sts v1.61.0
[INFO] [stderr]     Checking aws-sdk-sso v1.60.0
[INFO] [stderr]     Checking aws-sdk-ssooidc v1.61.0
[INFO] [stderr]     Checking aws-sdk-cloudwatchlogs v1.71.0
[INFO] [stderr]     Checking aws-config v1.5.17
[INFO] [stderr]     Checking winvent v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows`
[INFO] [stdout]  --> src/logging.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     Win32::{Foundation::HANDLE, System::EventLog::*},
[INFO] [stdout]   |     ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `windows::core`
[INFO] [stdout]  --> src/logging.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     core::PCWSTR,
[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/service.rs:7:14
[INFO] [stdout]   |
[INFO] [stdout] 7 | use windows::Win32::System::EventLog::*;
[INFO] [stdout]   |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `windows::core`
[INFO] [stdout]  --> src/service.rs:6:14
[INFO] [stdout]   |
[INFO] [stdout] 6 | use windows::core::PCWSTR;
[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/logging.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 |     Win32::{Foundation::HANDLE, System::EventLog::*},
[INFO] [stdout]   |     ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `windows::core`
[INFO] [stdout]  --> src/logging.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 |     core::PCWSTR,
[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/service.rs:7:14
[INFO] [stdout]   |
[INFO] [stdout] 7 | use windows::Win32::System::EventLog::*;
[INFO] [stdout]   |              ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `windows::core`
[INFO] [stdout]  --> src/service.rs:6:14
[INFO] [stdout]   |
[INFO] [stdout] 6 | use windows::core::PCWSTR;
[INFO] [stdout]   |              ^^^^ could not find `core` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `windows_service::service`, `windows_service::service_control_handler`, `windows_service::service_control_handler`, `windows_service::service_manager`
[INFO] [stdout]   --> src/service.rs:9:5
[INFO] [stdout]    |
[INFO] [stdout]  9 |     service::{
[INFO] [stdout]    |     ^^^^^^^ could not find `service` in `windows_service`
[INFO] [stdout] ...
[INFO] [stdout] 13 |     service_control_handler::{self, ServiceControlHandlerResult, ServiceStatusHandle},
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^   ^^^^ no `service_control_handler` in the root
[INFO] [stdout]    |     |
[INFO] [stdout]    |     could not find `service_control_handler` in `windows_service`
[INFO] [stdout] 14 |     service_manager::{ServiceManager, ServiceManagerAccess},
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^ could not find `service_manager` in `windows_service`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `windows_service::service`, `windows_service::service_control_handler`, `windows_service::service_control_handler`, `windows_service::service_manager`
[INFO] [stdout]   --> src/service.rs:9:5
[INFO] [stdout]    |
[INFO] [stdout]  9 |     service::{
[INFO] [stdout]    |     ^^^^^^^ could not find `service` in `windows_service`
[INFO] [stdout] ...
[INFO] [stdout] 13 |     service_control_handler::{self, ServiceControlHandlerResult, ServiceStatusHandle},
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^   ^^^^ no `service_control_handler` in the root
[INFO] [stdout]    |     |
[INFO] [stdout]    |     could not find `service_control_handler` in `windows_service`
[INFO] [stdout] 14 |     service_manager::{ServiceManager, ServiceManagerAccess},
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^ could not find `service_manager` in `windows_service`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `windows_service::define_windows_service`, `windows_service::service_dispatcher`
[INFO] [stdout]  --> src/main.rs:8:23
[INFO] [stdout]   |
[INFO] [stdout] 8 | use windows_service::{define_windows_service, service_dispatcher};
[INFO] [stdout]   |                       ^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^ no `service_dispatcher` in the root
[INFO] [stdout]   |                       |
[INFO] [stdout]   |                       no `define_windows_service` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved imports `windows_service::define_windows_service`, `windows_service::service_dispatcher`
[INFO] [stdout]  --> src/main.rs:8:23
[INFO] [stdout]   |
[INFO] [stdout] 8 | use windows_service::{define_windows_service, service_dispatcher};
[INFO] [stdout]   |                       ^^^^^^^^^^^^^^^^^^^^^^  ^^^^^^^^^^^^^^^^^^ no `service_dispatcher` in the root
[INFO] [stdout]   |                       |
[INFO] [stdout]   |                       no `define_windows_service` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `windows`
[INFO] [stdout]   --> src/logging.rs:27:33
[INFO] [stdout]    |
[INFO] [stdout] 27 |                 Some(&[windows::core::PCSTR(message_ptr as *const u8)]),
[INFO] [stdout]    |                                 ^^^^ could not find `core` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `windows`
[INFO] [stdout]   --> src/logging.rs:27:33
[INFO] [stdout]    |
[INFO] [stdout] 27 |                 Some(&[windows::core::PCSTR(message_ptr as *const u8)]),
[INFO] [stdout]    |                                 ^^^^ could not find `core` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `windows`
[INFO] [stdout]    --> src/service.rs:118:27
[INFO] [stdout]     |
[INFO] [stdout] 118 |                 &windows::core::HSTRING::from(&config.event_source),
[INFO] [stdout]     |                           ^^^^ could not find `core` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `windows`
[INFO] [stdout]    --> src/service.rs:118:27
[INFO] [stdout]     |
[INFO] [stdout] 118 |                 &windows::core::HSTRING::from(&config.event_source),
[INFO] [stdout]     |                           ^^^^ could not find `core` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `windows`
[INFO] [stdout]    --> src/service.rs:146:27
[INFO] [stdout]     |
[INFO] [stdout] 146 |                 &windows::core::HSTRING::from(&config.event_source),
[INFO] [stdout]     |                           ^^^^ could not find `core` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `windows`
[INFO] [stdout]    --> src/service.rs:146:27
[INFO] [stdout]     |
[INFO] [stdout] 146 |                 &windows::core::HSTRING::from(&config.event_source),
[INFO] [stdout]     |                           ^^^^ could not find `core` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `service` in `windows_service`
[INFO] [stdout]    --> src/service.rs:334:38
[INFO] [stdout]     |
[INFO] [stdout] 334 |         start_type: windows_service::service::ServiceStartType::OnDemand,
[INFO] [stdout]     |                                      ^^^^^^^ could not find `service` in `windows_service`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `service` in `windows_service`
[INFO] [stdout]    --> src/service.rs:334:38
[INFO] [stdout]     |
[INFO] [stdout] 334 |         start_type: windows_service::service::ServiceStartType::OnDemand,
[INFO] [stdout]     |                                      ^^^^^^^ could not find `service` in `windows_service`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `service` in `windows_service`
[INFO] [stdout]    --> src/service.rs:335:41
[INFO] [stdout]     |
[INFO] [stdout] 335 |         error_control: windows_service::service::ServiceErrorControl::Normal,
[INFO] [stdout]     |                                         ^^^^^^^ could not find `service` in `windows_service`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `service` in `windows_service`
[INFO] [stdout]    --> src/service.rs:335:41
[INFO] [stdout]     |
[INFO] [stdout] 335 |         error_control: windows_service::service::ServiceErrorControl::Normal,
[INFO] [stdout]     |                                         ^^^^^^^ could not find `service` in `windows_service`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EVENTLOG_INFORMATION_TYPE` in this scope
[INFO] [stdout]   --> src/service.rs:29:31
[INFO] [stdout]    |
[INFO] [stdout] 29 |                     log_event(EVENTLOG_INFORMATION_TYPE.0, "Received stop command");
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EVENTLOG_ERROR_TYPE` in this scope
[INFO] [stdout]   --> src/service.rs:39:21
[INFO] [stdout]    |
[INFO] [stdout] 39 |                     EVENTLOG_ERROR_TYPE.0,
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EVENTLOG_INFORMATION_TYPE` in this scope
[INFO] [stdout]   --> src/service.rs:29:31
[INFO] [stdout]    |
[INFO] [stdout] 29 |                     log_event(EVENTLOG_INFORMATION_TYPE.0, "Received stop command");
[INFO] [stdout]    |                               ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EVENTLOG_ERROR_TYPE` in this scope
[INFO] [stdout]   --> src/service.rs:48:19
[INFO] [stdout]    |
[INFO] [stdout] 48 |         log_event(EVENTLOG_ERROR_TYPE.0, &error_msg);
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EVENTLOG_ERROR_TYPE` in this scope
[INFO] [stdout]   --> src/service.rs:39:21
[INFO] [stdout]    |
[INFO] [stdout] 39 |                     EVENTLOG_ERROR_TYPE.0,
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EVENTLOG_ERROR_TYPE` in this scope
[INFO] [stdout]   --> src/service.rs:48:19
[INFO] [stdout]    |
[INFO] [stdout] 48 |         log_event(EVENTLOG_ERROR_TYPE.0, &error_msg);
[INFO] [stdout]    |                   ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Error` in crate `windows_service`
[INFO] [stdout]   --> src/service.rs:56:34
[INFO] [stdout]    |
[INFO] [stdout] 56 | ) -> Result<(), windows_service::Error> {
[INFO] [stdout]    |                                  ^^^^^ not found in `windows_service`
[INFO] [stdout]    |
[INFO] [stdout]    = note: enum `crate::cloudwatch::tests::Error` exists but is inaccessible
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::error::Error;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::fmt::Error;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::io::Error;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use core::error::Error;
[INFO] [stdout]    |
[INFO] [stdout]    = and 11 other candidates
[INFO] [stdout] help: if you import `Error`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 56 - ) -> Result<(), windows_service::Error> {
[INFO] [stdout] 56 + ) -> Result<(), Error> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EVENTLOG_INFORMATION_TYPE` in this scope
[INFO] [stdout]   --> src/service.rs:77:9
[INFO] [stdout]    |
[INFO] [stdout] 77 |         EVENTLOG_INFORMATION_TYPE.0,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EVENTLOG_INFORMATION_TYPE` in this scope
[INFO] [stdout]   --> src/service.rs:96:21
[INFO] [stdout]    |
[INFO] [stdout] 96 |                     EVENTLOG_INFORMATION_TYPE.0,
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EVENTLOG_ERROR_TYPE` in this scope
[INFO] [stdout]    --> src/service.rs:103:21
[INFO] [stdout]     |
[INFO] [stdout] 103 |                     EVENTLOG_ERROR_TYPE.0,
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Error` in crate `windows_service`
[INFO] [stdout]   --> src/service.rs:56:34
[INFO] [stdout]    |
[INFO] [stdout] 56 | ) -> Result<(), windows_service::Error> {
[INFO] [stdout]    |                                  ^^^^^ not found in `windows_service`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::error::Error;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::fmt::Error;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use std::io::Error;
[INFO] [stdout]    |
[INFO] [stdout]  1 + use core::error::Error;
[INFO] [stdout]    |
[INFO] [stdout]    = and 11 other candidates
[INFO] [stdout] help: if you import `Error`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 56 - ) -> Result<(), windows_service::Error> {
[INFO] [stdout] 56 + ) -> Result<(), Error> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EVENTLOG_INFORMATION_TYPE` in this scope
[INFO] [stdout]   --> src/service.rs:77:9
[INFO] [stdout]    |
[INFO] [stdout] 77 |         EVENTLOG_INFORMATION_TYPE.0,
[INFO] [stdout]    |         ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EVENTLOG_INFORMATION_TYPE` in this scope
[INFO] [stdout]   --> src/service.rs:96:21
[INFO] [stdout]    |
[INFO] [stdout] 96 |                     EVENTLOG_INFORMATION_TYPE.0,
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EVENTLOG_ERROR_TYPE` in this scope
[INFO] [stdout]    --> src/service.rs:103:21
[INFO] [stdout]     |
[INFO] [stdout] 103 |                     EVENTLOG_ERROR_TYPE.0,
[INFO] [stdout]     |                     ^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `EVENTLOGRECORD` in this scope
[INFO] [stdout]    --> src/service.rs:177:79
[INFO] [stdout]     |
[INFO] [stdout] 177 | ...                   unsafe { &*(buffer.as_ptr() as *const EVENTLOGRECORD) };
[INFO] [stdout]     |                                                             ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EVENTLOG_WARNING_TYPE` in this scope
[INFO] [stdout]    --> src/service.rs:268:63
[INFO] [stdout]     |
[INFO] [stdout] 268 | ...                   log_event(EVENTLOG_WARNING_TYPE.0, &format!("Failed to send event to CloudWatch: {:?}", e));
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `EVENTLOGRECORD` in this scope
[INFO] [stdout]    --> src/service.rs:177:79
[INFO] [stdout]     |
[INFO] [stdout] 177 | ...                   unsafe { &*(buffer.as_ptr() as *const EVENTLOGRECORD) };
[INFO] [stdout]     |                                                             ^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EVENTLOG_WARNING_TYPE` in this scope
[INFO] [stdout]    --> src/service.rs:268:63
[INFO] [stdout]     |
[INFO] [stdout] 268 | ...                   log_event(EVENTLOG_WARNING_TYPE.0, &format!("Failed to send event to CloudWatch: {:?}", e));
[INFO] [stdout]     |                                 ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Result` in crate `windows_service`
[INFO] [stdout]    --> src/service.rs:305:46
[INFO] [stdout]     |
[INFO] [stdout] 305 | pub fn install_service() -> windows_service::Result<()> {
[INFO] [stdout]     |                                              ^^^^^^ not found in `windows_service`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::fmt::Result;
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::io::Result;
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::result::Result;
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::thread::Result;
[INFO] [stdout]     |
[INFO] [stdout]     = and 4 other candidates
[INFO] [stdout] help: if you import `Result`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 305 - pub fn install_service() -> windows_service::Result<()> {
[INFO] [stdout] 305 + pub fn install_service() -> Result<()> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EVENTLOG_WARNING_TYPE` in this scope
[INFO] [stdout]    --> src/service.rs:313:17
[INFO] [stdout]     |
[INFO] [stdout] 313 |                 EVENTLOG_WARNING_TYPE.0,
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EVENTLOG_INFORMATION_TYPE` in this scope
[INFO] [stdout]    --> src/service.rs:351:13
[INFO] [stdout]     |
[INFO] [stdout] 351 |             EVENTLOG_INFORMATION_TYPE.0,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EVENTLOG_INFORMATION_TYPE` in this scope
[INFO] [stdout]    --> src/service.rs:358:13
[INFO] [stdout]     |
[INFO] [stdout] 358 |             EVENTLOG_INFORMATION_TYPE.0,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Result` in crate `windows_service`
[INFO] [stdout]    --> src/service.rs:305:46
[INFO] [stdout]     |
[INFO] [stdout] 305 | pub fn install_service() -> windows_service::Result<()> {
[INFO] [stdout]     |                                              ^^^^^^ not found in `windows_service`
[INFO] [stdout]     |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::fmt::Result;
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::io::Result;
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::result::Result;
[INFO] [stdout]     |
[INFO] [stdout]   1 + use std::thread::Result;
[INFO] [stdout]     |
[INFO] [stdout]     = and 4 other candidates
[INFO] [stdout] help: if you import `Result`, refer to it directly
[INFO] [stdout]     |
[INFO] [stdout] 305 - pub fn install_service() -> windows_service::Result<()> {
[INFO] [stdout] 305 + pub fn install_service() -> Result<()> {
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EVENTLOG_WARNING_TYPE` in this scope
[INFO] [stdout]    --> src/service.rs:313:17
[INFO] [stdout]     |
[INFO] [stdout] 313 |                 EVENTLOG_WARNING_TYPE.0,
[INFO] [stdout]     |                 ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Error` in crate `windows_service`
[INFO] [stdout]   --> src/main.rs:12:42
[INFO] [stdout]    |
[INFO] [stdout] 12 | fn main() -> Result<(), windows_service::Error> {
[INFO] [stdout]    |                                          ^^^^^ not found in `windows_service`
[INFO] [stdout]    |
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout]  6 + use std::error::Error;
[INFO] [stdout]    |
[INFO] [stdout]  6 + use std::fmt::Error;
[INFO] [stdout]    |
[INFO] [stdout]  6 + use std::io::Error;
[INFO] [stdout]    |
[INFO] [stdout]  6 + use core::error::Error;
[INFO] [stdout]    |
[INFO] [stdout]    = and 11 other candidates
[INFO] [stdout] help: if you import `Error`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 12 - fn main() -> Result<(), windows_service::Error> {
[INFO] [stdout] 12 + fn main() -> Result<(), Error> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EVENTLOG_INFORMATION_TYPE` in this scope
[INFO] [stdout]    --> src/service.rs:351:13
[INFO] [stdout]     |
[INFO] [stdout] 351 |             EVENTLOG_INFORMATION_TYPE.0,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `EVENTLOG_INFORMATION_TYPE` in this scope
[INFO] [stdout]    --> src/service.rs:358:13
[INFO] [stdout]     |
[INFO] [stdout] 358 |             EVENTLOG_INFORMATION_TYPE.0,
[INFO] [stdout]     |             ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ffi_service_main` in this scope
[INFO] [stdout]   --> src/main.rs:18:57
[INFO] [stdout]    |
[INFO] [stdout] 18 |         service_dispatcher::start(config::SERVICE_NAME, ffi_service_main)?;
[INFO] [stdout]    |                                                         ^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `service_main`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/service.rs:21:1
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub fn service_main(arguments: Vec<OsString>) {
[INFO] [stdout]    | --------------------------------------------- similarly named function `service_main` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0412]: cannot find type `Error` in crate `windows_service`
[INFO] [stdout]   --> src/main.rs:12:42
[INFO] [stdout]    |
[INFO] [stdout] 12 | fn main() -> Result<(), windows_service::Error> {
[INFO] [stdout]    |                                          ^^^^^ not found in `windows_service`
[INFO] [stdout]    |
[INFO] [stdout]    = note: enum `crate::cloudwatch::tests::Error` exists but is inaccessible
[INFO] [stdout] help: consider importing one of these items
[INFO] [stdout]    |
[INFO] [stdout]  6 + use std::error::Error;
[INFO] [stdout]    |
[INFO] [stdout]  6 + use std::fmt::Error;
[INFO] [stdout]    |
[INFO] [stdout]  6 + use std::io::Error;
[INFO] [stdout]    |
[INFO] [stdout]  6 + use core::error::Error;
[INFO] [stdout]    |
[INFO] [stdout]    = and 11 other candidates
[INFO] [stdout] help: if you import `Error`, refer to it directly
[INFO] [stdout]    |
[INFO] [stdout] 12 - fn main() -> Result<(), windows_service::Error> {
[INFO] [stdout] 12 + fn main() -> Result<(), Error> {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find value `ffi_service_main` in this scope
[INFO] [stdout]   --> src/main.rs:18:57
[INFO] [stdout]    |
[INFO] [stdout] 18 |         service_dispatcher::start(config::SERVICE_NAME, ffi_service_main)?;
[INFO] [stdout]    |                                                         ^^^^^^^^^^^^^^^^ help: a function with a similar name exists: `service_main`
[INFO] [stdout]    |
[INFO] [stdout]   ::: src/service.rs:21:1
[INFO] [stdout]    |
[INFO] [stdout] 21 | pub fn service_main(arguments: Vec<OsString>) {
[INFO] [stdout]    | --------------------------------------------- similarly named function `service_main` defined here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `service::service_main`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use service::service_main;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `service::service_main`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use service::service_main;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `REPORT_EVENT_TYPE` in this scope
[INFO] [stdout]   --> src/logging.rs:22:17
[INFO] [stdout]    |
[INFO] [stdout] 22 |                 REPORT_EVENT_TYPE(event_type),
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ReportEventA` in this scope
[INFO] [stdout]   --> src/logging.rs:20:21
[INFO] [stdout]    |
[INFO] [stdout] 20 |             let _ = ReportEventA(
[INFO] [stdout]    |                     ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterEventSourceW` in this scope
[INFO] [stdout]   --> src/logging.rs:35:22
[INFO] [stdout]    |
[INFO] [stdout] 35 |             unsafe { RegisterEventSourceW(PCWSTR::null(), PCWSTR(source_name_wide.as_ptr())) };
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/logging.rs:36:13
[INFO] [stdout]    |
[INFO] [stdout] 36 |         let handle = match handle {
[INFO] [stdout]    |             ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 40 |         if handle.is_invalid() {
[INFO] [stdout]    |            ------ type must be known at this point
[INFO] [stdout]    |
[INFO] [stdout] help: consider giving `handle` an explicit type
[INFO] [stdout]    |
[INFO] [stdout] 36 |         let handle: /* Type */ = match handle {
[INFO] [stdout]    |                   ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeregisterEventSource` in this scope
[INFO] [stdout]   --> src/logging.rs:51:21
[INFO] [stdout]    |
[INFO] [stdout] 51 |             let _ = DeregisterEventSource(self.handle);
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenEventLogW` in this scope
[INFO] [stdout]    --> src/service.rs:116:13
[INFO] [stdout]     |
[INFO] [stdout] 116 |             OpenEventLogW(
[INFO] [stdout]     |             ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetNumberOfEventLogRecords` in this scope
[INFO] [stdout]    --> src/service.rs:123:25
[INFO] [stdout]     |
[INFO] [stdout] 123 |             if unsafe { GetNumberOfEventLogRecords(handle, &mut record_count) }.is_ok()
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetOldestEventLogRecord` in this scope
[INFO] [stdout]    --> src/service.rs:124:29
[INFO] [stdout]     |
[INFO] [stdout] 124 |                 && unsafe { GetOldestEventLogRecord(handle, &mut oldest) }.is_ok()
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseEventLog` in this scope
[INFO] [stdout]    --> src/service.rs:128:29
[INFO] [stdout]     |
[INFO] [stdout] 128 |                     let _ = CloseEventLog(handle);
[INFO] [stdout]     |                             ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseEventLog` in this scope
[INFO] [stdout]    --> src/service.rs:133:29
[INFO] [stdout]     |
[INFO] [stdout] 133 |                     let _ = CloseEventLog(handle);
[INFO] [stdout]     |                             ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenEventLogW` in this scope
[INFO] [stdout]    --> src/service.rs:144:13
[INFO] [stdout]     |
[INFO] [stdout] 144 |             OpenEventLogW(
[INFO] [stdout]     |             ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetNumberOfEventLogRecords` in this scope
[INFO] [stdout]    --> src/service.rs:150:25
[INFO] [stdout]     |
[INFO] [stdout] 150 |             if unsafe { GetNumberOfEventLogRecords(handle, &mut record_count) }.is_ok() {
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetOldestEventLogRecord` in this scope
[INFO] [stdout]    --> src/service.rs:152:29
[INFO] [stdout]     |
[INFO] [stdout] 152 |                 if unsafe { GetOldestEventLogRecord(handle, &mut oldest) }.is_ok() {
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `REPORT_EVENT_TYPE` in this scope
[INFO] [stdout]   --> src/logging.rs:22:17
[INFO] [stdout]    |
[INFO] [stdout] 22 |                 REPORT_EVENT_TYPE(event_type),
[INFO] [stdout]    |                 ^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ReportEventA` in this scope
[INFO] [stdout]   --> src/logging.rs:20:21
[INFO] [stdout]    |
[INFO] [stdout] 20 |             let _ = ReportEventA(
[INFO] [stdout]    |                     ^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `RegisterEventSourceW` in this scope
[INFO] [stdout]   --> src/logging.rs:35:22
[INFO] [stdout]    |
[INFO] [stdout] 35 |             unsafe { RegisterEventSourceW(PCWSTR::null(), PCWSTR(source_name_wide.as_ptr())) };
[INFO] [stdout]    |                      ^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0282]: type annotations needed
[INFO] [stdout]   --> src/logging.rs:36:13
[INFO] [stdout]    |
[INFO] [stdout] 36 |         let handle = match handle {
[INFO] [stdout]    |             ^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 40 |         if handle.is_invalid() {
[INFO] [stdout]    |            ------ type must be known at this point
[INFO] [stdout]    |
[INFO] [stdout] help: consider giving `handle` an explicit type
[INFO] [stdout]    |
[INFO] [stdout] 36 |         let handle: /* Type */ = match handle {
[INFO] [stdout]    |                   ++++++++++++
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `DeregisterEventSource` in this scope
[INFO] [stdout]   --> src/logging.rs:51:21
[INFO] [stdout]    |
[INFO] [stdout] 51 |             let _ = DeregisterEventSource(self.handle);
[INFO] [stdout]    |                     ^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `READ_EVENT_LOG_READ_FLAGS` in this scope
[INFO] [stdout]    --> src/service.rs:162:33
[INFO] [stdout]     |
[INFO] [stdout] 162 | ...                   READ_EVENT_LOG_READ_FLAGS(
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ReadEventLogW` in this scope
[INFO] [stdout]    --> src/service.rs:160:29
[INFO] [stdout]     |
[INFO] [stdout] 160 | ...                   ReadEventLogW(
[INFO] [stdout]     |                       ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenEventLogW` in this scope
[INFO] [stdout]    --> src/service.rs:116:13
[INFO] [stdout]     |
[INFO] [stdout] 116 |             OpenEventLogW(
[INFO] [stdout]     |             ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetNumberOfEventLogRecords` in this scope
[INFO] [stdout]    --> src/service.rs:123:25
[INFO] [stdout]     |
[INFO] [stdout] 123 |             if unsafe { GetNumberOfEventLogRecords(handle, &mut record_count) }.is_ok()
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetOldestEventLogRecord` in this scope
[INFO] [stdout]    --> src/service.rs:124:29
[INFO] [stdout]     |
[INFO] [stdout] 124 |                 && unsafe { GetOldestEventLogRecord(handle, &mut oldest) }.is_ok()
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseEventLog` in this scope
[INFO] [stdout]    --> src/service.rs:128:29
[INFO] [stdout]     |
[INFO] [stdout] 128 |                     let _ = CloseEventLog(handle);
[INFO] [stdout]     |                             ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseEventLog` in this scope
[INFO] [stdout]    --> src/service.rs:133:29
[INFO] [stdout]     |
[INFO] [stdout] 133 |                     let _ = CloseEventLog(handle);
[INFO] [stdout]     |                             ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `OpenEventLogW` in this scope
[INFO] [stdout]    --> src/service.rs:144:13
[INFO] [stdout]     |
[INFO] [stdout] 144 |             OpenEventLogW(
[INFO] [stdout]     |             ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetNumberOfEventLogRecords` in this scope
[INFO] [stdout]    --> src/service.rs:150:25
[INFO] [stdout]     |
[INFO] [stdout] 150 |             if unsafe { GetNumberOfEventLogRecords(handle, &mut record_count) }.is_ok() {
[INFO] [stdout]     |                         ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetOldestEventLogRecord` in this scope
[INFO] [stdout]    --> src/service.rs:152:29
[INFO] [stdout]     |
[INFO] [stdout] 152 |                 if unsafe { GetOldestEventLogRecord(handle, &mut oldest) }.is_ok() {
[INFO] [stdout]     |                             ^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseEventLog` in this scope
[INFO] [stdout]    --> src/service.rs:284:25
[INFO] [stdout]     |
[INFO] [stdout] 284 |                 let _ = CloseEventLog(handle);
[INFO] [stdout]     |                         ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `READ_EVENT_LOG_READ_FLAGS` in this scope
[INFO] [stdout]    --> src/service.rs:162:33
[INFO] [stdout]     |
[INFO] [stdout] 162 | ...                   READ_EVENT_LOG_READ_FLAGS(
[INFO] [stdout]     |                       ^^^^^^^^^^^^^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ReadEventLogW` in this scope
[INFO] [stdout]    --> src/service.rs:160:29
[INFO] [stdout]     |
[INFO] [stdout] 160 | ...                   ReadEventLogW(
[INFO] [stdout]     |                       ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CloseEventLog` in this scope
[INFO] [stdout]    --> src/service.rs:284:25
[INFO] [stdout]     |
[INFO] [stdout] 284 |                 let _ = CloseEventLog(handle);
[INFO] [stdout]     |                         ^^^^^^^^^^^^^ not found in this scope
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0282, E0412, E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `winvent` (bin "winvent") due to 42 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] Some errors have detailed explanations: E0282, E0412, E0425, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0282`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `winvent` (bin "winvent" test) due to 42 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "519810a8531f46242080b7b17f31e2c3dfd50083565b27f0eac55bdddbc0d490", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "519810a8531f46242080b7b17f31e2c3dfd50083565b27f0eac55bdddbc0d490", kill_on_drop: false }`
[INFO] [stdout] 519810a8531f46242080b7b17f31e2c3dfd50083565b27f0eac55bdddbc0d490
