[INFO] fetching crate export-resolver 1.0.3... [INFO] testing export-resolver-1.0.3 against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] extracting crate export-resolver 1.0.3 into /workspace/builds/worker-0-tc2/source [INFO] started tweaking crates.io crate export-resolver 1.0.3 [INFO] finished tweaking crates.io crate export-resolver 1.0.3 [INFO] tweaked toml for crates.io crate export-resolver 1.0.3 written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate export-resolver 1.0.3 on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate export-resolver 1.0.3 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c93fd0d954b5c08d0e6bf742258c4576fa4683a3226085265de221bfa5b44241 [INFO] running `Command { std: "docker" "start" "-a" "c93fd0d954b5c08d0e6bf742258c4576fa4683a3226085265de221bfa5b44241", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c93fd0d954b5c08d0e6bf742258c4576fa4683a3226085265de221bfa5b44241", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c93fd0d954b5c08d0e6bf742258c4576fa4683a3226085265de221bfa5b44241", kill_on_drop: false }` [INFO] [stdout] c93fd0d954b5c08d0e6bf742258c4576fa4683a3226085265de221bfa5b44241 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 16804d75749eb9459154255b3393b0f38330b6b1d1f9ae1895b6f6e40bce826c [INFO] running `Command { std: "docker" "start" "-a" "16804d75749eb9459154255b3393b0f38330b6b1d1f9ae1895b6f6e40bce826c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.85 [INFO] [stderr] Compiling windows_x86_64_gnu v0.52.5 [INFO] [stderr] Compiling windows-targets v0.52.5 [INFO] [stderr] Compiling windows-result v0.1.1 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.66 [INFO] [stderr] Compiling windows-interface v0.56.0 [INFO] [stderr] Compiling windows-implement v0.56.0 [INFO] [stderr] Compiling windows-core v0.56.0 [INFO] [stderr] Compiling windows v0.56.0 [INFO] [stderr] Compiling export-resolver v1.0.3 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/lib.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | 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/b83b707f97d809763b7861afa7638871f3339a33/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/b83b707f97d809763b7861afa7638871f3339a33/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] --> src/lib.rs:197:42 [INFO] [stdout] | [INFO] [stdout] 197 | let dll_name = OsString::from_wide(dll_name_slice); [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/b83b707f97d809763b7861afa7638871f3339a33/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] 197 - let dll_name = OsString::from_wide(dll_name_slice); [INFO] [stdout] 197 + let dll_name = OsString::from_iter(dll_name_slice); [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 `export-resolver` (lib) due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "16804d75749eb9459154255b3393b0f38330b6b1d1f9ae1895b6f6e40bce826c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16804d75749eb9459154255b3393b0f38330b6b1d1f9ae1895b6f6e40bce826c", kill_on_drop: false }` [INFO] [stdout] 16804d75749eb9459154255b3393b0f38330b6b1d1f9ae1895b6f6e40bce826c