[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#62efba8a050c64249dab942951bb28f710208bc8 for pr-90799 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJunSuzukiJapan%2Frust_llvm_sample" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JunSuzukiJapan/rust_llvm_sample on toolchain 62efba8a050c64249dab942951bb28f710208bc8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+62efba8a050c64249dab942951bb28f710208bc8" "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-9/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" "+62efba8a050c64249dab942951bb28f710208bc8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded regex v0.2.7 [INFO] [stderr] Downloaded regex-syntax v0.5.0 [INFO] [stderr] Downloaded llvm-sys v60.0.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+62efba8a050c64249dab942951bb28f710208bc8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cefdf4a024302db6fd19f1efb7a79a4aa06603e1ff48b8793b43f8a2d2fbf176 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "cefdf4a024302db6fd19f1efb7a79a4aa06603e1ff48b8793b43f8a2d2fbf176", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cefdf4a024302db6fd19f1efb7a79a4aa06603e1ff48b8793b43f8a2d2fbf176", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cefdf4a024302db6fd19f1efb7a79a4aa06603e1ff48b8793b43f8a2d2fbf176", kill_on_drop: false }` [INFO] [stdout] cefdf4a024302db6fd19f1efb7a79a4aa06603e1ff48b8793b43f8a2d2fbf176 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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" "+62efba8a050c64249dab942951bb28f710208bc8" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dd549f3bb9e535a5814ffc5cf6b651d04defe323adb587840bb4011f59ada97e [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "dd549f3bb9e535a5814ffc5cf6b651d04defe323adb587840bb4011f59ada97e", kill_on_drop: false }` [INFO] [stderr] Compiling llvm_test v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling memchr v2.0.1 [INFO] [stderr] Compiling regex-syntax v0.5.0 [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/62efba8a050c64249dab942951bb28f710208bc8/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/62efba8a050c64249dab942951bb28f710208bc8/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-7387d118fba15d64.rlib" "/opt/rustwide/rustup-home/toolchains/62efba8a050c64249dab942951bb28f710208bc8/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-dd8bf3fda2fc2c51.rlib" "/opt/rustwide/rustup-home/toolchains/62efba8a050c64249dab942951bb28f710208bc8/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-b69fd8507c8409af.rlib" "/opt/rustwide/rustup-home/toolchains/62efba8a050c64249dab942951bb28f710208bc8/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-2dff396b99681a6b.rlib" "/opt/rustwide/rustup-home/toolchains/62efba8a050c64249dab942951bb28f710208bc8/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-a78bd5aa183c7115.rlib" "/opt/rustwide/rustup-home/toolchains/62efba8a050c64249dab942951bb28f710208bc8/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-846c64d5a2fbc5ee.rlib" "/opt/rustwide/rustup-home/toolchains/62efba8a050c64249dab942951bb28f710208bc8/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-24c09062b6dc787b.rlib" "/opt/rustwide/rustup-home/toolchains/62efba8a050c64249dab942951bb28f710208bc8/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-ce93f351ca41a57b.rlib" "/opt/rustwide/rustup-home/toolchains/62efba8a050c64249dab942951bb28f710208bc8/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-e42af02528f038fc.rlib" "/opt/rustwide/rustup-home/toolchains/62efba8a050c64249dab942951bb28f710208bc8/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-514cb174319eb6d4.rlib" "/opt/rustwide/rustup-home/toolchains/62efba8a050c64249dab942951bb28f710208bc8/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-37c1534c42bc4f8c.rlib" "/opt/rustwide/rustup-home/toolchains/62efba8a050c64249dab942951bb28f710208bc8/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-06d0f7780fda2fd9.rlib" "/opt/rustwide/rustup-home/toolchains/62efba8a050c64249dab942951bb28f710208bc8/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-4228e28a8f7a03ba.rlib" "/opt/rustwide/rustup-home/toolchains/62efba8a050c64249dab942951bb28f710208bc8/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-88bb1ba4dd271224.rlib" "/opt/rustwide/rustup-home/toolchains/62efba8a050c64249dab942951bb28f710208bc8/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-a81f2980c3f58cf2.rlib" "/opt/rustwide/rustup-home/toolchains/62efba8a050c64249dab942951bb28f710208bc8/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-0b5a376b429677a6.rlib" "/opt/rustwide/rustup-home/toolchains/62efba8a050c64249dab942951bb28f710208bc8/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-2a6a2797f7a73818.rlib" "/opt/rustwide/rustup-home/toolchains/62efba8a050c64249dab942951bb28f710208bc8/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-0e3656b1fda5fd7b.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/62efba8a050c64249dab942951bb28f710208bc8/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-eecefd843a0dbc02.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/62efba8a050c64249dab942951bb28f710208bc8/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/llvm_test-99d039265d31f309" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-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" "dd549f3bb9e535a5814ffc5cf6b651d04defe323adb587840bb4011f59ada97e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd549f3bb9e535a5814ffc5cf6b651d04defe323adb587840bb4011f59ada97e", kill_on_drop: false }` [INFO] [stdout] dd549f3bb9e535a5814ffc5cf6b651d04defe323adb587840bb4011f59ada97e