[INFO] updating cached repository https://github.com/danielpclark/bench_ruby_ffi_example [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "-c" "remote.origin.fetch=refs/heads/*:refs/heads/*" "fetch" "origin" "--force" "--prune", kill_on_drop: false }` [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 2f8fae8311f8d69695d428e538201c98ba2c67c2 [INFO] testing danielpclark/bench_ruby_ffi_example against 1.45.2 for beta-1.46-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanielpclark%2Fbench_ruby_ffi_example" "/workspace/builds/worker-1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/danielpclark/bench_ruby_ffi_example on toolchain 1.45.2 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-1/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 `Command { std: "/workspace/cargo-home/bin/cargo" "+1.45.2" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--network" "none" "rustops/crates-build-env@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] f0dc1e38782ae4243be4e962f005b04ec588e26dfd5edbfdd8ecf4e24f580d84 [INFO] running `Command { std: "docker" "start" "-a" "f0dc1e38782ae4243be4e962f005b04ec588e26dfd5edbfdd8ecf4e24f580d84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f0dc1e38782ae4243be4e962f005b04ec588e26dfd5edbfdd8ecf4e24f580d84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0dc1e38782ae4243be4e962f005b04ec588e26dfd5edbfdd8ecf4e24f580d84", kill_on_drop: false }` [INFO] [stdout] f0dc1e38782ae4243be4e962f005b04ec588e26dfd5edbfdd8ecf4e24f580d84 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1/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@sha256:a636fd89d022f18117e1dc8fb37a0a009933cdbbe082814857f0e2024962d47c" "/opt/rustwide/cargo-home/bin/cargo" "+1.45.2" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2238ff78f45a238a01689c2b0765b1c9f83aff58302b318427e6bad243c46974 [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" "2238ff78f45a238a01689c2b0765b1c9f83aff58302b318427e6bad243c46974", kill_on_drop: false }` [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] [stdout] warning: unused import: `self::array_tool::string::Squeeze` [INFO] [stdout] --> src/lib.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 11 | use self::array_tool::string::Squeeze; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit code: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-Wl,--as-needed" "-Wl,-z,noexecstack" "-m64" "-L" "/opt/rustwide/rustup-home/toolchains/1.45.2-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/rustc76o6Ay/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/1.45.2-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "-Wl,--whole-archive" "/tmp/rustc76o6Ay/libarray_tool-4e2af8a6e238730b.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustc76o6Ay/libruru-ffb29d04e357e5e0.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustc76o6Ay/libruby_sys-201d8144f2f2f296.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustc76o6Ay/liblibc-d870859687db4a51.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustc76o6Ay/liblazy_static-af148be0059ac649.rlib" "-Wl,--no-whole-archive" "-Wl,--start-group" "-Wl,--whole-archive" "/tmp/rustc76o6Ay/libstd-8bb11f807a7b6b4c.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustc76o6Ay/libpanic_unwind-ca8087507780d964.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustc76o6Ay/libhashbrown-259c92b387c1c166.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustc76o6Ay/librustc_std_workspace_alloc-16e0a2fbbb8e14b3.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustc76o6Ay/libbacktrace-8a1651b8e23d2aaf.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustc76o6Ay/libbacktrace_sys-23bdd98b0574083e.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustc76o6Ay/librustc_demangle-855a92055ec33e2e.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustc76o6Ay/libunwind-24c70dd44fbacdfb.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustc76o6Ay/libcfg_if-b326273841bae587.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustc76o6Ay/liblibc-ac3c1f0e16507051.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustc76o6Ay/liballoc-a5729542b65954aa.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustc76o6Ay/librustc_std_workspace_core-09bd1119ab1cad7d.rlib" "-Wl,--no-whole-archive" "-Wl,--whole-archive" "/tmp/rustc76o6Ay/libcore-9a787681bfbeaf61.rlib" "-Wl,--no-whole-archive" "-Wl,--end-group" "/tmp/rustc76o6Ay/libcompiler_builtins-5a0398ee67f74664.rlib" "-Wl,-Bdynamic" "-lruby-2.7" "-lutil" "-lutil" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-ldl" "-lutil" [INFO] [stdout] = note: /usr/bin/ld: cannot find -lruby-2.7 [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `ffi_example`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `Command { std: "docker" "inspect" "2238ff78f45a238a01689c2b0765b1c9f83aff58302b318427e6bad243c46974", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2238ff78f45a238a01689c2b0765b1c9f83aff58302b318427e6bad243c46974", kill_on_drop: false }` [INFO] [stdout] 2238ff78f45a238a01689c2b0765b1c9f83aff58302b318427e6bad243c46974