[INFO] cloning repository https://github.com/JunSuzukiJapan/rust_llvm_sample [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JunSuzukiJapan/rust_llvm_sample" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJunSuzukiJapan%2Frust_llvm_sample", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJunSuzukiJapan%2Frust_llvm_sample'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ca9ca67cf19e2a41907f24dde5c4ac19ff7a237e [INFO] testing JunSuzukiJapan/rust_llvm_sample against master#0d13f6afeba4935499abe0c9a07426c94492c94e for pr-96025 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJunSuzukiJapan%2Frust_llvm_sample" "/workspace/builds/worker-15/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-15/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JunSuzukiJapan/rust_llvm_sample on toolchain 0d13f6afeba4935499abe0c9a07426c94492c94e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d13f6afeba4935499abe0c9a07426c94492c94e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/JunSuzukiJapan/rust_llvm_sample [INFO] finished tweaking git repo https://github.com/JunSuzukiJapan/rust_llvm_sample [INFO] tweaked toml for git repo https://github.com/JunSuzukiJapan/rust_llvm_sample written to /workspace/builds/worker-15/source/Cargo.toml [INFO] crate git repo https://github.com/JunSuzukiJapan/rust_llvm_sample already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+0d13f6afeba4935499abe0c9a07426c94492c94e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded regex-syntax v0.5.0 [INFO] [stderr] Downloaded regex v0.2.7 [INFO] [stderr] Downloaded llvm-sys v60.0.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+0d13f6afeba4935499abe0c9a07426c94492c94e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 998651158d10de5f081848961078af380e53125052305387236e562a1ac283b6 [INFO] running `Command { std: "docker" "start" "-a" "998651158d10de5f081848961078af380e53125052305387236e562a1ac283b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "998651158d10de5f081848961078af380e53125052305387236e562a1ac283b6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "998651158d10de5f081848961078af380e53125052305387236e562a1ac283b6", kill_on_drop: false }` [INFO] [stdout] 998651158d10de5f081848961078af380e53125052305387236e562a1ac283b6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-15/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" "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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+0d13f6afeba4935499abe0c9a07426c94492c94e" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b639bef7dd414e05606cedc55d4cf24efebd096cbf87b043b71cf4ea6fdf3195 [INFO] running `Command { std: "docker" "start" "-a" "b639bef7dd414e05606cedc55d4cf24efebd096cbf87b043b71cf4ea6fdf3195", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling libc v0.2.39 [INFO] [stderr] Compiling lazy_static v1.0.0 [INFO] [stderr] Compiling ucd-util v0.1.1 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling utf8-ranges v1.0.0 [INFO] [stderr] Compiling gcc v0.3.54 [INFO] [stderr] Compiling llvm_test v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling unreachable v1.0.0 [INFO] [stderr] Compiling regex-syntax v0.5.0 [INFO] [stderr] Compiling thread_local v0.3.5 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling memchr v2.0.1 [INFO] [stderr] Compiling aho-corasick v0.6.4 [INFO] [stderr] Compiling regex v0.2.7 [INFO] [stderr] Compiling llvm-sys v60.0.1 [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/deps/llvm_test-99d039265d31f309.llvm_test.0b602a5b-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/llvm_test-99d039265d31f309.llvm_test.0b602a5b-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/llvm_test-99d039265d31f309.llvm_test.0b602a5b-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/llvm_test-99d039265d31f309.llvm_test.0b602a5b-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/llvm_test-99d039265d31f309.llvm_test.0b602a5b-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/llvm_test-99d039265d31f309.llvm_test.0b602a5b-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/llvm_test-99d039265d31f309.llvm_test.0b602a5b-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/llvm_test-99d039265d31f309.llvm_test.0b602a5b-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/llvm_test-99d039265d31f309.llvm_test.0b602a5b-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/llvm_test-99d039265d31f309.llvm_test.0b602a5b-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/llvm_test-99d039265d31f309.llvm_test.0b602a5b-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/llvm_test-99d039265d31f309.llvm_test.0b602a5b-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/llvm_test-99d039265d31f309.llvm_test.0b602a5b-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/llvm_test-99d039265d31f309.llvm_test.0b602a5b-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/llvm_test-99d039265d31f309.llvm_test.0b602a5b-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/llvm_test-99d039265d31f309.llvm_test.0b602a5b-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/llvm_test-99d039265d31f309.4f63rva1qn86delh.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/usr/lib/llvm-10/lib" "-L" "/opt/rustwide/target/debug/build/llvm-sys-0ff7cd7afa54a7ef/out" "-L" "/opt/rustwide/rustup-home/toolchains/0d13f6afeba4935499abe0c9a07426c94492c94e/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-lffi" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libllvm_sys-b5e819263fb26a22.rlib" "/opt/rustwide/target/debug/deps/liblibc-a0f441625fba2791.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/0d13f6afeba4935499abe0c9a07426c94492c94e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-443e20b28eeed844.rlib" "/opt/rustwide/rustup-home/toolchains/0d13f6afeba4935499abe0c9a07426c94492c94e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-3e337470e099b116.rlib" "/opt/rustwide/rustup-home/toolchains/0d13f6afeba4935499abe0c9a07426c94492c94e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-10a87791239bd676.rlib" "/opt/rustwide/rustup-home/toolchains/0d13f6afeba4935499abe0c9a07426c94492c94e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-0e6cad6dd623d38e.rlib" "/opt/rustwide/rustup-home/toolchains/0d13f6afeba4935499abe0c9a07426c94492c94e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-9d05dd05a4d51b33.rlib" "/opt/rustwide/rustup-home/toolchains/0d13f6afeba4935499abe0c9a07426c94492c94e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-a60ff138fe1adfad.rlib" "/opt/rustwide/rustup-home/toolchains/0d13f6afeba4935499abe0c9a07426c94492c94e/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-0e9344458c09713e.rlib" "/opt/rustwide/rustup-home/toolchains/0d13f6afeba4935499abe0c9a07426c94492c94e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-939385b13e387309.rlib" "/opt/rustwide/rustup-home/toolchains/0d13f6afeba4935499abe0c9a07426c94492c94e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-e3ce420901586b53.rlib" "/opt/rustwide/rustup-home/toolchains/0d13f6afeba4935499abe0c9a07426c94492c94e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-546bece8dd1bea42.rlib" "/opt/rustwide/rustup-home/toolchains/0d13f6afeba4935499abe0c9a07426c94492c94e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-9b358af16d7d7aa1.rlib" "/opt/rustwide/rustup-home/toolchains/0d13f6afeba4935499abe0c9a07426c94492c94e/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-554cd499fe1a3b52.rlib" "/opt/rustwide/rustup-home/toolchains/0d13f6afeba4935499abe0c9a07426c94492c94e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-fbad2f5de5fb5cb2.rlib" "/opt/rustwide/rustup-home/toolchains/0d13f6afeba4935499abe0c9a07426c94492c94e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-8fec8a74c706e4b4.rlib" "/opt/rustwide/rustup-home/toolchains/0d13f6afeba4935499abe0c9a07426c94492c94e/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-020914c5936c5f85.rlib" "/opt/rustwide/rustup-home/toolchains/0d13f6afeba4935499abe0c9a07426c94492c94e/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-4896c4057dc9553a.rlib" "/opt/rustwide/rustup-home/toolchains/0d13f6afeba4935499abe0c9a07426c94492c94e/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-2a6a2797f7a73818.rlib" "/opt/rustwide/rustup-home/toolchains/0d13f6afeba4935499abe0c9a07426c94492c94e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-0e3656b1fda5fd7b.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/0d13f6afeba4935499abe0c9a07426c94492c94e/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-1f103368fa522bc0.rlib" "-Wl,-Bdynamic" "-lz" "-lrt" "-ldl" "-ltinfo" "-lpthread" "-lm" "-lstdc++" "-lutil" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/0d13f6afeba4935499abe0c9a07426c94492c94e/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/llvm_test-99d039265d31f309" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/debug/deps/libllvm_sys-b5e819263fb26a22.rlib(ExternalFunctions.cpp.o): in function `llvm::Interpreter::callExternalFunction(llvm::Function*, llvm::ArrayRef)': [INFO] [stdout] (.text._ZN4llvm11Interpreter20callExternalFunctionEPNS_8FunctionENS_8ArrayRefINS_12GenericValueEEE+0x93f): undefined reference to `ffi_type_void' [INFO] [stdout] /usr/bin/ld: (.text._ZN4llvm11Interpreter20callExternalFunctionEPNS_8FunctionENS_8ArrayRefINS_12GenericValueEEE+0x953): undefined reference to `ffi_type_float' [INFO] [stdout] /usr/bin/ld: (.text._ZN4llvm11Interpreter20callExternalFunctionEPNS_8FunctionENS_8ArrayRefINS_12GenericValueEEE+0x9aa): undefined reference to `ffi_type_double' [INFO] [stdout] /usr/bin/ld: (.text._ZN4llvm11Interpreter20callExternalFunctionEPNS_8FunctionENS_8ArrayRefINS_12GenericValueEEE+0x9d1): undefined reference to `ffi_type_pointer' [INFO] [stdout] /usr/bin/ld: (.text._ZN4llvm11Interpreter20callExternalFunctionEPNS_8FunctionENS_8ArrayRefINS_12GenericValueEEE+0xc6b): undefined reference to `ffi_type_void' [INFO] [stdout] /usr/bin/ld: (.text._ZN4llvm11Interpreter20callExternalFunctionEPNS_8FunctionENS_8ArrayRefINS_12GenericValueEEE+0xc85): undefined reference to `ffi_type_double' [INFO] [stdout] /usr/bin/ld: (.text._ZN4llvm11Interpreter20callExternalFunctionEPNS_8FunctionENS_8ArrayRefINS_12GenericValueEEE+0xcab): undefined reference to `ffi_type_float' [INFO] [stdout] /usr/bin/ld: (.text._ZN4llvm11Interpreter20callExternalFunctionEPNS_8FunctionENS_8ArrayRefINS_12GenericValueEEE+0xcb4): undefined reference to `ffi_type_pointer' [INFO] [stdout] /usr/bin/ld: (.text._ZN4llvm11Interpreter20callExternalFunctionEPNS_8FunctionENS_8ArrayRefINS_12GenericValueEEE+0xcd6): undefined reference to `ffi_prep_cif' [INFO] [stdout] /usr/bin/ld: (.text._ZN4llvm11Interpreter20callExternalFunctionEPNS_8FunctionENS_8ArrayRefINS_12GenericValueEEE+0xdbc): undefined reference to `ffi_call' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libllvm_sys-b5e819263fb26a22.rlib(ExternalFunctions.cpp.o):(.data.rel.ro..Lswitch.table._ZN4llvm11Interpreter20callExternalFunctionEPNS_8FunctionENS_8ArrayRefINS_12GenericValueEEE.33+0x0): undefined reference to `ffi_type_sint8' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libllvm_sys-b5e819263fb26a22.rlib(ExternalFunctions.cpp.o):(.data.rel.ro..Lswitch.table._ZN4llvm11Interpreter20callExternalFunctionEPNS_8FunctionENS_8ArrayRefINS_12GenericValueEEE.33+0x8): undefined reference to `ffi_type_sint16' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libllvm_sys-b5e819263fb26a22.rlib(ExternalFunctions.cpp.o):(.data.rel.ro..Lswitch.table._ZN4llvm11Interpreter20callExternalFunctionEPNS_8FunctionENS_8ArrayRefINS_12GenericValueEEE.33+0x10): undefined reference to `ffi_type_float' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libllvm_sys-b5e819263fb26a22.rlib(ExternalFunctions.cpp.o):(.data.rel.ro..Lswitch.table._ZN4llvm11Interpreter20callExternalFunctionEPNS_8FunctionENS_8ArrayRefINS_12GenericValueEEE.33+0x18): undefined reference to `ffi_type_sint32' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libllvm_sys-b5e819263fb26a22.rlib(ExternalFunctions.cpp.o):(.data.rel.ro..Lswitch.table._ZN4llvm11Interpreter20callExternalFunctionEPNS_8FunctionENS_8ArrayRefINS_12GenericValueEEE.33+0x20): undefined reference to `ffi_type_float' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libllvm_sys-b5e819263fb26a22.rlib(ExternalFunctions.cpp.o):(.data.rel.ro..Lswitch.table._ZN4llvm11Interpreter20callExternalFunctionEPNS_8FunctionENS_8ArrayRefINS_12GenericValueEEE.33+0x28): undefined reference to `ffi_type_float' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libllvm_sys-b5e819263fb26a22.rlib(ExternalFunctions.cpp.o):(.data.rel.ro..Lswitch.table._ZN4llvm11Interpreter20callExternalFunctionEPNS_8FunctionENS_8ArrayRefINS_12GenericValueEEE.33+0x30): undefined reference to `ffi_type_float' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libllvm_sys-b5e819263fb26a22.rlib(ExternalFunctions.cpp.o):(.data.rel.ro..Lswitch.table._ZN4llvm11Interpreter20callExternalFunctionEPNS_8FunctionENS_8ArrayRefINS_12GenericValueEEE.33+0x38): undefined reference to `ffi_type_sint64' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = help: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#cargorustc-link-libkindname) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `llvm_test` due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "b639bef7dd414e05606cedc55d4cf24efebd096cbf87b043b71cf4ea6fdf3195", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b639bef7dd414e05606cedc55d4cf24efebd096cbf87b043b71cf4ea6fdf3195", kill_on_drop: false }` [INFO] [stdout] b639bef7dd414e05606cedc55d4cf24efebd096cbf87b043b71cf4ea6fdf3195