[INFO] cloning repository https://github.com/ContainedBlargh/rustlearn [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ContainedBlargh/rustlearn" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FContainedBlargh%2Frustlearn", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FContainedBlargh%2Frustlearn'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 99aae4588743133e90ba197de40ac108ee561256 [INFO] testing ContainedBlargh/rustlearn against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FContainedBlargh%2Frustlearn" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ContainedBlargh/rustlearn on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ContainedBlargh/rustlearn [INFO] finished tweaking git repo https://github.com/ContainedBlargh/rustlearn [INFO] tweaked toml for git repo https://github.com/ContainedBlargh/rustlearn written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/ContainedBlargh/rustlearn already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "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" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] c97fb0cce1fad8b609d38750871478c6cbfc39ca087f9a1197cca61d67d91738 [INFO] running `Command { std: "docker" "start" "-a" "c97fb0cce1fad8b609d38750871478c6cbfc39ca087f9a1197cca61d67d91738", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "c97fb0cce1fad8b609d38750871478c6cbfc39ca087f9a1197cca61d67d91738", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c97fb0cce1fad8b609d38750871478c6cbfc39ca087f9a1197cca61d67d91738", kill_on_drop: false }` [INFO] [stdout] c97fb0cce1fad8b609d38750871478c6cbfc39ca087f9a1197cca61d67d91738 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "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" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 26a28dee4f5bd037e6bad1c7baf5582436a0c2ccaf1dd93b75ab72061f44471f [INFO] running `Command { std: "docker" "start" "-a" "26a28dee4f5bd037e6bad1c7baf5582436a0c2ccaf1dd93b75ab72061f44471f", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling num-bigint v0.2.3 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling num-complex v0.2.3 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling c2-chacha v0.2.3 [INFO] [stderr] Compiling regex-automata v0.1.8 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling csv-core v0.1.6 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling rand v0.7.2 [INFO] [stderr] Compiling rand_distr v0.2.2 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling serde_json v1.0.44 [INFO] [stderr] Compiling bstr v0.2.8 [INFO] [stderr] Compiling num v0.2.0 [INFO] [stderr] Compiling statistical v1.0.0 [INFO] [stderr] Compiling csv v1.1.1 [INFO] [stderr] Compiling arrayfire v3.6.2 [INFO] [stderr] Compiling rustlearn v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/main.rs:95:6 [INFO] [stdout] | [INFO] [stdout] 95 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:69:35 [INFO] [stdout] | [INFO] [stdout] 69 | .filter_map(|(i, r)| { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/main.rs:99:9 [INFO] [stdout] | [INFO] [stdout] 99 | for i in 0..epochs { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/fc.rs:93:19 [INFO] [stdout] | [INFO] [stdout] 93 | (Some(x), Some(y)) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `arrayfire_test` [INFO] [stdout] --> src/main.rs:19:4 [INFO] [stdout] | [INFO] [stdout] 19 | fn arrayfire_test() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `fc_test` [INFO] [stdout] --> src/main.rs:52:4 [INFO] [stdout] | [INFO] [stdout] 52 | fn fc_test() { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `softmax` [INFO] [stdout] --> src/utils.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn softmax(x: &Array) -> Array { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `softmax_deriv` [INFO] [stdout] --> src/utils.rs:69:8 [INFO] [stdout] | [INFO] [stdout] 69 | pub fn softmax_deriv(x: &Array) -> Array { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `init_random_fc` [INFO] [stdout] --> src/fc.rs:123:8 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn init_random_fc(input_size: u64, output_size: u64) -> FCLayer { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `init_identity_fc` [INFO] [stdout] --> src/fc.rs:129:8 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn init_identity_fc(input_size: u64, output_size: u64) -> FCLayer { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Y` should have a snake case name [INFO] [stdout] --> src/main.rs:91:26 [INFO] [stdout] | [INFO] [stdout] 91 | fn mean_square_error(Y: &Array, y: &Array) -> f32 { [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `y` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/opt/rustwide/target/debug/deps/rustlearn-dc4dedf42bf2740d.rustlearn.5bf3744b-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/rustlearn-dc4dedf42bf2740d.rustlearn.5bf3744b-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/rustlearn-dc4dedf42bf2740d.rustlearn.5bf3744b-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/rustlearn-dc4dedf42bf2740d.rustlearn.5bf3744b-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/rustlearn-dc4dedf42bf2740d.rustlearn.5bf3744b-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/rustlearn-dc4dedf42bf2740d.rustlearn.5bf3744b-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/rustlearn-dc4dedf42bf2740d.rustlearn.5bf3744b-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/rustlearn-dc4dedf42bf2740d.rustlearn.5bf3744b-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/rustlearn-dc4dedf42bf2740d.rustlearn.5bf3744b-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/rustlearn-dc4dedf42bf2740d.rustlearn.5bf3744b-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/rustlearn-dc4dedf42bf2740d.rustlearn.5bf3744b-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/rustlearn-dc4dedf42bf2740d.rustlearn.5bf3744b-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/rustlearn-dc4dedf42bf2740d.rustlearn.5bf3744b-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/rustlearn-dc4dedf42bf2740d.rustlearn.5bf3744b-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/rustlearn-dc4dedf42bf2740d.rustlearn.5bf3744b-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/rustlearn-dc4dedf42bf2740d.rustlearn.5bf3744b-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/rustlearn-dc4dedf42bf2740d.4vmgye3zcmtpx9jf.rcgu.o" "-Wl,--as-needed" "-L" "/opt/rustwide/target/debug/deps" "-L" "/opt/arrayfire/lib" "-L" "/opt/arrayfire/lib64" "-L" "/usr/local/lib" "-L" "/usr/lib" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libstatistical-a5163b605458220c.rlib" "/opt/rustwide/target/debug/deps/librand-6898dec602357250.rlib" "/opt/rustwide/target/debug/deps/librand_xorshift-06e217ad92df2bfc.rlib" "/opt/rustwide/target/debug/deps/librand_pcg-4d96d44db53f9f9e.rlib" "/opt/rustwide/target/debug/deps/librand_hc-714c82d8096c6ceb.rlib" "/opt/rustwide/target/debug/deps/librand_chacha-d112401dbb9b0f0b.rlib" "/opt/rustwide/target/debug/deps/librand_isaac-39c5c607c4a69ce5.rlib" "/opt/rustwide/target/debug/deps/librand_core-c0666ae413bc23d2.rlib" "/opt/rustwide/target/debug/deps/librand_os-de86ea8e1897be51.rlib" "/opt/rustwide/target/debug/deps/librand_jitter-a6ffbd6e57632e30.rlib" "/opt/rustwide/target/debug/deps/librand_core-8951c9ba3b1758eb.rlib" "/opt/rustwide/target/debug/deps/libcsv-77a518d168c0e41a.rlib" "/opt/rustwide/target/debug/deps/libryu-df72afeee529a211.rlib" "/opt/rustwide/target/debug/deps/libitoa-ee4781cc30e192fc.rlib" "/opt/rustwide/target/debug/deps/libcsv_core-17e479a951e24f68.rlib" "/opt/rustwide/target/debug/deps/libbstr-89502ec0b9d3e383.rlib" "/opt/rustwide/target/debug/deps/libregex_automata-7bcb6966e12a505d.rlib" "/opt/rustwide/target/debug/deps/libbyteorder-5dacae0c9f326c9a.rlib" "/opt/rustwide/target/debug/deps/libmemchr-fd65dce110563a2c.rlib" "/opt/rustwide/target/debug/deps/libserde-ff8c2042d5293ec4.rlib" "/opt/rustwide/target/debug/deps/librand_distr-0663a9b9f15d2897.rlib" "/opt/rustwide/target/debug/deps/librand-43d775be657ca9ba.rlib" "/opt/rustwide/target/debug/deps/librand_chacha-7ef97cf0d1ea8a78.rlib" "/opt/rustwide/target/debug/deps/libc2_chacha-5ba93bd5a4ea4e3f.rlib" "/opt/rustwide/target/debug/deps/libppv_lite86-6f374a1e839b3a4a.rlib" "/opt/rustwide/target/debug/deps/librand_core-36e295bbb8af0a6d.rlib" "/opt/rustwide/target/debug/deps/libgetrandom-a425a3b4541d9fff.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-b22544e46cbb7baa.rlib" "/opt/rustwide/target/debug/deps/libarrayfire-2d58c5f2dd557ca3.rlib" "/opt/rustwide/target/debug/deps/libnum-05dcf939ccb950c5.rlib" "/opt/rustwide/target/debug/deps/libnum_rational-1f12b572a7d4f246.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-a79bec91a2752638.rlib" "/opt/rustwide/target/debug/deps/libnum_complex-3716e4dc5c9ee230.rlib" "/opt/rustwide/target/debug/deps/libnum_bigint-272369c2ca7f233d.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-6fcd44d48c63cf5a.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-b4585427014627d8.rlib" "/opt/rustwide/target/debug/deps/liblibc-42131baae32ac21d.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-86422d76b8bd90ed.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-ff9290e971253a38.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-5534b29ea7b2d8f5.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-8bfbb13072fc2761.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-d6d1fa92fa620f17.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-7cfd201521727d95.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-0e8010e8fce8e5a7.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-19093fec3c6dd913.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-89c4cbe9256c1890.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-73e4507673363945.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-3fe98c0f46f27964.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-a76787f08d45e37d.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-8cea480e62c5b261.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-1fb939608cd05a1c.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-842e67e3ab562f66.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-0c1c8fec3b1a54cc.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-689faa634b72af17.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-6c2c561a8181be5e.rlib" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-88c4d85fe493b0a6.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-f5394bdb1df5df01.rlib" "-Wl,-Bdynamic" "-lutil" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/beta-2022-04-10-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/rustlearn-dc4dedf42bf2740d" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/debug/deps/rustlearn-dc4dedf42bf2740d.rustlearn.5bf3744b-cgu.10.rcgu.o: in function ` as core::ops::drop::Drop>::drop': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/arrayfire-3.6.2/src/array.rs:544: undefined reference to `af_release_array' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/rustlearn-dc4dedf42bf2740d.rustlearn.5bf3744b-cgu.10.rcgu.o: in function `arrayfire::array::Array::new': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/arrayfire-3.6.2/src/array.rs:180: undefined reference to `af_create_array' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/rustlearn-dc4dedf42bf2740d.rustlearn.5bf3744b-cgu.10.rcgu.o: in function `arrayfire::array::Array::dims': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/arrayfire-3.6.2/src/array.rs:300: undefined reference to `af_get_dims' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/rustlearn-dc4dedf42bf2740d.rustlearn.5bf3744b-cgu.10.rcgu.o: in function `arrayfire::array::Array::is_scalar': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/arrayfire-3.6.2/src/array.rs:153: undefined reference to `af_is_scalar' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/rustlearn-dc4dedf42bf2740d.rustlearn.5bf3744b-cgu.10.rcgu.o: in function `arrayfire::array::print_gen': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/arrayfire-3.6.2/src/array.rs:626: undefined reference to `af_print_array_gen' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/rustlearn-dc4dedf42bf2740d.rustlearn.5bf3744b-cgu.13.rcgu.o: in function `arrayfire::statistics::mean_all': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/arrayfire-3.6.2/src/statistics/mod.rs:255: undefined reference to `af_mean_all' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/rustlearn-dc4dedf42bf2740d.rustlearn.5bf3744b-cgu.14.rcgu.o: in function `arrayfire::blas::matmul': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/arrayfire-3.6.2/src/blas/mod.rs:47: undefined reference to `af_matmul' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/rustlearn-dc4dedf42bf2740d.rustlearn.5bf3744b-cgu.14.rcgu.o: in function `arrayfire::blas::transpose': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/arrayfire-3.6.2/src/blas/mod.rs:107: undefined reference to `af_transpose' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/rustlearn-dc4dedf42bf2740d.rustlearn.5bf3744b-cgu.6.rcgu.o: in function `arrayfire::data::tile': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/arrayfire-3.6.2/src/data/mod.rs:490: undefined reference to `af_tile' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/rustlearn-dc4dedf42bf2740d.rustlearn.5bf3744b-cgu.6.rcgu.o: in function `arrayfire::data::select': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/arrayfire-3.6.2/src/data/mod.rs:701: undefined reference to `af_select' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/rustlearn-dc4dedf42bf2740d.rustlearn.5bf3744b-cgu.6.rcgu.o: in function `arrayfire::data::join_many': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/arrayfire-3.6.2/src/data/mod.rs:460: undefined reference to `af_join_many' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/rustlearn-dc4dedf42bf2740d.rustlearn.5bf3744b-cgu.9.rcgu.o: in function `arrayfire::arith::add_helper': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/arrayfire-3.6.2/src/arith/mod.rs:408: undefined reference to `af_add' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/rustlearn-dc4dedf42bf2740d.rustlearn.5bf3744b-cgu.9.rcgu.o: in function `arrayfire::arith::div_helper': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/arrayfire-3.6.2/src/arith/mod.rs:408: undefined reference to `af_div' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/rustlearn-dc4dedf42bf2740d.rustlearn.5bf3744b-cgu.9.rcgu.o: in function `arrayfire::arith::mul_helper': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/arrayfire-3.6.2/src/arith/mod.rs:408: undefined reference to `af_mul' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/rustlearn-dc4dedf42bf2740d.rustlearn.5bf3744b-cgu.9.rcgu.o: in function `arrayfire::arith::pow_helper': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/arrayfire-3.6.2/src/arith/mod.rs:408: undefined reference to `af_pow' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/rustlearn-dc4dedf42bf2740d.rustlearn.5bf3744b-cgu.9.rcgu.o: in function `arrayfire::arith::sub_helper': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/arrayfire-3.6.2/src/arith/mod.rs:408: undefined reference to `af_sub' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/rustlearn-dc4dedf42bf2740d.rustlearn.5bf3744b-cgu.9.rcgu.o: in function `arrayfire::arith::abs': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/arrayfire-3.6.2/src/arith/mod.rs:124: undefined reference to `af_abs' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/rustlearn-dc4dedf42bf2740d.rustlearn.5bf3744b-cgu.9.rcgu.o: in function `arrayfire::arith::sqrt': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/arrayfire-3.6.2/src/arith/mod.rs:124: undefined reference to `af_sqrt' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/rustlearn-dc4dedf42bf2740d.rustlearn.5bf3744b-cgu.9.rcgu.o: in function `arrayfire::arith::gt_helper': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/arrayfire-3.6.2/src/arith/mod.rs:508: undefined reference to `af_gt' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libarrayfire-2d58c5f2dd557ca3.rlib(arrayfire-2d58c5f2dd557ca3.arrayfire.1fb811ef-cgu.1.rcgu.o): in function `arrayfire::error::get_last_error': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/arrayfire-3.6.2/src/error.rs:104: undefined reference to `af_get_last_error' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libarrayfire-2d58c5f2dd557ca3.rlib(arrayfire-2d58c5f2dd557ca3.arrayfire.1fb811ef-cgu.12.rcgu.o): in function `arrayfire::util::free_host': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/arrayfire-3.6.2/src/util.rs:68: undefined reference to `af_free_host' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libarrayfire-2d58c5f2dd557ca3.rlib(arrayfire-2d58c5f2dd557ca3.arrayfire.1fb811ef-cgu.4.rcgu.o): in function ` as core::clone::Clone>::clone': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/arrayfire-3.6.2/src/array.rs:528: undefined reference to `af_retain_array' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libarrayfire-2d58c5f2dd557ca3.rlib(arrayfire-2d58c5f2dd557ca3.arrayfire.1fb811ef-cgu.4.rcgu.o): in function ` as core::ops::drop::Drop>::drop': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/arrayfire-3.6.2/src/array.rs:544: undefined reference to `af_release_array' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libarrayfire-2d58c5f2dd557ca3.rlib(arrayfire-2d58c5f2dd557ca3.arrayfire.1fb811ef-cgu.9.rcgu.o): in function `::generate': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/arrayfire-3.6.2/src/data/mod.rs:217: undefined reference to `af_constant' [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] = help: some `extern` functions couldn't be found; some native libraries may need to be installed or have their path specified [INFO] [stdout] = note: use the `-l` flag to specify native libraries to link [INFO] [stdout] = note: use the `cargo:rustc-link-lib` directive to specify the native libraries to link with Cargo (see https://doc.rust-lang.org/cargo/reference/build-scripts.html#cargorustc-link-libkindname) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rustlearn` due to 2 previous errors; 11 warnings emitted [INFO] running `Command { std: "docker" "inspect" "26a28dee4f5bd037e6bad1c7baf5582436a0c2ccaf1dd93b75ab72061f44471f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "26a28dee4f5bd037e6bad1c7baf5582436a0c2ccaf1dd93b75ab72061f44471f", kill_on_drop: false }` [INFO] [stdout] 26a28dee4f5bd037e6bad1c7baf5582436a0c2ccaf1dd93b75ab72061f44471f