[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] testing lsroa/nn against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Flsroa%2Fnn" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/lsroa/nn on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "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-0/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: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 19c1faaaf1d7259c60e827def87e1b01d71ec8191b4255372735cb2aee250ed1 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "19c1faaaf1d7259c60e827def87e1b01d71ec8191b4255372735cb2aee250ed1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "19c1faaaf1d7259c60e827def87e1b01d71ec8191b4255372735cb2aee250ed1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "19c1faaaf1d7259c60e827def87e1b01d71ec8191b4255372735cb2aee250ed1", kill_on_drop: false }` [INFO] [stdout] 19c1faaaf1d7259c60e827def87e1b01d71ec8191b4255372735cb2aee250ed1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 92f4fdac9196350c693c836ebe5cb2308b5b50435c4ef2c9868ea7ac8a5b74e7 [INFO] running `Command { std: "docker" "start" "-a" "92f4fdac9196350c693c836ebe5cb2308b5b50435c4ef2c9868ea7ac8a5b74e7", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.95 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling 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[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] error: aborting due to 3 previous errors [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` due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "92f4fdac9196350c693c836ebe5cb2308b5b50435c4ef2c9868ea7ac8a5b74e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92f4fdac9196350c693c836ebe5cb2308b5b50435c4ef2c9868ea7ac8a5b74e7", kill_on_drop: false }` [INFO] [stdout] 92f4fdac9196350c693c836ebe5cb2308b5b50435c4ef2c9868ea7ac8a5b74e7