[INFO] cloning repository https://github.com/roaldi/rusty_events [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/roaldi/rusty_events" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Froaldi%2Frusty_events", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Froaldi%2Frusty_events'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9d7828a64d387f5a9b2e2a6a10486ec10d2cbd92 [INFO] testing roaldi/rusty_events against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Froaldi%2Frusty_events" "/workspace/builds/worker-26/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-26/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/roaldi/rusty_events on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/roaldi/rusty_events [INFO] finished tweaking git repo https://github.com/roaldi/rusty_events [INFO] tweaked toml for git repo https://github.com/roaldi/rusty_events written to /workspace/builds/worker-26/source/Cargo.toml [INFO] crate git repo https://github.com/roaldi/rusty_events already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5c4d01520565c44e01de8d003b0f62981da80300d97756aa2219b39a0be86f3e [INFO] running `Command { std: "docker" "start" "-a" "5c4d01520565c44e01de8d003b0f62981da80300d97756aa2219b39a0be86f3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5c4d01520565c44e01de8d003b0f62981da80300d97756aa2219b39a0be86f3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c4d01520565c44e01de8d003b0f62981da80300d97756aa2219b39a0be86f3e", kill_on_drop: false }` [INFO] [stdout] 5c4d01520565c44e01de8d003b0f62981da80300d97756aa2219b39a0be86f3e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-26/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1e0a256d9420345f10a63e01230e3f5842836461d3091902196f3b9310751cd9 [INFO] running `Command { std: "docker" "start" "-a" "1e0a256d9420345f10a63e01230e3f5842836461d3091902196f3b9310751cd9", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling cc v1.0.67 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling pin-project-lite v0.2.6 [INFO] [stderr] Compiling syn v1.0.71 [INFO] [stderr] Compiling bytes v1.0.1 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling futures-core v0.3.14 [INFO] [stderr] Compiling matches v0.1.8 [INFO] [stderr] Compiling openssl v0.10.34 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling foreign-types-shared v0.1.1 [INFO] [stderr] Compiling pin-utils v0.1.0 [INFO] [stderr] Compiling httparse v1.4.0 [INFO] [stderr] Compiling futures-sink v0.3.14 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling futures-task v0.3.14 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling once_cell v1.7.2 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling try-lock v0.2.3 [INFO] [stderr] Compiling slab v0.4.3 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling encoding_rs v0.8.28 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling httpdate v1.0.0 [INFO] [stderr] Compiling tower-service v0.3.1 [INFO] [stderr] Compiling error-chain v0.10.0 [INFO] [stderr] Compiling regex-syntax v0.6.23 [INFO] [stderr] Compiling mime v0.3.16 [INFO] [stderr] Compiling ipnet v2.3.0 [INFO] [stderr] Compiling tokio v1.5.0 [INFO] [stderr] Compiling indexmap v1.6.2 [INFO] [stderr] Compiling tracing-core v0.1.17 [INFO] [stderr] Compiling futures-channel v0.3.14 [INFO] [stderr] Compiling tinyvec v1.2.0 [INFO] [stderr] Compiling unicode-bidi v0.3.5 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling foreign-types v0.3.2 [INFO] [stderr] Compiling http v0.2.4 [INFO] [stderr] Compiling form_urlencoded v1.0.1 [INFO] [stderr] Compiling futures-util v0.3.14 [INFO] [stderr] Compiling tracing v0.1.25 [INFO] [stderr] Compiling openssl-sys v0.9.62 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling unicode-normalization v0.1.17 [INFO] [stderr] Compiling mio v0.7.11 [INFO] [stderr] Compiling socket2 v0.4.0 [INFO] [stderr] Compiling http-body v0.4.1 [INFO] [stderr] Compiling idna v0.2.3 [INFO] [stderr] Compiling regex v1.4.6 [INFO] [stderr] Compiling url v2.2.1 [INFO] [stderr] Compiling tokio-util v0.6.6 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling serde-xml-rs v0.3.1 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling h2 v0.3.3 [INFO] [stderr] Compiling pin-project-internal v1.0.7 [INFO] [stderr] Compiling pin-project v1.0.7 [INFO] [stderr] Compiling hyper v0.14.7 [INFO] [stderr] Compiling win-event-log v0.1.1 (https://github.com/rustysec/win-event-log-rs#acb97772) [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/win-event-log-rs-06c50292c8e8fe8e/acb9777/src/api.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | use std::os::windows::ffi::OsStrExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/win-event-log-rs-06c50292c8e8fe8e/acb9777/src/api.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | use std::os::windows::prelude::*; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/win-event-log-rs-06c50292c8e8fe8e/acb9777/src/api.rs:13:13 [INFO] [stdout] | [INFO] [stdout] 13 | use winapi::shared::minwindef::{BOOL, DWORD, PDWORD}; [INFO] [stdout] | ^^^^^^ could not find `shared` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/win-event-log-rs-06c50292c8e8fe8e/acb9777/src/api.rs:14:13 [INFO] [stdout] | [INFO] [stdout] 14 | use winapi::um::errhandlingapi::GetLastError; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/win-event-log-rs-06c50292c8e8fe8e/acb9777/src/api.rs:15:13 [INFO] [stdout] | [INFO] [stdout] 15 | use winapi::um::libloaderapi::{GetModuleHandleA, GetProcAddress, LoadLibraryA}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/win-event-log-rs-06c50292c8e8fe8e/acb9777/src/api.rs:16:13 [INFO] [stdout] | [INFO] [stdout] 16 | use winapi::um::winevt::EVT_SUBSCRIBE_CALLBACK; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi` [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/win-event-log-rs-06c50292c8e8fe8e/acb9777/src/api.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | use winapi::um::winnt::{HANDLE, LPCWSTR, PVOID}; [INFO] [stdout] | ^^ could not find `um` in `winapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/win-event-log-rs-06c50292c8e8fe8e/acb9777/src/api.rs:29:22 [INFO] [stdout] | [INFO] [stdout] 29 | pub type EvtHandle = HANDLE; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/win-event-log-rs-06c50292c8e8fe8e/acb9777/src/api.rs:30:24 [INFO] [stdout] | [INFO] [stdout] 30 | type PevtHandle = *mut HANDLE; [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/win-event-log-rs-06c50292c8e8fe8e/acb9777/src/api.rs:35:11 [INFO] [stdout] | [INFO] [stdout] 35 | Path: LPCWSTR, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/win-event-log-rs-06c50292c8e8fe8e/acb9777/src/api.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | Query: LPCWSTR, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/win-event-log-rs-06c50292c8e8fe8e/acb9777/src/api.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | Flags: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/win-event-log-rs-06c50292c8e8fe8e/acb9777/src/api.rs:43:17 [INFO] [stdout] | [INFO] [stdout] 43 | EventsSize: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/win-event-log-rs-06c50292c8e8fe8e/acb9777/src/api.rs:45:14 [INFO] [stdout] | [INFO] [stdout] 45 | Timeout: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/win-event-log-rs-06c50292c8e8fe8e/acb9777/src/api.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | Flags: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PDWORD` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/win-event-log-rs-06c50292c8e8fe8e/acb9777/src/api.rs:47:15 [INFO] [stdout] | [INFO] [stdout] 47 | Returned: PDWORD, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/win-event-log-rs-06c50292c8e8fe8e/acb9777/src/api.rs:48:6 [INFO] [stdout] | [INFO] [stdout] 48 | ) -> BOOL; [INFO] [stdout] | ^^^^ help: a builtin type with a similar name exists: `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/win-event-log-rs-06c50292c8e8fe8e/acb9777/src/api.rs:54:12 [INFO] [stdout] | [INFO] [stdout] 54 | Flags: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/win-event-log-rs-06c50292c8e8fe8e/acb9777/src/api.rs:55:17 [INFO] [stdout] | [INFO] [stdout] 55 | BufferSize: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PVOID` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/win-event-log-rs-06c50292c8e8fe8e/acb9777/src/api.rs:56:13 [INFO] [stdout] | [INFO] [stdout] 56 | Buffer: PVOID, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PDWORD` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/win-event-log-rs-06c50292c8e8fe8e/acb9777/src/api.rs:57:17 [INFO] [stdout] | [INFO] [stdout] 57 | BufferUsed: PDWORD, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PDWORD` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/win-event-log-rs-06c50292c8e8fe8e/acb9777/src/api.rs:58:20 [INFO] [stdout] | [INFO] [stdout] 58 | PropertyCount: PDWORD, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/win-event-log-rs-06c50292c8e8fe8e/acb9777/src/api.rs:59:6 [INFO] [stdout] | [INFO] [stdout] 59 | ) -> BOOL; [INFO] [stdout] | ^^^^ help: a builtin type with a similar name exists: `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BOOL` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/win-event-log-rs-06c50292c8e8fe8e/acb9777/src/api.rs:62:67 [INFO] [stdout] | [INFO] [stdout] 62 | type EvtCloseFn = unsafe extern "system" fn(Object: EvtHandle) -> BOOL; [INFO] [stdout] | ^^^^ help: a builtin type with a similar name exists: `bool` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/win-event-log-rs-06c50292c8e8fe8e/acb9777/src/api.rs:67:18 [INFO] [stdout] | [INFO] [stdout] 67 | SignalEvent: HANDLE, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/win-event-log-rs-06c50292c8e8fe8e/acb9777/src/api.rs:68:18 [INFO] [stdout] | [INFO] [stdout] 68 | ChannelPath: LPCWSTR, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `LPCWSTR` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/win-event-log-rs-06c50292c8e8fe8e/acb9777/src/api.rs:69:12 [INFO] [stdout] | [INFO] [stdout] 69 | Query: LPCWSTR, [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `PVOID` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/win-event-log-rs-06c50292c8e8fe8e/acb9777/src/api.rs:71:14 [INFO] [stdout] | [INFO] [stdout] 71 | Context: PVOID, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `EVT_SUBSCRIBE_CALLBACK` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/win-event-log-rs-06c50292c8e8fe8e/acb9777/src/api.rs:72:15 [INFO] [stdout] | [INFO] [stdout] 72 | Callback: EVT_SUBSCRIBE_CALLBACK, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/win-event-log-rs-06c50292c8e8fe8e/acb9777/src/api.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | Flags: DWORD, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetModuleHandleA` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/win-event-log-rs-06c50292c8e8fe8e/acb9777/src/api.rs:95:33 [INFO] [stdout] | [INFO] [stdout] 95 | let handle = match unsafe { GetModuleHandleA(ffi_module.as_ptr()) } { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `LoadLibraryA` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/win-event-log-rs-06c50292c8e8fe8e/acb9777/src/api.rs:96:48 [INFO] [stdout] | [INFO] [stdout] 96 | i if i == null_mut() => match unsafe { LoadLibraryA(ffi_module.as_ptr()) } { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetProcAddress` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/win-event-log-rs-06c50292c8e8fe8e/acb9777/src/api.rs:103:35 [INFO] [stdout] | [INFO] [stdout] 103 | Some(h) => match unsafe { GetProcAddress(h, ffi_function.as_ptr()) } { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/win-event-log-rs-06c50292c8e8fe8e/acb9777/src/api.rs:107:33 [INFO] [stdout] | [INFO] [stdout] 91 | fn try_load_from_dll(function: &str) -> Option { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 107 | transmute::(addr as _) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/win-event-log-rs-06c50292c8e8fe8e/acb9777/src/api.rs:110:33 [INFO] [stdout] | [INFO] [stdout] 91 | fn try_load_from_dll(function: &str) -> Option { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 110 | transmute::(addr as _) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/win-event-log-rs-06c50292c8e8fe8e/acb9777/src/api.rs:113:33 [INFO] [stdout] | [INFO] [stdout] 91 | fn try_load_from_dll(function: &str) -> Option { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 113 | transmute::(addr as _) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/win-event-log-rs-06c50292c8e8fe8e/acb9777/src/api.rs:116:33 [INFO] [stdout] | [INFO] [stdout] 91 | fn try_load_from_dll(function: &str) -> Option { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 116 | transmute::(addr as _) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `HANDLE` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/win-event-log-rs-06c50292c8e8fe8e/acb9777/src/api.rs:119:33 [INFO] [stdout] | [INFO] [stdout] 91 | fn try_load_from_dll(function: &str) -> Option { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 119 | transmute::(addr as _) [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/win-event-log-rs-06c50292c8e8fe8e/acb9777/src/api.rs:196:34 [INFO] [stdout] | [INFO] [stdout] 196 | unsafe { GetLastError() } [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/win-event-log-rs-06c50292c8e8fe8e/acb9777/src/api.rs:214:46 [INFO] [stdout] | [INFO] [stdout] 214 | let mut number_returned: DWORD = 0; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/win-event-log-rs-06c50292c8e8fe8e/acb9777/src/api.rs:301:42 [INFO] [stdout] | [INFO] [stdout] 301 | let mut buffer_used: DWORD = 0; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DWORD` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/win-event-log-rs-06c50292c8e8fe8e/acb9777/src/api.rs:302:45 [INFO] [stdout] | [INFO] [stdout] 302 | let mut property_count: DWORD = 0; [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `GetLastError` in this scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/win-event-log-rs-06c50292c8e8fe8e/acb9777/src/api.rs:313:32 [INFO] [stdout] | [INFO] [stdout] 313 | ... && GetLastError() == 122 [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for struct `OsString` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/win-event-log-rs-06c50292c8e8fe8e/acb9777/src/api.rs:180:22 [INFO] [stdout] | [INFO] [stdout] 180 | .encode_wide() [INFO] [stdout] | ^^^^^^^^^^^ method not found in `OsString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for struct `OsString` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/win-event-log-rs-06c50292c8e8fe8e/acb9777/src/api.rs:182:54 [INFO] [stdout] | [INFO] [stdout] 182 | tmp.append(&mut OsString::from("\0").encode_wide().collect::>()); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `OsString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `from_wide` found for struct `OsString` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/win-event-log-rs-06c50292c8e8fe8e/acb9777/src/api.rs:328:51 [INFO] [stdout] | [INFO] [stdout] 328 | ... OsString::from_wide(&buf[..]).to_string_lossy().to_string(); [INFO] [stdout] | ^^^^^^^^^ function or associated item not found in `OsString` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 46 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `win-event-log` due to 47 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "1e0a256d9420345f10a63e01230e3f5842836461d3091902196f3b9310751cd9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e0a256d9420345f10a63e01230e3f5842836461d3091902196f3b9310751cd9", kill_on_drop: false }` [INFO] [stdout] 1e0a256d9420345f10a63e01230e3f5842836461d3091902196f3b9310751cd9