[INFO] cloning repository https://github.com/cbr9/neural-net-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cbr9/neural-net-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcbr9%2Fneural-net-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcbr9%2Fneural-net-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 37ab91c68c61cd250cb84485b6977dda3adf2caf [INFO] checking cbr9/neural-net-rust against master#4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5 for pr-81174 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcbr9%2Fneural-net-rust" "/workspace/builds/worker-2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cbr9/neural-net-rust on toolchain 4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/cbr9/neural-net-rust [INFO] finished tweaking git repo https://github.com/cbr9/neural-net-rust [INFO] tweaked toml for git repo https://github.com/cbr9/neural-net-rust written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/cbr9/neural-net-rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 089ba66f993686d716b839c195d77e321a61a010c619332ee6128b4a926b81db [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" "089ba66f993686d716b839c195d77e321a61a010c619332ee6128b4a926b81db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "089ba66f993686d716b839c195d77e321a61a010c619332ee6128b4a926b81db", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "089ba66f993686d716b839c195d77e321a61a010c619332ee6128b4a926b81db", kill_on_drop: false }` [INFO] [stdout] 089ba66f993686d716b839c195d77e321a61a010c619332ee6128b4a926b81db [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:21f1ed92105a0ef9b0d27ad8bdeb7f36f9f01ac17fffe3a3f3dc5241fc25d8f4" "/opt/rustwide/cargo-home/bin/cargo" "+4d0dd02ee07bddad9136f95c9f7846ebf3eb3fc5" "check" "--frozen" "--all" "--all-targets" "--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] 594ce761977c2dc3e1120f2c2dc53a0a1422ee54588645ca285a1c39f8a4857b [INFO] running `Command { std: "docker" "start" "-a" "594ce761977c2dc3e1120f2c2dc53a0a1422ee54588645ca285a1c39f8a4857b", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Checking neuron v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected expression, found `}` [INFO] [stdout] --> src/main.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 48 | self::LossFn::MSE => [INFO] [stdout] | -- while parsing the `match` arm starting here [INFO] [stdout] 49 | } [INFO] [stdout] | ^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected expression, found `}` [INFO] [stdout] --> src/main.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 48 | self::LossFn::MSE => [INFO] [stdout] | -- while parsing the `match` arm starting here [INFO] [stdout] 49 | } [INFO] [stdout] | ^ expected expression [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | return match self { [INFO] [stdout] | __________^______- [INFO] [stdout] | | _________| [INFO] [stdout] | || [INFO] [stdout] 48 | || self::LossFn::MSE => [INFO] [stdout] 49 | || } [INFO] [stdout] | || ^ [INFO] [stdout] | ||_________| [INFO] [stdout] | |__________unreachable expression [INFO] [stdout] | any code following this expression is unreachable [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:107:51 [INFO] [stdout] | [INFO] [stdout] 107 | fn mse(y_true: Vec, y_pred: Vec) -> f32 { [INFO] [stdout] | --- ^^^ expected `f32`, 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 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `neuron` [INFO] [stderr] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:47:9 [INFO] [stdout] | [INFO] [stdout] 47 | return match self { [INFO] [stdout] | __________^______- [INFO] [stdout] | | _________| [INFO] [stdout] | || [INFO] [stdout] 48 | || self::LossFn::MSE => [INFO] [stdout] 49 | || } [INFO] [stdout] | || ^ [INFO] [stdout] | ||_________| [INFO] [stdout] | |__________unreachable expression [INFO] [stdout] | any code following this expression is unreachable [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:107:51 [INFO] [stdout] | [INFO] [stdout] 107 | fn mse(y_true: Vec, y_pred: Vec) -> f32 { [INFO] [stdout] | --- ^^^ expected `f32`, 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 2 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "594ce761977c2dc3e1120f2c2dc53a0a1422ee54588645ca285a1c39f8a4857b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "594ce761977c2dc3e1120f2c2dc53a0a1422ee54588645ca285a1c39f8a4857b", kill_on_drop: false }` [INFO] [stdout] 594ce761977c2dc3e1120f2c2dc53a0a1422ee54588645ca285a1c39f8a4857b