[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.37-6/sources/1.36.0/gh/qezz/rust-ffi-demo"` [INFO] [stderr] Cloning into 'work/ex/beta-1.37-6/sources/1.36.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.37-6/sources/beta-2019-07-23/gh/qezz/rust-ffi-demo"` [INFO] [stderr] Cloning into 'work/ex/beta-1.37-6/sources/beta-2019-07-23/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.36.0 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+1.36.0" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] validating manifest of qezz/rust-ffi-demo on toolchain beta-2019-07-23 [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "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.37-6/sources/1.36.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.37-6/sources/beta-2019-07-23/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.36.0" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] [stderr] Blocking waiting for file lock on package cache lock [INFO] running `"/mnt/big/crater/work/local/cargo-home/bin/cargo" "+beta-2019-07-23" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] testing qezz/rust-ffi-demo against 1.36.0 for beta-1.37-6 [INFO] running `"docker" "create" "-v" "/mnt/big/crater/work/local/target-dirs/beta-1.37-6/worker-0/1.36.0:/opt/crater/target:rw,Z" "-v" "/mnt/big/crater/work/ex/beta-1.37-6/sources/1.36.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.36.0" "build" "--frozen"` [INFO] [stdout] da2e39ad67544574d22a568fe4d7f537d9fbc54b16aa8c5a02e7322dee312682 [INFO] running `"docker" "start" "-a" "da2e39ad67544574d22a568fe4d7f537d9fbc54b16aa8c5a02e7322dee312682"` [INFO] [stderr] Compiling libc v0.2.45 [INFO] [stderr] Compiling failure_derive v0.1.3 [INFO] [stderr] Compiling rustc-demangle v0.1.11 [INFO] [stderr] Compiling bindgen v0.45.0 [INFO] [stderr] Compiling serde v1.0.82 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Compiling backtrace v0.3.13 [INFO] [stderr] Compiling libloading v0.5.0 [INFO] [stderr] Compiling clang-sys v0.26.3 [INFO] [stderr] Compiling log v0.4.6 [INFO] [stderr] Compiling syn v0.15.23 [INFO] [stderr] Compiling memchr v2.1.2 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling clap v2.32.0 [INFO] [stderr] Compiling aho-corasick v0.6.9 [INFO] [stderr] Compiling nom v4.1.1 [INFO] [stderr] Compiling regex v1.1.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 serde_json v1.0.33 [INFO] [stderr] Compiling env_logger v0.6.0 [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-128c629bd6e218f8/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-128c629bd6e218f8/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-128c629bd6e218f8/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.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "/opt/crater/target/debug/deps/rust_ffi-f28ded960edf4060.rust_ffi.bk0sn7o9-cgu.0.rcgu.o" "/opt/crater/target/debug/deps/rust_ffi-f28ded960edf4060.rust_ffi.bk0sn7o9-cgu.1.rcgu.o" "/opt/crater/target/debug/deps/rust_ffi-f28ded960edf4060.rust_ffi.bk0sn7o9-cgu.10.rcgu.o" "/opt/crater/target/debug/deps/rust_ffi-f28ded960edf4060.rust_ffi.bk0sn7o9-cgu.11.rcgu.o" "/opt/crater/target/debug/deps/rust_ffi-f28ded960edf4060.rust_ffi.bk0sn7o9-cgu.12.rcgu.o" "/opt/crater/target/debug/deps/rust_ffi-f28ded960edf4060.rust_ffi.bk0sn7o9-cgu.13.rcgu.o" "/opt/crater/target/debug/deps/rust_ffi-f28ded960edf4060.rust_ffi.bk0sn7o9-cgu.14.rcgu.o" "/opt/crater/target/debug/deps/rust_ffi-f28ded960edf4060.rust_ffi.bk0sn7o9-cgu.15.rcgu.o" "/opt/crater/target/debug/deps/rust_ffi-f28ded960edf4060.rust_ffi.bk0sn7o9-cgu.2.rcgu.o" "/opt/crater/target/debug/deps/rust_ffi-f28ded960edf4060.rust_ffi.bk0sn7o9-cgu.3.rcgu.o" "/opt/crater/target/debug/deps/rust_ffi-f28ded960edf4060.rust_ffi.bk0sn7o9-cgu.4.rcgu.o" "/opt/crater/target/debug/deps/rust_ffi-f28ded960edf4060.rust_ffi.bk0sn7o9-cgu.5.rcgu.o" "/opt/crater/target/debug/deps/rust_ffi-f28ded960edf4060.rust_ffi.bk0sn7o9-cgu.6.rcgu.o" "/opt/crater/target/debug/deps/rust_ffi-f28ded960edf4060.rust_ffi.bk0sn7o9-cgu.7.rcgu.o" "/opt/crater/target/debug/deps/rust_ffi-f28ded960edf4060.rust_ffi.bk0sn7o9-cgu.8.rcgu.o" "/opt/crater/target/debug/deps/rust_ffi-f28ded960edf4060.rust_ffi.bk0sn7o9-cgu.9.rcgu.o" "-o" "/opt/crater/target/debug/deps/rust_ffi-f28ded960edf4060" "/opt/crater/target/debug/deps/rust_ffi-f28ded960edf4060.ph4wcjtw9ug95o6.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.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/crater/target/debug/deps/librust_ffi-0e463438d6b76e22.rlib" "/opt/crater/target/debug/deps/libserde_json-4b95e92bd43e54d5.rlib" "/opt/crater/target/debug/deps/libryu-0a79168f3ba04445.rlib" "/opt/crater/target/debug/deps/libitoa-5ac5fbad12f6c895.rlib" "/opt/crater/target/debug/deps/libserde-f9b8b1e8c47e046f.rlib" "/opt/crater/target/debug/deps/libclap-d05c35435057db47.rlib" "/opt/crater/target/debug/deps/libvec_map-543e31245cb37b03.rlib" "/opt/crater/target/debug/deps/libtextwrap-451ef45577a7a752.rlib" "/opt/crater/target/debug/deps/libunicode_width-26f3734d51bc29d0.rlib" "/opt/crater/target/debug/deps/libstrsim-e16dede6f67e1ca9.rlib" "/opt/crater/target/debug/deps/libbitflags-6f632fff558bf385.rlib" "/opt/crater/target/debug/deps/libatty-03bd711e93eaca21.rlib" "/opt/crater/target/debug/deps/liblibc-9bc9274b5238ee75.rlib" "/opt/crater/target/debug/deps/libansi_term-d78a4dc68e723c1a.rlib" "-Wl,--start-group" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-9895e8982b0a79e7.rlib" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-57306b8ed3378a0e.rlib" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libbacktrace_sys-54463ae5adae3649.rlib" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-d99667b199a9875a.rlib" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-51f4300e102199f5.rlib" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-b3ccf1f7737a6a91.rlib" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-157c37a3ceb78853.rlib" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-505bcee45aafb736.rlib" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-c29abd529ba4452b.rlib" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-895383a3232f6572.rlib" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-5594cb4f559bc761.rlib" "-Wl,--end-group" "/opt/crater/rustup-home/toolchains/1.36.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-38e90baf978bc428.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" "da2e39ad67544574d22a568fe4d7f537d9fbc54b16aa8c5a02e7322dee312682"` [INFO] running `"docker" "rm" "-f" "da2e39ad67544574d22a568fe4d7f537d9fbc54b16aa8c5a02e7322dee312682"` [INFO] [stdout] da2e39ad67544574d22a568fe4d7f537d9fbc54b16aa8c5a02e7322dee312682