[INFO] cloning repository https://github.com/AndreiHan/multihook
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AndreiHan/multihook" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAndreiHan%2Fmultihook", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAndreiHan%2Fmultihook'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] d963d9f75220092ef78e68f4ead8d9c785e4636e
[INFO] checking AndreiHan/multihook against try#5fee451ebd94296ea05214e819c311e164b30af6 for pr-139042
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAndreiHan%2Fmultihook" "/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/AndreiHan/multihook on toolchain 5fee451ebd94296ea05214e819c311e164b30af6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5fee451ebd94296ea05214e819c311e164b30af6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] removed /workspace/builds/worker-1-tc2/source/.cargo/config.toml
[INFO] started tweaking git repo https://github.com/AndreiHan/multihook
[INFO] finished tweaking git repo https://github.com/AndreiHan/multihook
[INFO] tweaked toml for git repo https://github.com/AndreiHan/multihook written to /workspace/builds/worker-1-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/AndreiHan/multihook 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" "+5fee451ebd94296ea05214e819c311e164b30af6" "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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+5fee451ebd94296ea05214e819c311e164b30af6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1f79a1e39e0777b4ed61517b888e99d497e60a2da235575ca976a88be30cee1f
[INFO] running `Command { std: "docker" "start" "-a" "1f79a1e39e0777b4ed61517b888e99d497e60a2da235575ca976a88be30cee1f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1f79a1e39e0777b4ed61517b888e99d497e60a2da235575ca976a88be30cee1f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1f79a1e39e0777b4ed61517b888e99d497e60a2da235575ca976a88be30cee1f", kill_on_drop: false }`
[INFO] [stdout] 1f79a1e39e0777b4ed61517b888e99d497e60a2da235575ca976a88be30cee1f
[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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+5fee451ebd94296ea05214e819c311e164b30af6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 02ce8e3e4bfb0994108adbaa89f0d84b6434dc2f35756533da8fce7539e8cfd2
[INFO] running `Command { std: "docker" "start" "-a" "02ce8e3e4bfb0994108adbaa89f0d84b6434dc2f35756533da8fce7539e8cfd2", kill_on_drop: false }`
[INFO] [stderr]    Compiling proc-macro2 v1.0.86
[INFO] [stderr]    Compiling serde v1.0.210
[INFO] [stderr]    Compiling windows_x86_64_gnu v0.52.6
[INFO] [stderr]    Compiling hashbrown v0.14.5
[INFO] [stderr]    Compiling semver v1.0.23
[INFO] [stderr]     Checking memchr v2.7.4
[INFO] [stderr]    Compiling winnow v0.6.18
[INFO] [stderr]    Compiling winnow v0.5.40
[INFO] [stderr]     Checking windows-targets v0.52.6
[INFO] [stderr]     Checking windows-result v0.2.0
[INFO] [stderr]    Compiling cc v1.1.16
[INFO] [stderr]    Compiling rustc_version v0.4.1
[INFO] [stderr]     Checking windows-strings v0.1.0
[INFO] [stderr]    Compiling anyhow v1.0.86
[INFO] [stderr]    Compiling quote v1.0.37
[INFO] [stderr]    Compiling indexmap v2.5.0
[INFO] [stderr]     Checking log v0.4.22
[INFO] [stderr]    Compiling num-traits v0.2.19
[INFO] [stderr]    Compiling syn v2.0.77
[INFO] [stderr]    Compiling serde_json v1.0.128
[INFO] [stderr]     Checking iana-time-zone v0.1.60
[INFO] [stderr]     Checking utf8parse v0.2.2
[INFO] [stderr]     Checking anstyle-parse v0.2.5
[INFO] [stderr]     Checking windows-version v0.1.1
[INFO] [stderr]     Checking anstyle v1.0.8
[INFO] [stderr]     Checking anstyle-query v1.1.1
[INFO] [stderr]     Checking is_terminal_polyfill v1.70.1
[INFO] [stderr]     Checking colorchoice v1.0.2
[INFO] [stderr]     Checking aho-corasick v1.1.3
[INFO] [stderr]     Checking anstream v0.6.15
[INFO] [stderr]     Checking clap_lex v0.7.2
[INFO] [stderr]     Checking regex-syntax v0.8.4
[INFO] [stderr]     Checking chrono v0.4.38
[INFO] [stderr]     Checking strsim v0.11.1
[INFO] [stderr]     Checking clap_builder v4.5.17
[INFO] [stderr]     Checking humantime v2.1.0
[INFO] [stderr]     Checking regex-automata v0.4.7
[INFO] [stderr]    Compiling serde_spanned v0.6.7
[INFO] [stderr]    Compiling toml_datetime v0.6.8
[INFO] [stderr]    Compiling toml_edit v0.22.20
[INFO] [stderr]    Compiling toml_edit v0.19.15
[INFO] [stderr]    Compiling windows-interface v0.58.0
[INFO] [stderr]    Compiling windows-implement v0.58.0
[INFO] [stderr]    Compiling serde_derive v1.0.210
[INFO] [stderr]    Compiling clap_derive v4.5.13
[INFO] [stderr]     Checking windows-core v0.58.0
[INFO] [stderr]     Checking windows v0.58.0
[INFO] [stderr]     Checking dll_injector v0.0.1 (/opt/rustwide/workdir/utils/dll_injector)
[INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows`
[INFO] [stdout]   --> utils/dll_injector/src/lib.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 |     Win32::{
[INFO] [stdout]    |     ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `windows::core`
[INFO] [stdout]   --> utils/dll_injector/src/lib.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 |     core::{s, w, HSTRING, PCWSTR},
[INFO] [stdout]    |     ^^^^ could not find `core` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows`
[INFO] [stdout]   --> utils/dll_injector/src/lib.rs:13:5
[INFO] [stdout]    |
[INFO] [stdout] 13 |     Win32::{
[INFO] [stdout]    |     ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `windows::core`
[INFO] [stdout]   --> utils/dll_injector/src/lib.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 |     core::{s, w, HSTRING, PCWSTR},
[INFO] [stdout]    |     ^^^^ could not find `core` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0408]: variable `IMAGE_FILE_MACHINE_AMD64` is not bound in all patterns
[INFO] [stdout]   --> utils/dll_injector/src/lib.rs:83:40
[INFO] [stdout]    |
[INFO] [stdout] 83 |             IMAGE_FILE_MACHINE_AMD64 | IMAGE_FILE_MACHINE(0) => Ok(SupportedArch::X64),
[INFO] [stdout]    |             ------------------------   ^^^^^^^^^^^^^^^^^^^^^ pattern doesn't bind `IMAGE_FILE_MACHINE_AMD64`
[INFO] [stdout]    |             |
[INFO] [stdout]    |             variable not in all patterns
[INFO] [stdout]    |
[INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `path::to::ModOrType::IMAGE_FILE_MACHINE_AMD64`
[INFO] [stdout]   --> utils/dll_injector/src/lib.rs:83:13
[INFO] [stdout]    |
[INFO] [stdout] 83 |             IMAGE_FILE_MACHINE_AMD64 | IMAGE_FILE_MACHINE(0) => Ok(SupportedArch::X64),
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0408]: variable `IMAGE_FILE_MACHINE_AMD64` is not bound in all patterns
[INFO] [stdout]   --> utils/dll_injector/src/lib.rs:83:40
[INFO] [stdout]    |
[INFO] [stdout] 83 |             IMAGE_FILE_MACHINE_AMD64 | IMAGE_FILE_MACHINE(0) => Ok(SupportedArch::X64),
[INFO] [stdout]    |             ------------------------   ^^^^^^^^^^^^^^^^^^^^^ pattern doesn't bind `IMAGE_FILE_MACHINE_AMD64`
[INFO] [stdout]    |             |
[INFO] [stdout]    |             variable not in all patterns
[INFO] [stdout]    |
[INFO] [stdout] help: if you meant to match on a variant or a `const` item, consider making the path in the pattern qualified: `path::to::ModOrType::IMAGE_FILE_MACHINE_AMD64`
[INFO] [stdout]   --> utils/dll_injector/src/lib.rs:83:13
[INFO] [stdout]    |
[INFO] [stdout] 83 |             IMAGE_FILE_MACHINE_AMD64 | IMAGE_FILE_MACHINE(0) => Ok(SupportedArch::X64),
[INFO] [stdout]    |             ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows`
[INFO] [stdout]    --> utils/dll_injector/src/lib.rs:172:44
[INFO] [stdout]     |
[INFO] [stdout] 172 | fn inject_cleanup(process_handle: windows::Win32::Foundation::HANDLE, dll_path_buf: *mut c_void) {
[INFO] [stdout]     |                                            ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows`
[INFO] [stdout]    --> utils/dll_injector/src/lib.rs:172:44
[INFO] [stdout]     |
[INFO] [stdout] 172 | fn inject_cleanup(process_handle: windows::Win32::Foundation::HANDLE, dll_path_buf: *mut c_void) {
[INFO] [stdout]     |                                            ^^^^^ could not find `Win32` in `windows`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> utils/dll_injector/src/lib.rs:343:5
[INFO] [stdout]     |
[INFO] [stdout] 343 | /     unsafe {
[INFO] [stdout] 344 | |         let module: HMODULE = if force {
[INFO] [stdout] 345 | |             get_module(dll_name, Some(GET_MODULE_HANDLE_EX_FLAG_UNCHANGED_REFCOUNT))?
[INFO] [stdout] 346 | |         } else {
[INFO] [stdout] ...   |
[INFO] [stdout] 349 | |         FreeLibraryAndExitThread(module, 0);
[INFO] [stdout] 350 | |     }
[INFO] [stdout]     | |_____^ expected `Result<(), Error>`, found `()`
[INFO] [stdout]     |
[INFO] [stdout]     = note:   expected enum `Result<(), anyhow::Error>`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]    --> utils/dll_injector/src/lib.rs:343:5
[INFO] [stdout]     |
[INFO] [stdout] 343 | /     unsafe {
[INFO] [stdout] 344 | |         let module: HMODULE = if force {
[INFO] [stdout] 345 | |             get_module(dll_name, Some(GET_MODULE_HANDLE_EX_FLAG_UNCHANGED_REFCOUNT))?
[INFO] [stdout] 346 | |         } else {
[INFO] [stdout] ...   |
[INFO] [stdout] 349 | |         FreeLibraryAndExitThread(module, 0);
[INFO] [stdout] 350 | |     }
[INFO] [stdout]     | |_____^ expected `Result<(), Error>`, found `()`
[INFO] [stdout]     |
[INFO] [stdout]     = note:   expected enum `Result<(), anyhow::Error>`
[INFO] [stdout]             found unit type `()`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0408, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0308, E0408, E0432, E0433.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0308`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `dll_injector` (lib) due to 5 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `dll_injector` (lib test) due to 5 previous errors
[INFO] running `Command { std: "docker" "inspect" "02ce8e3e4bfb0994108adbaa89f0d84b6434dc2f35756533da8fce7539e8cfd2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "02ce8e3e4bfb0994108adbaa89f0d84b6434dc2f35756533da8fce7539e8cfd2", kill_on_drop: false }`
[INFO] [stdout] 02ce8e3e4bfb0994108adbaa89f0d84b6434dc2f35756533da8fce7539e8cfd2
