[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 master#c2efcc4ae006a6b2761cb42572fc9cee0d1ce4af 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-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/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-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ibigbug/windows-rs-CreateProcessW on toolchain c2efcc4ae006a6b2761cb42572fc9cee0d1ce4af [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2efcc4ae006a6b2761cb42572fc9cee0d1ce4af" "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" "+c2efcc4ae006a6b2761cb42572fc9cee0d1ce4af" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded windows_quote v0.19.0 [INFO] [stderr] Downloaded windows_macros v0.19.0 [INFO] [stderr] Downloaded windows_gen v0.19.0 [INFO] [stderr] Downloaded const-sha1 v0.2.0 [INFO] [stderr] Downloaded windows v0.19.0 [INFO] [stderr] Downloaded windows_reader v0.19.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "+c2efcc4ae006a6b2761cb42572fc9cee0d1ce4af" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d38ee60c7b0e4ab7b6998a82a55115c39d36776dd1f01e9f8f31fd070ad90c39 [INFO] running `Command { std: "docker" "start" "-a" "d38ee60c7b0e4ab7b6998a82a55115c39d36776dd1f01e9f8f31fd070ad90c39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d38ee60c7b0e4ab7b6998a82a55115c39d36776dd1f01e9f8f31fd070ad90c39", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d38ee60c7b0e4ab7b6998a82a55115c39d36776dd1f01e9f8f31fd070ad90c39", kill_on_drop: false }` [INFO] [stdout] d38ee60c7b0e4ab7b6998a82a55115c39d36776dd1f01e9f8f31fd070ad90c39 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/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" "+c2efcc4ae006a6b2761cb42572fc9cee0d1ce4af" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c9a46f3a3634e9c2ba5bc9a710be78a2c9b72ec1268009d552abaa532f0de94b [INFO] running `Command { std: "docker" "start" "-a" "c9a46f3a3634e9c2ba5bc9a710be78a2c9b72ec1268009d552abaa532f0de94b", 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/c2efcc4ae006a6b2761cb42572fc9cee0d1ce4af/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/c2efcc4ae006a6b2761cb42572fc9cee0d1ce4af/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/c2efcc4ae006a6b2761cb42572fc9cee0d1ce4af/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/c2efcc4ae006a6b2761cb42572fc9cee0d1ce4af/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/c2efcc4ae006a6b2761cb42572fc9cee0d1ce4af/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/c2efcc4ae006a6b2761cb42572fc9cee0d1ce4af/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" "c9a46f3a3634e9c2ba5bc9a710be78a2c9b72ec1268009d552abaa532f0de94b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c9a46f3a3634e9c2ba5bc9a710be78a2c9b72ec1268009d552abaa532f0de94b", kill_on_drop: false }` [INFO] [stdout] c9a46f3a3634e9c2ba5bc9a710be78a2c9b72ec1268009d552abaa532f0de94b