[INFO] cloning repository https://github.com/1ooper/dllhook_example [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/1ooper/dllhook_example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F1ooper%2Fdllhook_example", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F1ooper%2Fdllhook_example'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 35a034ab3cb525df77a78c21cdfbf4076f4c2d78 [INFO] checking 1ooper/dllhook_example against try#654bc80249a2b2ba8bd16392b5829d87ed96c92d for pr-136458 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F1ooper%2Fdllhook_example" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/1ooper/dllhook_example on toolchain 654bc80249a2b2ba8bd16392b5829d87ed96c92d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+654bc80249a2b2ba8bd16392b5829d87ed96c92d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/1ooper/dllhook_example [INFO] finished tweaking git repo https://github.com/1ooper/dllhook_example [INFO] tweaked toml for git repo https://github.com/1ooper/dllhook_example written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/1ooper/dllhook_example 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" "+654bc80249a2b2ba8bd16392b5829d87ed96c92d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking 1ooper/dllhook_example against try#654bc80249a2b2ba8bd16392b5829d87ed96c92d for pr-136458 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F1ooper%2Fdllhook_example" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/1ooper/dllhook_example on toolchain 654bc80249a2b2ba8bd16392b5829d87ed96c92d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+654bc80249a2b2ba8bd16392b5829d87ed96c92d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/1ooper/dllhook_example [INFO] finished tweaking git repo https://github.com/1ooper/dllhook_example [INFO] tweaked toml for git repo https://github.com/1ooper/dllhook_example written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/1ooper/dllhook_example 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" "+654bc80249a2b2ba8bd16392b5829d87ed96c92d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [INFO] checking 1ooper/dllhook_example against try#654bc80249a2b2ba8bd16392b5829d87ed96c92d for pr-136458 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F1ooper%2Fdllhook_example" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/1ooper/dllhook_example on toolchain 654bc80249a2b2ba8bd16392b5829d87ed96c92d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+654bc80249a2b2ba8bd16392b5829d87ed96c92d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/1ooper/dllhook_example [INFO] finished tweaking git repo https://github.com/1ooper/dllhook_example [INFO] tweaked toml for git repo https://github.com/1ooper/dllhook_example written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/1ooper/dllhook_example 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" "+654bc80249a2b2ba8bd16392b5829d87ed96c92d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded windows-interface v0.58.0 [INFO] [stderr] Downloaded region v3.0.2 [INFO] [stderr] Downloaded slice-pool2 v0.4.3 [INFO] [stderr] Downloaded windows-implement v0.58.0 [INFO] [stderr] Downloaded mmap-fixed-fixed v0.1.3 [INFO] [stderr] Downloaded windows-core v0.58.0 [INFO] [stderr] Downloaded retour v0.3.1 [INFO] [stderr] Downloaded cc v1.1.2 [INFO] [stderr] Downloaded libudis86-sys v0.2.1 [INFO] [stderr] Downloaded windows v0.58.0 [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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+654bc80249a2b2ba8bd16392b5829d87ed96c92d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7a17f60f86aedc8d9a40e89ff0c15d0997ca72f40a0fe30527caf6d53ac1f349 [INFO] running `Command { std: "docker" "start" "-a" "7a17f60f86aedc8d9a40e89ff0c15d0997ca72f40a0fe30527caf6d53ac1f349", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7a17f60f86aedc8d9a40e89ff0c15d0997ca72f40a0fe30527caf6d53ac1f349", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a17f60f86aedc8d9a40e89ff0c15d0997ca72f40a0fe30527caf6d53ac1f349", kill_on_drop: false }` [INFO] [stdout] 7a17f60f86aedc8d9a40e89ff0c15d0997ca72f40a0fe30527caf6d53ac1f349 [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:c80049f3b88b82089a44e0f06d0d6029d44b96b7257e55a1cd63dbc9f4c33334" "/opt/rustwide/cargo-home/bin/cargo" "+654bc80249a2b2ba8bd16392b5829d87ed96c92d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 21648c2f87bd732f3910c9ad0830c64c7638a9ae54209909e198fd772de45d5f [INFO] running `Command { std: "docker" "start" "-a" "21648c2f87bd732f3910c9ad0830c64c7638a9ae54209909e198fd772de45d5f", kill_on_drop: false }` [INFO] [stderr] Compiling windows_x86_64_gnu v0.52.6 [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling cc v1.1.2 [INFO] [stderr] Checking slice-pool2 v0.4.3 [INFO] [stderr] Checking hello_world_dll v0.1.0 (/opt/rustwide/workdir/hello_world_dll) [INFO] [stderr] Compiling generic-array v0.14.7 [INFO] [stderr] Checking libloading v0.8.4 [INFO] [stderr] Checking region v3.0.2 [INFO] [stderr] Checking mmap-fixed-fixed v0.1.3 [INFO] [stderr] Checking windows-targets v0.52.6 [INFO] [stderr] Checking windows-result v0.2.0 [INFO] [stderr] Checking windows-strings v0.1.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling syn v2.0.71 [INFO] [stderr] Compiling libudis86-sys v0.2.1 [INFO] [stderr] Checking retour v0.3.1 [INFO] [stderr] Compiling windows-interface v0.58.0 [INFO] [stderr] Compiling windows-implement v0.58.0 [INFO] [stderr] Checking windows-core v0.58.0 [INFO] [stderr] Checking windows v0.58.0 [INFO] [stderr] Checking call_hello_world v0.1.0 (/opt/rustwide/workdir/call_hello_world) [INFO] [stderr] Checking dll_inject v0.1.0 (/opt/rustwide/workdir/dll_inject) [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> call_hello_world/src/lib.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | use windows::{core::PCSTR, Win32::System::LibraryLoader::{GetProcAddress, LoadLibraryA}}; [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] --> call_hello_world/src/lib.rs:1:28 [INFO] [stdout] | [INFO] [stdout] 1 | use windows::{core::PCSTR, Win32::System::LibraryLoader::{GetProcAddress, LoadLibraryA}}; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windows::core` [INFO] [stdout] --> call_hello_world/src/lib.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use windows::{core::PCSTR, Win32::System::LibraryLoader::{GetProcAddress, LoadLibraryA}}; [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `windows::core` [INFO] [stdout] --> call_hello_world/src/lib.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use windows::{core::PCSTR, Win32::System::LibraryLoader::{GetProcAddress, LoadLibraryA}}; [INFO] [stdout] | ^^^^ could not find `core` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `dll_inject` [INFO] [stdout] --> dll_inject/src/main.rs:52:2 [INFO] [stdout] | [INFO] [stdout] 52 | } [INFO] [stdout] | ^ consider adding a `main` function to `dll_inject/src/main.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0601`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `dll_inject` (bin "dll_inject") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `call_hello_world` (lib test) due to 2 previous errors [INFO] [stderr] error: could not compile `call_hello_world` (lib) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "21648c2f87bd732f3910c9ad0830c64c7638a9ae54209909e198fd772de45d5f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "21648c2f87bd732f3910c9ad0830c64c7638a9ae54209909e198fd772de45d5f", kill_on_drop: false }` [INFO] [stdout] 21648c2f87bd732f3910c9ad0830c64c7638a9ae54209909e198fd772de45d5f