[INFO] updating cached repository https://github.com/danielpclark/bench_ruby_ffi_example [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/big/crater/work/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune"` [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 2f8fae8311f8d69695d428e538201c98ba2c67c2 [INFO] testing danielpclark/bench_ruby_ffi_example against 1.38.0 for beta-1.39-1 [INFO] running `"git" "clone" "work/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanielpclark%2Fbench_ruby_ffi_example" "work/builds/worker-6/source"` [INFO] [stderr] Cloning into 'work/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/danielpclark/bench_ruby_ffi_example on toolchain 1.38.0 [INFO] running `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "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 work/builds/worker-6/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 `"/big/crater/work/cargo-home/bin/cargo" "+1.38.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/big/crater/work/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/big/crater/work/builds/worker-6/source:/opt/rustwide/workdir:ro,Z" "-v" "/big/crater/work/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/big/crater/work/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "MAP_USER_ID=1000" "-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" "+1.38.0" "build" "--frozen"` [INFO] [stdout] 1f8d5561523365d288275dfce40fb10a10b68b9750028352f999bbfd29683def [INFO] running `"docker" "start" "-a" "1f8d5561523365d288275dfce40fb10a10b68b9750028352f999bbfd29683def"` [INFO] [stderr] Compiling ruby-sys v0.2.20 [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/1.38.0-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/rustcM6CUlg/list" "/opt/rustwide/target/debug/deps/ffi_example.7nke6iw1edbvc21.rcgu.o" "/opt/rustwide/target/debug/deps/ffi_example.s6d21wwkou14itb.rcgu.o" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/rustwide/target/debug/deps" "-L" "/usr/lib" "-L" "/opt/rustwide/rustup-home/toolchains/1.38.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "-Wl,--whole-archive" "/tmp/rustcM6CUlg/libarray_tool-736222755723e11b.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcM6CUlg/libruru-4aeab07288109aa4.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcM6CUlg/libruby_sys-b58e9340da9e83b7.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcM6CUlg/liblibc-336908e447bff8bb.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcM6CUlg/liblazy_static-ecab1dea8d80dd20.rlib" "-Wl,--no-whole-archive" "-Wl,--start-group" "-Wl,--whole-archive" "/tmp/rustcM6CUlg/libstd-12ce12f1efc08aa3.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcM6CUlg/libpanic_unwind-5d3cd1b3ddab72e4.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcM6CUlg/libbacktrace-f8222943dfd167e2.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcM6CUlg/libbacktrace_sys-0cd00b2d3108cd48.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcM6CUlg/librustc_demangle-485c05ba6ce1b438.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcM6CUlg/libhashbrown-63e6b1072426ba59.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcM6CUlg/librustc_std_workspace_alloc-a421aff1d43911ee.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcM6CUlg/libunwind-3deef8ef4fe80dff.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcM6CUlg/libcfg_if-f65a176f0586269e.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcM6CUlg/liblibc-ad46d4080f4d7e57.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcM6CUlg/liballoc-da6c590582bf0885.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcM6CUlg/librustc_std_workspace_core-837ca740df32db0a.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustcM6CUlg/libcore-db27c965e824589f.rlib" "-Wl,--no-whole-archive" "-Wl,--end-group" "/tmp/rustcM6CUlg/libcompiler_builtins-68a4f8466685ed76.rlib" "-Wl,-Bdynamic" "-lruby-2.5" "-lutil" "-lutil" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-lutil" "-shared" [INFO] [stderr] = note: /usr/bin/ld: cannot find -lruby-2.5 [INFO] [stderr] collect2: error: ld returned 1 exit status [INFO] [stderr] [INFO] [stderr] [INFO] [stderr] error: aborting due to previous error [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" "1f8d5561523365d288275dfce40fb10a10b68b9750028352f999bbfd29683def"` [INFO] running `"docker" "rm" "-f" "1f8d5561523365d288275dfce40fb10a10b68b9750028352f999bbfd29683def"` [INFO] [stdout] 1f8d5561523365d288275dfce40fb10a10b68b9750028352f999bbfd29683def