[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] checking UsairimIsani/win-log/6de5321c627dd88dbf3796a8be2874ba2314b946 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FUsairimIsani%2Fwin-log" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/UsairimIsani/win-log on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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-3-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/rustysec/win-event-log-rs` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded serde-xml-rs v0.3.1 [INFO] [stderr] Downloaded quickxml_to_serde v0.4.1 [INFO] [stderr] Downloaded quick-xml v0.17.2 [INFO] [stderr] Downloaded minidom v0.12.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c012f2e1b61af96c0cb1f9594f5f94dd3f2bdee988f4eedea570707acd62111d [INFO] running `Command { std: "docker" "start" "-a" "c012f2e1b61af96c0cb1f9594f5f94dd3f2bdee988f4eedea570707acd62111d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c012f2e1b61af96c0cb1f9594f5f94dd3f2bdee988f4eedea570707acd62111d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c012f2e1b61af96c0cb1f9594f5f94dd3f2bdee988f4eedea570707acd62111d", kill_on_drop: false }` [INFO] [stdout] c012f2e1b61af96c0cb1f9594f5f94dd3f2bdee988f4eedea570707acd62111d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 258227204cdff4aa30179a6e3530f29fbd57fa1a0e3bbbcc4ce7b3a3c10fe60d [INFO] running `Command { std: "docker" "start" "-a" "258227204cdff4aa30179a6e3530f29fbd57fa1a0e3bbbcc4ce7b3a3c10fe60d", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.24 [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 log v0.4.11 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling serde_json v1.0.59 [INFO] [stderr] Checking error-chain v0.10.0 [INFO] [stderr] Checking quick-xml v0.17.2 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking minidom v0.12.0 [INFO] [stderr] Checking serde-xml-rs v0.3.1 [INFO] [stderr] Checking 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] note: found an item that was configured out [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:54:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:46:1 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:101:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:100:1 [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] note: found an item that was configured out [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:54:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:46:1 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:101:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/os/mod.rs:100:1 [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[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] 179 | let mut tmp = OsString::from(query.into()) [INFO] [stdout] | _______________________________- [INFO] [stdout] 180 | | .encode_wide() [INFO] [stdout] | | -^^^^^^^^^^^ method not found in `OsString` [INFO] [stdout] | |_____________________| [INFO] [stdout] | [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] note: if you're trying to build a new `OsString` consider using one of the following associated functions: [INFO] [stdout] OsString::new [INFO] [stdout] OsString::from_encoded_bytes_unchecked [INFO] [stdout] OsString::with_capacity [INFO] [stdout] --> /rustc/f609b7e0586f81fefb3523e3e17adf779ac416be/library/std/src/ffi/os_str.rs:141:5 [INFO] [stdout] help: there is an associated function `from_iter` with a similar name [INFO] [stdout] | [INFO] [stdout] 328 | OsString::from_iter(&buf[..]).to_string_lossy().to_string(); [INFO] [stdout] | ~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 10 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `win-event-log` (lib) due to 11 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "258227204cdff4aa30179a6e3530f29fbd57fa1a0e3bbbcc4ce7b3a3c10fe60d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "258227204cdff4aa30179a6e3530f29fbd57fa1a0e3bbbcc4ce7b3a3c10fe60d", kill_on_drop: false }` [INFO] [stdout] 258227204cdff4aa30179a6e3530f29fbd57fa1a0e3bbbcc4ce7b3a3c10fe60d