[INFO] fetching crate optimal-transport 0.2.0... [INFO] checking optimal-transport-0.2.0 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate optimal-transport 0.2.0 into /workspace/builds/worker-59/source [INFO] validating manifest of crates.io crate optimal-transport 0.2.0 on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate optimal-transport 0.2.0 [INFO] finished tweaking crates.io crate optimal-transport 0.2.0 [INFO] tweaked toml for crates.io crate optimal-transport 0.2.0 written to /workspace/builds/worker-59/source/Cargo.toml [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-59/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-59/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7a82f3c753e7ea3e93e46b3861f1f34d6fd9f36a8c9cfa8c28af13c6d54a2c53 [INFO] running `Command { std: "docker" "start" "-a" "7a82f3c753e7ea3e93e46b3861f1f34d6fd9f36a8c9cfa8c28af13c6d54a2c53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7a82f3c753e7ea3e93e46b3861f1f34d6fd9f36a8c9cfa8c28af13c6d54a2c53", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7a82f3c753e7ea3e93e46b3861f1f34d6fd9f36a8c9cfa8c28af13c6d54a2c53", kill_on_drop: false }` [INFO] [stdout] 7a82f3c753e7ea3e93e46b3861f1f34d6fd9f36a8c9cfa8c28af13c6d54a2c53 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-59/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-59/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 89c38472f1ddc709b8cdf05fb12e48e84281c3b5fe94c6b17dce274bd6f51e77 [INFO] running `Command { std: "docker" "start" "-a" "89c38472f1ddc709b8cdf05fb12e48e84281c3b5fe94c6b17dce274bd6f51e77", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Compiling libc v0.2.100 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Compiling unindent v0.1.7 [INFO] [stderr] Compiling inventory v0.1.10 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling pyo3 v0.11.1 [INFO] [stderr] Compiling ndarray v0.13.1 [INFO] [stderr] Checking float-ord v0.2.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Checking matrixmultiply v0.3.1 [INFO] [stderr] Checking matrixmultiply v0.2.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling mcmf v2.0.0 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Compiling paste-impl v0.1.18 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking num-complex v0.4.0 [INFO] [stderr] Checking paste v0.1.18 [INFO] [stderr] Checking ndarray v0.15.3 [INFO] [stderr] Compiling pyo3-derive-backend v0.11.1 [INFO] [stderr] Compiling ghost v0.1.2 [INFO] [stderr] Compiling ctor v0.1.20 [INFO] [stderr] Compiling indoc-impl v0.3.6 [INFO] [stderr] Compiling inventory-impl v0.1.10 [INFO] [stderr] Compiling pyo3cls v0.11.1 [INFO] [stderr] Checking indoc v0.3.6 [INFO] [stderr] Checking numpy v0.11.0 [INFO] [stderr] Checking optimal-transport v0.2.0 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2018 edition to 2021 [INFO] [stdout] warning: unused import: `array` [INFO] [stdout] --> src/lp_solver.rs:1:38 [INFO] [stdout] | [INFO] [stdout] 1 | use ndarray::{Array, Array1, Array2, array}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:13:54 [INFO] [stdout] | [INFO] [stdout] 13 | let (cost, transport_plan) = impl_calculate_1D_ot(&a.to_owned_array(), &b.to_owned_array(), &cost.to_owned_array()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ expected struct `ArrayBase`, found struct `ndarray::ArrayBase` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&ArrayBase, Dim<[usize; 1]>>` [INFO] [stdout] found reference `&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[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:13:75 [INFO] [stdout] | [INFO] [stdout] 13 | let (cost, transport_plan) = impl_calculate_1D_ot(&a.to_owned_array(), &b.to_owned_array(), &cost.to_owned_array()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ expected struct `ArrayBase`, found struct `ndarray::ArrayBase` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&ArrayBase, Dim<[usize; 1]>>` [INFO] [stdout] found reference `&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[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:13:96 [INFO] [stdout] | [INFO] [stdout] 13 | let (cost, transport_plan) = impl_calculate_1D_ot(&a.to_owned_array(), &b.to_owned_array(), &cost.to_owned_array()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ expected struct `ArrayBase`, found struct `ndarray::ArrayBase` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&ArrayBase, Dim<[usize; 2]>>` [INFO] [stdout] found reference `&ndarray::ArrayBase, ndarray::dimension::dim::Dim<[usize; 2]>>` [INFO] [stdout] = note: perhaps two different versions of crate `ndarray` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_pyarray` found for struct `ArrayBase` in the current scope [INFO] [stdout] --> src/lib.rs:14:29 [INFO] [stdout] | [INFO] [stdout] 14 | Ok((cost, transport_plan.into_pyarray(py).to_owned())) [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `ArrayBase, Dim<[usize; 2]>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:19:39 [INFO] [stdout] | [INFO] [stdout] 19 | let transport_plan = impl_sinkhorn(a.to_owned_array(), b.to_owned_array(), cost.to_owned_array(), reg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected struct `ArrayBase`, found struct `ndarray::ArrayBase` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `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[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:19:59 [INFO] [stdout] | [INFO] [stdout] 19 | let transport_plan = impl_sinkhorn(a.to_owned_array(), b.to_owned_array(), cost.to_owned_array(), reg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected struct `ArrayBase`, found struct `ndarray::ArrayBase` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `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[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:19:79 [INFO] [stdout] | [INFO] [stdout] 19 | let transport_plan = impl_sinkhorn(a.to_owned_array(), b.to_owned_array(), cost.to_owned_array(), reg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ expected struct `ArrayBase`, found struct `ndarray::ArrayBase` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `ArrayBase, Dim<[usize; 2]>>` [INFO] [stdout] found struct `ndarray::ArrayBase, ndarray::dimension::dim::Dim<[usize; 2]>>` [INFO] [stdout] = note: perhaps two different versions of crate `ndarray` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_pyarray` found for struct `ArrayBase` in the current scope [INFO] [stdout] --> src/lib.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | Ok(transport_plan.into_pyarray(py).to_owned()) [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `ArrayBase, Dim<[usize; 2]>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `numpy::convert::IntoPyArray` [INFO] [stdout] --> src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use numpy::convert::IntoPyArray; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `optimal-transport` due to 9 previous errors; 2 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `array` [INFO] [stdout] --> src/lp_solver.rs:1:38 [INFO] [stdout] | [INFO] [stdout] 1 | use ndarray::{Array, Array1, Array2, array}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:13:54 [INFO] [stdout] | [INFO] [stdout] 13 | let (cost, transport_plan) = impl_calculate_1D_ot(&a.to_owned_array(), &b.to_owned_array(), &cost.to_owned_array()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ expected struct `ArrayBase`, found struct `ndarray::ArrayBase` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&ArrayBase, Dim<[usize; 1]>>` [INFO] [stdout] found reference `&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[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:13:75 [INFO] [stdout] | [INFO] [stdout] 13 | let (cost, transport_plan) = impl_calculate_1D_ot(&a.to_owned_array(), &b.to_owned_array(), &cost.to_owned_array()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ expected struct `ArrayBase`, found struct `ndarray::ArrayBase` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&ArrayBase, Dim<[usize; 1]>>` [INFO] [stdout] found reference `&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[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:13:96 [INFO] [stdout] | [INFO] [stdout] 13 | let (cost, transport_plan) = impl_calculate_1D_ot(&a.to_owned_array(), &b.to_owned_array(), &cost.to_owned_array()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ expected struct `ArrayBase`, found struct `ndarray::ArrayBase` [INFO] [stdout] | [INFO] [stdout] = note: expected reference `&ArrayBase, Dim<[usize; 2]>>` [INFO] [stdout] found reference `&ndarray::ArrayBase, ndarray::dimension::dim::Dim<[usize; 2]>>` [INFO] [stdout] = note: perhaps two different versions of crate `ndarray` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_pyarray` found for struct `ArrayBase` in the current scope [INFO] [stdout] --> src/lib.rs:14:29 [INFO] [stdout] | [INFO] [stdout] 14 | Ok((cost, transport_plan.into_pyarray(py).to_owned())) [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `ArrayBase, Dim<[usize; 2]>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:19:39 [INFO] [stdout] | [INFO] [stdout] 19 | let transport_plan = impl_sinkhorn(a.to_owned_array(), b.to_owned_array(), cost.to_owned_array(), reg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected struct `ArrayBase`, found struct `ndarray::ArrayBase` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `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[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:19:59 [INFO] [stdout] | [INFO] [stdout] 19 | let transport_plan = impl_sinkhorn(a.to_owned_array(), b.to_owned_array(), cost.to_owned_array(), reg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ expected struct `ArrayBase`, found struct `ndarray::ArrayBase` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `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[E0308]: mismatched types [INFO] [stdout] --> src/lib.rs:19:79 [INFO] [stdout] | [INFO] [stdout] 19 | let transport_plan = impl_sinkhorn(a.to_owned_array(), b.to_owned_array(), cost.to_owned_array(), reg); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ expected struct `ArrayBase`, found struct `ndarray::ArrayBase` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `ArrayBase, Dim<[usize; 2]>>` [INFO] [stdout] found struct `ndarray::ArrayBase, ndarray::dimension::dim::Dim<[usize; 2]>>` [INFO] [stdout] = note: perhaps two different versions of crate `ndarray` are being used? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `into_pyarray` found for struct `ArrayBase` in the current scope [INFO] [stdout] --> src/lib.rs:20:22 [INFO] [stdout] | [INFO] [stdout] 20 | Ok(transport_plan.into_pyarray(py).to_owned()) [INFO] [stdout] | ^^^^^^^^^^^^ method not found in `ArrayBase, Dim<[usize; 2]>>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `numpy::convert::IntoPyArray` [INFO] [stdout] --> src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use numpy::convert::IntoPyArray; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "89c38472f1ddc709b8cdf05fb12e48e84281c3b5fe94c6b17dce274bd6f51e77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "89c38472f1ddc709b8cdf05fb12e48e84281c3b5fe94c6b17dce274bd6f51e77", kill_on_drop: false }` [INFO] [stdout] 89c38472f1ddc709b8cdf05fb12e48e84281c3b5fe94c6b17dce274bd6f51e77