[INFO] cloning repository https://github.com/gbacon21/basic-shellcode-loader
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/gbacon21/basic-shellcode-loader" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgbacon21%2Fbasic-shellcode-loader", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgbacon21%2Fbasic-shellcode-loader'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 291e072859aa49654510ef18110a56903827c2a6
[INFO] testing gbacon21/basic-shellcode-loader against 1.100.0-beta.1+cargoflags=--release for beta-release-1.100-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fgbacon21%2Fbasic-shellcode-loader" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/gbacon21/basic-shellcode-loader
[INFO] finished tweaking git repo https://github.com/gbacon21/basic-shellcode-loader
[INFO] tweaked toml for git repo https://github.com/gbacon21/basic-shellcode-loader written to /workspace/builds/worker-4-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/gbacon21/basic-shellcode-loader on toolchain 1.100.0-beta.1
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/gbacon21/basic-shellcode-loader 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" "+1.100.0-beta.1" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: unused manifest key: profile.release.trim-path
[INFO] [stderr] warning: `basic-shellcode-loader` (manifest) generated 1 warning
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 257d0b68a07f436a106f84671714edfae327759c850ed7390fc6eab3c643b7a5
[INFO] running `Command { std: "docker" "start" "257d0b68a07f436a106f84671714edfae327759c850ed7390fc6eab3c643b7a5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "257d0b68a07f436a106f84671714edfae327759c850ed7390fc6eab3c643b7a5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "257d0b68a07f436a106f84671714edfae327759c850ed7390fc6eab3c643b7a5" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "257d0b68a07f436a106f84671714edfae327759c850ed7390fc6eab3c643b7a5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-w" "/opt/rustwide/workdir" "--user" "0:0" "257d0b68a07f436a106f84671714edfae327759c850ed7390fc6eab3c643b7a5" "/opt/rustwide/cargo-home/bin/cargo" "+1.100.0-beta.1" "build" "--frozen" "--message-format=json" "--release", kill_on_drop: false }`
[INFO] [stderr] warning: Cargo.toml: unused manifest key: profile.release.trim-path
[INFO] [stderr] warning: `basic-shellcode-loader` (manifest) generated 1 warning
[INFO] [stderr]    Compiling windows_x86_64_gnu v0.48.5
[INFO] [stderr]    Compiling windows-targets v0.48.5
[INFO] [stderr]    Compiling windows-sys v0.48.0
[INFO] [stderr]    Compiling basic-shellcode-loader v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: linking with `cc` failed: exit status: 1
[INFO] [stdout]   |
[INFO] [stdout]   = note:  "cc" "-m64" "<1 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-*.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/opt/rustwide/target/release/build/basic-shellcode-loader/fc1e0b2991d8e8f0/out/rustcvWxoil/raw-dylibs" "-B<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "<sysroot>/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/release/build/basic-shellcode-loader/fc1e0b2991d8e8f0/out/basic_shellcode_loader" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-Wl,--strip-all" "-nodefaultlibs"
[INFO] [stdout]   = note: some arguments are omitted. use `--verbose` to show all linker arguments
[INFO] [stdout]   = note: rust-lld: error: undefined symbol: VirtualAlloc
[INFO] [stdout]           >>> referenced by basic_shellcode_loader.44e0c49d8586676f-cgu.0
[INFO] [stdout]           >>>               /opt/rustwide/target/release/build/basic-shellcode-loader/fc1e0b2991d8e8f0/out/basic_shellcode_loader.basic_shellcode_loader.44e0c49d8586676f-cgu.0.rcgu.o:(basic_shellcode_loader::main)
[INFO] [stdout]           
[INFO] [stdout]           rust-lld: error: undefined symbol: CreateThread
[INFO] [stdout]           >>> referenced by basic_shellcode_loader.44e0c49d8586676f-cgu.0
[INFO] [stdout]           >>>               /opt/rustwide/target/release/build/basic-shellcode-loader/fc1e0b2991d8e8f0/out/basic_shellcode_loader.basic_shellcode_loader.44e0c49d8586676f-cgu.0.rcgu.o:(basic_shellcode_loader::main)
[INFO] [stdout]           
[INFO] [stdout]           rust-lld: error: undefined symbol: WaitForSingleObject
[INFO] [stdout]           >>> referenced by basic_shellcode_loader.44e0c49d8586676f-cgu.0
[INFO] [stdout]           >>>               /opt/rustwide/target/release/build/basic-shellcode-loader/fc1e0b2991d8e8f0/out/basic_shellcode_loader.basic_shellcode_loader.44e0c49d8586676f-cgu.0.rcgu.o:(basic_shellcode_loader::main)
[INFO] [stdout]           
[INFO] [stdout]           rust-lld: error: undefined symbol: VirtualFree
[INFO] [stdout]           >>> referenced by basic_shellcode_loader.44e0c49d8586676f-cgu.0
[INFO] [stdout]           >>>               /opt/rustwide/target/release/build/basic-shellcode-loader/fc1e0b2991d8e8f0/out/basic_shellcode_loader.basic_shellcode_loader.44e0c49d8586676f-cgu.0.rcgu.o:(basic_shellcode_loader::main)
[INFO] [stdout]           
[INFO] [stdout]           rust-lld: error: undefined symbol: CloseHandle
[INFO] [stdout]           >>> referenced by basic_shellcode_loader.44e0c49d8586676f-cgu.0
[INFO] [stdout]           >>>               /opt/rustwide/target/release/build/basic-shellcode-loader/fc1e0b2991d8e8f0/out/basic_shellcode_loader.basic_shellcode_loader.44e0c49d8586676f-cgu.0.rcgu.o:(basic_shellcode_loader::main)
[INFO] [stdout]           collect2: error: ld returned 1 exit status
[INFO] [stdout]           
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `basic-shellcode-loader` (bin "basic-shellcode-loader") due to 1 previous error
[INFO] running `Command { std: "docker" "inspect" "257d0b68a07f436a106f84671714edfae327759c850ed7390fc6eab3c643b7a5", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "257d0b68a07f436a106f84671714edfae327759c850ed7390fc6eab3c643b7a5", kill_on_drop: false }`
[INFO] [stdout] 257d0b68a07f436a106f84671714edfae327759c850ed7390fc6eab3c643b7a5
