[INFO] fetching crate linfa-kernel 0.7.0... [INFO] checking linfa-kernel-0.7.0 against master#a3f76a26e045a760bb1163b7eab36872985242d5 for pr-130930 [INFO] extracting crate linfa-kernel 0.7.0 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate linfa-kernel 0.7.0 on toolchain a3f76a26e045a760bb1163b7eab36872985242d5 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a3f76a26e045a760bb1163b7eab36872985242d5" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate linfa-kernel 0.7.0 [INFO] finished tweaking crates.io crate linfa-kernel 0.7.0 [INFO] tweaked toml for crates.io crate linfa-kernel 0.7.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a3f76a26e045a760bb1163b7eab36872985242d5" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 42 packages to latest compatible versions [INFO] [stderr] Adding approx v0.4.0 (available: v0.5.1) [INFO] [stderr] Adding hashbrown v0.12.3 (available: v0.14.5) [INFO] [stderr] Adding indexmap v1.9.3 (available: v2.5.0) [INFO] [stderr] Adding itertools v0.10.5 (available: v0.13.0) [INFO] [stderr] Adding kdtree v0.6.0 (available: v0.7.0) [INFO] [stderr] Adding ndarray v0.15.6 (available: v0.16.1) [INFO] [stderr] Adding ndarray-stats v0.5.1 (available: v0.6.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a3f76a26e045a760bb1163b7eab36872985242d5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded portable-atomic-util v0.2.2 [INFO] [stderr] Downloaded kdtree v0.6.0 [INFO] [stderr] Downloaded ndarray-stats v0.5.1 [INFO] [stderr] Downloaded sprs v0.11.2 [INFO] [stderr] Downloaded noisy_float v0.2.0 [INFO] [stderr] Downloaded linfa v0.7.0 [INFO] [stderr] Downloaded linfa-nn v0.7.0 [INFO] [stderr] Downloaded ndarray v0.16.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+a3f76a26e045a760bb1163b7eab36872985242d5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 468fbc3cb4b594695d297f811ccfb5fd56114b4e52cbf775bed62bfb2a6d29da [INFO] running `Command { std: "docker" "start" "-a" "468fbc3cb4b594695d297f811ccfb5fd56114b4e52cbf775bed62bfb2a6d29da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "468fbc3cb4b594695d297f811ccfb5fd56114b4e52cbf775bed62bfb2a6d29da", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "468fbc3cb4b594695d297f811ccfb5fd56114b4e52cbf775bed62bfb2a6d29da", kill_on_drop: false }` [INFO] [stdout] 468fbc3cb4b594695d297f811ccfb5fd56114b4e52cbf775bed62bfb2a6d29da [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+a3f76a26e045a760bb1163b7eab36872985242d5" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 413c17b5e25228c1211ef1a350a41ac8a5ea469e62cd0438ab7839b53e36b8e8 [INFO] running `Command { std: "docker" "start" "-a" "413c17b5e25228c1211ef1a350a41ac8a5ea469e62cd0438ab7839b53e36b8e8", kill_on_drop: false }` [INFO] [stderr] Compiling matrixmultiply v0.3.9 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling linfa v0.7.0 [INFO] [stderr] Checking order-stat v0.1.3 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking approx v0.4.0 [INFO] [stderr] Checking noisy_float v0.2.0 [INFO] [stderr] Checking kdtree v0.6.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking ndarray v0.16.1 [INFO] [stderr] Checking ndarray v0.15.6 [INFO] [stderr] Checking sprs v0.11.2 [INFO] [stderr] Checking ndarray-stats v0.5.1 [INFO] [stderr] Checking linfa-nn v0.7.0 [INFO] [stderr] Checking linfa-kernel v0.7.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0277]: cannot multiply `&CsMatBase, Vec, Vec>` by `&ndarray::ArrayBase, Dim<[usize; 2]>>` [INFO] [stdout] --> src/inner.rs:64:18 [INFO] [stdout] | [INFO] [stdout] 64 | self.mul(rhs) [INFO] [stdout] | --- ^^^ no implementation for `&CsMatBase, Vec, Vec> * &ndarray::ArrayBase, Dim<[usize; 2]>>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `Mul<&ndarray::ArrayBase, Dim<[usize; 2]>>>` is not implemented for `&CsMatBase, Vec, Vec>` [INFO] [stdout] = help: the following other types implement trait `Mul`: [INFO] [stdout] `&CsMatBase` implements `Mul<&ndarray::ArrayBase>>` [INFO] [stdout] `&CsMatBase` implements `Mul<&ndarray::ArrayBase>>` [INFO] [stdout] `&CsMatBase` implements `Mul<&CsMatBase>` [INFO] [stdout] `&CsMatBase` implements `Mul<&CsVecBase>` [INFO] [stdout] `&CsMatBase` implements `Mul` [INFO] [stdout] `&CsMatBase` implements `Mul` [INFO] [stdout] `&CsMatBase` implements `Mul` [INFO] [stdout] `&CsMatBase` implements `Mul` [INFO] [stdout] and 8 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot multiply `&CsMatBase` by `&ndarray::ArrayBase, Dim<[usize; 2]>>` [INFO] [stdout] --> src/inner.rs:109:18 [INFO] [stdout] | [INFO] [stdout] 109 | self.mul(rhs) [INFO] [stdout] | --- ^^^ no implementation for `&CsMatBase * &ndarray::ArrayBase, Dim<[usize; 2]>>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `Mul<&ndarray::ArrayBase, Dim<[usize; 2]>>>` is not implemented for `&CsMatBase` [INFO] [stdout] = help: the following other types implement trait `Mul`: [INFO] [stdout] `&CsMatBase` implements `Mul<&ndarray::ArrayBase>>` [INFO] [stdout] `&CsMatBase` implements `Mul<&ndarray::ArrayBase>>` [INFO] [stdout] `&CsMatBase` implements `Mul<&CsMatBase>` [INFO] [stdout] `&CsMatBase` implements `Mul<&CsVecBase>` [INFO] [stdout] `&CsMatBase` implements `Mul` [INFO] [stdout] `&CsMatBase` implements `Mul` [INFO] [stdout] `&CsMatBase` implements `Mul` [INFO] [stdout] `&CsMatBase` implements `Mul` [INFO] [stdout] and 8 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot multiply `&CsMatBase, Vec, Vec>` by `&ndarray::ArrayBase, Dim<[usize; 2]>>` [INFO] [stdout] --> src/inner.rs:64:18 [INFO] [stdout] | [INFO] [stdout] 64 | self.mul(rhs) [INFO] [stdout] | --- ^^^ no implementation for `&CsMatBase, Vec, Vec> * &ndarray::ArrayBase, Dim<[usize; 2]>>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Mul<&ndarray::ArrayBase, Dim<[usize; 2]>>>` is not implemented for `&CsMatBase, Vec, Vec>` [INFO] [stdout] = help: the following other types implement trait `std::ops::Mul`: [INFO] [stdout] `&CsMatBase` implements `std::ops::Mul<&ndarray::ArrayBase>>` [INFO] [stdout] `&CsMatBase` implements `std::ops::Mul<&ndarray::ArrayBase>>` [INFO] [stdout] `&CsMatBase` implements `std::ops::Mul<&CsMatBase>` [INFO] [stdout] `&CsMatBase` implements `std::ops::Mul<&CsVecBase>` [INFO] [stdout] `&CsMatBase` implements `std::ops::Mul` [INFO] [stdout] `&CsMatBase` implements `std::ops::Mul` [INFO] [stdout] `&CsMatBase` implements `std::ops::Mul` [INFO] [stdout] `&CsMatBase` implements `std::ops::Mul` [INFO] [stdout] and 8 others [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: cannot multiply `&CsMatBase` by `&ndarray::ArrayBase, Dim<[usize; 2]>>` [INFO] [stdout] --> src/inner.rs:109:18 [INFO] [stdout] | [INFO] [stdout] 109 | self.mul(rhs) [INFO] [stdout] | --- ^^^ no implementation for `&CsMatBase * &ndarray::ArrayBase, Dim<[usize; 2]>>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Mul<&ndarray::ArrayBase, Dim<[usize; 2]>>>` is not implemented for `&CsMatBase` [INFO] [stdout] = help: the following other types implement trait `std::ops::Mul`: [INFO] [stdout] `&CsMatBase` implements `std::ops::Mul<&ndarray::ArrayBase>>` [INFO] [stdout] `&CsMatBase` implements `std::ops::Mul<&ndarray::ArrayBase>>` [INFO] [stdout] `&CsMatBase` implements `std::ops::Mul<&CsMatBase>` [INFO] [stdout] `&CsMatBase` implements `std::ops::Mul<&CsVecBase>` [INFO] [stdout] `&CsMatBase` implements `std::ops::Mul` [INFO] [stdout] `&CsMatBase` implements `std::ops::Mul` [INFO] [stdout] `&CsMatBase` implements `std::ops::Mul` [INFO] [stdout] `&CsMatBase` implements `std::ops::Mul` [INFO] [stdout] and 8 others [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] [stdout] error[E0277]: cannot multiply `&CsMatBase, Vec, Vec>` by `&ndarray::ArrayBase, Dim<[usize; 2]>>` [INFO] [stdout] --> src/lib.rs:704:79 [INFO] [stdout] | [INFO] [stdout] 704 | sparse_from_fn(&input_arr, 3, &KernelMethod::Linear, &KdTree).mul(&to_multiply.view()); [INFO] [stdout] | --- ^^^^^^^^^^^^^^^^^^^ no implementation for `&CsMatBase, Vec, Vec> * &ndarray::ArrayBase, Dim<[usize; 2]>>` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] = help: the trait `std::ops::Mul<&ndarray::ArrayBase, Dim<[usize; 2]>>>` is not implemented for `&CsMatBase, Vec, Vec>` [INFO] [stdout] = help: the following other types implement trait `std::ops::Mul`: [INFO] [stdout] `&CsMatBase` implements `std::ops::Mul<&ndarray::ArrayBase>>` [INFO] [stdout] `&CsMatBase` implements `std::ops::Mul<&ndarray::ArrayBase>>` [INFO] [stdout] `&CsMatBase` implements `std::ops::Mul<&CsMatBase>` [INFO] [stdout] `&CsMatBase` implements `std::ops::Mul<&CsVecBase>` [INFO] [stdout] `&CsMatBase` implements `std::ops::Mul` [INFO] [stdout] `&CsMatBase` implements `std::ops::Mul` [INFO] [stdout] `&CsMatBase` implements `std::ops::Mul` [INFO] [stdout] `&CsMatBase` implements `std::ops::Mul` [INFO] [stdout] and 8 others [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `linfa-kernel` (lib) due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:789:23 [INFO] [stdout] | [INFO] [stdout] 789 | .sum_axis(Axis(1)); [INFO] [stdout] | -------- ^^^^^^^ expected `ndarray::dimension::axis::Axis`, found `ndarray::Axis` [INFO] [stdout] | | [INFO] [stdout] | arguments to this method are incorrect [INFO] [stdout] | [INFO] [stdout] = note: `ndarray::Axis` and `ndarray::dimension::axis::Axis` have similar names, but are actually distinct types [INFO] [stdout] note: `ndarray::Axis` is defined in crate `ndarray` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ndarray-0.15.6/src/dimension/axis.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Axis(pub usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] note: `ndarray::dimension::axis::Axis` is defined in crate `ndarray` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ndarray-0.16.1/src/dimension/axis.rs:27:1 [INFO] [stdout] | [INFO] [stdout] 27 | pub struct Axis(pub usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `ndarray` are being used? [INFO] [stdout] note: method defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ndarray-0.16.1/src/numeric/impl_numeric.rs:230:12 [INFO] [stdout] | [INFO] [stdout] 230 | pub fn sum_axis(&self, axis: Axis) -> Array [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:795:37 [INFO] [stdout] | [INFO] [stdout] 795 | assert!(arrays_almost_equal(cols_sum.view(), kers_sum.view())); [INFO] [stdout] | ------------------- ^^^^^^^^^^^^^^^ expected `ArrayBase, Dim<...>>`, found a different `ArrayBase, Dim<...>>` [INFO] [stdout] | | [INFO] [stdout] | arguments to this function are incorrect [INFO] [stdout] | [INFO] [stdout] = note: `ArrayBase, Dim<...>>` and `ArrayBase, Dim<...>>` have similar names, but are actually distinct types [INFO] [stdout] note: `ArrayBase, Dim<...>>` is defined in crate `ndarray` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ndarray-0.16.1/src/lib.rs:1280:1 [INFO] [stdout] | [INFO] [stdout] 1280 | pub struct ArrayBase [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] note: `ArrayBase, Dim<...>>` is defined in crate `ndarray` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/ndarray-0.15.6/src/lib.rs:1268:1 [INFO] [stdout] | [INFO] [stdout] 1268 | pub struct ArrayBase [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: perhaps two different versions of crate `ndarray` are being used? [INFO] [stdout] note: function defined here [INFO] [stdout] --> src/lib.rs:1009:8 [INFO] [stdout] | [INFO] [stdout] 1009 | fn arrays_almost_equal(reference: ArrayView1, transformed: ArrayView1) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ -------------------------- [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: could not compile `linfa-kernel` (lib test) due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "413c17b5e25228c1211ef1a350a41ac8a5ea469e62cd0438ab7839b53e36b8e8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "413c17b5e25228c1211ef1a350a41ac8a5ea469e62cd0438ab7839b53e36b8e8", kill_on_drop: false }` [INFO] [stdout] 413c17b5e25228c1211ef1a350a41ac8a5ea469e62cd0438ab7839b53e36b8e8