[INFO] cloning repository https://github.com/realSuffix/NeuralNet [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/realSuffix/NeuralNet" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FrealSuffix%2FNeuralNet", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FrealSuffix%2FNeuralNet'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d819b55e60952d85c4b6fa3f0ed90562d1ed876c [INFO] testing realSuffix/NeuralNet against 1.55.0 for beta-1.56-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FrealSuffix%2FNeuralNet" "/workspace/builds/worker-14/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-14/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/realSuffix/NeuralNet on toolchain 1.55.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/realSuffix/NeuralNet [INFO] finished tweaking git repo https://github.com/realSuffix/NeuralNet [INFO] tweaked toml for git repo https://github.com/realSuffix/NeuralNet written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/realSuffix/NeuralNet already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.55.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b6c5633fe3e302be0448f9f5bd56af5504ac19ee18c2430a2897363d8283d95c [INFO] running `Command { std: "docker" "start" "-a" "b6c5633fe3e302be0448f9f5bd56af5504ac19ee18c2430a2897363d8283d95c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b6c5633fe3e302be0448f9f5bd56af5504ac19ee18c2430a2897363d8283d95c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b6c5633fe3e302be0448f9f5bd56af5504ac19ee18c2430a2897363d8283d95c", kill_on_drop: false }` [INFO] [stdout] b6c5633fe3e302be0448f9f5bd56af5504ac19ee18c2430a2897363d8283d95c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-14/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+1.55.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 41da046815a32f81c6ec0b51decb9f78e84cc8234d7137147e9d99591575dd9e [INFO] running `Command { std: "docker" "start" "-a" "41da046815a32f81c6ec0b51decb9f78e84cc8234d7137147e9d99591575dd9e", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling half v1.7.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling crossbeam-epoch v0.9.4 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling num v0.2.1 [INFO] [stderr] Compiling serde_derive v1.0.125 [INFO] [stderr] Compiling arrayfire v3.8.0 [INFO] [stderr] Compiling neural-net v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `print`, `sigmoid` [INFO] [stdout] --> src/gpu_neural_net.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use arrayfire::{matmul, print, sigmoid, Array}; [INFO] [stdout] | ^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::Matrix` [INFO] [stdout] --> src/gpu_neural_net.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::Matrix; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `backward_propagation` [INFO] [stdout] --> src/gpu_neural_net.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn backward_propagation(&self, actual_result: &Array, expected_result: &Array) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `calculate_indices_single` [INFO] [stdout] --> src/matrix.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 73 | fn calculate_indices_single( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `backward_propagation` [INFO] [stdout] --> src/neural_net.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn backward_propagation(&self, actual_result: &Matrix, expected_result: &Matrix) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [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/neural_net-62b11bf0061e1d36.neural_net.f51e2c58-cgu.0.rcgu.o" "/opt/rustwide/target/debug/deps/neural_net-62b11bf0061e1d36.neural_net.f51e2c58-cgu.1.rcgu.o" "/opt/rustwide/target/debug/deps/neural_net-62b11bf0061e1d36.neural_net.f51e2c58-cgu.10.rcgu.o" "/opt/rustwide/target/debug/deps/neural_net-62b11bf0061e1d36.neural_net.f51e2c58-cgu.11.rcgu.o" "/opt/rustwide/target/debug/deps/neural_net-62b11bf0061e1d36.neural_net.f51e2c58-cgu.12.rcgu.o" "/opt/rustwide/target/debug/deps/neural_net-62b11bf0061e1d36.neural_net.f51e2c58-cgu.13.rcgu.o" "/opt/rustwide/target/debug/deps/neural_net-62b11bf0061e1d36.neural_net.f51e2c58-cgu.14.rcgu.o" "/opt/rustwide/target/debug/deps/neural_net-62b11bf0061e1d36.neural_net.f51e2c58-cgu.15.rcgu.o" "/opt/rustwide/target/debug/deps/neural_net-62b11bf0061e1d36.neural_net.f51e2c58-cgu.2.rcgu.o" "/opt/rustwide/target/debug/deps/neural_net-62b11bf0061e1d36.neural_net.f51e2c58-cgu.3.rcgu.o" "/opt/rustwide/target/debug/deps/neural_net-62b11bf0061e1d36.neural_net.f51e2c58-cgu.4.rcgu.o" "/opt/rustwide/target/debug/deps/neural_net-62b11bf0061e1d36.neural_net.f51e2c58-cgu.5.rcgu.o" "/opt/rustwide/target/debug/deps/neural_net-62b11bf0061e1d36.neural_net.f51e2c58-cgu.6.rcgu.o" "/opt/rustwide/target/debug/deps/neural_net-62b11bf0061e1d36.neural_net.f51e2c58-cgu.7.rcgu.o" "/opt/rustwide/target/debug/deps/neural_net-62b11bf0061e1d36.neural_net.f51e2c58-cgu.8.rcgu.o" "/opt/rustwide/target/debug/deps/neural_net-62b11bf0061e1d36.neural_net.f51e2c58-cgu.9.rcgu.o" "/opt/rustwide/target/debug/deps/neural_net-62b11bf0061e1d36.2gfva6cktdvyrqez.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.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/librayon-7453deb52a9f04f6.rlib" "/opt/rustwide/target/debug/deps/librayon_core-eac39d15dfa815c5.rlib" "/opt/rustwide/target/debug/deps/libnum_cpus-4b5718b0b8cb4786.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_deque-ed46bf00a6e1b1d2.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_epoch-37dc24c8c18fe204.rlib" "/opt/rustwide/target/debug/deps/libmemoffset-4406a8dd06440c5c.rlib" "/opt/rustwide/target/debug/deps/libscopeguard-a57a6a52cef5676e.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_channel-ec49924a5cc1bec6.rlib" "/opt/rustwide/target/debug/deps/libcrossbeam_utils-4e2e512860d60186.rlib" "/opt/rustwide/target/debug/deps/libcfg_if-dece450273084492.rlib" "/opt/rustwide/target/debug/deps/libeither-86164c251fc3f461.rlib" "/opt/rustwide/target/debug/deps/libarrayfire-6be8598da8b3b8bc.rlib" "/opt/rustwide/target/debug/deps/libhalf-b4c0611e0773cf3c.rlib" "/opt/rustwide/target/debug/deps/liblibc-4b2c4d60c76c0f8f.rlib" "/opt/rustwide/target/debug/deps/libnum-8119e280bf782ae8.rlib" "/opt/rustwide/target/debug/deps/libnum_rational-58c1b949e73e942f.rlib" "/opt/rustwide/target/debug/deps/libnum_iter-386c9a3fe2afb212.rlib" "/opt/rustwide/target/debug/deps/libnum_complex-488c837e5908839e.rlib" "/opt/rustwide/target/debug/deps/libnum_bigint-d4866b25363f3736.rlib" "/opt/rustwide/target/debug/deps/libnum_integer-31e55465e5536f41.rlib" "/opt/rustwide/target/debug/deps/libnum_traits-4054f1e6571b7726.rlib" "/opt/rustwide/target/debug/deps/liblazy_static-df981c5871754530.rlib" "-Wl,--start-group" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd-008055cc7d873802.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libpanic_unwind-06f01ac2578bda94.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libminiz_oxide-f9a3c3274a1835e0.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libadler-d4cbb754ee9f4daa.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libobject-95c14e1c1e3ebcc4.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libaddr2line-d489f0ca872880cc.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libgimli-75f07df0b18fea39.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libstd_detect-0c35b278736219a2.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_demangle-e530649c9a06e3c6.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libhashbrown-6b148909d375a785.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_alloc-cd15fa647f4775d1.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libunwind-74be3a703f788ba2.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcfg_if-8f2c5b445c28b2e3.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liblibc-8480e85e0be96197.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/liballoc-ac23a75f6f42004e.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/librustc_std_workspace_core-557ba8776e04d182.rlib" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcore-4beb03d03503c439.rlib" "-Wl,--end-group" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib/libcompiler_builtins-dd7db1bec6909f24.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-Wl,--eh-frame-hdr" "-Wl,-znoexecstack" "-L" "/opt/rustwide/rustup-home/toolchains/1.55.0-x86_64-unknown-linux-gnu/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/neural_net-62b11bf0061e1d36" "-Wl,--gc-sections" "-pie" "-Wl,-zrelro" "-Wl,-znow" "-nodefaultlibs" [INFO] [stdout] = note: /usr/bin/ld: /opt/rustwide/target/debug/deps/neural_net-62b11bf0061e1d36.neural_net.f51e2c58-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.8.0/src/core/array.rs:710: undefined reference to `af_release_array' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/neural_net-62b11bf0061e1d36.neural_net.f51e2c58-cgu.2.rcgu.o: in function `arrayfire::core::arith::sigmoid': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/arrayfire-3.8.0/src/core/arith.rs:129: undefined reference to `af_sigmoid' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/neural_net-62b11bf0061e1d36.neural_net.f51e2c58-cgu.2.rcgu.o: in function `arrayfire::core::array::Array::new': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/arrayfire-3.8.0/src/core/array.rs:228: undefined reference to `af_create_array' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/neural_net-62b11bf0061e1d36.neural_net.f51e2c58-cgu.2.rcgu.o: in function `arrayfire::core::array::print': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/arrayfire-3.8.0/src/core/array.rs:748: undefined reference to `af_print_array_gen' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/neural_net-62b11bf0061e1d36.neural_net.f51e2c58-cgu.8.rcgu.o: in function `arrayfire::blas::matmul': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/arrayfire-3.8.0/src/blas/mod.rs:167: undefined reference to `af_matmul' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libarrayfire-6be8598da8b3b8bc.rlib(arrayfire-6be8598da8b3b8bc.arrayfire.e0add06f-cgu.11.rcgu.o): in function `arrayfire::core::device::set_device': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/arrayfire-3.8.0/src/core/device.rs:190: undefined reference to `af_set_device' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libarrayfire-6be8598da8b3b8bc.rlib(arrayfire-6be8598da8b3b8bc.arrayfire.e0add06f-cgu.13.rcgu.o): in function `arrayfire::core::error::get_last_error': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/arrayfire-3.8.0/src/core/error.rs:104: undefined reference to `af_get_last_error' [INFO] [stdout] /usr/bin/ld: /opt/rustwide/target/debug/deps/libarrayfire-6be8598da8b3b8bc.rlib(arrayfire-6be8598da8b3b8bc.arrayfire.e0add06f-cgu.8.rcgu.o): in function `arrayfire::core::util::free_host': [INFO] [stdout] /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/arrayfire-3.8.0/src/core/util.rs:68: undefined reference to `af_free_host' [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; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `neural-net` due to 2 previous errors; 5 warnings emitted [INFO] running `Command { std: "docker" "inspect" "41da046815a32f81c6ec0b51decb9f78e84cc8234d7137147e9d99591575dd9e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41da046815a32f81c6ec0b51decb9f78e84cc8234d7137147e9d99591575dd9e", kill_on_drop: false }` [INFO] [stdout] 41da046815a32f81c6ec0b51decb9f78e84cc8234d7137147e9d99591575dd9e