[INFO] cloning repository https://github.com/lsroa/nn [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/lsroa/nn" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flsroa%2Fnn", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flsroa%2Fnn'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7c3fb85770385226ff5885db695935ccc9d540e5 [INFO] checking lsroa/nn against master#e1ac0fa95ba15221ee195647cb12464df3164513 for pr-126090 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flsroa%2Fnn" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lsroa/nn on toolchain e1ac0fa95ba15221ee195647cb12464df3164513 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e1ac0fa95ba15221ee195647cb12464df3164513" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/lsroa/nn [INFO] finished tweaking git repo https://github.com/lsroa/nn [INFO] tweaked toml for git repo https://github.com/lsroa/nn written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/lsroa/nn 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" "+e1ac0fa95ba15221ee195647cb12464df3164513" "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 [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking lsroa/nn against try#09fa13185567a1d9c37905d6a4a2ea56e7f44efc for pr-126090 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flsroa%2Fnn" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lsroa/nn on toolchain 09fa13185567a1d9c37905d6a4a2ea56e7f44efc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+09fa13185567a1d9c37905d6a4a2ea56e7f44efc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/lsroa/nn [INFO] finished tweaking git repo https://github.com/lsroa/nn [INFO] tweaked toml for git repo https://github.com/lsroa/nn written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/lsroa/nn 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" "+09fa13185567a1d9c37905d6a4a2ea56e7f44efc" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+09fa13185567a1d9c37905d6a4a2ea56e7f44efc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5ff2465abebd4ae73c74b95ed1847c3eb9ea8ef149d8cd76a59e827a7b7d226d [INFO] running `Command { std: "docker" "start" "-a" "5ff2465abebd4ae73c74b95ed1847c3eb9ea8ef149d8cd76a59e827a7b7d226d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5ff2465abebd4ae73c74b95ed1847c3eb9ea8ef149d8cd76a59e827a7b7d226d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5ff2465abebd4ae73c74b95ed1847c3eb9ea8ef149d8cd76a59e827a7b7d226d", kill_on_drop: false }` [INFO] [stdout] 5ff2465abebd4ae73c74b95ed1847c3eb9ea8ef149d8cd76a59e827a7b7d226d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+09fa13185567a1d9c37905d6a4a2ea56e7f44efc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 34e2fb0c0104244eaecc464a49e7ba9fb08b9d5a6cb6acdcb06cdd62e48e3cdb [INFO] running `Command { std: "docker" "start" "-a" "34e2fb0c0104244eaecc464a49e7ba9fb08b9d5a6cb6acdcb06cdd62e48e3cdb", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.95 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Checking ppv-lite86 v0.2.10 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking nn v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/matrix.rs:113:22 [INFO] [stdout] | [INFO] [stdout] 113 | self.map(|e| e as f32 + n) [INFO] [stdout] | ^^^^^^^^^^^^ expected `i16`, found `f32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/matrix.rs:117:22 [INFO] [stdout] | [INFO] [stdout] 117 | self.map(|e| e as f32 * n) [INFO] [stdout] | ^^^^^^^^^^^^ expected `i16`, found `f32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/matrix.rs:113:22 [INFO] [stdout] | [INFO] [stdout] 113 | self.map(|e| e as f32 + n) [INFO] [stdout] | ^^^^^^^^^^^^ expected `i16`, found `f32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/matrix.rs:117:22 [INFO] [stdout] | [INFO] [stdout] 117 | self.map(|e| e as f32 * n) [INFO] [stdout] | ^^^^^^^^^^^^ expected `i16`, found `f32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0593]: function is expected to take 3 arguments, but it takes 1 argument [INFO] [stdout] --> src/nn.rs:126:57 [INFO] [stdout] | [INFO] [stdout] 126 | let mut gradients = Matrix::static_map(outputs, self.activation_func.d_func); [INFO] [stdout] | ------------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected function that takes 3 arguments [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `matrix::Matrix::static_map` [INFO] [stdout] --> src/matrix.rs:25:43 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn static_map(m: Self, func: impl Fn(i16, usize, usize) -> i16) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Matrix::static_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0593]: function is expected to take 3 arguments, but it takes 1 argument [INFO] [stdout] --> src/nn.rs:126:57 [INFO] [stdout] | [INFO] [stdout] 126 | let mut gradients = Matrix::static_map(outputs, self.activation_func.d_func); [INFO] [stdout] | ------------------ ^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected function that takes 3 arguments [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `Matrix::static_map` [INFO] [stdout] --> src/matrix.rs:25:43 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn static_map(m: Self, func: impl Fn(i16, usize, usize) -> i16) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `Matrix::static_map` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m` [INFO] [stdout] --> src/matrix.rs:122:23 [INFO] [stdout] | [INFO] [stdout] 122 | fn add(&mut self, m: Matrix) -> &mut Self { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `m` [INFO] [stdout] --> src/matrix.rs:122:23 [INFO] [stdout] | [INFO] [stdout] 122 | fn add(&mut self, m: Matrix) -> &mut Self { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_m` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/matrix.rs:126:28 [INFO] [stdout] | [INFO] [stdout] 126 | fn multiply(&mut self, t: Matrix) -> &mut Matrix { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/matrix.rs:126:28 [INFO] [stdout] | [INFO] [stdout] 126 | fn multiply(&mut self, t: Matrix) -> &mut Matrix { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0593. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0593. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `nn` (bin "nn") due to 4 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `nn` (bin "nn" test) due to 4 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "34e2fb0c0104244eaecc464a49e7ba9fb08b9d5a6cb6acdcb06cdd62e48e3cdb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34e2fb0c0104244eaecc464a49e7ba9fb08b9d5a6cb6acdcb06cdd62e48e3cdb", kill_on_drop: false }` [INFO] [stdout] 34e2fb0c0104244eaecc464a49e7ba9fb08b9d5a6cb6acdcb06cdd62e48e3cdb