[INFO] updating cached repository qezz/rust-ffi-demo [INFO] running `"git" "fetch" "--all"` [INFO] [stdout] Fetching origin [INFO] [stderr] From git://github.com/qezz/rust-ffi-demo [INFO] [stderr] * branch HEAD -> FETCH_HEAD [INFO] running `"git" "clone" "work/cache/sources/gh/qezz/rust-ffi-demo" "work/ex/beta-1.38-1/sources/1.37.0/gh/qezz/rust-ffi-demo"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/1.37.0/gh/qezz/rust-ffi-demo'... [INFO] [stderr] done. [INFO] running `"git" "clone" "work/cache/sources/gh/qezz/rust-ffi-demo" "work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/qezz/rust-ffi-demo"` [INFO] [stderr] Cloning into 'work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/qezz/rust-ffi-demo'... [INFO] [stderr] done. [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 20254e58d38ec17be2261bc2a721bfede617e454 [INFO] sha for GitHub repo qezz/rust-ffi-demo: 20254e58d38ec17be2261bc2a721bfede617e454 [INFO] validating manifest of qezz/rust-ffi-demo on toolchain 1.37.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of qezz/rust-ffi-demo on toolchain beta-2019-08-13 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started frobbing qezz/rust-ffi-demo [INFO] finished frobbing qezz/rust-ffi-demo [INFO] frobbed toml for qezz/rust-ffi-demo written to work/ex/beta-1.38-1/sources/1.37.0/gh/qezz/rust-ffi-demo/Cargo.toml [INFO] started frobbing qezz/rust-ffi-demo [INFO] finished frobbing qezz/rust-ffi-demo [INFO] frobbed toml for qezz/rust-ffi-demo written to work/ex/beta-1.38-1/sources/beta-2019-08-13/gh/qezz/rust-ffi-demo/Cargo.toml [INFO] crate qezz/rust-ffi-demo already has a lockfile, it will not be regenerated [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.37.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-08-13" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing qezz/rust-ffi-demo against 1.37.0 for beta-1.38-1 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.38-1/worker-6/1.37.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.38-1/sources/1.37.0/gh/qezz/rust-ffi-demo:/opt/crater/workdir:ro,Z" "-v" "/mnt/big/crater/work/local/cargo-home:/opt/crater/cargo-home:ro,Z" "-v" "/mnt/big/crater/work/local/rustup-home:/opt/crater/rustup-home:ro,Z" "-e" "USER_ID=1000" "-e" "SOURCE_DIR=/opt/crater/workdir" "-e" "MAP_USER_ID=1000" "-e" "CARGO_TARGET_DIR=/opt/crater/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=warn" "-e" "CARGO_HOME=/opt/crater/cargo-home" "-e" "RUSTUP_HOME=/opt/crater/rustup-home" "-w" "/opt/crater/workdir" "-m" "1536M" "--network" "none" "rustops/crates-build-env" "/opt/crater/cargo-home/bin/cargo" "+1.37.0" "build" "--frozen"` [INFO] [stdout] 7afde495b291a6c25da942ec7cf96db4d900f8adf776a12feea61163dbdb8e88 [INFO] running `"docker" "start" "-a" "7afde495b291a6c25da942ec7cf96db4d900f8adf776a12feea61163dbdb8e88"` [INFO] [stderr] Compiling bindgen v0.45.0 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling clang-sys v0.26.3 [INFO] [stderr] Compiling syn v0.15.23 [INFO] [stderr] Compiling nom v4.1.1 [INFO] [stderr] Compiling clap v2.32.0 [INFO] [stderr] Compiling cexpr v0.3.3 [INFO] [stderr] Compiling synstructure v0.10.1 [INFO] [stderr] Compiling serde_derive v1.0.82 [INFO] [stderr] Compiling failure_derive v0.1.3 [INFO] [stderr] Compiling failure v0.1.3 [INFO] [stderr] Compiling which v2.0.1 [INFO] [stderr] Compiling rust_ffi v0.1.0 (/opt/crater/workdir) [INFO] [stderr] warning: constant item is never used: `true_` [INFO] [stderr] --> /opt/crater/target/debug/build/rust_ffi-d4605ae5d648b2e3/out/c_mx_bindings.rs:3:1 [INFO] [stderr] | [INFO] [stderr] 3 | pub const true_ : u32 = 1 ; pub const false_ : u32 = 0 ; pub const __bool_true_false_are_defined : u32 = 1 ; extern "C" { pub fn transpose ( arg1 : * mut f64 , arg2 : * mut f64 , arg3 : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn multiply ( arg1 : * mut f64 , arg2 : * mut f64 , arg3 : * mut f64 , arg4 : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn isEqual ( arg1 : * mut f64 , arg2 : * mut f64 , arg3 : :: std :: os :: raw :: c_int ) -> bool ; } extern "C" { pub fn multiply_l ( arg1 : * mut f64 , arg2 : * mut f64 , arg3 : * mut f64 , arg4 : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn multiply_pf ( arg1 : * mut f64 , arg2 : * mut f64 , arg3 : * mut f64 , arg4 : :: std :: os :: raw :: c_int ) ; } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(dead_code)] on by default [INFO] [stderr] [INFO] [stderr] warning: constant item is never used: `false_` [INFO] [stderr] --> /opt/crater/target/debug/build/rust_ffi-d4605ae5d648b2e3/out/c_mx_bindings.rs:3:29 [INFO] [stderr] | [INFO] [stderr] 3 | pub const true_ : u32 = 1 ; pub const false_ : u32 = 0 ; pub const __bool_true_false_are_defined : u32 = 1 ; extern "C" { pub fn transpose ( arg1 : * mut f64 , arg2 : * mut f64 , arg3 : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn multiply ( arg1 : * mut f64 , arg2 : * mut f64 , arg3 : * mut f64 , arg4 : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn isEqual ( arg1 : * mut f64 , arg2 : * mut f64 , arg3 : :: std :: os :: raw :: c_int ) -> bool ; } extern "C" { pub fn multiply_l ( arg1 : * mut f64 , arg2 : * mut f64 , arg3 : * mut f64 , arg4 : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn multiply_pf ( arg1 : * mut f64 , arg2 : * mut f64 , arg3 : * mut f64 , arg4 : :: std :: os :: raw :: c_int ) ; } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: foreign function is never used: `isEqual` [INFO] [stderr] --> /opt/crater/target/debug/build/rust_ffi-d4605ae5d648b2e3/out/c_mx_bindings.rs:3:365 [INFO] [stderr] | [INFO] [stderr] 3 | pub const true_ : u32 = 1 ; pub const false_ : u32 = 0 ; pub const __bool_true_false_are_defined : u32 = 1 ; extern "C" { pub fn transpose ( arg1 : * mut f64 , arg2 : * mut f64 , arg3 : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn multiply ( arg1 : * mut f64 , arg2 : * mut f64 , arg3 : * mut f64 , arg4 : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn isEqual ( arg1 : * mut f64 , arg2 : * mut f64 , arg3 : :: std :: os :: raw :: c_int ) -> bool ; } extern "C" { pub fn multiply_l ( arg1 : * mut f64 , arg2 : * mut f64 , arg3 : * mut f64 , arg4 : :: std :: os :: raw :: c_int ) ; } extern "C" { pub fn multiply_pf ( arg1 : * mut f64 , arg2 : * mut f64 , arg3 : * mut f64 , arg4 : :: std :: os :: raw :: c_int ) ; } [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `std::env` [INFO] [stderr] --> src/main.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use std::env; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(unused_imports)] on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `SubCommand` [INFO] [stderr] --> src/main.rs:6:22 [INFO] [stderr] | [INFO] [stderr] 6 | use clap::{Arg, App, SubCommand}; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused imports: `Error`, `Value`, `json` [INFO] [stderr] --> src/main.rs:7:18 [INFO] [stderr] | [INFO] [stderr] 7 | use serde_json::{Value, Error, json}; [INFO] [stderr] | ^^^^^ ^^^^^ ^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `serde` [INFO] [stderr] --> src/main.rs:8:5 [INFO] [stderr] | [INFO] [stderr] 8 | use serde; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `transpose` [INFO] [stderr] --> src/main.rs:12:16 [INFO] [stderr] | [INFO] [stderr] 12 | use rust_ffi::{transpose, multiply}; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: method is never used: `new` [INFO] [stderr] --> src/main.rs:20:5 [INFO] [stderr] | [INFO] [stderr] 20 | fn new(s: &[f64]) -> LinearMatrix { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: #[warn(dead_code)] 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/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/crater/target/debug/deps/rust_ffi-143de0947c75d8b4.rust_ffi.7xiame0p-cgu.0.rcgu.o" "/opt/crater/target/debug/deps/rust_ffi-143de0947c75d8b4.rust_ffi.7xiame0p-cgu.1.rcgu.o" "/opt/crater/target/debug/deps/rust_ffi-143de0947c75d8b4.rust_ffi.7xiame0p-cgu.10.rcgu.o" "/opt/crater/target/debug/deps/rust_ffi-143de0947c75d8b4.rust_ffi.7xiame0p-cgu.11.rcgu.o" "/opt/crater/target/debug/deps/rust_ffi-143de0947c75d8b4.rust_ffi.7xiame0p-cgu.12.rcgu.o" "/opt/crater/target/debug/deps/rust_ffi-143de0947c75d8b4.rust_ffi.7xiame0p-cgu.13.rcgu.o" "/opt/crater/target/debug/deps/rust_ffi-143de0947c75d8b4.rust_ffi.7xiame0p-cgu.14.rcgu.o" "/opt/crater/target/debug/deps/rust_ffi-143de0947c75d8b4.rust_ffi.7xiame0p-cgu.15.rcgu.o" "/opt/crater/target/debug/deps/rust_ffi-143de0947c75d8b4.rust_ffi.7xiame0p-cgu.2.rcgu.o" "/opt/crater/target/debug/deps/rust_ffi-143de0947c75d8b4.rust_ffi.7xiame0p-cgu.3.rcgu.o" "/opt/crater/target/debug/deps/rust_ffi-143de0947c75d8b4.rust_ffi.7xiame0p-cgu.4.rcgu.o" "/opt/crater/target/debug/deps/rust_ffi-143de0947c75d8b4.rust_ffi.7xiame0p-cgu.5.rcgu.o" "/opt/crater/target/debug/deps/rust_ffi-143de0947c75d8b4.rust_ffi.7xiame0p-cgu.6.rcgu.o" "/opt/crater/target/debug/deps/rust_ffi-143de0947c75d8b4.rust_ffi.7xiame0p-cgu.7.rcgu.o" "/opt/crater/target/debug/deps/rust_ffi-143de0947c75d8b4.rust_ffi.7xiame0p-cgu.8.rcgu.o" "/opt/crater/target/debug/deps/rust_ffi-143de0947c75d8b4.rust_ffi.7xiame0p-cgu.9.rcgu.o" "-o" "/opt/crater/target/debug/deps/rust_ffi-143de0947c75d8b4" "/opt/crater/target/debug/deps/rust_ffi-143de0947c75d8b4.2iq0ym90pi8fnqan.rcgu.o" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" "-L" "/opt/crater/target/debug/deps" "-L" "./c" "-L" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/crater/target/debug/deps/librust_ffi-5a9e6c8bcda7f9ff.rlib" "/opt/crater/target/debug/deps/libserde_json-3cb0941bafb06b11.rlib" "/opt/crater/target/debug/deps/libryu-7c08cdf6a5a70ae2.rlib" "/opt/crater/target/debug/deps/libitoa-e88dc09e47f282cc.rlib" "/opt/crater/target/debug/deps/libserde-14b4d04ffe2d3cbb.rlib" "/opt/crater/target/debug/deps/libclap-e0a4a8f32885b179.rlib" "/opt/crater/target/debug/deps/libvec_map-d1ee0a45638c2bc7.rlib" "/opt/crater/target/debug/deps/libtextwrap-92be40a5376d416f.rlib" "/opt/crater/target/debug/deps/libunicode_width-854b98bbb65b7690.rlib" "/opt/crater/target/debug/deps/libstrsim-c714b4fac07361e2.rlib" "/opt/crater/target/debug/deps/libbitflags-031756039b29afaf.rlib" "/opt/crater/target/debug/deps/libatty-2183e47e029b6dd5.rlib" "/opt/crater/target/debug/deps/liblibc-ec1525edc37f4b1c.rlib" "/opt/crater/target/debug/deps/libansi_term-ab3d266e25626249.rlib" "-Wl,--start-group" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-4a76ff35a356aedf.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-e11c7b3b3225afe2.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace-13217ede3d276f16.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-621a9ee22da6caa1.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-546c844e8071bbeb.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-be9569e4d599746f.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-47d8845cef2a3bc5.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-017511bce73a530c.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-be7979c57a08057b.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-d6459c4f0817c67c.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-580035dd98451925.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-aee5c24fff305dea.rlib" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-8a55a4098920125a.rlib" "-Wl,--end-group" "/opt/crater/rustup-home/toolchains/1.37.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-9fc4b5be2ba5cc19.rlib" "-Wl,-Bdynamic" "-lmx" "-lutil" "-lutil" "-ldl" "-lrt" "-lpthread" "-lgcc_s" "-lc" "-lm" "-lrt" "-lpthread" "-lutil" "-lutil" [INFO] [stderr] = note: /usr/bin/ld: cannot find -lmx [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 `rust_ffi`. [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] running `"docker" "inspect" "7afde495b291a6c25da942ec7cf96db4d900f8adf776a12feea61163dbdb8e88"` [INFO] running `"docker" "rm" "-f" "7afde495b291a6c25da942ec7cf96db4d900f8adf776a12feea61163dbdb8e88"` [INFO] [stdout] 7afde495b291a6c25da942ec7cf96db4d900f8adf776a12feea61163dbdb8e88