[INFO] cloning repository https://github.com/llenotre/bayesian_optimization [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/llenotre/bayesian_optimization" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fllenotre%2Fbayesian_optimization", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fllenotre%2Fbayesian_optimization'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ac25381f31bc1b036c091bb960cd35768bf47968 [INFO] checking llenotre/bayesian_optimization against master#a836d9b6413d9d593be6c09463ff8c4c70e56599 for pr-84037 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fllenotre%2Fbayesian_optimization" "/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/llenotre/bayesian_optimization on toolchain a836d9b6413d9d593be6c09463ff8c4c70e56599 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a836d9b6413d9d593be6c09463ff8c4c70e56599" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/llenotre/bayesian_optimization [INFO] finished tweaking git repo https://github.com/llenotre/bayesian_optimization [INFO] tweaked toml for git repo https://github.com/llenotre/bayesian_optimization written to /workspace/builds/worker-2/source/Cargo.toml [INFO] crate git repo https://github.com/llenotre/bayesian_optimization already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a836d9b6413d9d593be6c09463ff8c4c70e56599" "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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+a836d9b6413d9d593be6c09463ff8c4c70e56599" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8a20670cfef5fb0b78c361bc4d12179ee4f4bbe3927657ee1743d0a6c56f15c0 [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" "8a20670cfef5fb0b78c361bc4d12179ee4f4bbe3927657ee1743d0a6c56f15c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8a20670cfef5fb0b78c361bc4d12179ee4f4bbe3927657ee1743d0a6c56f15c0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a20670cfef5fb0b78c361bc4d12179ee4f4bbe3927657ee1743d0a6c56f15c0", kill_on_drop: false }` [INFO] [stdout] 8a20670cfef5fb0b78c361bc4d12179ee4f4bbe3927657ee1743d0a6c56f15c0 [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" "ghcr.io/rust-lang/crates-build-env/linux@sha256:20528e8c29e4536546f0102ce88568b16ea7538393a33fcca951030f7af10457" "/opt/rustwide/cargo-home/bin/cargo" "+a836d9b6413d9d593be6c09463ff8c4c70e56599" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ce80cd0114d3e5be685080900845239da8424842de1ac039c3f72359d7e23b84 [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" "ce80cd0114d3e5be685080900845239da8424842de1ac039c3f72359d7e23b84", kill_on_drop: false }` [INFO] [stderr] Checking leonhard v0.1.0 (https://github.com/llenotre/leonhard#23fef51b) [INFO] [stderr] Checking bayesian_optimization v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:82:23 [INFO] [stdout] | [INFO] [stdout] 82 | *m.get_mut(i, j) = val; [INFO] [stdout] | ^^^ expected `f64`, found struct `leonhard::linear_algebra::Vector` [INFO] [stdout] | [INFO] [stdout] = note: expected type `f64` [INFO] [stdout] found struct `leonhard::linear_algebra::Vector` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:84:24 [INFO] [stdout] | [INFO] [stdout] 84 | *m.get_mut(j, i) = val; [INFO] [stdout] | ^^^ expected `f64`, found struct `leonhard::linear_algebra::Vector` [INFO] [stdout] | [INFO] [stdout] = note: expected type `f64` [INFO] [stdout] found struct `leonhard::linear_algebra::Vector` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:82:23 [INFO] [stdout] | [INFO] [stdout] 82 | *m.get_mut(i, j) = val; [INFO] [stdout] | ^^^ expected `f64`, found struct `leonhard::linear_algebra::Vector` [INFO] [stdout] | [INFO] [stdout] = note: expected type `f64` [INFO] [stdout] found struct `leonhard::linear_algebra::Vector` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:84:24 [INFO] [stdout] | [INFO] [stdout] 84 | *m.get_mut(j, i) = val; [INFO] [stdout] | ^^^ expected `f64`, found struct `leonhard::linear_algebra::Vector` [INFO] [stdout] | [INFO] [stdout] = note: expected type `f64` [INFO] [stdout] found struct `leonhard::linear_algebra::Vector` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:157:2 [INFO] [stdout] | [INFO] [stdout] 138 | fn compute_std_deviation_gradient(data: &Vec, x: Vector::) -> Vector:: { [INFO] [stdout] | ------------- expected `leonhard::linear_algebra::Vector` because of return type [INFO] [stdout] ... [INFO] [stdout] 157 | r / (2. * compute_std_deviation(data, x)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `leonhard::linear_algebra::Vector`, found `f64` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `leonhard::linear_algebra::Vector` [INFO] [stdout] found type `f64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:157:2 [INFO] [stdout] | [INFO] [stdout] 138 | fn compute_std_deviation_gradient(data: &Vec, x: Vector::) -> Vector:: { [INFO] [stdout] | ------------- expected `leonhard::linear_algebra::Vector` because of return type [INFO] [stdout] ... [INFO] [stdout] 157 | r / (2. * compute_std_deviation(data, x)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected struct `leonhard::linear_algebra::Vector`, found `f64` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `leonhard::linear_algebra::Vector` [INFO] [stdout] found type `f64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:239:58 [INFO] [stdout] | [INFO] [stdout] 239 | println!("{}, {}", *x.x(), expected_improvement(mean, std_deviation, data[max_index].y).length()); [INFO] [stdout] | ^^^^^^^^^^^^^ expected struct `leonhard::linear_algebra::Vector`, found `f64` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `leonhard::linear_algebra::Vector` [INFO] [stdout] found type `f64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:239:58 [INFO] [stdout] | [INFO] [stdout] 239 | println!("{}, {}", *x.x(), expected_improvement(mean, std_deviation, data[max_index].y).length()); [INFO] [stdout] | ^^^^^^^^^^^^^ expected struct `leonhard::linear_algebra::Vector`, found `f64` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `leonhard::linear_algebra::Vector` [INFO] [stdout] found type `f64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:247:31 [INFO] [stdout] | [INFO] [stdout] 247 | expected_improvement(mean, std_deviation, max_sample).length() [INFO] [stdout] | ^^^^^^^^^^^^^ expected struct `leonhard::linear_algebra::Vector`, found `f64` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `leonhard::linear_algebra::Vector` [INFO] [stdout] found type `f64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:247:31 [INFO] [stdout] | [INFO] [stdout] 247 | expected_improvement(mean, std_deviation, max_sample).length() [INFO] [stdout] | ^^^^^^^^^^^^^ expected struct `leonhard::linear_algebra::Vector`, found `f64` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `leonhard::linear_algebra::Vector` [INFO] [stdout] found type `f64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:252:40 [INFO] [stdout] | [INFO] [stdout] 252 | expected_improvement_gradient(mean, std_deviation, std_deviation_gradient, max_sample) [INFO] [stdout] | ^^^^^^^^^^^^^ expected struct `leonhard::linear_algebra::Vector`, found `f64` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `leonhard::linear_algebra::Vector` [INFO] [stdout] found type `f64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:252:40 [INFO] [stdout] | [INFO] [stdout] 252 | expected_improvement_gradient(mean, std_deviation, std_deviation_gradient, max_sample) [INFO] [stdout] | ^^^^^^^^^^^^^ expected struct `leonhard::linear_algebra::Vector`, found `f64` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `leonhard::linear_algebra::Vector` [INFO] [stdout] found type `f64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `bayesian_optimization` [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] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "ce80cd0114d3e5be685080900845239da8424842de1ac039c3f72359d7e23b84", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce80cd0114d3e5be685080900845239da8424842de1ac039c3f72359d7e23b84", kill_on_drop: false }` [INFO] [stdout] ce80cd0114d3e5be685080900845239da8424842de1ac039c3f72359d7e23b84