[INFO] cloning repository https://github.com/patrickvonplaten/rust_expectation_maximisation [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/patrickvonplaten/rust_expectation_maximisation" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatrickvonplaten%2Frust_expectation_maximisation", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatrickvonplaten%2Frust_expectation_maximisation'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3b53ec8fa86ff300c2ca2e5f44f6625053915378 [INFO] testing patrickvonplaten/rust_expectation_maximisation against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpatrickvonplaten%2Frust_expectation_maximisation" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/patrickvonplaten/rust_expectation_maximisation 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/patrickvonplaten/rust_expectation_maximisation [INFO] finished tweaking git repo https://github.com/patrickvonplaten/rust_expectation_maximisation [INFO] tweaked toml for git repo https://github.com/patrickvonplaten/rust_expectation_maximisation written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/patrickvonplaten/rust_expectation_maximisation 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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 8dcda5f382a417bff698a525321d8e42bf57c039893f380a4b66a09fc0247ea1 [INFO] running `Command { std: "docker" "start" "-a" "8dcda5f382a417bff698a525321d8e42bf57c039893f380a4b66a09fc0247ea1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8dcda5f382a417bff698a525321d8e42bf57c039893f380a4b66a09fc0247ea1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8dcda5f382a417bff698a525321d8e42bf57c039893f380a4b66a09fc0247ea1", kill_on_drop: false }` [INFO] [stdout] 8dcda5f382a417bff698a525321d8e42bf57c039893f380a4b66a09fc0247ea1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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] dbf83448f2a4151851002f6c186aed17529407e593333f25cc351d49934448ef [INFO] running `Command { std: "docker" "start" "-a" "dbf83448f2a4151851002f6c186aed17529407e593333f25cc351d49934448ef", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling serde v1.0.114 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling regex-automata v0.1.9 [INFO] [stderr] Compiling getrandom v0.1.14 [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 rand_distr v0.2.2 [INFO] [stderr] Compiling bstr v0.2.13 [INFO] [stderr] Compiling csv v1.1.3 [INFO] [stderr] Compiling old_faithful_learn v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: this file contains an unclosed delimiter [INFO] [stdout] --> src/main.rs:93:3 [INFO] [stdout] | [INFO] [stdout] 59 | impl GaussianProb { [INFO] [stdout] | - unclosed delimiter [INFO] [stdout] ... [INFO] [stdout] 83 | fn compute_prob(x: Vec) -> f32 { [INFO] [stdout] | - this delimiter might not be properly closed... [INFO] [stdout] 84 | let exp = x - mean [INFO] [stdout] 85 | } [INFO] [stdout] | - ...as it matches this but it has different indentation [INFO] [stdout] ... [INFO] [stdout] 93 | } [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected `;`, found `}` [INFO] [stdout] --> src/main.rs:84:27 [INFO] [stdout] | [INFO] [stdout] 84 | let exp = x - mean [INFO] [stdout] | ^ help: add `;` here [INFO] [stdout] 85 | } [INFO] [stdout] | - unexpected token [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_random_vector` in this scope [INFO] [stdout] --> src/main.rs:63:30 [INFO] [stdout] | [INFO] [stdout] 63 | let mean: Vec = get_random_vector(dim); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_random_vector` in this scope [INFO] [stdout] --> src/main.rs:64:34 [INFO] [stdout] | [INFO] [stdout] 64 | let variance: Vec = get_random_vector(dim); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `mean` in this scope [INFO] [stdout] --> src/main.rs:84:23 [INFO] [stdout] | [INFO] [stdout] 84 | let exp = x - mean [INFO] [stdout] | ^^^^ a field by this name exists in `Self` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::f64` [INFO] [stdout] --> src/main.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::f64; [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:79:58 [INFO] [stdout] | [INFO] [stdout] 79 | pub fn calculate_probability(data: Vec>) -> Vec { [INFO] [stdout] | --------------------- ^^^^^^^^ expected struct `Vec`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected struct `Vec` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:83:37 [INFO] [stdout] | [INFO] [stdout] 83 | fn compute_prob(x: 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 7 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 `old_faithful_learn` due to 8 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "dbf83448f2a4151851002f6c186aed17529407e593333f25cc351d49934448ef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dbf83448f2a4151851002f6c186aed17529407e593333f25cc351d49934448ef", kill_on_drop: false }` [INFO] [stdout] dbf83448f2a4151851002f6c186aed17529407e593333f25cc351d49934448ef