[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#a77da2d454e6caa227a85b16410b95f93495e7e0 for pr-91031 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJunSuzukiJapan%2Frust_llvm_sample" "/workspace/builds/worker-38/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-38/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JunSuzukiJapan/rust_llvm_sample on toolchain a77da2d454e6caa227a85b16410b95f93495e7e0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "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-38/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" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-38/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-38/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9502f535561b5974b264386533b1e0ae69b8ff484994caa198f6020054a78098 [INFO] running `Command { std: "docker" "start" "-a" "9502f535561b5974b264386533b1e0ae69b8ff484994caa198f6020054a78098", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9502f535561b5974b264386533b1e0ae69b8ff484994caa198f6020054a78098", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9502f535561b5974b264386533b1e0ae69b8ff484994caa198f6020054a78098", kill_on_drop: false }` [INFO] [stdout] 9502f535561b5974b264386533b1e0ae69b8ff484994caa198f6020054a78098 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-38/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-38/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:5736fa189c1c60b01babf4b8b698fe57b6ecc41933a7ff2e0b8d7a221459412b" "/opt/rustwide/cargo-home/bin/cargo" "+a77da2d454e6caa227a85b16410b95f93495e7e0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5e4de9edd3f324141dc4807ca1f2d433ec1abddc21f88737a5b3fcd6ee2a4e47 [INFO] running `Command { std: "docker" "start" "-a" "5e4de9edd3f324141dc4807ca1f2d433ec1abddc21f88737a5b3fcd6ee2a4e47", kill_on_drop: false }` [INFO] [stderr] Compiling void v1.0.2 [INFO] [stderr] Compiling libc v0.2.39 [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 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.384721fa-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/llvm_test-99d039265d31f309.llvm_test.384721fa-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/llvm_test-99d039265d31f309.llvm_test.384721fa-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/llvm_test-99d039265d31f309.llvm_test.384721fa-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/llvm_test-99d039265d31f309.llvm_test.384721fa-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/llvm_test-99d039265d31f309.llvm_test.384721fa-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/llvm_test-99d039265d31f309.llvm_test.384721fa-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/llvm_test-99d039265d31f309.llvm_test.384721fa-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/llvm_test-99d039265d31f309.llvm_test.384721fa-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/llvm_test-99d039265d31f309.llvm_test.384721fa-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/llvm_test-99d039265d31f309.llvm_test.384721fa-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/llvm_test-99d039265d31f309.llvm_test.384721fa-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/llvm_test-99d039265d31f309.llvm_test.384721fa-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/llvm_test-99d039265d31f309.llvm_test.384721fa-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/llvm_test-99d039265d31f309.llvm_test.384721fa-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/llvm_test-99d039265d31f309.llvm_test.384721fa-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/llvm_test-99d039265d31f309.2jek6q3cd729imuz.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/a77da2d454e6caa227a85b16410b95f93495e7e0/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/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-29e5e596e889a0aa.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-1b145d9fcdc08832.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-5b037ee6b77e2ff0.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-9635a64fca0ebd28.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-a7574eb9bb7a8fc5.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-f5fa1dc334dcaeeb.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-6ee570a898e75ef0.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-afb62f29a0815772.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-a632746535fd9988.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-25acc307bcb1d7b6.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-377721a625f6ace7.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-43c01431c8a4ee6f.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-5f74725679453254.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-2b35d8999819161d.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-a81f2980c3f58cf2.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-57b4679830289815.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-2a6a2797f7a73818.rlib" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-0e3656b1fda5fd7b.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/a77da2d454e6caa227a85b16410b95f93495e7e0/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-13b419dfbcf9c1f8.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/a77da2d454e6caa227a85b16410b95f93495e7e0/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" "5e4de9edd3f324141dc4807ca1f2d433ec1abddc21f88737a5b3fcd6ee2a4e47", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e4de9edd3f324141dc4807ca1f2d433ec1abddc21f88737a5b3fcd6ee2a4e47", kill_on_drop: false }` [INFO] [stdout] 5e4de9edd3f324141dc4807ca1f2d433ec1abddc21f88737a5b3fcd6ee2a4e47