[INFO] cloning repository https://github.com/gf3xr/Shellcode-Injection [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gf3xr/Shellcode-Injection" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgf3xr%2FShellcode-Injection", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgf3xr%2FShellcode-Injection'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4fe21b78ffdb2a73e6e6590c3daf894110182752 [INFO] checking gf3xr/Shellcode-Injection against master#43ca9d18e333797f0aa3b525501a7cec8d61a96b for pr-136764 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgf3xr%2FShellcode-Injection" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/gf3xr/Shellcode-Injection on toolchain 43ca9d18e333797f0aa3b525501a7cec8d61a96b [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+43ca9d18e333797f0aa3b525501a7cec8d61a96b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/gf3xr/Shellcode-Injection [INFO] finished tweaking git repo https://github.com/gf3xr/Shellcode-Injection [INFO] tweaked toml for git repo https://github.com/gf3xr/Shellcode-Injection written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/gf3xr/Shellcode-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" "+43ca9d18e333797f0aa3b525501a7cec8d61a96b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+43ca9d18e333797f0aa3b525501a7cec8d61a96b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 47456660a630357a76b6c4e11cb34323fff1ee69f963c4607ef7ad91448eb6b8 [INFO] running `Command { std: "docker" "start" "-a" "47456660a630357a76b6c4e11cb34323fff1ee69f963c4607ef7ad91448eb6b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "47456660a630357a76b6c4e11cb34323fff1ee69f963c4607ef7ad91448eb6b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47456660a630357a76b6c4e11cb34323fff1ee69f963c4607ef7ad91448eb6b8", kill_on_drop: false }` [INFO] [stdout] 47456660a630357a76b6c4e11cb34323fff1ee69f963c4607ef7ad91448eb6b8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+43ca9d18e333797f0aa3b525501a7cec8d61a96b" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] fa79cedb54902592379ea2fbe71b62b982ea2bc060533dcea2f4bd79e7a59b79 [INFO] running `Command { std: "docker" "start" "-a" "fa79cedb54902592379ea2fbe71b62b982ea2bc060533dcea2f4bd79e7a59b79", kill_on_drop: false }` [INFO] [stderr] Compiling windows_x86_64_gnu v0.52.5 [INFO] [stderr] Checking windows-targets v0.52.5 [INFO] [stderr] Checking windows-sys v0.52.0 [INFO] [stderr] Checking InjectPOC v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: couldn't read `src/C:\Users\user\Desktop\calc.bin`: No such file or directory (os error 2) [INFO] [stdout] --> src/main.rs:18:26 [INFO] [stdout] | [INFO] [stdout] 18 | let calc_shellcode = include_bytes!(r#"C:\Users\user\Desktop\calc.bin"#); // Shellcode to spawn calculator [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/C:\Users\user\Desktop\calc.bin`: No such file or directory (os error 2) [INFO] [stdout] --> src/main.rs:18:26 [INFO] [stdout] | [INFO] [stdout] 18 | let calc_shellcode = include_bytes!(r#"C:\Users\user\Desktop\calc.bin"#); // Shellcode to spawn calculator [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] warning: use of deprecated module `std::intrinsics`: import this function via `std::mem` instead [INFO] [stdout] --> src/main.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | intrinsics::transmute, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::mem` instead [INFO] [stdout] --> src/main.rs:5:21 [INFO] [stdout] | [INFO] [stdout] 5 | intrinsics::transmute, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `InjectPOC` (bin "InjectPOC") due to 1 previous error; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `InjectPOC` (bin "InjectPOC" test) due to 1 previous error; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "fa79cedb54902592379ea2fbe71b62b982ea2bc060533dcea2f4bd79e7a59b79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fa79cedb54902592379ea2fbe71b62b982ea2bc060533dcea2f4bd79e7a59b79", kill_on_drop: false }` [INFO] [stdout] fa79cedb54902592379ea2fbe71b62b982ea2bc060533dcea2f4bd79e7a59b79