[INFO] fetching crate windows-icons 0.3.0... [INFO] checking windows-icons-0.3.0 against master#8c32e313cccf7df531e2d49ffb8227bb92304aee for pr-145608-1 [INFO] extracting crate windows-icons 0.3.0 into /workspace/builds/worker-5-tc1/source [INFO] started tweaking crates.io crate windows-icons 0.3.0 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate windows-icons 0.3.0 [INFO] tweaked toml for crates.io crate windows-icons 0.3.0 written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate windows-icons 0.3.0 on toolchain 8c32e313cccf7df531e2d49ffb8227bb92304aee [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate windows-icons 0.3.0 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" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded winnow v0.7.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dd83005f70aa84169540c6d82f3559de1b980c325990b6ceac61bae681a9b951 [INFO] running `Command { std: "docker" "start" "-a" "dd83005f70aa84169540c6d82f3559de1b980c325990b6ceac61bae681a9b951", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dd83005f70aa84169540c6d82f3559de1b980c325990b6ceac61bae681a9b951", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd83005f70aa84169540c6d82f3559de1b980c325990b6ceac61bae681a9b951", kill_on_drop: false }` [INFO] [stdout] dd83005f70aa84169540c6d82f3559de1b980c325990b6ceac61bae681a9b951 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+8c32e313cccf7df531e2d49ffb8227bb92304aee" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] caf89f47082c8fcaa008619fdd823493d29ee5ca1fcc7a392fd3df8dd6af8d57 [INFO] running `Command { std: "docker" "start" "-a" "caf89f47082c8fcaa008619fdd823493d29ee5ca1fcc7a392fd3df8dd6af8d57", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Checking windows-link v0.1.0 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Compiling anyhow v1.0.95 [INFO] [stderr] Compiling paste v1.0.15 [INFO] [stderr] Compiling thiserror v1.0.69 [INFO] [stderr] Checking aligned-vec v0.5.0 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling built v0.7.5 [INFO] [stderr] Checking windows-result v0.3.1 [INFO] [stderr] Checking windows-strings v0.3.1 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking log v0.4.25 [INFO] [stderr] Checking miniz_oxide v0.8.3 [INFO] [stderr] Compiling noop_proc_macro v0.3.0 [INFO] [stderr] Checking bitstream-io v2.6.0 [INFO] [stderr] Checking imgref v1.11.0 [INFO] [stderr] Checking new_debug_unreachable v1.0.6 [INFO] [stderr] Checking itertools v0.12.1 [INFO] [stderr] Checking quick-error v2.0.1 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Checking weezl v0.1.8 [INFO] [stderr] Checking loop9 v0.1.5 [INFO] [stderr] Checking avif-serialize v0.8.2 [INFO] [stderr] Checking fdeflate v0.3.7 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking half v2.4.1 [INFO] [stderr] Checking byteorder-lite v0.1.0 [INFO] [stderr] Compiling rav1e v0.7.1 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking flate2 v1.0.35 [INFO] [stderr] Checking rgb v0.8.50 [INFO] [stderr] Checking jpeg-decoder v0.3.1 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking zune-core v0.4.12 [INFO] [stderr] Checking bytemuck v1.21.0 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Checking zune-jpeg v0.4.14 [INFO] [stderr] Checking png v0.17.16 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking tiff v0.9.1 [INFO] [stderr] Checking image-webp v0.2.1 [INFO] [stderr] Checking gif v0.13.1 [INFO] [stderr] Checking glob v0.3.2 [INFO] [stderr] Checking crossbeam-epoch v0.9.18 [INFO] [stderr] Checking base64 v0.22.1 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Checking crossbeam-deque v0.8.6 [INFO] [stderr] Compiling simd_helpers v0.1.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking v_frame v0.3.8 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking exr v1.73.0 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking num-rational v0.4.2 [INFO] [stderr] Checking av1-grain v0.2.3 [INFO] [stderr] Checking maybe-rayon v0.1.1 [INFO] [stderr] Compiling windows-interface v0.59.0 [INFO] [stderr] Compiling windows-implement v0.59.0 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Compiling profiling-procmacros v1.0.16 [INFO] [stderr] Compiling num-derive v0.4.2 [INFO] [stderr] Compiling arg_enum_proc_macro v0.3.4 [INFO] [stderr] Checking profiling v1.0.16 [INFO] [stderr] Checking windows-core v0.60.1 [INFO] [stderr] Checking windows-future v0.1.1 [INFO] [stderr] Checking windows-numerics v0.1.1 [INFO] [stderr] Checking windows-collections v0.1.1 [INFO] [stderr] Checking windows v0.60.0 [INFO] [stderr] Checking ravif v0.11.11 [INFO] [stderr] Checking image v0.25.5 [INFO] [stderr] Checking windows-icons v0.3.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/utils/image_utils.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | 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/8c32e313cccf7df531e2d49ffb8227bb92304aee/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/8c32e313cccf7df531e2d49ffb8227bb92304aee/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/utils/image_utils.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | Win32::{ [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/process_utils.rs:1:30 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{ffi::OsString, os::windows::ffi::OsStringExt, path::PathBuf}; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/8c32e313cccf7df531e2d49ffb8227bb92304aee/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/8c32e313cccf7df531e2d49ffb8227bb92304aee/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/utils/process_utils.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use windows::Win32::{ [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/dll_icons.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | 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/8c32e313cccf7df531e2d49ffb8227bb92304aee/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/8c32e313cccf7df531e2d49ffb8227bb92304aee/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/dll_icons.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | Win32::{ [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windows::core` [INFO] [stdout] --> src/utils/image_utils.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | core::PCWSTR, [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windows::core` [INFO] [stdout] --> src/dll_icons.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | core::{HSTRING, PCWSTR}, [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/utils/process_utils.rs:11:70 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn get_process_path(process_id: u32) -> Result { [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/utils/process_utils.rs:22:26 [INFO] [stdout] | [INFO] [stdout] 22 | windows::core::HRESULT(-1), [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/dll_icons.rs:122:15 [INFO] [stdout] | [INFO] [stdout] 122 | ) -> windows::core::Result { [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/utils/image_utils.rs:78:35 [INFO] [stdout] | [INFO] [stdout] 78 | let last_error = windows::core::Error::from_win32(); [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::utils::image_utils::io::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] = and 4 other candidates [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 78 - let last_error = windows::core::Error::from_win32(); [INFO] [stdout] 78 + let last_error = Error::from_win32(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `windows` [INFO] [stdout] --> src/utils/image_utils.rs:170:35 [INFO] [stdout] | [INFO] [stdout] 170 | let last_error = windows::core::Error::from_win32(); [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::utils::image_utils::io::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] = and 4 other candidates [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 170 - let last_error = windows::core::Error::from_win32(); [INFO] [stdout] 170 + let last_error = Error::from_win32(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `windows` [INFO] [stdout] --> src/utils/process_utils.rs:21:22 [INFO] [stdout] | [INFO] [stdout] 21 | windows::core::Error::new( [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::Error; [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] = and 3 other candidates [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 21 - windows::core::Error::new( [INFO] [stdout] 21 + Error::new( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `windows` [INFO] [stdout] --> src/utils/process_utils.rs:28:33 [INFO] [stdout] | [INFO] [stdout] 28 | return Err(windows::core::Error::from_win32()); [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::Error; [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] = and 3 other candidates [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 28 - return Err(windows::core::Error::from_win32()); [INFO] [stdout] 28 + return Err(Error::from_win32()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `windows` [INFO] [stdout] --> src/dll_icons.rs:157:43 [INFO] [stdout] | [INFO] [stdout] 157 | let last_error = windows::core::Error::from_win32(); [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::dll_icons::io::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] = and 4 other candidates [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 157 - let last_error = windows::core::Error::from_win32(); [INFO] [stdout] 157 + let last_error = Error::from_win32(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `windows` [INFO] [stdout] --> src/dll_icons.rs:180:43 [INFO] [stdout] | [INFO] [stdout] 180 | let last_error = windows::core::Error::from_win32(); [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::dll_icons::io::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] = and 4 other candidates [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 180 - let last_error = windows::core::Error::from_win32(); [INFO] [stdout] 180 + let last_error = Error::from_win32(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/utils/image_utils.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | 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/8c32e313cccf7df531e2d49ffb8227bb92304aee/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/8c32e313cccf7df531e2d49ffb8227bb92304aee/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/utils/image_utils.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | Win32::{ [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/process_utils.rs:1:30 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{ffi::OsString, os::windows::ffi::OsStringExt, path::PathBuf}; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/8c32e313cccf7df531e2d49ffb8227bb92304aee/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/8c32e313cccf7df531e2d49ffb8227bb92304aee/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/utils/process_utils.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use windows::Win32::{ [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/dll_icons.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | 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/8c32e313cccf7df531e2d49ffb8227bb92304aee/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/8c32e313cccf7df531e2d49ffb8227bb92304aee/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/dll_icons.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | Win32::{ [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windows::core` [INFO] [stdout] --> src/utils/image_utils.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | core::PCWSTR, [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windows::core` [INFO] [stdout] --> src/dll_icons.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | core::{HSTRING, PCWSTR}, [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/utils/process_utils.rs:11:70 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn get_process_path(process_id: u32) -> Result { [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/utils/process_utils.rs:22:26 [INFO] [stdout] | [INFO] [stdout] 22 | windows::core::HRESULT(-1), [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/dll_icons.rs:122:15 [INFO] [stdout] | [INFO] [stdout] 122 | ) -> windows::core::Result { [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/utils/image_utils.rs:78:35 [INFO] [stdout] | [INFO] [stdout] 78 | let last_error = windows::core::Error::from_win32(); [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::utils::image_utils::io::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] = and 4 other candidates [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 78 - let last_error = windows::core::Error::from_win32(); [INFO] [stdout] 78 + let last_error = Error::from_win32(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `windows` [INFO] [stdout] --> src/utils/image_utils.rs:170:35 [INFO] [stdout] | [INFO] [stdout] 170 | let last_error = windows::core::Error::from_win32(); [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::utils::image_utils::io::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] = and 4 other candidates [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 170 - let last_error = windows::core::Error::from_win32(); [INFO] [stdout] 170 + let last_error = Error::from_win32(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `windows` [INFO] [stdout] --> src/utils/process_utils.rs:21:22 [INFO] [stdout] | [INFO] [stdout] 21 | windows::core::Error::new( [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::Error; [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] = and 3 other candidates [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 21 - windows::core::Error::new( [INFO] [stdout] 21 + Error::new( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `windows` [INFO] [stdout] --> src/utils/process_utils.rs:28:33 [INFO] [stdout] | [INFO] [stdout] 28 | return Err(windows::core::Error::from_win32()); [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::Error; [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] = and 3 other candidates [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 28 - return Err(windows::core::Error::from_win32()); [INFO] [stdout] 28 + return Err(Error::from_win32()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `windows` [INFO] [stdout] --> src/dll_icons.rs:157:43 [INFO] [stdout] | [INFO] [stdout] 157 | let last_error = windows::core::Error::from_win32(); [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::dll_icons::io::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] = and 4 other candidates [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 157 - let last_error = windows::core::Error::from_win32(); [INFO] [stdout] 157 + let last_error = Error::from_win32(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `core` in `windows` [INFO] [stdout] --> src/dll_icons.rs:180:43 [INFO] [stdout] | [INFO] [stdout] 180 | let last_error = windows::core::Error::from_win32(); [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use crate::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use crate::dll_icons::io::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::error::Error; [INFO] [stdout] | [INFO] [stdout] 1 + use std::fmt::Error; [INFO] [stdout] | [INFO] [stdout] = and 4 other candidates [INFO] [stdout] help: if you import `Error`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 180 - let last_error = windows::core::Error::from_win32(); [INFO] [stdout] 180 + let last_error = Error::from_win32(); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/utils/image_utils.rs:64:53 [INFO] [stdout] | [INFO] [stdout] 64 | let wide_path: Vec = OsStr::new(file_path).encode_wide().chain(Some(0)).collect(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [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/process_utils.rs:32:44 [INFO] [stdout] | [INFO] [stdout] 32 | let path = PathBuf::from(OsString::from_wide(&buffer)); [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/8c32e313cccf7df531e2d49ffb8227bb92304aee/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] 32 - let path = PathBuf::from(OsString::from_wide(&buffer)); [INFO] [stdout] 32 + let path = PathBuf::from(OsString::from_iter(&buffer)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/dll_icons.rs:167:57 [INFO] [stdout] | [INFO] [stdout] 167 | let wide_path: Vec = OsStr::new(&path).encode_wide().chain(Some(0)).collect(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/utils/image_utils.rs:64:53 [INFO] [stdout] | [INFO] [stdout] 64 | let wide_path: Vec = OsStr::new(file_path).encode_wide().chain(Some(0)).collect(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [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/process_utils.rs:32:44 [INFO] [stdout] | [INFO] [stdout] 32 | let path = PathBuf::from(OsString::from_wide(&buffer)); [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/8c32e313cccf7df531e2d49ffb8227bb92304aee/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] 32 - let path = PathBuf::from(OsString::from_wide(&buffer)); [INFO] [stdout] 32 + let path = PathBuf::from(OsString::from_iter(&buffer)); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/dll_icons.rs:167:57 [INFO] [stdout] | [INFO] [stdout] 167 | let wide_path: Vec = OsStr::new(&path).encode_wide().chain(Some(0)).collect(); [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `windows-icons` (lib test) due to 20 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `windows-icons` (lib) due to 20 previous errors [INFO] running `Command { std: "docker" "inspect" "caf89f47082c8fcaa008619fdd823493d29ee5ca1fcc7a392fd3df8dd6af8d57", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "caf89f47082c8fcaa008619fdd823493d29ee5ca1fcc7a392fd3df8dd6af8d57", kill_on_drop: false }` [INFO] [stdout] caf89f47082c8fcaa008619fdd823493d29ee5ca1fcc7a392fd3df8dd6af8d57