[INFO] cloning repository https://github.com/predictables/predictables-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/predictables/predictables-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpredictables%2Fpredictables-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpredictables%2Fpredictables-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4e373243d9164bd5570ffbd335e0dadc166bae42 [INFO] testing predictables/predictables-rs against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-7 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fpredictables%2Fpredictables-rs" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/predictables/predictables-rs [INFO] finished tweaking git repo https://github.com/predictables/predictables-rs [INFO] tweaked toml for git repo https://github.com/predictables/predictables-rs written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/predictables/predictables-rs on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/predictables/predictables-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "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-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 20f3d69132b6ff89f7bc198fe5fa896143a946bc9b58270901901776eb33334b [INFO] running `Command { std: "docker" "start" "-a" "20f3d69132b6ff89f7bc198fe5fa896143a946bc9b58270901901776eb33334b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "20f3d69132b6ff89f7bc198fe5fa896143a946bc9b58270901901776eb33334b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "20f3d69132b6ff89f7bc198fe5fa896143a946bc9b58270901901776eb33334b", kill_on_drop: false }` [INFO] [stdout] 20f3d69132b6ff89f7bc198fe5fa896143a946bc9b58270901901776eb33334b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/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" "RUSTDOCFLAGS=--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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9e856c605cbd42b1a39cb8137095890508ef584e77312aa66172a8b82f66b145 [INFO] running `Command { std: "docker" "start" "-a" "9e856c605cbd42b1a39cb8137095890508ef584e77312aa66172a8b82f66b145", kill_on_drop: false }` [INFO] [stderr] Compiling target-lexicon v0.12.13 [INFO] [stderr] Compiling proc-macro2 v1.0.78 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling smallvec v1.13.1 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling rayon-core v1.12.1 [INFO] [stderr] Compiling indoc v2.0.4 [INFO] [stderr] Compiling unindent v0.2.3 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling pyo3-build-config v0.20.2 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling parking_lot_core v0.9.9 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling parking_lot v0.12.1 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling rayon v1.8.1 [INFO] [stderr] Compiling pyo3-ffi v0.20.2 [INFO] [stderr] Compiling pyo3 v0.20.2 [INFO] [stderr] Compiling pyo3-macros-backend v0.20.2 [INFO] [stderr] Compiling pyo3-macros v0.20.2 [INFO] [stderr] Compiling predictables-rs v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/_pareto_sort/mod.rs:154:56 [INFO] [stdout] | [INFO] [stdout] 154 | pareto_front.retain(|p| match domination_order(*p, *point) { [INFO] [stdout] | ---------------- ^^ expected `&[f64]`, found `Vec` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[f64]` [INFO] [stdout] found struct `Vec` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/_pareto_sort/mod.rs:98:4 [INFO] [stdout] | [INFO] [stdout] 98 | fn domination_order(a: &[f64], b: &[f64]) -> Ordering { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ --------- [INFO] [stdout] help: consider borrowing here [INFO] [stdout] | [INFO] [stdout] 154 | pareto_front.retain(|p| match domination_order(&*p, *point) { [INFO] [stdout] | + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | pareto_sort_rs(&points) [INFO] [stdout] | -------------- ^^^^^^^ expected `&[&[f64]]`, found `&Vec>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&[&[f64]]` [INFO] [stdout] found reference `&Vec>` [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/_pareto_sort/mod.rs:150:8 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn pareto_sort_rs(points: &[&[f64]]) -> Vec> { [INFO] [stdout] | ^^^^^^^^^^^^^^ ----------------- [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rayon::prelude` [INFO] [stdout] --> src/_pareto_sort/mod.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use rayon::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `predictables-rs` (lib) due to 2 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "9e856c605cbd42b1a39cb8137095890508ef584e77312aa66172a8b82f66b145", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9e856c605cbd42b1a39cb8137095890508ef584e77312aa66172a8b82f66b145", kill_on_drop: false }` [INFO] [stdout] 9e856c605cbd42b1a39cb8137095890508ef584e77312aa66172a8b82f66b145