[INFO] cloning repository https://github.com/3xploit666/rustloader
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/3xploit666/rustloader" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F3xploit666%2Frustloader", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F3xploit666%2Frustloader'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 11e3542b6f292c7bd90b3c4255ea70fdffe40123
[INFO] checking 3xploit666/rustloader against try#5fee451ebd94296ea05214e819c311e164b30af6 for pr-139042
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2F3xploit666%2Frustloader" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/3xploit666/rustloader 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] started tweaking git repo https://github.com/3xploit666/rustloader
[INFO] finished tweaking git repo https://github.com/3xploit666/rustloader
[INFO] tweaked toml for git repo https://github.com/3xploit666/rustloader written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/3xploit666/rustloader 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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] d31505a46e06d39315e1ca96140be818acb535132c035f929a59f12af605d48b
[INFO] running `Command { std: "docker" "start" "-a" "d31505a46e06d39315e1ca96140be818acb535132c035f929a59f12af605d48b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d31505a46e06d39315e1ca96140be818acb535132c035f929a59f12af605d48b", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d31505a46e06d39315e1ca96140be818acb535132c035f929a59f12af605d48b", kill_on_drop: false }`
[INFO] [stdout] d31505a46e06d39315e1ca96140be818acb535132c035f929a59f12af605d48b
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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] 89b228e0d4f1ba9265f6afc3ae280dfc27379fb4834a325c0638ebb47d074a3e
[INFO] running `Command { std: "docker" "start" "-a" "89b228e0d4f1ba9265f6afc3ae280dfc27379fb4834a325c0638ebb47d074a3e", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.155
[INFO] [stderr]    Compiling autocfg v1.3.0
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]    Compiling winapi v0.3.9
[INFO] [stderr]    Compiling winapi-build v0.1.1
[INFO] [stderr]     Checking hashbrown v0.12.3
[INFO] [stderr]    Compiling ntapi v0.4.1
[INFO] [stderr]     Checking ppv-lite86 v0.2.17
[INFO] [stderr]     Checking os_str_bytes v6.6.1
[INFO] [stderr]     Checking termcolor v1.4.1
[INFO] [stderr]     Checking textwrap v0.16.1
[INFO] [stderr]     Checking bitflags v1.3.2
[INFO] [stderr]     Checking strsim v0.10.0
[INFO] [stderr]     Checking winapi v0.2.8
[INFO] [stderr]     Checking hex v0.4.3
[INFO] [stderr]     Checking obfstr v0.4.3
[INFO] [stderr]    Compiling kernel32-sys v0.2.2
[INFO] [stderr]     Checking clap_lex v0.2.4
[INFO] [stderr]    Compiling indexmap v1.9.3
[INFO] [stderr]     Checking getrandom v0.2.15
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking clap v3.2.25
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[INFO] [stderr]     Checking rustloader v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: couldn't read `src/encrypted.bin`: No such file or directory (os error 2)
[INFO] [stdout]   --> src/shellcode.rs:10:18
[INFO] [stdout]    |
[INFO] [stdout] 10 |     let buffer = include_bytes!("encrypted.bin");
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:18:13
[INFO] [stdout]    |
[INFO] [stdout] 18 | use winapi::um::debugapi::IsDebuggerPresent;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:19:13
[INFO] [stdout]    |
[INFO] [stdout] 19 | use winapi::um::winuser::{GetAsyncKeyState, VK_LBUTTON};
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/patch.rs:7:13
[INFO] [stdout]   |
[INFO] [stdout] 7 | use winapi::um::libloaderapi::{GetProcAddress, LoadLibraryA};
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/patch.rs:8:13
[INFO] [stdout]   |
[INFO] [stdout] 8 | use winapi::um::memoryapi::WriteProcessMemory;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes`
[INFO] [stdout]  --> src/patch.rs:9:13
[INFO] [stdout]   |
[INFO] [stdout] 9 | use winapi::ctypes::c_void;
[INFO] [stdout]   |             ^^^^^^ could not find `ctypes` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `ntapi::ntpsapi`
[INFO] [stdout]   --> src/patch.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | use ntapi::ntpsapi::NtCurrentProcess;
[INFO] [stdout]    |            ^^^^^^^ could not find `ntpsapi` in `ntapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/shellcode.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | use winapi::um::errhandlingapi::GetLastError;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/shellcode.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | use winapi::um::heapapi::{HeapAlloc, HeapCreate};
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes`
[INFO] [stdout]  --> src/shellcode.rs:4:13
[INFO] [stdout]   |
[INFO] [stdout] 4 | use winapi::ctypes::c_void;
[INFO] [stdout]   |             ^^^^^^ could not find `ctypes` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes`
[INFO] [stdout]  --> src/utils.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | use winapi::ctypes::c_void;
[INFO] [stdout]   |             ^^^^^^ could not find `ctypes` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::mem::transmute`
[INFO] [stdout]  --> src/patch.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::mem::transmute;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: couldn't read `src/encrypted.bin`: No such file or directory (os error 2)
[INFO] [stdout]   --> src/shellcode.rs:10:18
[INFO] [stdout]    |
[INFO] [stdout] 10 |     let buffer = include_bytes!("encrypted.bin");
[INFO] [stdout]    |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:18:13
[INFO] [stdout]    |
[INFO] [stdout] 18 | use winapi::um::debugapi::IsDebuggerPresent;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> src/main.rs:19:13
[INFO] [stdout]    |
[INFO] [stdout] 19 | use winapi::um::winuser::{GetAsyncKeyState, VK_LBUTTON};
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/patch.rs:7:13
[INFO] [stdout]   |
[INFO] [stdout] 7 | use winapi::um::libloaderapi::{GetProcAddress, LoadLibraryA};
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/patch.rs:8:13
[INFO] [stdout]   |
[INFO] [stdout] 8 | use winapi::um::memoryapi::WriteProcessMemory;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes`
[INFO] [stdout]  --> src/patch.rs:9:13
[INFO] [stdout]   |
[INFO] [stdout] 9 | use winapi::ctypes::c_void;
[INFO] [stdout]   |             ^^^^^^ could not find `ctypes` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `ntapi::ntpsapi`
[INFO] [stdout]   --> src/patch.rs:10:12
[INFO] [stdout]    |
[INFO] [stdout] 10 | use ntapi::ntpsapi::NtCurrentProcess;
[INFO] [stdout]    |            ^^^^^^^ could not find `ntpsapi` in `ntapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/shellcode.rs:5:13
[INFO] [stdout]   |
[INFO] [stdout] 5 | use winapi::um::errhandlingapi::GetLastError;
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]  --> src/shellcode.rs:6:13
[INFO] [stdout]   |
[INFO] [stdout] 6 | use winapi::um::heapapi::{HeapAlloc, HeapCreate};
[INFO] [stdout]   |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes`
[INFO] [stdout]  --> src/shellcode.rs:4:13
[INFO] [stdout]   |
[INFO] [stdout] 4 | use winapi::ctypes::c_void;
[INFO] [stdout]   |             ^^^^^^ could not find `ctypes` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `winapi::ctypes`
[INFO] [stdout]  --> src/utils.rs:3:13
[INFO] [stdout]   |
[INFO] [stdout] 3 | use winapi::ctypes::c_void;
[INFO] [stdout]   |             ^^^^^^ could not find `ctypes` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: use of deprecated module `std::intrinsics`: import this function via `std::mem` instead
[INFO] [stdout]  --> src/shellcode.rs:1:22
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::intrinsics::copy_nonoverlapping;
[INFO] [stdout]   |                      ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::mem::transmute`
[INFO] [stdout]  --> src/patch.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::mem::transmute;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `ntdll_base` is never read
[INFO] [stdout]   --> src/patch.rs:14:13
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let mut ntdll_base: usize = 0;
[INFO] [stdout]    |             ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` on by default
[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] warning: use of deprecated module `std::intrinsics`: import this function via `std::mem` instead
[INFO] [stdout]  --> src/shellcode.rs:1:22
[INFO] [stdout]   |
[INFO] [stdout] 1 | use std::intrinsics::copy_nonoverlapping;
[INFO] [stdout]   |                      ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(deprecated)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `rustloader` (bin "loader" test) due to 11 previous errors; 3 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: value assigned to `ntdll_base` is never read
[INFO] [stdout]   --> src/patch.rs:14:13
[INFO] [stdout]    |
[INFO] [stdout] 14 |     let mut ntdll_base: usize = 0;
[INFO] [stdout]    |             ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` on by default
[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] [stderr] error: could not compile `rustloader` (bin "loader") due to 11 previous errors; 3 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "89b228e0d4f1ba9265f6afc3ae280dfc27379fb4834a325c0638ebb47d074a3e", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "89b228e0d4f1ba9265f6afc3ae280dfc27379fb4834a325c0638ebb47d074a3e", kill_on_drop: false }`
[INFO] [stdout] 89b228e0d4f1ba9265f6afc3ae280dfc27379fb4834a325c0638ebb47d074a3e
