[INFO] cloning repository https://github.com/antonin07130/tinynn [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/antonin07130/tinynn" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fantonin07130%2Ftinynn", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fantonin07130%2Ftinynn'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e9928a528c881a7130d3b3874f506f7733cd6628 [INFO] testing antonin07130/tinynn against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fantonin07130%2Ftinynn" "/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/antonin07130/tinynn on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/antonin07130/tinynn [INFO] finished tweaking git repo https://github.com/antonin07130/tinynn [INFO] tweaked toml for git repo https://github.com/antonin07130/tinynn written to /workspace/builds/worker-14/source/Cargo.toml [INFO] crate git repo https://github.com/antonin07130/tinynn already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b7c8d255ab86ebe2027bfea9340ba564f915ffced3d89970be20a940f099db27 [INFO] running `Command { std: "docker" "start" "-a" "b7c8d255ab86ebe2027bfea9340ba564f915ffced3d89970be20a940f099db27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b7c8d255ab86ebe2027bfea9340ba564f915ffced3d89970be20a940f099db27", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b7c8d255ab86ebe2027bfea9340ba564f915ffced3d89970be20a940f099db27", kill_on_drop: false }` [INFO] [stdout] b7c8d255ab86ebe2027bfea9340ba564f915ffced3d89970be20a940f099db27 [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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0e686f260e664a738d4d74e59d2f52feb9c1bf69ce1de4990befe688567a7cff [INFO] running `Command { std: "docker" "start" "-a" "0e686f260e664a738d4d74e59d2f52feb9c1bf69ce1de4990befe688567a7cff", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.76 [INFO] [stderr] Compiling ppv-lite86 v0.2.9 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling ndarray v0.13.1 [INFO] [stderr] Compiling matrixmultiply v0.2.3 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling rand_distr v0.2.2 [INFO] [stderr] Compiling ndarray-rand v0.11.0 [INFO] [stderr] Compiling tinynn v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find value `x` in this scope [INFO] [stdout] --> src/main.rs:62:46 [INFO] [stdout] | [INFO] [stdout] 62 | let mut layer1 : Array2 = n.w1.dot(x); [INFO] [stdout] | ^ help: a local variable with a similar name exists: `n` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ndarray::Array` [INFO] [stdout] --> src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use ndarray::Array; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:64:46 [INFO] [stdout] | [INFO] [stdout] 64 | let mut layer2 : Array2<_> = layer1.dot(n.w2); [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | expected reference, found struct `ArrayBase` [INFO] [stdout] | help: consider borrowing here: `&n.w2` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&_` [INFO] [stdout] found struct `ArrayBase, Dim<[usize; 2]>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:61:40 [INFO] [stdout] | [INFO] [stdout] 61 | fn feed_forward(n : NeuralNetwork) -> NeuralNetwork { [INFO] [stdout] | ------------ ^^^^^^^^^^^^^ expected struct `NeuralNetwork`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `tinynn` due to 4 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "0e686f260e664a738d4d74e59d2f52feb9c1bf69ce1de4990befe688567a7cff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0e686f260e664a738d4d74e59d2f52feb9c1bf69ce1de4990befe688567a7cff", kill_on_drop: false }` [INFO] [stdout] 0e686f260e664a738d4d74e59d2f52feb9c1bf69ce1de4990befe688567a7cff