[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 1.59.0 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FContainedBlargh%2Frustlearn" "/workspace/builds/worker-58/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-58/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ContainedBlargh/rustlearn on toolchain 1.59.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.59.0" "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-58/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" "+1.59.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded num v0.2.0 [INFO] [stderr] Downloaded statistical v1.0.0 [INFO] [stderr] Downloaded arrayfire v3.6.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-58/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-58/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 007d6055ef52d1cd3bcfbd3a7d7bc5ca43caa812c54cc2e61eb1d0dd5daea183 [INFO] running `Command { std: "docker" "start" "-a" "007d6055ef52d1cd3bcfbd3a7d7bc5ca43caa812c54cc2e61eb1d0dd5daea183", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "007d6055ef52d1cd3bcfbd3a7d7bc5ca43caa812c54cc2e61eb1d0dd5daea183", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "007d6055ef52d1cd3bcfbd3a7d7bc5ca43caa812c54cc2e61eb1d0dd5daea183", kill_on_drop: false }` [INFO] [stdout] 007d6055ef52d1cd3bcfbd3a7d7bc5ca43caa812c54cc2e61eb1d0dd5daea183 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-58/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-58/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+1.59.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8d0db76008bbc61cd8262c1e4938732ad244057f12c62ecb9d337e3b83bcb1b5 [INFO] running `Command { std: "docker" "start" "-a" "8d0db76008bbc61cd8262c1e4938732ad244057f12c62ecb9d337e3b83bcb1b5", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling rand_core v0.4.2 [INFO] [stderr] Compiling proc-macro2 v1.0.6 [INFO] [stderr] Compiling serde v1.0.104 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Compiling ryu v1.0.2 [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling itoa v0.4.4 [INFO] [stderr] Compiling memchr v2.2.1 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling ppv-lite86 v0.2.6 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling regex-automata v0.1.8 [INFO] [stderr] Compiling c2-chacha v0.2.3 [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-complex v0.2.3 [INFO] [stderr] Compiling num-iter v0.1.39 [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 rand_core v0.3.1 [INFO] [stderr] Compiling rand_jitter v0.1.4 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Compiling rand_xorshift v0.1.1 [INFO] [stderr] Compiling rand_hc v0.1.0 [INFO] [stderr] Compiling rand_isaac v0.1.1 [INFO] [stderr] Compiling serde_json v1.0.44 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling csv-core v0.1.6 [INFO] [stderr] Compiling bstr v0.2.8 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling rand v0.7.2 [INFO] [stderr] Compiling csv v1.1.1 [INFO] [stderr] Compiling rand_distr v0.2.2 [INFO] [stderr] Compiling num v0.2.0 [INFO] [stderr] Compiling statistical v1.0.0 [INFO] [stderr] Compiling serde_derive v1.0.104 [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: `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] = note: `#[warn(dead_code)]` on by default [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: 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] [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: 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-3b7770ca3834f69e.rustlearn.8276770b-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/rustlearn-3b7770ca3834f69e.rustlearn.8276770b-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/rustlearn-3b7770ca3834f69e.rustlearn.8276770b-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/rustlearn-3b7770ca3834f69e.rustlearn.8276770b-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/rustlearn-3b7770ca3834f69e.rustlearn.8276770b-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/rustlearn-3b7770ca3834f69e.rustlearn.8276770b-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/rustlearn-3b7770ca3834f69e.rustlearn.8276770b-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/rustlearn-3b7770ca3834f69e.rustlearn.8276770b-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/rustlearn-3b7770ca3834f69e.rustlearn.8276770b-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/rustlearn-3b7770ca3834f69e.rustlearn.8276770b-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/rustlearn-3b7770ca3834f69e.rustlearn.8276770b-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/rustlearn-3b7770ca3834f69e.rustlearn.8276770b-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/rustlearn-3b7770ca3834f69e.rustlearn.8276770b-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/rustlearn-3b7770ca3834f69e.rustlearn.8276770b-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/rustlearn-3b7770ca3834f69e.rustlearn.8276770b-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/rustlearn-3b7770ca3834f69e.rustlearn.8276770b-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/rustlearn-3b7770ca3834f69e.57vyc2obk3c9v7by.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/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/libstatistical-065bf1d2c0828b6a.rlib" "/opt/rustwide/target/debug/deps/librand-30dcd012ef0c2af5.rlib" "/opt/rustwide/target/debug/deps/librand_xorshift-32a2eb9a2aa64821.rlib" "/opt/rustwide/target/debug/deps/librand_pcg-88c6ef67666ca8c2.rlib" "/opt/rustwide/target/debug/deps/librand_hc-7b0c5d15ae13bb94.rlib" "/opt/rustwide/target/debug/deps/librand_chacha-8b9768dc9bff42dc.rlib" "/opt/rustwide/target/debug/deps/librand_isaac-c824f0f0d4463dc8.rlib" "/opt/rustwide/target/debug/deps/librand_core-dc8d66ba86a3d27e.rlib" "/opt/rustwide/target/debug/deps/librand_os-c23ad22f5e54b977.rlib" "/opt/rustwide/target/debug/deps/librand_jitter-1a11cbf0bb1b7906.rlib" "/opt/rustwide/target/debug/deps/librand_core-9c28905e9ca21444.rlib" "/opt/rustwide/target/debug/deps/libcsv-60582d4d5f5637b6.rlib" "/opt/rustwide/target/debug/deps/libryu-54f5ba54592ba520.rlib" "/opt/rustwide/target/debug/deps/libitoa-a209dd313045efb2.rlib" "/opt/rustwide/target/debug/deps/libcsv_core-a2da692a015d2b0c.rlib" "/opt/rustwide/target/debug/deps/libbstr-4f37f0c2211fd5f4.rlib" "/opt/rustwide/target/debug/deps/libregex_automata-3332f0db208f3367.rlib" "/opt/rustwide/target/debug/deps/libbyteorder-15372b9ec618388d.rlib" "/opt/rustwide/target/debug/deps/libmemchr-6dbe54e56a872d41.rlib" "/opt/rustwide/target/debug/deps/libserde-11f5544e29473309.rlib" "/opt/rustwide/target/debug/deps/librand_distr-127057b9092884f0.rlib" "/opt/rustwide/target/debug/deps/librand-f1f61181803e4e67.rlib" "/opt/rustwide/target/debug/deps/librand_chacha-9bac4efda7ffecfa.rlib" "/opt/rustwide/target/debug/deps/libc2_chacha-b30b784f12c2cdea.rlib" "/opt/rustwide/target/debug/deps/libppv_lite86-413d64d3e3abcfaa.rlib" "/opt/rustwide/target/debug/deps/librand_core-8be1c6fa0fa9e069.rlib" "/opt/rustwide/target/debug/deps/libgetrandom-6bb9eae55f8372ac.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-3e93dce105ba1ecd.rlib" "/opt/rustwide/target/debug/deps/libarrayfire-1dd90d9ebbb24d57.rlib" "/opt/rustwide/target/debug/deps/libnum-8f965fec69b10254.rlib" "/opt/rustwide/target/debug/deps/libnum_rational-74fb5163d8b52c00.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-38ebd7ee145ec40d.rlib" "/opt/rustwide/target/debug/deps/libnum_complex-295df8f5d0745b78.rlib" "/opt/rustwide/target/debug/deps/libnum_bigint-00f5bdabeaeb839b.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-444afa3780b39689.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-61c41031d2bba7a3.rlib" "/opt/rustwide/target/debug/deps/liblibc-207ef57eb0f7419b.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-02ff0d0fbc57b9b4.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-a46a068050a12a4b.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-1df56095db9453cb.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-9062de483386e50b.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-b988ab269ff13602.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-1bc822d886d4f7bd.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libmemchr-963eca8df4c224a6.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-d805b480c9102e58.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-06dfdbc22b935051.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-d7523a4d118e6572.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-5d7898c7fac3a07d.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-8c2bdbab4845bf3d.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-d578639df0547b30.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-58bbb7b1efa3a5e2.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-4c9b082d197c16f8.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-70f9ed6d8e7a5ce6.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-8c0a241d0360fa53.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-bad7ed93fdd31371.rlib" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-98b4d121af2b7335.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-1d9f7e5920635d15.rlib" "-Wl,-Bdynamic" "-lutil" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/1.59.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/rustlearn-3b7770ca3834f69e" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro,-znow" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/debug/deps/rustlearn-3b7770ca3834f69e.rustlearn.8276770b-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-3b7770ca3834f69e.rustlearn.8276770b-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-3b7770ca3834f69e.rustlearn.8276770b-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-3b7770ca3834f69e.rustlearn.8276770b-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-3b7770ca3834f69e.rustlearn.8276770b-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-3b7770ca3834f69e.rustlearn.8276770b-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-3b7770ca3834f69e.rustlearn.8276770b-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-3b7770ca3834f69e.rustlearn.8276770b-cgu.14.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-3b7770ca3834f69e.rustlearn.8276770b-cgu.4.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-3b7770ca3834f69e.rustlearn.8276770b-cgu.4.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-3b7770ca3834f69e.rustlearn.8276770b-cgu.4.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-3b7770ca3834f69e.rustlearn.8276770b-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-3b7770ca3834f69e.rustlearn.8276770b-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-3b7770ca3834f69e.rustlearn.8276770b-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-3b7770ca3834f69e.rustlearn.8276770b-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-3b7770ca3834f69e.rustlearn.8276770b-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-3b7770ca3834f69e.rustlearn.8276770b-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-3b7770ca3834f69e.rustlearn.8276770b-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-3b7770ca3834f69e.rustlearn.8276770b-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-1dd90d9ebbb24d57.rlib(arrayfire-1dd90d9ebbb24d57.arrayfire.725e0976-cgu.10.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-1dd90d9ebbb24d57.rlib(arrayfire-1dd90d9ebbb24d57.arrayfire.725e0976-cgu.13.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-1dd90d9ebbb24d57.rlib(arrayfire-1dd90d9ebbb24d57.arrayfire.725e0976-cgu.2.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-1dd90d9ebbb24d57.rlib(arrayfire-1dd90d9ebbb24d57.arrayfire.725e0976-cgu.2.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-1dd90d9ebbb24d57.rlib(arrayfire-1dd90d9ebbb24d57.arrayfire.725e0976-cgu.6.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" "8d0db76008bbc61cd8262c1e4938732ad244057f12c62ecb9d337e3b83bcb1b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d0db76008bbc61cd8262c1e4938732ad244057f12c62ecb9d337e3b83bcb1b5", kill_on_drop: false }` [INFO] [stdout] 8d0db76008bbc61cd8262c1e4938732ad244057f12c62ecb9d337e3b83bcb1b5