[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] testing CertainLach/VMProtect-Rust-Example against master#d98a5da813da67eb189387b8ccfb73cf481275d8+rustflags=-Copt-level=3 for pr-138759
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCertainLach%2FVMProtect-Rust-Example" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[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-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/CertainLach/VMProtect-Rust-Example on toolchain d98a5da813da67eb189387b8ccfb73cf481275d8
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[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" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c384d06653d88b674837ea129eb26882f9d5b7a2393b9c24b51cd66e9fb34464
[INFO] running `Command { std: "docker" "start" "-a" "c384d06653d88b674837ea129eb26882f9d5b7a2393b9c24b51cd66e9fb34464", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c384d06653d88b674837ea129eb26882f9d5b7a2393b9c24b51cd66e9fb34464", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c384d06653d88b674837ea129eb26882f9d5b7a2393b9c24b51cd66e9fb34464", kill_on_drop: false }`
[INFO] [stdout] c384d06653d88b674837ea129eb26882f9d5b7a2393b9c24b51cd66e9fb34464
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Copt-level=3" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d98a5da813da67eb189387b8ccfb73cf481275d8" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] e9d84f387dad7540fb12874a3ce4a39c0f70bf477de13875f19477d35d6cf363
[INFO] running `Command { std: "docker" "start" "-a" "e9d84f387dad7540fb12874a3ce4a39c0f70bf477de13875f19477d35d6cf363", 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:  "cc" "-m64" "/tmp/rustcWvRDpS/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bdynamic" "-lVMProtectSDK64" "-Wl,-Bstatic" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,libcfg_if-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcWvRDpS/raw-dylibs" "-B<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,-znostart-stop-gc" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/rustwide/target/debug/build/vmprotect_example-643f6b41cbc53246/out/../../../../../lib/" "-L" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/vmprotect_example-af486aebbdd9c906" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-Wl,-O1" "-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" "e9d84f387dad7540fb12874a3ce4a39c0f70bf477de13875f19477d35d6cf363", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "e9d84f387dad7540fb12874a3ce4a39c0f70bf477de13875f19477d35d6cf363", kill_on_drop: false }`
[INFO] [stdout] e9d84f387dad7540fb12874a3ce4a39c0f70bf477de13875f19477d35d6cf363
