[INFO] cloning repository https://github.com/UsairimIsani/win-log [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/UsairimIsani/win-log" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FUsairimIsani%2Fwin-log", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FUsairimIsani%2Fwin-log'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6de5321c627dd88dbf3796a8be2874ba2314b946 [INFO] testing UsairimIsani/win-log 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%2FUsairimIsani%2Fwin-log" "/workspace/builds/worker-22/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-22/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/UsairimIsani/win-log 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/UsairimIsani/win-log [INFO] finished tweaking git repo https://github.com/UsairimIsani/win-log [INFO] tweaked toml for git repo https://github.com/UsairimIsani/win-log written to /workspace/builds/worker-22/source/Cargo.toml [INFO] crate git repo https://github.com/UsairimIsani/win-log 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] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/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] 02360254a13bc839fa3d27920084da12acb43350a46aed6178be838c56b97657 [INFO] running `Command { std: "docker" "start" "-a" "02360254a13bc839fa3d27920084da12acb43350a46aed6178be838c56b97657", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "02360254a13bc839fa3d27920084da12acb43350a46aed6178be838c56b97657", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02360254a13bc839fa3d27920084da12acb43350a46aed6178be838c56b97657", kill_on_drop: false }` [INFO] [stdout] 02360254a13bc839fa3d27920084da12acb43350a46aed6178be838c56b97657 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-22/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] 2a582b2a3321258d1d2671311486d7c9bbb86717df8dc08d5834306d44cf34f9 [INFO] running `Command { std: "docker" "start" "-a" "2a582b2a3321258d1d2671311486d7c9bbb86717df8dc08d5834306d44cf34f9", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.24 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling syn v1.0.51 [INFO] [stderr] Compiling serde_derive v1.0.117 [INFO] [stderr] Compiling serde v1.0.117 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling itoa v0.4.6 [INFO] [stderr] Compiling error-chain v0.10.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling quick-xml v0.17.2 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Compiling minidom v0.12.0 [INFO] [stderr] Compiling serde-xml-rs v0.3.1 [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" "2a582b2a3321258d1d2671311486d7c9bbb86717df8dc08d5834306d44cf34f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a582b2a3321258d1d2671311486d7c9bbb86717df8dc08d5834306d44cf34f9", kill_on_drop: false }` [INFO] [stdout] 2a582b2a3321258d1d2671311486d7c9bbb86717df8dc08d5834306d44cf34f9