[INFO] fetching crate linfa-kernel 0.3.1... [INFO] checking linfa-kernel-0.3.1 against master#836c31742687ba4e2f857b5b698e1e9e6b67619c for pr-81789 [INFO] extracting crate linfa-kernel 0.3.1 into /workspace/builds/worker-10/source [INFO] validating manifest of crates.io crate linfa-kernel 0.3.1 on toolchain 836c31742687ba4e2f857b5b698e1e9e6b67619c [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+836c31742687ba4e2f857b5b698e1e9e6b67619c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate linfa-kernel 0.3.1 [INFO] finished tweaking crates.io crate linfa-kernel 0.3.1 [INFO] tweaked toml for crates.io crate linfa-kernel 0.3.1 written to /workspace/builds/worker-10/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+836c31742687ba4e2f857b5b698e1e9e6b67619c" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+836c31742687ba4e2f857b5b698e1e9e6b67619c" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "+836c31742687ba4e2f857b5b698e1e9e6b67619c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d87fc399917b334e1f74af91fcc2bd5f207a28d72127af0ce9c0d684aaf002ea [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" "d87fc399917b334e1f74af91fcc2bd5f207a28d72127af0ce9c0d684aaf002ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d87fc399917b334e1f74af91fcc2bd5f207a28d72127af0ce9c0d684aaf002ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d87fc399917b334e1f74af91fcc2bd5f207a28d72127af0ce9c0d684aaf002ea", kill_on_drop: false }` [INFO] [stdout] d87fc399917b334e1f74af91fcc2bd5f207a28d72127af0ce9c0d684aaf002ea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "+836c31742687ba4e2f857b5b698e1e9e6b67619c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 459f25f28ccd753b9519b1025112fb0d6b70654c7b24a9053d77c942113fa9fb [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" "459f25f28ccd753b9519b1025112fb0d6b70654c7b24a9053d77c942113fa9fb", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.93 [INFO] [stderr] Compiling typenum v1.13.0 [INFO] [stderr] Compiling ndarray v0.14.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling thiserror-impl v1.0.24 [INFO] [stderr] Checking num-integer v0.1.44 [INFO] [stderr] Checking num-complex v0.2.4 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking num-complex v0.3.1 [INFO] [stderr] Checking getrandom v0.1.16 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking thiserror v1.0.24 [INFO] [stderr] Checking rand_pcg v0.2.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking generic-array v0.13.3 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking ndarray v0.13.1 [INFO] [stderr] Checking hnsw v0.6.1 [INFO] [stderr] Checking sprs v0.9.4 [INFO] [stderr] Checking linfa v0.3.1 [INFO] [stderr] Checking linfa-kernel v0.3.1 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: cannot multiply `&CsMatBase, Vec, Vec>` by `&ndarray::ArrayBase, Dim<[usize; 2]>>` [INFO] [stdout] --> src/inner.rs:65:14 [INFO] [stdout] | [INFO] [stdout] 65 | self.mul(rhs) [INFO] [stdout] | ^^^ no implementation for `&CsMatBase, Vec, Vec> * &ndarray::ArrayBase, Dim<[usize; 2]>>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Mul<&ndarray::ArrayBase, Dim<[usize; 2]>>>` is not implemented for `&CsMatBase, Vec, Vec>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot multiply `&CsMatBase` by `&ndarray::ArrayBase, Dim<[usize; 2]>>` [INFO] [stdout] --> src/inner.rs:110:14 [INFO] [stdout] | [INFO] [stdout] 110 | self.mul(rhs) [INFO] [stdout] | ^^^ no implementation for `&CsMatBase * &ndarray::ArrayBase, Dim<[usize; 2]>>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `Mul<&ndarray::ArrayBase, Dim<[usize; 2]>>>` is not implemented for `&CsMatBase` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `linfa-kernel` [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] error[E0277]: cannot multiply `&CsMatBase, Vec, Vec>` by `&ndarray::ArrayBase, Dim<[usize; 2]>>` [INFO] [stdout] --> src/lib.rs:716:76 [INFO] [stdout] | [INFO] [stdout] 716 | let mul_mat = sparse_from_fn(&input_arr, 3, &KernelMethod::Linear).mul(&to_multiply.view()); [INFO] [stdout] | ^^^ no implementation for `&CsMatBase, Vec, Vec> * &ndarray::ArrayBase, Dim<[usize; 2]>>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Mul<&ndarray::ArrayBase, Dim<[usize; 2]>>>` is not implemented for `&CsMatBase, Vec, Vec>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:800:23 [INFO] [stdout] | [INFO] [stdout] 800 | .sum_axis(Axis(1)); [INFO] [stdout] | ^^^^^^^ expected struct `ndarray::dimension::axis::Axis`, found struct `ndarray::Axis` [INFO] [stdout] | [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/lib.rs:806:37 [INFO] [stdout] | [INFO] [stdout] 806 | assert!(arrays_almost_equal(cols_sum.view(), kers_sum.view())); [INFO] [stdout] | ^^^^^^^^^^^^^^^ expected struct `ndarray::ArrayBase`, found a different struct `ndarray::ArrayBase` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `ndarray::ArrayBase, Dim<[usize; 1]>>` [INFO] [stdout] found struct `ndarray::ArrayBase, ndarray::dimension::dim::Dim<[usize; 1]>>` [INFO] [stdout] = note: perhaps two different versions of crate `ndarray` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot multiply `&CsMatBase, Vec, Vec>` by `&ndarray::ArrayBase, Dim<[usize; 2]>>` [INFO] [stdout] --> src/inner.rs:65:14 [INFO] [stdout] | [INFO] [stdout] 65 | self.mul(rhs) [INFO] [stdout] | ^^^ no implementation for `&CsMatBase, Vec, Vec> * &ndarray::ArrayBase, Dim<[usize; 2]>>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Mul<&ndarray::ArrayBase, Dim<[usize; 2]>>>` is not implemented for `&CsMatBase, Vec, Vec>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot multiply `&CsMatBase` by `&ndarray::ArrayBase, Dim<[usize; 2]>>` [INFO] [stdout] --> src/inner.rs:110:14 [INFO] [stdout] | [INFO] [stdout] 110 | self.mul(rhs) [INFO] [stdout] | ^^^ no implementation for `&CsMatBase * &ndarray::ArrayBase, Dim<[usize; 2]>>` [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Mul<&ndarray::ArrayBase, Dim<[usize; 2]>>>` is not implemented for `&CsMatBase` [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" "459f25f28ccd753b9519b1025112fb0d6b70654c7b24a9053d77c942113fa9fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "459f25f28ccd753b9519b1025112fb0d6b70654c7b24a9053d77c942113fa9fb", kill_on_drop: false }` [INFO] [stdout] 459f25f28ccd753b9519b1025112fb0d6b70654c7b24a9053d77c942113fa9fb