[INFO] fetching crate pack2 0.1.3... [INFO] building pack2-0.1.3 against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] extracting crate pack2 0.1.3 into /workspace/builds/worker-7-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-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate pack2 0.1.3 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 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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 23cb44f9b2184aae52238651083cbdefc0a029ead69b760c6b1f6caee914e8e4 [INFO] running `Command { std: "docker" "start" "-a" "23cb44f9b2184aae52238651083cbdefc0a029ead69b760c6b1f6caee914e8e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "23cb44f9b2184aae52238651083cbdefc0a029ead69b760c6b1f6caee914e8e4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "23cb44f9b2184aae52238651083cbdefc0a029ead69b760c6b1f6caee914e8e4", kill_on_drop: false }` [INFO] [stdout] 23cb44f9b2184aae52238651083cbdefc0a029ead69b760c6b1f6caee914e8e4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] ec2eea6452a2458c0c424b57e132163273fa09e8532923a0a5657a7211be0a14 [INFO] running `Command { std: "docker" "start" "-a" "ec2eea6452a2458c0c424b57e132163273fa09e8532923a0a5657a7211be0a14", kill_on_drop: false }` [INFO] [stderr] Compiling syn v1.0.95 [INFO] [stderr] Compiling windows v0.37.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/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/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[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/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] 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/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] 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/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] 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] [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" "ec2eea6452a2458c0c424b57e132163273fa09e8532923a0a5657a7211be0a14", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec2eea6452a2458c0c424b57e132163273fa09e8532923a0a5657a7211be0a14", kill_on_drop: false }` [INFO] [stdout] ec2eea6452a2458c0c424b57e132163273fa09e8532923a0a5657a7211be0a14