[INFO] cloning repository https://github.com/hacksafely/fiber_injection [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/hacksafely/fiber_injection" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhacksafely%2Ffiber_injection", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhacksafely%2Ffiber_injection'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1aebaffbbfeb7d21038ce14e59da49b757a19a12 [INFO] checking hacksafely/fiber_injection against try#d534db0721b23cf977073bf4cd306dbf501e6b4d for pr-138499 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhacksafely%2Ffiber_injection" "/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/hacksafely/fiber_injection on toolchain d534db0721b23cf977073bf4cd306dbf501e6b4d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d534db0721b23cf977073bf4cd306dbf501e6b4d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/hacksafely/fiber_injection [INFO] finished tweaking git repo https://github.com/hacksafely/fiber_injection [INFO] tweaked toml for git repo https://github.com/hacksafely/fiber_injection written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/hacksafely/fiber_injection 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" "+d534db0721b23cf977073bf4cd306dbf501e6b4d" "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 hacksafely/fiber_injection against try#d534db0721b23cf977073bf4cd306dbf501e6b4d for pr-138499 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fhacksafely%2Ffiber_injection" "/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/hacksafely/fiber_injection on toolchain d534db0721b23cf977073bf4cd306dbf501e6b4d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d534db0721b23cf977073bf4cd306dbf501e6b4d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/hacksafely/fiber_injection [INFO] finished tweaking git repo https://github.com/hacksafely/fiber_injection [INFO] tweaked toml for git repo https://github.com/hacksafely/fiber_injection written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/hacksafely/fiber_injection 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" "+d534db0721b23cf977073bf4cd306dbf501e6b4d" "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] 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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+d534db0721b23cf977073bf4cd306dbf501e6b4d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4f0812ca45320b192b0fe0795dc5d2600ffca5a4512b510291f9f5c9785efb64 [INFO] running `Command { std: "docker" "start" "-a" "4f0812ca45320b192b0fe0795dc5d2600ffca5a4512b510291f9f5c9785efb64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4f0812ca45320b192b0fe0795dc5d2600ffca5a4512b510291f9f5c9785efb64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4f0812ca45320b192b0fe0795dc5d2600ffca5a4512b510291f9f5c9785efb64", kill_on_drop: false }` [INFO] [stdout] 4f0812ca45320b192b0fe0795dc5d2600ffca5a4512b510291f9f5c9785efb64 [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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+d534db0721b23cf977073bf4cd306dbf501e6b4d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 53348809f862bb7db7a57d67bfbc26a4c84f3b245c1f48144febc0fdee46d30e [INFO] running `Command { std: "docker" "start" "-a" "53348809f862bb7db7a57d67bfbc26a4c84f3b245c1f48144febc0fdee46d30e", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.16 [INFO] [stderr] Compiling windows_x86_64_gnu v0.53.0 [INFO] [stderr] Compiling winapi v0.3.9 [INFO] [stderr] Compiling ntapi v0.4.1 [INFO] [stderr] Checking windows-targets v0.53.0 [INFO] [stderr] Checking windows-strings v0.3.0 [INFO] [stderr] Checking windows-result v0.3.0 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.98 [INFO] [stderr] Compiling windows-implement v0.59.0 [INFO] [stderr] Compiling windows-interface v0.59.0 [INFO] [stderr] Checking windows-core v0.59.0 [INFO] [stderr] Checking windows v0.59.0 [INFO] [stderr] Checking fiber_injection v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: couldn't read `src/./encoded_shellcode.bin`: No such file or directory (os error 2) [INFO] [stdout] --> src/main.rs:22:40 [INFO] [stdout] | [INFO] [stdout] 22 | let encoded_shellcode: &[u8] = include_bytes!("./encoded_shellcode.bin"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: couldn't read `src/./encoded_shellcode.bin`: No such file or directory (os error 2) [INFO] [stdout] --> src/main.rs:22:40 [INFO] [stdout] | [INFO] [stdout] 22 | let encoded_shellcode: &[u8] = include_bytes!("./encoded_shellcode.bin"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `include_bytes` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ntapi::ntmmapi` [INFO] [stdout] --> src/main.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | use ntapi::ntmmapi::{NtAllocateVirtualMemory, NtProtectVirtualMemory}; [INFO] [stdout] | ^^^^^^^ could not find `ntmmapi` in `ntapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winapi` in `ntapi` [INFO] [stdout] --> src/main.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | use ntapi::winapi::ctypes::c_void; [INFO] [stdout] | ^^^^^^ could not find `winapi` in `ntapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/main.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | use windows::Win32::{ [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] --> src/main.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | use windows::Win32::System::Memory::{PAGE_READWRITE, PAGE_EXECUTE_READWRITE, MEM_COMMIT, MEM_RESERVE}; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ntapi::ntpsapi` [INFO] [stdout] --> src/main.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | use ntapi::ntpsapi::NtCurrentProcess; [INFO] [stdout] | ^^^^^^^ could not find `ntpsapi` in `ntapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ntapi::ntmmapi` [INFO] [stdout] --> src/main.rs:5:12 [INFO] [stdout] | [INFO] [stdout] 5 | use ntapi::ntmmapi::{NtAllocateVirtualMemory, NtProtectVirtualMemory}; [INFO] [stdout] | ^^^^^^^ could not find `ntmmapi` in `ntapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `winapi` in `ntapi` [INFO] [stdout] --> src/main.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | use ntapi::winapi::ctypes::c_void; [INFO] [stdout] | ^^^^^^ could not find `winapi` in `ntapi` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `Win32` in `windows` [INFO] [stdout] --> src/main.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | use windows::Win32::{ [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] --> src/main.rs:14:14 [INFO] [stdout] | [INFO] [stdout] 14 | use windows::Win32::System::Memory::{PAGE_READWRITE, PAGE_EXECUTE_READWRITE, MEM_COMMIT, MEM_RESERVE}; [INFO] [stdout] | ^^^^^ could not find `Win32` in `windows` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `ntapi::ntpsapi` [INFO] [stdout] --> src/main.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | use ntapi::ntpsapi::NtCurrentProcess; [INFO] [stdout] | ^^^^^^^ could not find `ntpsapi` in `ntapi` [INFO] [stdout] [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 `fiber_injection` (bin "fiber_injection") due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `fiber_injection` (bin "fiber_injection" test) due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "53348809f862bb7db7a57d67bfbc26a4c84f3b245c1f48144febc0fdee46d30e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53348809f862bb7db7a57d67bfbc26a4c84f3b245c1f48144febc0fdee46d30e", kill_on_drop: false }` [INFO] [stdout] 53348809f862bb7db7a57d67bfbc26a4c84f3b245c1f48144febc0fdee46d30e