[INFO] updating cached repository https://github.com/CertainLach/VMProtect-Rust-Example [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/big/crater/work/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 0f1a7c9f81897cec115173e72e3e398c486401af [INFO] testing CertainLach/VMProtect-Rust-Example against 1.38.0 for beta-1.39-1 [INFO] running `"git" "clone" "work/cache/git-repos/https%3A%2F%2Fgithub.com%2FCertainLach%2FVMProtect-Rust-Example" "work/builds/worker-2/source"` [INFO] [stderr] Cloning into 'work/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/CertainLach/VMProtect-Rust-Example on toolchain 1.38.0 [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "read-manifest" "--manifest-path" "Cargo.toml"` [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 work/builds/worker-2/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 `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-2/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env" "/opt/rustwide/cargo-home/bin/cargo" "+1.38.0" "build" "--frozen"` [INFO] [stdout] 56d95ef02497462a4ab61a0134c882be5849e4785c2e37601b823c4c265ebb78 [INFO] running `"docker" "start" "-a" "56d95ef02497462a4ab61a0134c882be5849e4785c2e37601b823c4c265ebb78"` [INFO] [stderr] Compiling vmprotect_example v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: foreign function is never used: `VMProtectBeginVirtualization` [INFO] [stderr] --> src/vmprotect/internal.rs:5:2 [INFO] [stderr] | [INFO] [stderr] 5 | pub fn VMProtectBeginVirtualization(name: *const c_char); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `VMProtectBeginMutation` [INFO] [stderr] --> src/vmprotect/internal.rs:6:2 [INFO] [stderr] | [INFO] [stderr] 6 | pub fn VMProtectBeginMutation(name: *const c_char); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `VMProtectBeginUltra` [INFO] [stderr] --> src/vmprotect/internal.rs:7:2 [INFO] [stderr] | [INFO] [stderr] 7 | pub fn VMProtectBeginUltra(name: *const c_char); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `VMProtectBeginVirtualizationLockByKey` [INFO] [stderr] --> src/vmprotect/internal.rs:8:2 [INFO] [stderr] | [INFO] [stderr] 8 | pub fn VMProtectBeginVirtualizationLockByKey(name: *const c_char); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `VMProtectBeginUltraLockByKey` [INFO] [stderr] --> src/vmprotect/internal.rs:9:2 [INFO] [stderr] | [INFO] [stderr] 9 | pub fn VMProtectBeginUltraLockByKey(name: *const c_char); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `VMProtectIsProtected` [INFO] [stderr] --> src/vmprotect/internal.rs:11:2 [INFO] [stderr] | [INFO] [stderr] 11 | pub fn VMProtectIsProtected() -> u8; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `VMProtectIsDebuggerPresent` [INFO] [stderr] --> src/vmprotect/internal.rs:12:2 [INFO] [stderr] | [INFO] [stderr] 12 | pub fn VMProtectIsDebuggerPresent(kernel: u8) -> u8; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `VMProtectIsVirtualMachinePresent` [INFO] [stderr] --> src/vmprotect/internal.rs:13:2 [INFO] [stderr] | [INFO] [stderr] 13 | pub fn VMProtectIsVirtualMachinePresent() -> u8; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `VMProtectIsValidImageCRC` [INFO] [stderr] --> src/vmprotect/internal.rs:14:2 [INFO] [stderr] | [INFO] [stderr] 14 | pub fn VMProtectIsValidImageCRC() -> u8; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `VMProtectDecryptStringA` [INFO] [stderr] --> src/vmprotect/internal.rs:15:2 [INFO] [stderr] | [INFO] [stderr] 15 | pub fn VMProtectDecryptStringA(value: *const c_char) -> *const c_char; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `VMProtectDecryptStringW` [INFO] [stderr] --> src/vmprotect/internal.rs:16:2 [INFO] [stderr] | [INFO] [stderr] 16 | pub fn VMProtectDecryptStringW(value: *const u16) -> *const u16; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `VMProtectFreeString` [INFO] [stderr] --> src/vmprotect/internal.rs:17:2 [INFO] [stderr] | [INFO] [stderr] 17 | pub fn VMProtectFreeString(value: *const c_char) -> u8; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] error: linking with `cc` failed: exit code: 1 [INFO] [stderr] | [INFO] [stderr] = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/opt/rustwide/rustup-home/toolchains/1.38.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/deps/vmprotect_example-a0105903903396b1.vmprotect_example.dxknuc28-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/vmprotect_example-a0105903903396b1.vmprotect_example.dxknuc28-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/vmprotect_example-a0105903903396b1.vmprotect_example.dxknuc28-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/vmprotect_example-a0105903903396b1.vmprotect_example.dxknuc28-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/vmprotect_example-a0105903903396b1.vmprotect_example.dxknuc28-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/vmprotect_example-a0105903903396b1.vmprotect_example.dxknuc28-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/vmprotect_example-a0105903903396b1.vmprotect_example.dxknuc28-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/vmprotect_example-a0105903903396b1.vmprotect_example.dxknuc28-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/vmprotect_example-a0105903903396b1.vmprotect_example.dxknuc28-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/vmprotect_example-a0105903903396b1.vmprotect_example.dxknuc28-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/vmprotect_example-a0105903903396b1.vmprotect_example.dxknuc28-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/vmprotect_example-a0105903903396b1.vmprotect_example.dxknuc28-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/vmprotect_example-a0105903903396b1.vmprotect_example.dxknuc28-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/vmprotect_example-a0105903903396b1.vmprotect_example.dxknuc28-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/vmprotect_example-a0105903903396b1.vmprotect_example.dxknuc28-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/vmprotect_example-a0105903903396b1.vmprotect_example.dxknuc28-cgu.9.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/vmprotect_example-a0105903903396b1" "/opt/rustwide/target/debug/deps/vmprotect_example-a0105903903396b1.3fr2iwxvi8wei2xo.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/rustwide/target/debug/build/vmprotect_example-968ef30fb92c756f/out/../../../../../lib/" "-L" "/opt/rustwide/rustup-home/toolchains/1.38.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-lVMProtectSDK64" "-Wl,--start-group" "-Wl,-Bstatic" "/opt/rustwide/rustup-home/toolchains/1.38.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-12ce12f1efc08aa3.rlib" "/opt/rustwide/rustup-home/toolchains/1.38.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-5d3cd1b3ddab72e4.rlib" "/opt/rustwide/rustup-home/toolchains/1.38.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-f8222943dfd167e2.rlib" "/opt/rustwide/rustup-home/toolchains/1.38.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-0cd00b2d3108cd48.rlib" "/opt/rustwide/rustup-home/toolchains/1.38.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-485c05ba6ce1b438.rlib" "/opt/rustwide/rustup-home/toolchains/1.38.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-63e6b1072426ba59.rlib" "/opt/rustwide/rustup-home/toolchains/1.38.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-a421aff1d43911ee.rlib" "/opt/rustwide/rustup-home/toolchains/1.38.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-3deef8ef4fe80dff.rlib" "/opt/rustwide/rustup-home/toolchains/1.38.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-f65a176f0586269e.rlib" "/opt/rustwide/rustup-home/toolchains/1.38.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-ad46d4080f4d7e57.rlib" "/opt/rustwide/rustup-home/toolchains/1.38.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-da6c590582bf0885.rlib" "/opt/rustwide/rustup-home/toolchains/1.38.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-837ca740df32db0a.rlib" "/opt/rustwide/rustup-home/toolchains/1.38.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-db27c965e824589f.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/1.38.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-68a4f8466685ed76.rlib" "-Wl,-Bdynamic" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-lutil" [INFO] [stderr] = note: /usr/bin/ld: cannot find -lVMProtectSDK64 [INFO] [stderr] collect2: error: ld returned 1 exit status [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [INFO] [stderr] [INFO] [stderr] error: Could not compile `vmprotect_example`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "56d95ef02497462a4ab61a0134c882be5849e4785c2e37601b823c4c265ebb78"` [INFO] running `"docker" "rm" "-f" "56d95ef02497462a4ab61a0134c882be5849e4785c2e37601b823c4c265ebb78"` [INFO] [stdout] 56d95ef02497462a4ab61a0134c882be5849e4785c2e37601b823c4c265ebb78