[INFO] cloning repository https://github.com/win-rs/notify-win [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/win-rs/notify-win" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwin-rs%2Fnotify-win", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwin-rs%2Fnotify-win'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e6f26d43d7081bf193a2a6c2f519ef6f96228998 [INFO] checking win-rs/notify-win against try#9b8307bcb9d1de8ffc7e1c81c48efffdb24ee840 for pr-149518 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fwin-rs%2Fnotify-win" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/win-rs/notify-win [INFO] finished tweaking git repo https://github.com/win-rs/notify-win [INFO] tweaked toml for git repo https://github.com/win-rs/notify-win written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/win-rs/notify-win on toolchain 9b8307bcb9d1de8ffc7e1c81c48efffdb24ee840 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9b8307bcb9d1de8ffc7e1c81c48efffdb24ee840" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/win-rs/notify-win 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" "+9b8307bcb9d1de8ffc7e1c81c48efffdb24ee840" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded rstest_macros v0.24.0 [INFO] [stderr] Downloaded rstest v0.24.0 [INFO] [stderr] Downloaded serde_jsonc2 v0.1.2 [INFO] [stderr] Downloaded syn v2.0.92 [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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+9b8307bcb9d1de8ffc7e1c81c48efffdb24ee840" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bfb03baf40409d87a793ede035d785f516172ce452613504ac2e033cb6fb01ed [INFO] running `Command { std: "docker" "start" "-a" "bfb03baf40409d87a793ede035d785f516172ce452613504ac2e033cb6fb01ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bfb03baf40409d87a793ede035d785f516172ce452613504ac2e033cb6fb01ed", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bfb03baf40409d87a793ede035d785f516172ce452613504ac2e033cb6fb01ed", kill_on_drop: false }` [INFO] [stdout] bfb03baf40409d87a793ede035d785f516172ce452613504ac2e033cb6fb01ed [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:94a0c148923f5b2b52a63ef0eeb1882ad339ab61bce784c8077cbe41c61feb6c" "/opt/rustwide/cargo-home/bin/cargo" "+9b8307bcb9d1de8ffc7e1c81c48efffdb24ee840" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1e0b588c22d655301b9b6e5dacd1962903f4b80d474dbc5f6207f42c18c5c36e [INFO] running `Command { std: "docker" "start" "-a" "1e0b588c22d655301b9b6e5dacd1962903f4b80d474dbc5f6207f42c18c5c36e", kill_on_drop: false }` [INFO] [stderr] Compiling windows_x86_64_gnu v0.52.6 [INFO] [stderr] Compiling proc-macro2 v1.0.92 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling rustix v0.38.42 [INFO] [stderr] Compiling semver v1.0.24 [INFO] [stderr] Checking linux-raw-sys v0.4.14 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Checking log v0.4.25 [INFO] [stderr] Checking notify-win-types v0.1.2 (/opt/rustwide/workdir/notify-win-types) [INFO] [stderr] Compiling winnow v0.6.20 [INFO] [stderr] Checking windows-targets v0.52.6 [INFO] [stderr] Checking windows-sys v0.59.0 [INFO] [stderr] Compiling serde v1.0.217 [INFO] [stderr] Compiling rustc_version v0.4.1 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking filetime v0.2.25 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling rstest_macros v0.24.0 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling syn v2.0.92 [INFO] [stderr] Checking futures-timer v3.0.3 [INFO] [stderr] Compiling serde_jsonc2 v0.1.2 [INFO] [stderr] Checking win-file-id v0.1.2 (/opt/rustwide/workdir/win-file-id) [INFO] [stderr] Checking notify-win v0.1.3 (/opt/rustwide/workdir/notify-win) [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> win-file-id/src/lib.rs:112:24 [INFO] [stdout] | [INFO] [stdout] 112 | use std::{mem, 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/9b8307bcb9d1de8ffc7e1c81c48efffdb24ee840/library/std/src/os/mod.rs:56:4 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/9b8307bcb9d1de8ffc7e1c81c48efffdb24ee840/library/std/src/os/mod.rs:120:9 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> win-file-id/src/lib.rs:137:24 [INFO] [stdout] | [INFO] [stdout] 137 | use std::{mem, 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/9b8307bcb9d1de8ffc7e1c81c48efffdb24ee840/library/std/src/os/mod.rs:56:4 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/9b8307bcb9d1de8ffc7e1c81c48efffdb24ee840/library/std/src/os/mod.rs:120:9 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> win-file-id/src/lib.rs:156:36 [INFO] [stdout] | [INFO] [stdout] 156 | use std::{fs::OpenOptions, os::windows::fs::OpenOptionsExt}; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/9b8307bcb9d1de8ffc7e1c81c48efffdb24ee840/library/std/src/os/mod.rs:56:4 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/9b8307bcb9d1de8ffc7e1c81c48efffdb24ee840/library/std/src/os/mod.rs:120:9 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> notify-win/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/9b8307bcb9d1de8ffc7e1c81c48efffdb24ee840/library/std/src/os/mod.rs:56:4 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/9b8307bcb9d1de8ffc7e1c81c48efffdb24ee840/library/std/src/os/mod.rs:120:9 [INFO] [stdout] | [INFO] [stdout] = note: the item is gated here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_raw_handle` found for reference `&File` in the current scope [INFO] [stdout] --> win-file-id/src/lib.rs:120:14 [INFO] [stdout] | [INFO] [stdout] 120 | file.as_raw_handle() as HANDLE, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `as_raw_fd` with a similar name [INFO] [stdout] | [INFO] [stdout] 120 - file.as_raw_handle() as HANDLE, [INFO] [stdout] 120 + file.as_raw_fd() as HANDLE, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `as_raw_handle` found for reference `&File` in the current scope [INFO] [stdout] --> win-file-id/src/lib.rs:144:47 [INFO] [stdout] | [INFO] [stdout] 144 | let ret = GetFileInformationByHandle(file.as_raw_handle() as HANDLE, &mut info); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: there is a method `as_raw_fd` with a similar name [INFO] [stdout] | [INFO] [stdout] 144 - let ret = GetFileInformationByHandle(file.as_raw_handle() as HANDLE, &mut info); [INFO] [stdout] 144 + let ret = GetFileInformationByHandle(file.as_raw_fd() as HANDLE, &mut info); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `access_mode` found for struct `OpenOptions` in the current scope [INFO] [stdout] --> win-file-id/src/lib.rs:160:10 [INFO] [stdout] | [INFO] [stdout] 159 | / OpenOptions::new() [INFO] [stdout] 160 | | .access_mode(0) [INFO] [stdout] | | -^^^^^^^^^^^ method not found in `OpenOptions` [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 `win-file-id` (lib) due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> notify-win/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] error[E0599]: no function or associated item named `from_wide` found for struct `OsString` in the current scope [INFO] [stdout] --> notify-win/src/windows.rs:349:43 [INFO] [stdout] | [INFO] [stdout] 349 | .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/9b8307bcb9d1de8ffc7e1c81c48efffdb24ee840/library/std/src/ffi/os_str.rs:141:4 [INFO] [stdout] help: there is an associated function `from_iter` with a similar name [INFO] [stdout] | [INFO] [stdout] 349 - .join(PathBuf::from(OsString::from_wide(encoded_path))); [INFO] [stdout] 349 + .join(PathBuf::from(OsString::from_iter(encoded_path))); [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] running `Command { std: "docker" "inspect" "1e0b588c22d655301b9b6e5dacd1962903f4b80d474dbc5f6207f42c18c5c36e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e0b588c22d655301b9b6e5dacd1962903f4b80d474dbc5f6207f42c18c5c36e", kill_on_drop: false }` [INFO] [stdout] 1e0b588c22d655301b9b6e5dacd1962903f4b80d474dbc5f6207f42c18c5c36e