[INFO] fetching crate petal-clustering 0.2.2... [INFO] checking petal-clustering-0.2.2 against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] extracting crate petal-clustering 0.2.2 into /workspace/builds/worker-2/source [INFO] validating manifest of crates.io crate petal-clustering 0.2.2 on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking crates.io crate petal-clustering 0.2.2 [INFO] finished tweaking crates.io crate petal-clustering 0.2.2 [INFO] tweaked toml for crates.io crate petal-clustering 0.2.2 written to /workspace/builds/worker-2/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--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-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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] dea9c9efb6150957507c39c7849dcdd35d8c13adc391ad005e6ae0a8a32c3712 [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" "dea9c9efb6150957507c39c7849dcdd35d8c13adc391ad005e6ae0a8a32c3712", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "dea9c9efb6150957507c39c7849dcdd35d8c13adc391ad005e6ae0a8a32c3712", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dea9c9efb6150957507c39c7849dcdd35d8c13adc391ad005e6ae0a8a32c3712", kill_on_drop: false }` [INFO] [stdout] dea9c9efb6150957507c39c7849dcdd35d8c13adc391ad005e6ae0a8a32c3712 [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:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 374f80408e0db46f274c56c05a959c4e0caa1f377242d5563a4109bf8d1010cf [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" "374f80408e0db46f274c56c05a959c4e0caa1f377242d5563a4109bf8d1010cf", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling const_fn v0.4.4 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling rayon-core v1.9.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling ndarray v0.14.0 [INFO] [stderr] Compiling serde_derive v1.0.118 [INFO] [stderr] Compiling ndarray v0.13.1 [INFO] [stderr] Compiling serde v1.0.118 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Checking maplit v1.0.2 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling crossbeam-utils v0.8.1 [INFO] [stderr] Compiling memoffset v0.6.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling rayon v1.5.0 [INFO] [stderr] Checking matrixmultiply v0.2.4 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Compiling syn v1.0.56 [INFO] [stderr] Checking crossbeam-channel v0.5.0 [INFO] [stderr] Checking crossbeam-epoch v0.9.1 [INFO] [stderr] Checking crossbeam-deque v0.8.0 [INFO] [stderr] Checking num-complex v0.3.1 [INFO] [stderr] Checking ordered-float v2.0.1 [INFO] [stderr] Compiling thiserror-impl v1.0.23 [INFO] [stderr] Checking thiserror v1.0.23 [INFO] [stderr] Checking petal-neighbors v0.5.1 [INFO] [stderr] Checking petal-clustering v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: the trait bound `ndarray::ArrayBase, ndarray::dimension::dim::Dim<[usize; 2]>>: From, Dim<[usize; 2]>>>` is not satisfied [INFO] [stdout] --> src/dbscan.rs:105:14 [INFO] [stdout] | [INFO] [stdout] 105 | let db = BallTree::euclidean(input.view()).expect("non-empty array"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ the trait `From, Dim<[usize; 2]>>>` is not implemented for `ndarray::ArrayBase, ndarray::dimension::dim::Dim<[usize; 2]>>` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > as From>> [INFO] [stdout] , D> as From, D>>> [INFO] [stdout] , D> as From, D>>> [INFO] [stdout] , D> as From<&'a ndarray::ArrayBase>> [INFO] [stdout] and 5 others [INFO] [stdout] = note: required because of the requirements on the impl of `Into, ndarray::dimension::dim::Dim<[usize; 2]>>>` for `ArrayBase, Dim<[usize; 2]>>` [INFO] [stdout] = note: required by `BallTree::<'a, A>::euclidean` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ndarray::ArrayBase, ndarray::dimension::dim::Dim<[usize; 2]>>: From, Dim<[usize; 2]>>>` is not satisfied [INFO] [stdout] --> src/dbscan.rs:105:14 [INFO] [stdout] | [INFO] [stdout] 105 | let db = BallTree::euclidean(input.view()).expect("non-empty array"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ the trait `From, Dim<[usize; 2]>>>` is not implemented for `ndarray::ArrayBase, ndarray::dimension::dim::Dim<[usize; 2]>>` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > as From>> [INFO] [stdout] , D> as From, D>>> [INFO] [stdout] , D> as From, D>>> [INFO] [stdout] , D> as From<&'a ndarray::ArrayBase>> [INFO] [stdout] and 5 others [INFO] [stdout] = note: required because of the requirements on the impl of `Into, ndarray::dimension::dim::Dim<[usize; 2]>>>` for `ArrayBase, Dim<[usize; 2]>>` [INFO] [stdout] = note: required by `BallTree::<'a, A>::euclidean` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/dbscan.rs:107:34 [INFO] [stdout] | [INFO] [stdout] 107 | .map(|p| db.query_radius(&p, eps).into_iter().collect::>()) [INFO] [stdout] | ^^ expected struct `ndarray::ArrayBase`, found struct `ArrayBase` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&ndarray::ArrayBase<_, ndarray::dimension::dim::Dim<[usize; 1]>>` [INFO] [stdout] found reference `&ArrayBase, Dim<[usize; 1]>>` [INFO] [stdout] = note: perhaps two different versions of crate `ndarray` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/dbscan.rs:107:34 [INFO] [stdout] | [INFO] [stdout] 107 | .map(|p| db.query_radius(&p, eps).into_iter().collect::>()) [INFO] [stdout] | ^^ expected struct `ndarray::ArrayBase`, found struct `ArrayBase` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&ndarray::ArrayBase<_, ndarray::dimension::dim::Dim<[usize; 1]>>` [INFO] [stdout] found reference `&ArrayBase, Dim<[usize; 1]>>` [INFO] [stdout] = note: perhaps two different versions of crate `ndarray` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ndarray::ArrayBase, ndarray::dimension::dim::Dim<[usize; 2]>>: From, Dim<[usize; 2]>>>` is not satisfied [INFO] [stdout] --> src/optics.rs:239:14 [INFO] [stdout] | [INFO] [stdout] 239 | let db = BallTree::euclidean(input.view()).expect("non-empty array"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ the trait `From, Dim<[usize; 2]>>>` is not implemented for `ndarray::ArrayBase, ndarray::dimension::dim::Dim<[usize; 2]>>` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > as From>> [INFO] [stdout] , D> as From, D>>> [INFO] [stdout] , D> as From, D>>> [INFO] [stdout] , D> as From<&'a ndarray::ArrayBase>> [INFO] [stdout] and 5 others [INFO] [stdout] = note: required because of the requirements on the impl of `Into, ndarray::dimension::dim::Dim<[usize; 2]>>>` for `ArrayBase, Dim<[usize; 2]>>` [INFO] [stdout] = note: required by `BallTree::<'a, A>::euclidean` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `ndarray::ArrayBase, ndarray::dimension::dim::Dim<[usize; 2]>>: From, Dim<[usize; 2]>>>` is not satisfied [INFO] [stdout] --> src/optics.rs:239:14 [INFO] [stdout] | [INFO] [stdout] 239 | let db = BallTree::euclidean(input.view()).expect("non-empty array"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ the trait `From, Dim<[usize; 2]>>>` is not implemented for `ndarray::ArrayBase, ndarray::dimension::dim::Dim<[usize; 2]>>` [INFO] [stdout] | [INFO] [stdout] = help: the following implementations were found: [INFO] [stdout] > as From>> [INFO] [stdout] , D> as From, D>>> [INFO] [stdout] , D> as From, D>>> [INFO] [stdout] , D> as From<&'a ndarray::ArrayBase>> [INFO] [stdout] and 5 others [INFO] [stdout] = note: required because of the requirements on the impl of `Into, ndarray::dimension::dim::Dim<[usize; 2]>>>` for `ArrayBase, Dim<[usize; 2]>>` [INFO] [stdout] = note: required by `BallTree::<'a, A>::euclidean` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/optics.rs:242:45 [INFO] [stdout] | [INFO] [stdout] 242 | let neighbors = db.query_radius(&p, eps).into_iter().collect::>(); [INFO] [stdout] | ^^ expected struct `ndarray::ArrayBase`, found struct `ArrayBase` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&ndarray::ArrayBase<_, ndarray::dimension::dim::Dim<[usize; 1]>>` [INFO] [stdout] found reference `&ArrayBase, Dim<[usize; 1]>>` [INFO] [stdout] = note: perhaps two different versions of crate `ndarray` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/optics.rs:244:26 [INFO] [stdout] | [INFO] [stdout] 244 | db.query(&p, 2).1[1] [INFO] [stdout] | ^^ expected struct `ndarray::ArrayBase`, found struct `ArrayBase` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&ndarray::ArrayBase<_, ndarray::dimension::dim::Dim<[usize; 1]>>` [INFO] [stdout] found reference `&ArrayBase, Dim<[usize; 1]>>` [INFO] [stdout] = note: perhaps two different versions of crate `ndarray` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/optics.rs:242:45 [INFO] [stdout] | [INFO] [stdout] 242 | let neighbors = db.query_radius(&p, eps).into_iter().collect::>(); [INFO] [stdout] | ^^ expected struct `ndarray::ArrayBase`, found struct `ArrayBase` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&ndarray::ArrayBase<_, ndarray::dimension::dim::Dim<[usize; 1]>>` [INFO] [stdout] found reference `&ArrayBase, Dim<[usize; 1]>>` [INFO] [stdout] = note: perhaps two different versions of crate `ndarray` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `petal-clustering` [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/optics.rs:244:26 [INFO] [stdout] | [INFO] [stdout] 244 | db.query(&p, 2).1[1] [INFO] [stdout] | ^^ expected struct `ndarray::ArrayBase`, found struct `ArrayBase` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&ndarray::ArrayBase<_, ndarray::dimension::dim::Dim<[usize; 1]>>` [INFO] [stdout] found reference `&ArrayBase, Dim<[usize; 1]>>` [INFO] [stdout] = note: perhaps two different versions of crate `ndarray` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "374f80408e0db46f274c56c05a959c4e0caa1f377242d5563a4109bf8d1010cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "374f80408e0db46f274c56c05a959c4e0caa1f377242d5563a4109bf8d1010cf", kill_on_drop: false }` [INFO] [stdout] 374f80408e0db46f274c56c05a959c4e0caa1f377242d5563a4109bf8d1010cf