[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 master#c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 for pr-146098-7 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FrealSuffix%2FNeuralNet" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [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-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/realSuffix/NeuralNet on toolchain c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/realSuffix/NeuralNet already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded memoffset v0.6.3 [INFO] [stderr] Downloaded crossbeam-utils v0.8.4 [INFO] [stderr] Downloaded crossbeam-epoch v0.9.4 [INFO] [stderr] Downloaded syn v1.0.72 [INFO] [stderr] Downloaded arrayfire v3.8.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 0f5749d8f0ccea051c10ad15a840373fd5bbc2c3fbfbe50f73a3860914155ca7 [INFO] running `Command { std: "docker" "start" "-a" "0f5749d8f0ccea051c10ad15a840373fd5bbc2c3fbfbe50f73a3860914155ca7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "0f5749d8f0ccea051c10ad15a840373fd5bbc2c3fbfbe50f73a3860914155ca7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0f5749d8f0ccea051c10ad15a840373fd5bbc2c3fbfbe50f73a3860914155ca7", kill_on_drop: false }` [INFO] [stdout] 0f5749d8f0ccea051c10ad15a840373fd5bbc2c3fbfbe50f73a3860914155ca7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c90bcb9571b7aab0d8beaa2ce8a998ffaf079d38" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2807196befda2c0a7096c4e8b599bbb37b54be99269e6843142cc4e3de19f2ba [INFO] running `Command { std: "docker" "start" "-a" "2807196befda2c0a7096c4e8b599bbb37b54be99269e6843142cc4e3de19f2ba", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling crossbeam-utils v0.8.4 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling memoffset v0.6.3 [INFO] [stderr] Compiling serde v1.0.125 [INFO] [stderr] Compiling syn v1.0.72 [INFO] [stderr] Compiling libc v0.2.94 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling serde_json v1.0.64 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling num-rational v0.2.4 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling itoa v0.4.7 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Compiling proc-macro2 v1.0.26 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling half v1.7.1 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.4 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling crossbeam-deque v0.8.0 [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` and `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)]` (part of `#[warn(unused)]`) 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: unnecessary parentheses around closure body [INFO] [stdout] --> src/main.rs:24:33 [INFO] [stdout] | [INFO] [stdout] 24 | let sigmoid = |input: &f64| (1.0 / (1.0 + E.powf(*input * -1.0))); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 24 - let sigmoid = |input: &f64| (1.0 / (1.0 + E.powf(*input * -1.0))); [INFO] [stdout] 24 + let sigmoid = |input: &f64| 1.0 / (1.0 + E.powf(*input * -1.0)) ; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::array::IntoIter::::new`: use `IntoIterator::into_iter` instead [INFO] [stdout] --> src/matrix.rs:26:31 [INFO] [stdout] | [INFO] [stdout] 26 | let inner = IntoIter::new(inner).map(IntoIter::new).flatten().collect(); [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated associated function `std::array::IntoIter::::new`: use `IntoIterator::into_iter` instead [INFO] [stdout] --> src/matrix.rs:26:56 [INFO] [stdout] | [INFO] [stdout] 26 | let inner = IntoIter::new(inner).map(IntoIter::new).flatten().collect(); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `backward_propagation` is never used [INFO] [stdout] --> src/gpu_neural_net.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl GpuNeuralNet { [INFO] [stdout] | ----------------------- method in this implementation [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)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `calculate_indices_single` is never used [INFO] [stdout] --> src/matrix.rs:73:8 [INFO] [stdout] | [INFO] [stdout] 14 | impl Matrix { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 73 | fn calculate_indices_single( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `backward_propagation` is never used [INFO] [stdout] --> src/neural_net.rs:31:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl NeuralNet { [INFO] [stdout] | -------------------------- method in this implementation [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" "/tmp/rustc6K78B9/symbols.o" "<6 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{librayon-079685317d86ab69,librayon_core-567444501585a5ac,libnum_cpus-d92221e7099c7d24,libcrossbeam_deque-2b7b8afe8d06f1f5,libcrossbeam_epoch-b16a5a3c76d43a61,libmemoffset-24f2f8e545f78493,libscopeguard-43643e546252cd47,libcrossbeam_channel-13d68fd5287755bf,libcrossbeam_utils-96a6a0673364b8ac,libcfg_if-33ef6c02a07f9fec,libeither-9e7e392a8497717b,libarrayfire-7588a0e715316f7e,libhalf-c047b8aeeadcff41,liblibc-0bc93a18944c32ad,libnum-ded3bb23f0a697e8,libnum_rational-e209975091713512,libnum_iter-2fb988d17f1397ab,libnum_complex-4e9be7d4135b1002,libnum_bigint-111a1a1fa3e818f5,libnum_integer-928bbea6d497031a,libnum_traits-4491dc47d9e38373,liblazy_static-2bb390fee0230a38}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustc6K78B9/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/opt/arrayfire/lib" "-L" "/opt/arrayfire/lib64" "-L" "/usr/local/lib" "-L" "/usr/lib" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/neural_net-d01f9f746c6b8abf" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: undefined symbol: af_release_array [INFO] [stdout] >>> referenced by array.rs:710 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/arrayfire-3.8.0/src/core/array.rs:710) [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/neural_net-d01f9f746c6b8abf.neural_net.7264f52f0c8594b0-cgu.0.rcgu.o:(_$LT$arrayfire..core..array..Array$LT$T$GT$$u20$as$u20$core..ops..drop..Drop$GT$::drop::hea2a94a37ca02809) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: af_matmul [INFO] [stdout] >>> referenced by mod.rs:167 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/arrayfire-3.8.0/src/blas/mod.rs:167) [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/neural_net-d01f9f746c6b8abf.neural_net.7264f52f0c8594b0-cgu.0.rcgu.o:(arrayfire::blas::matmul::h07a54bf05f923e2c) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: af_sigmoid [INFO] [stdout] >>> referenced by arith.rs:129 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/arrayfire-3.8.0/src/core/arith.rs:129) [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/neural_net-d01f9f746c6b8abf.neural_net.7264f52f0c8594b0-cgu.0.rcgu.o:(arrayfire::core::arith::sigmoid::h9ae54ebb43f3f4d0) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: af_create_array [INFO] [stdout] >>> referenced by array.rs:228 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/arrayfire-3.8.0/src/core/array.rs:228) [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/neural_net-d01f9f746c6b8abf.neural_net.7264f52f0c8594b0-cgu.0.rcgu.o:(arrayfire::core::array::Array$LT$T$GT$::new::h59417e45ed495b91) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: af_print_array_gen [INFO] [stdout] >>> referenced by array.rs:748 (/opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/arrayfire-3.8.0/src/core/array.rs:748) [INFO] [stdout] >>> /opt/rustwide/target/debug/deps/neural_net-d01f9f746c6b8abf.neural_net.7264f52f0c8594b0-cgu.0.rcgu.o:(arrayfire::core::array::print::h91621e3895f04a49) [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: af_free_host [INFO] [stdout] >>> referenced by util.rs:68 (src/core/util.rs:68) [INFO] [stdout] >>> arrayfire-7588a0e715316f7e.arrayfire.2bf4a449896553a1-cgu.0.rcgu.o:(arrayfire::core::util::free_host::h1ed4b85fc2029feb) in archive /opt/rustwide/target/debug/deps/libarrayfire-7588a0e715316f7e.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: af_get_last_error [INFO] [stdout] >>> referenced by error.rs:104 (src/core/error.rs:104) [INFO] [stdout] >>> arrayfire-7588a0e715316f7e.arrayfire.2bf4a449896553a1-cgu.0.rcgu.o:(arrayfire::core::error::get_last_error::he4953ef4d26ecbdf) in archive /opt/rustwide/target/debug/deps/libarrayfire-7588a0e715316f7e.rlib [INFO] [stdout] [INFO] [stdout] rust-lld: error: undefined symbol: af_set_device [INFO] [stdout] >>> referenced by device.rs:190 (src/core/device.rs:190) [INFO] [stdout] >>> arrayfire-7588a0e715316f7e.arrayfire.2bf4a449896553a1-cgu.0.rcgu.o:(arrayfire::core::device::set_device::h02ff195f3383fcab) in archive /opt/rustwide/target/debug/deps/libarrayfire-7588a0e715316f7e.rlib [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `neural-net` (bin "neural-net") due to 1 previous error; 8 warnings emitted [INFO] running `Command { std: "docker" "inspect" "2807196befda2c0a7096c4e8b599bbb37b54be99269e6843142cc4e3de19f2ba", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2807196befda2c0a7096c4e8b599bbb37b54be99269e6843142cc4e3de19f2ba", kill_on_drop: false }` [INFO] [stdout] 2807196befda2c0a7096c4e8b599bbb37b54be99269e6843142cc4e3de19f2ba