[INFO] cloning repository https://github.com/Astlaan/rust-ctrl-close-handler
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Astlaan/rust-ctrl-close-handler" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAstlaan%2Frust-ctrl-close-handler", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAstlaan%2Frust-ctrl-close-handler'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] bf3a1654e03bfdbb5b0c737fe3b91e1bc1465041
[INFO] building Astlaan/rust-ctrl-close-handler against try#334963c956d25708feab489a3816ae63f639355d for pr-135216
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAstlaan%2Frust-ctrl-close-handler" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Astlaan/rust-ctrl-close-handler on toolchain 334963c956d25708feab489a3816ae63f639355d
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Astlaan/rust-ctrl-close-handler
[INFO] finished tweaking git repo https://github.com/Astlaan/rust-ctrl-close-handler
[INFO] tweaked toml for git repo https://github.com/Astlaan/rust-ctrl-close-handler written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/Astlaan/rust-ctrl-close-handler 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" "+334963c956d25708feab489a3816ae63f639355d" "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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] b17984984dc463127b04be4ee4a95f65cbafbb56bb5b53bd92ef6b0e594964c0
[INFO] running `Command { std: "docker" "start" "-a" "b17984984dc463127b04be4ee4a95f65cbafbb56bb5b53bd92ef6b0e594964c0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "b17984984dc463127b04be4ee4a95f65cbafbb56bb5b53bd92ef6b0e594964c0", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "b17984984dc463127b04be4ee4a95f65cbafbb56bb5b53bd92ef6b0e594964c0", kill_on_drop: false }`
[INFO] [stdout] b17984984dc463127b04be4ee4a95f65cbafbb56bb5b53bd92ef6b0e594964c0
[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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+334963c956d25708feab489a3816ae63f639355d" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 7c27b2dcade8b64c42d42460c44352ec9406b29c56afe3008fc505e55f68a985
[INFO] running `Command { std: "docker" "start" "-a" "7c27b2dcade8b64c42d42460c44352ec9406b29c56afe3008fc505e55f68a985", kill_on_drop: false }`
[INFO] [stderr]    Compiling cfg_aliases v0.2.1
[INFO] [stderr]    Compiling libc v0.2.168
[INFO] [stderr]    Compiling winapi v0.3.9
[INFO] [stderr]    Compiling bitflags v2.6.0
[INFO] [stderr]    Compiling nix v0.29.0
[INFO] [stderr]    Compiling ctrlc v3.4.5
[INFO] [stderr]    Compiling rust-thread v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> src/main.rs:9:13
[INFO] [stdout]   |
[INFO] [stdout] 9 | use winapi::shared::minwindef::{BOOL, TRUE};
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:10:13
[INFO] [stdout]    |
[INFO] [stdout] 10 | use winapi::um::consoleapi::SetConsoleCtrlHandler; // SetConsoleCtrlHandler is in consoleapi module
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `ctrlc`
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use ctrlc;
[INFO] [stdout]   |     ^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rust-thread` (bin "rust-thread") due to 2 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "7c27b2dcade8b64c42d42460c44352ec9406b29c56afe3008fc505e55f68a985", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "7c27b2dcade8b64c42d42460c44352ec9406b29c56afe3008fc505e55f68a985", kill_on_drop: false }`
[INFO] [stdout] 7c27b2dcade8b64c42d42460c44352ec9406b29c56afe3008fc505e55f68a985
