[INFO] cloning repository https://github.com/curtisalexander/win-fors [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/curtisalexander/win-fors" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcurtisalexander%2Fwin-fors", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcurtisalexander%2Fwin-fors'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 07d5f5f98bb341dbc63174e45f8a9097cd620acc [INFO] testing curtisalexander/win-fors against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcurtisalexander%2Fwin-fors" "/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/curtisalexander/win-fors [INFO] finished tweaking git repo https://github.com/curtisalexander/win-fors [INFO] tweaked toml for git repo https://github.com/curtisalexander/win-fors written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/curtisalexander/win-fors 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 git repo https://github.com/curtisalexander/win-fors 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] [stderr] Blocking waiting for file lock on package cache [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3e507b972d5da36abf0611cafa02bc89fb620f1d4dc859dddb1cbaaa6ae7fb16 [INFO] running `Command { std: "docker" "start" "-a" "3e507b972d5da36abf0611cafa02bc89fb620f1d4dc859dddb1cbaaa6ae7fb16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3e507b972d5da36abf0611cafa02bc89fb620f1d4dc859dddb1cbaaa6ae7fb16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e507b972d5da36abf0611cafa02bc89fb620f1d4dc859dddb1cbaaa6ae7fb16", kill_on_drop: false }` [INFO] [stdout] 3e507b972d5da36abf0611cafa02bc89fb620f1d4dc859dddb1cbaaa6ae7fb16 [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2407d7560cdb6d3527a2db615c38ce7ba260af84fb7decb3c76315fe50c112e3 [INFO] running `Command { std: "docker" "start" "-a" "2407d7560cdb6d3527a2db615c38ce7ba260af84fb7decb3c76315fe50c112e3", kill_on_drop: false }` [INFO] [stderr] Compiling win-fors v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os` [INFO] [stdout] --> src/main.rs:2:35 [INFO] [stdout] | [INFO] [stdout] 2 | error::Error, ffi::OsStr, os::windows::ffi::OsStrExt, path::PathBuf, process::exit, [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[E0432]: unresolved import `colored` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use colored::Colorize; [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `colored` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `colored`, use `cargo add colored` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `log` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use log::debug; [INFO] [stdout] | ^^^ use of unresolved module or unlinked crate `log` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `log`, use `cargo add log` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `windows` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use windows::{ [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `windows` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `windows`, use `cargo add windows` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `path_abs` [INFO] [stdout] --> src/main.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use path_abs::PathAbs; [INFO] [stdout] | ^^^^^^^^ use of unresolved module or unlinked crate `path_abs` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `path_abs`, use `cargo add path_abs` to add it to your `Cargo.toml` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope [INFO] [stdout] --> src/main.rs:39:16 [INFO] [stdout] | [INFO] [stdout] 39 | Self(s.encode_wide().chain(std::iter::once(0)).collect()) [INFO] [stdout] | ^^^^^^^^^^^ method not found in `&OsStr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `bright_yellow` found for struct `String` in the current scope [INFO] [stdout] --> src/main.rs:183:43 [INFO] [stdout] | [INFO] [stdout] 183 | format!("{:#?}", readme_path).bright_yellow(), [INFO] [stdout] | ^^^^^^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `bright_blue` found for struct `String` in the current scope [INFO] [stdout] --> src/main.rs:184:42 [INFO] [stdout] | [INFO] [stdout] 184 | name_as_wstring.to_string()?.bright_blue() [INFO] [stdout] | ^^^^^^^^^^^ method not found in `String` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `win-fors` (bin "win-fors") due to 8 previous errors [INFO] running `Command { std: "docker" "inspect" "2407d7560cdb6d3527a2db615c38ce7ba260af84fb7decb3c76315fe50c112e3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2407d7560cdb6d3527a2db615c38ce7ba260af84fb7decb3c76315fe50c112e3", kill_on_drop: false }` [INFO] [stdout] 2407d7560cdb6d3527a2db615c38ce7ba260af84fb7decb3c76315fe50c112e3