[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#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fibigbug%2Fwindows-rs-CreateProcessW" "/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/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-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ibigbug/windows-rs-CreateProcessW 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/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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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] 3e18ac5171e2c54a5081c52d3f74a019f91d7d51e7922f28fa87c941fddf90fb [INFO] running `Command { std: "docker" "start" "-a" "3e18ac5171e2c54a5081c52d3f74a019f91d7d51e7922f28fa87c941fddf90fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3e18ac5171e2c54a5081c52d3f74a019f91d7d51e7922f28fa87c941fddf90fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e18ac5171e2c54a5081c52d3f74a019f91d7d51e7922f28fa87c941fddf90fb", kill_on_drop: false }` [INFO] [stdout] 3e18ac5171e2c54a5081c52d3f74a019f91d7d51e7922f28fa87c941fddf90fb [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] 424961593cebcc0055ab64916a167a45bf777c129f9fb2e32681e44ca9fdfb67 [INFO] running `Command { std: "docker" "start" "-a" "424961593cebcc0055ab64916a167a45bf777c129f9fb2e32681e44ca9fdfb67", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling windows_quote v0.19.0 [INFO] [stderr] Compiling windows_reader 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]: failed to resolve: could not 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/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[E0433]: failed to resolve: could not 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/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[E0599]: no function or associated item 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] | ^^^^^^^^^^^^^^^ function or associated item 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/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/fs.rs:452:5 [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 function or associated item 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] | ^^^^^^^^^^^^^^^ function or associated item 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/b83b707f97d809763b7861afa7638871f3339a33/library/std/src/fs.rs:452:5 [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" "424961593cebcc0055ab64916a167a45bf777c129f9fb2e32681e44ca9fdfb67", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "424961593cebcc0055ab64916a167a45bf777c129f9fb2e32681e44ca9fdfb67", kill_on_drop: false }` [INFO] [stdout] 424961593cebcc0055ab64916a167a45bf777c129f9fb2e32681e44ca9fdfb67