[INFO] cloning repository https://github.com/danielpclark/bench_ruby_ffi_example [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/danielpclark/bench_ruby_ffi_example" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanielpclark%2Fbench_ruby_ffi_example"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanielpclark%2Fbench_ruby_ffi_example'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 2f8fae8311f8d69695d428e538201c98ba2c67c2 [INFO] testing danielpclark/bench_ruby_ffi_example against beta-2020-06-03 for beta-1.45-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanielpclark%2Fbench_ruby_ffi_example" "/workspace/builds/worker-4/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/danielpclark/bench_ruby_ffi_example on toolchain beta-2020-06-03 [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/danielpclark/bench_ruby_ffi_example [INFO] finished tweaking git repo https://github.com/danielpclark/bench_ruby_ffi_example [INFO] tweaked toml for git repo https://github.com/danielpclark/bench_ruby_ffi_example written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/danielpclark/bench_ruby_ffi_example already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+beta-2020-06-03" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded array_tool v0.4.1 [INFO] [stderr] Downloaded ruru v0.9.3 [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "MAP_USER_ID=0" "-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" "+beta-2020-06-03" "build" "--frozen"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] cfcb62b1a8cbb5e0ab3de839a73c20ca96e34feacc34b2c651fe8d721c4fae0e [INFO] running `"docker" "start" "-a" "cfcb62b1a8cbb5e0ab3de839a73c20ca96e34feacc34b2c651fe8d721c4fae0e"` [INFO] [stderr] sudo: setrlimit(RLIMIT_CORE): Operation not permitted [INFO] [stderr] Compiling ruby-sys v0.2.20 [INFO] [stderr] Compiling libc v0.2.33 [INFO] [stderr] Compiling lazy_static v0.2.9 [INFO] [stderr] Compiling array_tool v0.4.1 [INFO] [stderr] Compiling ruru v0.9.3 [INFO] [stderr] Compiling ffi_example v0.0.1 (/opt/rustwide/workdir) [INFO] [stderr] warning: unused import: `self::array_tool::string::Squeeze` [INFO] [stderr] --> src/lib.rs:11:7 [INFO] [stderr] | [INFO] [stderr] 11 | use self::array_tool::string::Squeeze; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [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/beta-2020-06-03-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/rustwide/target/debug/deps/ffi_example.ffi_example.94zsokn8-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/ffi_example.ffi_example.94zsokn8-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/ffi_example.ffi_example.94zsokn8-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/ffi_example.ffi_example.94zsokn8-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/ffi_example.ffi_example.94zsokn8-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/ffi_example.ffi_example.94zsokn8-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/ffi_example.ffi_example.94zsokn8-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/ffi_example.ffi_example.94zsokn8-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/ffi_example.ffi_example.94zsokn8-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/ffi_example.ffi_example.94zsokn8-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/ffi_example.ffi_example.94zsokn8-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/ffi_example.ffi_example.94zsokn8-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/ffi_example.ffi_example.94zsokn8-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/ffi_example.ffi_example.94zsokn8-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/ffi_example.ffi_example.94zsokn8-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/ffi_example.ffi_example.94zsokn8-cgu.9.rcgu.o" "-o" "/opt/rustwide/target/debug/deps/libffi_example.so" "-Wl,--version-script=/tmp/rustcx80vSO/list" "/opt/rustwide/target/debug/deps/ffi_example.7nke6iw1edbvc21.rcgu.o" "/opt/rustwide/target/debug/deps/ffi_example.s6d21wwkou14itb.rcgu.o" "-shared" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/rustwide/target/debug/deps" "-L" "/usr/lib" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2020-06-03-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "-Wl,--whole-archive" "/tmp/rustcx80vSO/libarray_tool-0e33eb57f36693e8.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcx80vSO/libruru-15b6aebb3417db34.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcx80vSO/libruby_sys-58fe46e73c8903c2.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcx80vSO/liblibc-90a7467ca7bec189.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcx80vSO/liblazy_static-120650fcfaedde43.rlib" "-Wl,--no-whole-archive" "-Wl,--start-group" "-Wl,--whole-archive" "/tmp/rustcx80vSO/libstd-44f8eb3d0b2fad61.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcx80vSO/libpanic_unwind-abc626f09920d361.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcx80vSO/libhashbrown-546e83c8973f1a65.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcx80vSO/librustc_std_workspace_alloc-12768dfc68674934.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcx80vSO/libbacktrace-e06867e4497f2ee8.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcx80vSO/libbacktrace_sys-cbc579f43f6df57b.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcx80vSO/librustc_demangle-7abd6d5a7ebf9a23.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcx80vSO/libunwind-46423c7bc03bd327.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcx80vSO/libcfg_if-fc3773ed7bc68f07.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcx80vSO/liblibc-9cdc98176efd27e2.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcx80vSO/liballoc-02d88502a763e06b.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcx80vSO/librustc_std_workspace_core-8cdc9d38dd6cd3ce.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcx80vSO/libcore-336f7d63e72901ef.rlib" "-Wl,--no-whole-archive" "-Wl,--end-group" "/tmp/rustcx80vSO/libcompiler_builtins-57917b1be5233117.rlib" "-Wl,-Bdynamic" "-lruby-2.7" "-lutil" "-lutil" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-ldl" "-lutil" [INFO] [stderr] = note: /usr/bin/ld: cannot find -lruby-2.7 [INFO] [stderr] collect2: error: ld returned 1 exit status [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error; 1 warning emitted [INFO] [stderr] [INFO] [stderr] error: could not compile `ffi_example`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "cfcb62b1a8cbb5e0ab3de839a73c20ca96e34feacc34b2c651fe8d721c4fae0e"` [INFO] running `"docker" "rm" "-f" "cfcb62b1a8cbb5e0ab3de839a73c20ca96e34feacc34b2c651fe8d721c4fae0e"` [INFO] [stdout] cfcb62b1a8cbb5e0ab3de839a73c20ca96e34feacc34b2c651fe8d721c4fae0e