[INFO] fetching crate wincent 0.1.2... [INFO] testing wincent-0.1.2 against try#2440211fe03bc45c89b6dc1a3df18382ce91e32b for pr-146098-1 [INFO] extracting crate wincent 0.1.2 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate wincent 0.1.2 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate wincent 0.1.2 [INFO] tweaked toml for crates.io crate wincent 0.1.2 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate wincent 0.1.2 on toolchain 2440211fe03bc45c89b6dc1a3df18382ce91e32b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate wincent 0.1.2 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" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ba891b5e3b3fcaff17a9ffed00a7eb241a5e33a06d622566563dc623a298bbd5 [INFO] running `Command { std: "docker" "start" "-a" "ba891b5e3b3fcaff17a9ffed00a7eb241a5e33a06d622566563dc623a298bbd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ba891b5e3b3fcaff17a9ffed00a7eb241a5e33a06d622566563dc623a298bbd5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ba891b5e3b3fcaff17a9ffed00a7eb241a5e33a06d622566563dc623a298bbd5", kill_on_drop: false }` [INFO] [stdout] ba891b5e3b3fcaff17a9ffed00a7eb241a5e33a06d622566563dc623a298bbd5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+2440211fe03bc45c89b6dc1a3df18382ce91e32b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ee82f2fd9fd1c17022b5bd2df689cf9984a5835f6bc3e03fac562dea30d5ac4c [INFO] running `Command { std: "docker" "start" "-a" "ee82f2fd9fd1c17022b5bd2df689cf9984a5835f6bc3e03fac562dea30d5ac4c", kill_on_drop: false }` [INFO] [stderr] Compiling windows_x86_64_gnu v0.52.6 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Compiling md5 v0.7.0 [INFO] [stderr] Compiling windows-implement v0.58.0 [INFO] [stderr] Compiling windows-interface v0.58.0 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling tokio-macros v2.5.0 [INFO] [stderr] Compiling windows-targets v0.52.6 [INFO] [stderr] Compiling windows-result v0.2.0 [INFO] [stderr] Compiling windows-strings v0.1.0 [INFO] [stderr] Compiling tokio v1.44.2 [INFO] [stderr] Compiling windows-core v0.58.0 [INFO] [stderr] Compiling windows v0.58.0 [INFO] [stderr] Compiling wincent v0.1.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/empty.rs:21:14 [INFO] [stdout] | [INFO] [stdout] 21 | use windows::Win32::System::Com::CoInitializeEx; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/empty.rs:22:14 [INFO] [stdout] | [INFO] [stdout] 22 | use windows::Win32::System::Com::CoUninitialize; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/empty.rs:23:14 [INFO] [stdout] | [INFO] [stdout] 23 | use windows::Win32::System::Com::COINIT_APARTMENTTHREADED; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/empty.rs:24:14 [INFO] [stdout] | [INFO] [stdout] 24 | use windows::Win32::UI::Shell::SHAddToRecentDocs; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/handle.rs:28:14 [INFO] [stdout] | [INFO] [stdout] 28 | 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/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/os/mod.rs:56:5 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/os/mod.rs:120:10 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/handle.rs:29:14 [INFO] [stdout] | [INFO] [stdout] 29 | use windows::Win32::System::Com::CoInitializeEx; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/handle.rs:30:14 [INFO] [stdout] | [INFO] [stdout] 30 | use windows::Win32::System::Com::CoUninitialize; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/handle.rs:31:14 [INFO] [stdout] | [INFO] [stdout] 31 | use windows::Win32::System::Com::COINIT_APARTMENTTHREADED; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/handle.rs:32:14 [INFO] [stdout] | [INFO] [stdout] 32 | use windows::Win32::UI::Shell::SHAddToRecentDocs; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/utils.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use std::os::windows::ffi::OsStringExt; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/os/mod.rs:56:5 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/2440211fe03bc45c89b6dc1a3df18382ce91e32b/library/std/src/os/mod.rs:120:10 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Wdk` in `windows` [INFO] [stdout] --> src/utils.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | use windows::Wdk::System::SystemServices::RtlGetVersion; [INFO] [stdout] | ^^^ could not find `Wdk` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/utils.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | use windows::Win32::Foundation::{BOOL, HANDLE}; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/utils.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | use windows::Win32::System::Com::CoTaskMemFree; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/utils.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | use windows::Win32::System::Diagnostics::Debug::VER_PLATFORM_WIN32_NT; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/utils.rs:13:14 [INFO] [stdout] | [INFO] [stdout] 13 | use windows::Win32::System::SystemInformation::OSVERSIONINFOEXW; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/utils.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | use windows::Win32::UI::Shell::IsUserAnAdmin; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/utils.rs:15:14 [INFO] [stdout] | [INFO] [stdout] 15 | use windows::Win32::UI::Shell::{FOLDERID_Recent, SHGetKnownFolderPath, KNOWN_FOLDER_FLAG}; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `windows` [INFO] [stdout] --> src/error.rs:75:20 [INFO] [stdout] | [INFO] [stdout] 75 | impl From for WincentError { [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/error.rs:76:27 [INFO] [stdout] | [INFO] [stdout] 76 | fn from(err: windows::core::Error) -> Self { [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for struct `OsString` in the current scope [INFO] [stdout] --> src/handle.rs:65:14 [INFO] [stdout] | [INFO] [stdout] 64 | let file_path_wide: Vec = OsString::from(path) [INFO] [stdout] | ________________________________________- [INFO] [stdout] 65 | | .encode_wide() [INFO] [stdout] | | -^^^^^^^^^^^ method not found in `OsString` [INFO] [stdout] | |_____________| [INFO] [stdout] | [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] --> src/utils.rs:75:34 [INFO] [stdout] | [INFO] [stdout] 75 | let wide_str = OsString::from_wide(result.as_wide()); [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/2440211fe03bc45c89b6dc1a3df18382ce91e32b/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] 75 - let wide_str = OsString::from_wide(result.as_wide()); [INFO] [stdout] 75 + let wide_str = OsString::from_iter(result.as_wide()); [INFO] [stdout] | [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 `wincent` (lib) due to 21 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "ee82f2fd9fd1c17022b5bd2df689cf9984a5835f6bc3e03fac562dea30d5ac4c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ee82f2fd9fd1c17022b5bd2df689cf9984a5835f6bc3e03fac562dea30d5ac4c", kill_on_drop: false }` [INFO] [stdout] ee82f2fd9fd1c17022b5bd2df689cf9984a5835f6bc3e03fac562dea30d5ac4c