[INFO] cloning repository https://github.com/ibigbug/windows-rs-CreateProcessW [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ibigbug/windows-rs-CreateProcessW" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fibigbug%2Fwindows-rs-CreateProcessW", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fibigbug%2Fwindows-rs-CreateProcessW'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 49f49352596d2a37d831b9656b65638f5535a254 [INFO] testing ibigbug/windows-rs-CreateProcessW against try#bbf43bc9d5c8ad2a2e38c9004e5a59b269820b3b for pr-154756 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fibigbug%2Fwindows-rs-CreateProcessW" "/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/ibigbug/windows-rs-CreateProcessW [INFO] finished tweaking git repo https://github.com/ibigbug/windows-rs-CreateProcessW [INFO] tweaked toml for git repo https://github.com/ibigbug/windows-rs-CreateProcessW written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ibigbug/windows-rs-CreateProcessW on toolchain bbf43bc9d5c8ad2a2e38c9004e5a59b269820b3b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+bbf43bc9d5c8ad2a2e38c9004e5a59b269820b3b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ibigbug/windows-rs-CreateProcessW 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" "+bbf43bc9d5c8ad2a2e38c9004e5a59b269820b3b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+bbf43bc9d5c8ad2a2e38c9004e5a59b269820b3b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 29c82ef3a518a5f21d4d7df8d2dd21326ef4d919c3ed98fdf19604ac4df81837 [INFO] running `Command { std: "docker" "start" "-a" "29c82ef3a518a5f21d4d7df8d2dd21326ef4d919c3ed98fdf19604ac4df81837", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "29c82ef3a518a5f21d4d7df8d2dd21326ef4d919c3ed98fdf19604ac4df81837", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29c82ef3a518a5f21d4d7df8d2dd21326ef4d919c3ed98fdf19604ac4df81837", kill_on_drop: false }` [INFO] [stdout] 29c82ef3a518a5f21d4d7df8d2dd21326ef4d919c3ed98fdf19604ac4df81837 [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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+bbf43bc9d5c8ad2a2e38c9004e5a59b269820b3b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9c181cdd216fac3e9be39f595585a053cf35e159d2a1af141345dbcd47d888ee [INFO] running `Command { std: "docker" "start" "-a" "9c181cdd216fac3e9be39f595585a053cf35e159d2a1af141345dbcd47d888ee", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling windows_reader v0.19.0 [INFO] [stderr] Compiling windows_quote v0.19.0 [INFO] [stderr] Compiling const-sha1 v0.2.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling windows_gen v0.19.0 [INFO] [stderr] Compiling windows_macros v0.19.0 [INFO] [stderr] Compiling windows v0.19.0 [INFO] [stderr] Compiling win-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0433]: cannot find `windows` in `os` [INFO] [stdout] --> src/main.rs:7:14 [INFO] [stdout] | [INFO] [stdout] 7 | use std::os::windows::io::FromRawHandle; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/bbf43bc9d5c8ad2a2e38c9004e5a59b269820b3b/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/bbf43bc9d5c8ad2a2e38c9004e5a59b269820b3b/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]: cannot find `windows` in `os` [INFO] [stdout] --> src/main.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | use std::os::windows::io::RawHandle; [INFO] [stdout] | ^^^^^^^ could not find `windows` in `os` [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /rustc/bbf43bc9d5c8ad2a2e38c9004e5a59b269820b3b/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/bbf43bc9d5c8ad2a2e38c9004e5a59b269820b3b/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[E0599]: no associated function or constant named `from_raw_handle` found for struct `File` in the current scope [INFO] [stdout] --> src/main.rs:50:33 [INFO] [stdout] | [INFO] [stdout] 50 | let mut file_in = File::from_raw_handle((&mut stdin as *mut HANDLE).cast::<_>()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ associated function or constant not found in `File` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `File` consider using one of the following associated functions: [INFO] [stdout] File::open [INFO] [stdout] File::create [INFO] [stdout] File::create_new [INFO] [stdout] --> /rustc/bbf43bc9d5c8ad2a2e38c9004e5a59b269820b3b/library/std/src/fs.rs:570:4 [INFO] [stdout] help: there is an associated function `from_raw_fd` with a similar name [INFO] [stdout] | [INFO] [stdout] 50 - let mut file_in = File::from_raw_handle((&mut stdin as *mut HANDLE).cast::<_>()); [INFO] [stdout] 50 + let mut file_in = File::from_raw_fd((&mut stdin as *mut HANDLE).cast::<_>()); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no associated function or constant named `from_raw_handle` found for struct `File` in the current scope [INFO] [stdout] --> src/main.rs:51:34 [INFO] [stdout] | [INFO] [stdout] 51 | let mut file_out = File::from_raw_handle((&mut stdout as *mut HANDLE).cast::<_>()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ associated function or constant not found in `File` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `File` consider using one of the following associated functions: [INFO] [stdout] File::open [INFO] [stdout] File::create [INFO] [stdout] File::create_new [INFO] [stdout] --> /rustc/bbf43bc9d5c8ad2a2e38c9004e5a59b269820b3b/library/std/src/fs.rs:570:4 [INFO] [stdout] help: there is an associated function `from_raw_fd` with a similar name [INFO] [stdout] | [INFO] [stdout] 51 - let mut file_out = File::from_raw_handle((&mut stdout as *mut HANDLE).cast::<_>()); [INFO] [stdout] 51 + let mut file_out = File::from_raw_fd((&mut stdout as *mut HANDLE).cast::<_>()); [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 `win-rs` (bin "win-rs") due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "9c181cdd216fac3e9be39f595585a053cf35e159d2a1af141345dbcd47d888ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9c181cdd216fac3e9be39f595585a053cf35e159d2a1af141345dbcd47d888ee", kill_on_drop: false }` [INFO] [stdout] 9c181cdd216fac3e9be39f595585a053cf35e159d2a1af141345dbcd47d888ee