[INFO] cloning repository https://github.com/rgwood/trash-repro [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/rgwood/trash-repro" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frgwood%2Ftrash-repro", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frgwood%2Ftrash-repro'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4b9dfe104a43c536f5d64908627db5456322a946 [INFO] checking rgwood/trash-repro against try#943e2200e35c3825486c4671b6cab0107a07f8c1 for pr-148952 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Frgwood%2Ftrash-repro" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/rgwood/trash-repro [INFO] finished tweaking git repo https://github.com/rgwood/trash-repro [INFO] tweaked toml for git repo https://github.com/rgwood/trash-repro written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/rgwood/trash-repro on toolchain 943e2200e35c3825486c4671b6cab0107a07f8c1 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+943e2200e35c3825486c4671b6cab0107a07f8c1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/rgwood/trash-repro 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" "+943e2200e35c3825486c4671b6cab0107a07f8c1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded windows v0.36.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+943e2200e35c3825486c4671b6cab0107a07f8c1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0b9bc389ec435f352c3fcad6694b24fcbecb37963d06ae86c60be52f8dfa698f [INFO] running `Command { std: "docker" "start" "-a" "0b9bc389ec435f352c3fcad6694b24fcbecb37963d06ae86c60be52f8dfa698f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0b9bc389ec435f352c3fcad6694b24fcbecb37963d06ae86c60be52f8dfa698f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0b9bc389ec435f352c3fcad6694b24fcbecb37963d06ae86c60be52f8dfa698f", kill_on_drop: false }` [INFO] [stdout] 0b9bc389ec435f352c3fcad6694b24fcbecb37963d06ae86c60be52f8dfa698f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+943e2200e35c3825486c4671b6cab0107a07f8c1" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f97ecf90da885ac5e64b84101bcfa619bc72422967ada19158c52f0cd3254c3c [INFO] running `Command { std: "docker" "start" "-a" "f97ecf90da885ac5e64b84101bcfa619bc72422967ada19158c52f0cd3254c3c", kill_on_drop: false }` [INFO] [stderr] Compiling anyhow v1.0.57 [INFO] [stderr] Checking windows v0.36.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.36.1/src/core/pcwstr.rs:60:24 [INFO] [stdout] | [INFO] [stdout] 60 | 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/943e2200e35c3825486c4671b6cab0107a07f8c1/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/943e2200e35c3825486c4671b6cab0107a07f8c1/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] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/windows-0.36.1/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/943e2200e35c3825486c4671b6cab0107a07f8c1/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/943e2200e35c3825486c4671b6cab0107a07f8c1/library/std/src/os/mod.rs:120:9 [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.36.1/src/core/hstring.rs:174:48 [INFO] [stdout] | [INFO] [stdout] 174 | 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/943e2200e35c3825486c4671b6cab0107a07f8c1/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/943e2200e35c3825486c4671b6cab0107a07f8c1/library/std/src/os/mod.rs:120:9 [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] 174 - unsafe { Self::from_wide_iter(std::os::windows::ffi::OsStrExt::encode_wide(value), value.len() as u32) } [INFO] [stdout] 174 + 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.36.1/src/core/hstring.rs:288:52 [INFO] [stdout] | [INFO] [stdout] 288 | 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/943e2200e35c3825486c4671b6cab0107a07f8c1/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/943e2200e35c3825486c4671b6cab0107a07f8c1/library/std/src/os/mod.rs:120:9 [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] 288 - self.as_wide().iter().copied().eq(std::os::windows::ffi::OsStrExt::encode_wide(other)) [INFO] [stdout] 288 + 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.36.1/src/core/pcwstr.rs:61:47 [INFO] [stdout] | [INFO] [stdout] 61 | Param::Boxed(PCWSTR(heap_string(&self.encode_wide().collect::>()))) [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] running `Command { std: "docker" "inspect" "f97ecf90da885ac5e64b84101bcfa619bc72422967ada19158c52f0cd3254c3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f97ecf90da885ac5e64b84101bcfa619bc72422967ada19158c52f0cd3254c3c", kill_on_drop: false }` [INFO] [stdout] f97ecf90da885ac5e64b84101bcfa619bc72422967ada19158c52f0cd3254c3c