[INFO] fetching crate pack2 0.1.3... [INFO] checking pack2-0.1.3 against try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [INFO] extracting crate pack2 0.1.3 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate pack2 0.1.3 [INFO] finished tweaking crates.io crate pack2 0.1.3 [INFO] tweaked toml for crates.io crate pack2 0.1.3 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate pack2 0.1.3 on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate pack2 0.1.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" "+998b6603a58e47f42ccce7a67943234e96b6839e" "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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ce1b15c74781236bec21eb03f99af474ca944d3fe031394aefc1f83555752a93 [INFO] running `Command { std: "docker" "start" "-a" "ce1b15c74781236bec21eb03f99af474ca944d3fe031394aefc1f83555752a93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ce1b15c74781236bec21eb03f99af474ca944d3fe031394aefc1f83555752a93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce1b15c74781236bec21eb03f99af474ca944d3fe031394aefc1f83555752a93", kill_on_drop: false }` [INFO] [stdout] ce1b15c74781236bec21eb03f99af474ca944d3fe031394aefc1f83555752a93 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b96598b40ebfb9a884606582c6e2d0ade52ce1a841d187d1a8ba3baa8c2d0d24 [INFO] running `Command { std: "docker" "start" "-a" "b96598b40ebfb9a884606582c6e2d0ade52ce1a841d187d1a8ba3baa8c2d0d24", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Compiling syn v1.0.95 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Checking windows v0.37.0 [INFO] [stderr] Checking etherparse v0.10.1 [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/windows-0.37.0/src/core/pcwstr.rs:64:24 [INFO] [stdout] | [INFO] [stdout] 64 | use ::std::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/998b6603a58e47f42ccce7a67943234e96b6839e/library/std/src/os/mod.rs:63:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/std/src/os/mod.rs:55:1 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/std/src/os/mod.rs:121:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/std/src/os/mod.rs:120:1 [INFO] [stdout] [INFO] [stdout] [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/windows-0.37.0/src/core/hstring.rs:53:18 [INFO] [stdout] | [INFO] [stdout] 53 | std::os::windows::ffi::OsStringExt::from_wide(self.as_wide()) [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/std/src/os/mod.rs:63:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/std/src/os/mod.rs:55:1 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/std/src/os/mod.rs:121:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/std/src/os/mod.rs:120:1 [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 + use std::os::unix::prelude::OsStringExt; [INFO] [stdout] | [INFO] [stdout] help: if you import `OsStringExt`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 53 - std::os::windows::ffi::OsStringExt::from_wide(self.as_wide()) [INFO] [stdout] 53 + OsStringExt::from_wide(self.as_wide()) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [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/windows-0.37.0/src/core/hstring.rs:173:48 [INFO] [stdout] | [INFO] [stdout] 173 | unsafe { Self::from_wide_iter(std::os::windows::ffi::OsStrExt::encode_wide(value), value.len() as u32) } [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/std/src/os/mod.rs:63:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/std/src/os/mod.rs:55:1 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/std/src/os/mod.rs:121:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/std/src/os/mod.rs:120:1 [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 + use std::os::unix::prelude::OsStrExt; [INFO] [stdout] | [INFO] [stdout] help: if you import `OsStrExt`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 173 - unsafe { Self::from_wide_iter(std::os::windows::ffi::OsStrExt::encode_wide(value), value.len() as u32) } [INFO] [stdout] 173 + unsafe { Self::from_wide_iter(OsStrExt::encode_wide(value), value.len() as u32) } [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [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/windows-0.37.0/src/core/hstring.rs:287:52 [INFO] [stdout] | [INFO] [stdout] 287 | self.as_wide().iter().copied().eq(std::os::windows::ffi::OsStrExt::encode_wide(other)) [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/std/src/os/mod.rs:63:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/std/src/os/mod.rs:55:1 [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/std/src/os/mod.rs:121:9 [INFO] [stdout] note: the item is gated here [INFO] [stdout] --> /rustc/998b6603a58e47f42ccce7a67943234e96b6839e/library/std/src/os/mod.rs:120:1 [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 1 + use std::os::unix::prelude::OsStrExt; [INFO] [stdout] | [INFO] [stdout] help: if you import `OsStrExt`, refer to it directly [INFO] [stdout] | [INFO] [stdout] 287 - self.as_wide().iter().copied().eq(std::os::windows::ffi::OsStrExt::encode_wide(other)) [INFO] [stdout] 287 + self.as_wide().iter().copied().eq(OsStrExt::encode_wide(other)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking socket2 v0.4.4 [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/windows-0.37.0/src/core/pcwstr.rs:65:50 [INFO] [stdout] | [INFO] [stdout] 65 | Param::Boxed(PCWSTR(alloc_from_iter(self.encode_wide().chain(core::iter::once(0)), self.len() + 1))) [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [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 `windows` (lib) due to 5 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "b96598b40ebfb9a884606582c6e2d0ade52ce1a841d187d1a8ba3baa8c2d0d24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b96598b40ebfb9a884606582c6e2d0ade52ce1a841d187d1a8ba3baa8c2d0d24", kill_on_drop: false }` [INFO] [stdout] b96598b40ebfb9a884606582c6e2d0ade52ce1a841d187d1a8ba3baa8c2d0d24