[INFO] cloning repository https://github.com/CertainLach/VMProtect-Rust-Example
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/CertainLach/VMProtect-Rust-Example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCertainLach%2FVMProtect-Rust-Example", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCertainLach%2FVMProtect-Rust-Example'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 0f1a7c9f81897cec115173e72e3e398c486401af
[INFO] building CertainLach/VMProtect-Rust-Example against master#ad211ced81509462cdfe4c29ed10f97279a0acae for pr-135216
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCertainLach%2FVMProtect-Rust-Example" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/CertainLach/VMProtect-Rust-Example on toolchain ad211ced81509462cdfe4c29ed10f97279a0acae
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/CertainLach/VMProtect-Rust-Example
[INFO] finished tweaking git repo https://github.com/CertainLach/VMProtect-Rust-Example
[INFO] tweaked toml for git repo https://github.com/CertainLach/VMProtect-Rust-Example written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/CertainLach/VMProtect-Rust-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" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] cfdcb15cf479ab2ed0a2fb5aea226e368290d1df3025c6dc2592a02955b889a3
[INFO] running `Command { std: "docker" "start" "-a" "cfdcb15cf479ab2ed0a2fb5aea226e368290d1df3025c6dc2592a02955b889a3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "cfdcb15cf479ab2ed0a2fb5aea226e368290d1df3025c6dc2592a02955b889a3", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cfdcb15cf479ab2ed0a2fb5aea226e368290d1df3025c6dc2592a02955b889a3", kill_on_drop: false }`
[INFO] [stdout] cfdcb15cf479ab2ed0a2fb5aea226e368290d1df3025c6dc2592a02955b889a3
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+ad211ced81509462cdfe4c29ed10f97279a0acae" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 31201b8298008d0b53deec3e8c02c6163d5086f00a6d019e21980ebb57232c21
[INFO] running `Command { std: "docker" "start" "-a" "31201b8298008d0b53deec3e8c02c6163d5086f00a6d019e21980ebb57232c21", kill_on_drop: false }`
[INFO] [stderr]    Compiling vmprotect_example v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: function `VMProtectBeginVirtualization` is never used
[INFO] [stdout]  --> src/vmprotect/internal.rs:5:9
[INFO] [stdout]   |
[INFO] [stdout] 5 |     pub fn VMProtectBeginVirtualization(name: *const c_char);
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `VMProtectBeginMutation` is never used
[INFO] [stdout]  --> src/vmprotect/internal.rs:6:9
[INFO] [stdout]   |
[INFO] [stdout] 6 |     pub fn VMProtectBeginMutation(name: *const c_char);
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `VMProtectBeginUltra` is never used
[INFO] [stdout]  --> src/vmprotect/internal.rs:7:9
[INFO] [stdout]   |
[INFO] [stdout] 7 |     pub fn VMProtectBeginUltra(name: *const c_char);
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `VMProtectBeginVirtualizationLockByKey` is never used
[INFO] [stdout]  --> src/vmprotect/internal.rs:8:9
[INFO] [stdout]   |
[INFO] [stdout] 8 |     pub fn VMProtectBeginVirtualizationLockByKey(name: *const c_char);
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `VMProtectBeginUltraLockByKey` is never used
[INFO] [stdout]  --> src/vmprotect/internal.rs:9:9
[INFO] [stdout]   |
[INFO] [stdout] 9 |     pub fn VMProtectBeginUltraLockByKey(name: *const c_char);
[INFO] [stdout]   |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `VMProtectIsProtected` is never used
[INFO] [stdout]   --> src/vmprotect/internal.rs:11:9
[INFO] [stdout]    |
[INFO] [stdout] 11 |     pub fn VMProtectIsProtected() -> u8;
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `VMProtectIsDebuggerPresent` is never used
[INFO] [stdout]   --> src/vmprotect/internal.rs:12:9
[INFO] [stdout]    |
[INFO] [stdout] 12 |     pub fn VMProtectIsDebuggerPresent(kernel: u8) -> u8;
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `VMProtectIsVirtualMachinePresent` is never used
[INFO] [stdout]   --> src/vmprotect/internal.rs:13:9
[INFO] [stdout]    |
[INFO] [stdout] 13 |     pub fn VMProtectIsVirtualMachinePresent() -> u8;
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `VMProtectIsValidImageCRC` is never used
[INFO] [stdout]   --> src/vmprotect/internal.rs:14:9
[INFO] [stdout]    |
[INFO] [stdout] 14 |     pub fn VMProtectIsValidImageCRC() -> u8;
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `VMProtectDecryptStringA` is never used
[INFO] [stdout]   --> src/vmprotect/internal.rs:15:9
[INFO] [stdout]    |
[INFO] [stdout] 15 |     pub fn VMProtectDecryptStringA(value: *const c_char) -> *const c_char;
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `VMProtectDecryptStringW` is never used
[INFO] [stdout]   --> src/vmprotect/internal.rs:16:9
[INFO] [stdout]    |
[INFO] [stdout] 16 |     pub fn VMProtectDecryptStringW(value: *const u16) -> *const u16;
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `VMProtectFreeString` is never used
[INFO] [stdout]   --> src/vmprotect/internal.rs:17:9
[INFO] [stdout]    |
[INFO] [stdout] 17 |     pub fn VMProtectFreeString(value: *const c_char) -> u8;
[INFO] [stdout]    |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note: LC_ALL="C" PATH="/opt/rustwide/rustup-home/toolchains/ad211ced81509462cdfe4c29ed10f97279a0acae/lib/rustlib/x86_64-unknown-linux-gnu/bin:/opt/rustwide/rustup-home/toolchains/ad211ced81509462cdfe4c29ed10f97279a0acae/lib/rustlib/x86_64-unknown-linux-gnu/bin/self-contained:/opt/rustwide/cargo-home/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" VSLANG="1033" "cc" "-m64" "/tmp/rustcRQfWFE/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bdynamic" "-lVMProtectSDK64" "-Wl,-Bstatic" "/opt/rustwide/rustup-home/toolchains/ad211ced81509462cdfe4c29ed10f97279a0acae/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-d6f1d924b2f4233e.rlib,libpanic_unwind-00eb06e39850f679.rlib,libobject-d0382f11baa011b6.rlib,libmemchr-b7e2e2c1a7e4643d.rlib,libaddr2line-30ced7f1999cfa29.rlib,libgimli-3ee7e14c58e31ebd.rlib,librustc_demangle-a4f649bba77ffcc5.rlib,libstd_detect-c89a3ce7ad7c3dbd.rlib,libhashbrown-e1ce1d3d110c6707.rlib,librustc_std_workspace_alloc-e0604fecbf0f39dc.rlib,libminiz_oxide-0a9c6172f04822cc.rlib,libadler2-14a33f7117abcee7.rlib,libunwind-24c16adbe5e57356.rlib,libcfg_if-d2688d4a5c8e415b.rlib,liblibc-8ff7ba6d97853f27.rlib,liballoc-5c001d095eb077ec.rlib,librustc_std_workspace_core-395a38b8e0851c9b.rlib,libcore-d453bab70303062c.rlib,libcompiler_builtins-dd545221bb4f4734.rlib}" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-B/opt/rustwide/rustup-home/toolchains/ad211ced81509462cdfe4c29ed10f97279a0acae/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/target/debug/build/vmprotect_example-ea37f07e59c31a09/out/../../../../../lib/" "-L" "/opt/rustwide/rustup-home/toolchains/ad211ced81509462cdfe4c29ed10f97279a0acae/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/vmprotect_example-a44046881e4005f1" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs"
[INFO] [stdout]   = note: some arguments are omitted. use `--verbose` to show all linker arguments
[INFO] [stdout]   = note: rust-lld: error: unable to find library -lVMProtectSDK64
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `vmprotect_example` (bin "vmprotect_example") due to 1 previous error; 12 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "31201b8298008d0b53deec3e8c02c6163d5086f00a6d019e21980ebb57232c21", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "31201b8298008d0b53deec3e8c02c6163d5086f00a6d019e21980ebb57232c21", kill_on_drop: false }`
[INFO] [stdout] 31201b8298008d0b53deec3e8c02c6163d5086f00a6d019e21980ebb57232c21
