[INFO] fetching crate notify-win-debouncer-mini 0.1.2... [INFO] building notify-win-debouncer-mini-0.1.2 against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] extracting crate notify-win-debouncer-mini 0.1.2 into /workspace/builds/worker-4-tc2/source [INFO] started tweaking crates.io crate notify-win-debouncer-mini 0.1.2 [INFO] finished tweaking crates.io crate notify-win-debouncer-mini 0.1.2 [INFO] tweaked toml for crates.io crate notify-win-debouncer-mini 0.1.2 written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate notify-win-debouncer-mini 0.1.2 on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate notify-win-debouncer-mini 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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e161b621f7332b86c7ff13bd3dc5687ad619338d0349fd497128c2735c5b85e3 [INFO] running `Command { std: "docker" "start" "-a" "e161b621f7332b86c7ff13bd3dc5687ad619338d0349fd497128c2735c5b85e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e161b621f7332b86c7ff13bd3dc5687ad619338d0349fd497128c2735c5b85e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e161b621f7332b86c7ff13bd3dc5687ad619338d0349fd497128c2735c5b85e3", kill_on_drop: false }` [INFO] [stdout] e161b621f7332b86c7ff13bd3dc5687ad619338d0349fd497128c2735c5b85e3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 78dd63314cc631ecc7d4333682dc84ef9f10dfad0b8c13799ce939af7a6ce2e7 [INFO] running `Command { std: "docker" "start" "-a" "78dd63314cc631ecc7d4333682dc84ef9f10dfad0b8c13799ce939af7a6ce2e7", kill_on_drop: false }` [INFO] [stderr] Compiling windows_x86_64_gnu v0.52.6 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling rustix v0.38.42 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling notify-win-types v0.1.2 [INFO] [stderr] Compiling windows-targets v0.52.6 [INFO] [stderr] Compiling windows-sys v0.59.0 [INFO] [stderr] Compiling filetime v0.2.25 [INFO] [stderr] Compiling notify-win v0.1.2 [INFO] [stderr] Compiling tempfile v3.14.0 [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/notify-win-0.1.2/src/windows.rs:16:14 [INFO] [stdout] | [INFO] [stdout] 16 | use std::os::windows::ffi::{OsStrExt, OsStringExt}; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6/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/d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6/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[E0599]: no function or associated item named `from_wide` found for struct `OsString` in the current scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/notify-win-0.1.2/src/windows.rs:350:43 [INFO] [stdout] | [INFO] [stdout] 350 | .join(PathBuf::from(OsString::from_wide(encoded_path))); [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/d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6/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] 350 - .join(PathBuf::from(OsString::from_wide(encoded_path))); [INFO] [stdout] 350 + .join(PathBuf::from(OsString::from_iter(encoded_path))); [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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/notify-win-0.1.2/src/windows.rs:174:14 [INFO] [stdout] | [INFO] [stdout] 172 | let encoded_path: Vec = dir_target [INFO] [stdout] | ______________________________________- [INFO] [stdout] 173 | | .as_os_str() [INFO] [stdout] 174 | | .encode_wide() [INFO] [stdout] | | -^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] | |_____________| [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 `notify-win` (lib) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "78dd63314cc631ecc7d4333682dc84ef9f10dfad0b8c13799ce939af7a6ce2e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "78dd63314cc631ecc7d4333682dc84ef9f10dfad0b8c13799ce939af7a6ce2e7", kill_on_drop: false }` [INFO] [stdout] 78dd63314cc631ecc7d4333682dc84ef9f10dfad0b8c13799ce939af7a6ce2e7