[INFO] cloning repository https://github.com/qezz/rust-ffi-demo [INFO] running `"git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/qezz/rust-ffi-demo" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqezz%2Frust-ffi-demo"` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqezz%2Frust-ffi-demo'... [INFO] running `"git" "rev-parse" "HEAD"` [INFO] [stdout] 20254e58d38ec17be2261bc2a721bfede617e454 [INFO] checking qezz/rust-ffi-demo against master#2748a9fd93dd1a00a4521f4f16de5befbf77f6cd for pr-62262-1 [INFO] running `"git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fqezz%2Frust-ffi-demo" "/workspace/builds/worker-11/source"` [INFO] [stderr] Cloning into '/workspace/builds/worker-11/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/qezz/rust-ffi-demo on toolchain 2748a9fd93dd1a00a4521f4f16de5befbf77f6cd [INFO] running `"/workspace/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "read-manifest" "--manifest-path" "Cargo.toml"` [INFO] started tweaking git repo https://github.com/qezz/rust-ffi-demo [INFO] finished tweaking git repo https://github.com/qezz/rust-ffi-demo [INFO] tweaked toml for git repo https://github.com/qezz/rust-ffi-demo written to /workspace/builds/worker-11/source/Cargo.toml [INFO] crate git repo https://github.com/qezz/rust-ffi-demo already has a lockfile, it will not be regenerated [INFO] running `"/workspace/cargo-home/bin/cargo" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "fetch" "--locked" "--manifest-path" "Cargo.toml"` [INFO] running `"docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-11/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=forbid" "-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" "+2748a9fd93dd1a00a4521f4f16de5befbf77f6cd" "check" "--frozen" "--all" "--all-targets"` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 2160434be2028d5c3c1ba2630fe570f4b6ed2b1fe2ede50a515634a232bd2749 [INFO] running `"docker" "start" "-a" "2160434be2028d5c3c1ba2630fe570f4b6ed2b1fe2ede50a515634a232bd2749"` [INFO] [stderr] Compiling rustc-demangle v0.1.11 [INFO] [stderr] Compiling bindgen v0.45.0 [INFO] [stderr] Compiling clang-sys v0.26.3 [INFO] [stderr] Compiling regex-syntax v0.6.4 [INFO] [stderr] Compiling memchr v2.1.2 [INFO] [stderr] Compiling backtrace-sys v0.1.28 [INFO] [stderr] Compiling atty v0.2.11 [INFO] [stderr] Compiling synstructure v0.10.1 [INFO] [stderr] Compiling serde_derive v1.0.82 [INFO] [stderr] Compiling backtrace v0.3.13 [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 failure_derive v0.1.3 [INFO] [stderr] Compiling cexpr v0.3.3 [INFO] [stderr] Compiling failure v0.1.3 [INFO] [stderr] Compiling which v2.0.1 [INFO] [stderr] Compiling regex v1.1.0 [INFO] [stderr] Compiling env_logger v0.6.0 [INFO] [stderr] Checking criterion v0.2.5 [INFO] [stderr] Compiling rust_ffi v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] warning: constant item is never used: `true_` [INFO] [stderr] --> /opt/rustwide/target/debug/build/rust_ffi-5d118dfef70c16ab/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/rustwide/target/debug/build/rust_ffi-5d118dfef70c16ab/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/rustwide/target/debug/build/rust_ffi-5d118dfef70c16ab/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: constant item is never used: `true_` [INFO] [stderr] --> /opt/rustwide/target/debug/build/rust_ffi-5d118dfef70c16ab/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/rustwide/target/debug/build/rust_ffi-5d118dfef70c16ab/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/rustwide/target/debug/build/rust_ffi-5d118dfef70c16ab/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: 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] 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] warning: function is never used: `ffi_multiply_pf_benchmark` [INFO] [stderr] --> benches/ffi.rs:118:1 [INFO] [stderr] | [INFO] [stderr] 118 | fn ffi_multiply_pf_benchmark(c: &mut Criterion) { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 1m 33s [INFO] running `"docker" "inspect" "2160434be2028d5c3c1ba2630fe570f4b6ed2b1fe2ede50a515634a232bd2749"` [INFO] running `"docker" "rm" "-f" "2160434be2028d5c3c1ba2630fe570f4b6ed2b1fe2ede50a515634a232bd2749"` [INFO] [stdout] 2160434be2028d5c3c1ba2630fe570f4b6ed2b1fe2ede50a515634a232bd2749