[INFO] fetching crate rust-optimal-transport 0.2.0... [INFO] testing rust-optimal-transport-0.2.0 against beta-2025-09-21 for beta-1.91-3 [INFO] extracting crate rust-optimal-transport 0.2.0 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate rust-optimal-transport 0.2.0 [INFO] removed 2 missing examples [INFO] finished tweaking crates.io crate rust-optimal-transport 0.2.0 [INFO] tweaked toml for crates.io crate rust-optimal-transport 0.2.0 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rust-optimal-transport 0.2.0 on toolchain beta-2025-09-21 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rust-optimal-transport 0.2.0 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" "+beta-2025-09-21" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9f815325a4949a027c9e51a3925e90c9e76dc09f43a52f73f268bd28268334ee [INFO] running `Command { std: "docker" "start" "-a" "9f815325a4949a027c9e51a3925e90c9e76dc09f43a52f73f268bd28268334ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9f815325a4949a027c9e51a3925e90c9e76dc09f43a52f73f268bd28268334ee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f815325a4949a027c9e51a3925e90c9e76dc09f43a52f73f268bd28268334ee", kill_on_drop: false }` [INFO] [stdout] 9f815325a4949a027c9e51a3925e90c9e76dc09f43a52f73f268bd28268334ee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 38e51d536bd9feff0e34048fbb37cc643167c7d8bb07f03fe0613477e0c2d418 [INFO] running `Command { std: "docker" "start" "-a" "38e51d536bd9feff0e34048fbb37cc643167c7d8bb07f03fe0613477e0c2d418", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling libm v0.2.1 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling syn v1.0.84 [INFO] [stderr] Compiling serde v1.0.133 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling rawpointer v0.2.1 [INFO] [stderr] Compiling scratch v1.0.1 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling cxxbridge-flags v1.0.62 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling matrixmultiply v0.3.2 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling anyhow v1.0.52 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling itertools v0.10.3 [INFO] [stderr] Compiling link-cplusplus v1.0.6 [INFO] [stderr] Compiling cxx v1.0.62 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling dirs-sys v0.3.6 [INFO] [stderr] Compiling cblas-sys v0.1.4 [INFO] [stderr] Compiling lapack-sys v0.12.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling dirs v3.0.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling approx v0.4.0 [INFO] [stderr] Compiling noisy_float v0.2.0 [INFO] [stderr] Compiling rand_distr v0.4.2 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling num-complex v0.4.0 [INFO] [stderr] Compiling ndarray v0.15.4 [INFO] [stderr] Compiling lapack v0.18.0 [INFO] [stderr] Compiling cauchy v0.4.0 [INFO] [stderr] Compiling cxx-build v1.0.62 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling cxxbridge-macro v1.0.62 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling openblas-build v0.1.1 [INFO] [stderr] Compiling openblas-src v0.10.4 [INFO] [stderr] Compiling rust-optimal-transport v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling ndarray-rand v0.14.0 [INFO] [stderr] Compiling ndarray_einsum_beta v0.7.0 [INFO] [stderr] Compiling ndarray-stats v0.5.0 [INFO] [stderr] Compiling lax v0.2.0 [INFO] [stderr] Compiling ndarray-linalg v0.14.1 [INFO] [stderr] warning: rust-optimal-transport@0.2.0: src/exact/fast_transport/EMD_wrapper.cpp: In function 'int EMD_wrap(int, int, double*, double*, double*, double*, double*, double*, double*, int)': [INFO] [stderr] warning: rust-optimal-transport@0.2.0: src/exact/fast_transport/EMD_wrapper.cpp:21:16: warning: unused variable 'i' [-Wunused-variable] [INFO] [stderr] warning: rust-optimal-transport@0.2.0: 21 | int n, m, i, cur; [INFO] [stderr] warning: rust-optimal-transport@0.2.0: | ^ [INFO] [stderr] warning: rust-optimal-transport@0.2.0: In file included from src/exact/fast_transport/full_bipartitegraph.h:29, [INFO] [stderr] warning: rust-optimal-transport@0.2.0: from src/exact/fast_transport/network_simplex_simple.h:64, [INFO] [stderr] warning: rust-optimal-transport@0.2.0: from src/exact/fast_transport/EMD.h:21, [INFO] [stderr] warning: rust-optimal-transport@0.2.0: from src/exact/fast_transport/EMD_wrapper.cpp:15: [INFO] [stderr] warning: rust-optimal-transport@0.2.0: src/exact/fast_transport/core.h:85:25: warning: typedef 'Node' locally defined but not used [-Wunused-local-typedefs] [INFO] [stderr] warning: rust-optimal-transport@0.2.0: 85 | typedef Digraph::Node Node; \ [INFO] [stderr] warning: rust-optimal-transport@0.2.0: | ^~~~ [INFO] [stderr] warning: rust-optimal-transport@0.2.0: src/exact/fast_transport/EMD_wrapper.cpp:24:5: note: in expansion of macro 'DIGRAPH_TYPEDEFS' [INFO] [stderr] warning: rust-optimal-transport@0.2.0: 24 | DIGRAPH_TYPEDEFS(FullBipartiteDigraph); [INFO] [stderr] warning: rust-optimal-transport@0.2.0: | ^~~~~~~~~~~~~~~~ [INFO] [stderr] warning: rust-optimal-transport@0.2.0: src/exact/fast_transport/network_simplex_simple.h: In instantiation of 'lemon::NetworkSimplexSimple::NetworkSimplexSimple(const GR&, bool, int, long long int, int) [with GR = lemon::FullBipartiteDigraph; V = double; C = double; NodesType = unsigned int]': [INFO] [stderr] warning: rust-optimal-transport@0.2.0: src/exact/fast_transport/EMD_wrapper.cpp:51:94: required from here [INFO] [stderr] warning: rust-optimal-transport@0.2.0: src/exact/fast_transport/network_simplex_simple.h:519:19: warning: 'lemon::NetworkSimplexSimple::_init_nb_arcs' will be initialized after [-Wreorder] [INFO] [stderr] warning: rust-optimal-transport@0.2.0: 519 | long long _init_nb_arcs; [INFO] [stderr] warning: rust-optimal-transport@0.2.0: | ^~~~~~~~~~~~~ [INFO] [stderr] warning: rust-optimal-transport@0.2.0: src/exact/fast_transport/network_simplex_simple.h:360:21: warning: 'const lemon::NetworkSimplexSimple::Value lemon::NetworkSimplexSimple::MAX' [-Wreorder] [INFO] [stderr] warning: rust-optimal-transport@0.2.0: 360 | const Value MAX; [INFO] [stderr] warning: rust-optimal-transport@0.2.0: | ^~~ [INFO] [stderr] warning: rust-optimal-transport@0.2.0: src/exact/fast_transport/network_simplex_simple.h:231:9: warning: when initialized here [-Wreorder] [INFO] [stderr] warning: rust-optimal-transport@0.2.0: 231 | NetworkSimplexSimple(const GR& graph, bool arc_mixing, int nbnodes, long long nb_arcs,int maxiters) : [INFO] [stderr] warning: rust-optimal-transport@0.2.0: | ^~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: rust-optimal-transport@0.2.0: src/exact/fast_transport/network_simplex_simple.h: In instantiation of 'lemon::NetworkSimplexSimple& lemon::NetworkSimplexSimple::supplyMap(const SupplyMap*, int, const SupplyMap*, int) [with SupplyMap = double; GR = lemon::FullBipartiteDigraph; V = double; C = double; NodesType = unsigned int]': [INFO] [stderr] warning: rust-optimal-transport@0.2.0: src/exact/fast_transport/EMD_wrapper.cpp:76:18: required from here [INFO] [stderr] warning: rust-optimal-transport@0.2.0: src/exact/fast_transport/network_simplex_simple.h:585:99: warning: unused parameter 'n2' [-Wunused-parameter] [INFO] [stderr] warning: rust-optimal-transport@0.2.0: 585 | NetworkSimplexSimple& supplyMap(const SupplyMap* map1, int n1, const SupplyMap* map2, int n2) { [INFO] [stderr] warning: rust-optimal-transport@0.2.0: | ~~~~^~ [INFO] [stdout] warning: function `center_ot_dual` is never used [INFO] [stdout] --> src/exact/utils.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn center_ot_dual( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `estimate_dual_null_weights` is never used [INFO] [stdout] --> src/exact/utils.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn estimate_dual_null_weights( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `M` should have a snake case name [INFO] [stdout] --> src/regularized/greenkhorn.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | M: &Array2, [INFO] [stdout] | ^ help: convert the identifier to snake case: `m` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `G` should have a snake case name [INFO] [stdout] --> src/regularized/greenkhorn.rs:143:13 [INFO] [stdout] | [INFO] [stdout] 143 | let mut G = &u.diag().t() * &k * &v.diag(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `M` should have a snake case name [INFO] [stdout] --> src/regularized/sinkhorn.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | M: &Array2, [INFO] [stdout] | ^ help: convert the identifier to snake case: `m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `M` should have a snake case name [INFO] [stdout] --> src/unbalanced/mod.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 127 | M: &Array2, [INFO] [stdout] | ^ help: convert the identifier to snake case: `m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_1D_gauss_histogram` should have a snake case name [INFO] [stdout] --> src/utils.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn get_1D_gauss_histogram( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_1_d_gauss_histogram` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sample_2D_gauss` should have a snake case name [INFO] [stdout] --> src/utils.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn sample_2D_gauss( [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `sample_2_d_gauss` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.44s [INFO] running `Command { std: "docker" "inspect" "38e51d536bd9feff0e34048fbb37cc643167c7d8bb07f03fe0613477e0c2d418", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "38e51d536bd9feff0e34048fbb37cc643167c7d8bb07f03fe0613477e0c2d418", kill_on_drop: false }` [INFO] [stdout] 38e51d536bd9feff0e34048fbb37cc643167c7d8bb07f03fe0613477e0c2d418 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=warn" "-e" "RUSTDOCFLAGS=--cap-lints=warn" "-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2025-09-21" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 83747abb3a69b572e7c693f17001b0eb6886765aa15482e10c1edb8fba2fbdec [INFO] running `Command { std: "docker" "start" "-a" "83747abb3a69b572e7c693f17001b0eb6886765aa15482e10c1edb8fba2fbdec", kill_on_drop: false }` [INFO] [stderr] Compiling pyo3-build-config v0.15.1 [INFO] [stderr] Compiling semver v1.0.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.6 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.6 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling serde_json v1.0.78 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling openblas-build v0.1.1 [INFO] [stderr] Compiling ryu v1.0.9 [INFO] [stderr] Compiling unindent v0.1.7 [INFO] [stderr] Compiling paste-impl v0.1.18 [INFO] [stderr] Compiling num_cpus v1.13.1 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling itoa v1.0.1 [INFO] [stderr] Compiling indoc-impl v0.3.6 [INFO] [stderr] Compiling serde_derive v1.0.136 [INFO] [stderr] Compiling plotters-backend v0.3.2 [INFO] [stderr] Compiling bstr v0.2.17 [INFO] [stderr] Compiling csv-core v0.1.10 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling rustc_version v0.4.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.2 [INFO] [stderr] Compiling indoc v0.3.6 [INFO] [stderr] Compiling plotters-svg v0.3.1 [INFO] [stderr] Compiling openblas-src v0.10.4 [INFO] [stderr] Compiling half v1.8.2 [INFO] [stderr] Compiling cxx-build v1.0.62 [INFO] [stderr] Compiling paste v0.1.18 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling csv v1.1.6 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling cast v0.2.7 [INFO] [stderr] Compiling plotters v0.3.1 [INFO] [stderr] Compiling oorandom v11.1.3 [INFO] [stderr] Compiling serde_cbor v0.11.2 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling criterion-plot v0.4.4 [INFO] [stderr] Compiling lax v0.2.0 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling pyo3-macros-backend v0.15.1 [INFO] [stderr] Compiling pyo3 v0.15.1 [INFO] [stderr] Compiling ndarray-linalg v0.14.1 [INFO] [stderr] Compiling rust-optimal-transport v0.2.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling pyo3-macros v0.15.1 [INFO] [stderr] Compiling criterion v0.3.5 [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `PyUnicode_READY` in module `ffi` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pyo3-0.15.1/src/types/string.rs:232:30 [INFO] [stdout] | [INFO] [stdout] 232 | let ready = ffi::PyUnicode_READY(ptr); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: a function with a similar name exists: `PyUnicode_IS_READY` [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pyo3-0.15.1/src/ffi/cpython/unicodeobject.rs:224:1 [INFO] [stdout] | [INFO] [stdout] 224 | pub unsafe fn PyUnicode_IS_READY(op: *mut PyObject) -> c_uint { [INFO] [stdout] | ------------------------------------------------------------- similarly named function `PyUnicode_IS_READY` defined here [INFO] [stdout] | [INFO] [stdout] note: found an item that was configured out [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/pyo3-0.15.1/src/ffi/cpython/unicodeobject.rs:232:15 [INFO] [stdout] | [INFO] [stdout] 228 | #[cfg(not(Py_3_12))] [INFO] [stdout] | --------- the item is gated here [INFO] [stdout] ... [INFO] [stdout] 232 | pub unsafe fn PyUnicode_READY(op: *mut PyObject) -> c_int { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: rust-optimal-transport@0.2.0: src/exact/fast_transport/EMD_wrapper.cpp: In function 'int EMD_wrap(int, int, double*, double*, double*, double*, double*, double*, double*, int)': [INFO] [stderr] warning: rust-optimal-transport@0.2.0: src/exact/fast_transport/EMD_wrapper.cpp:21:16: warning: unused variable 'i' [-Wunused-variable] [INFO] [stderr] warning: rust-optimal-transport@0.2.0: 21 | int n, m, i, cur; [INFO] [stderr] warning: rust-optimal-transport@0.2.0: | ^ [INFO] [stderr] warning: rust-optimal-transport@0.2.0: In file included from src/exact/fast_transport/full_bipartitegraph.h:29, [INFO] [stderr] warning: rust-optimal-transport@0.2.0: from src/exact/fast_transport/network_simplex_simple.h:64, [INFO] [stderr] warning: rust-optimal-transport@0.2.0: from src/exact/fast_transport/EMD.h:21, [INFO] [stderr] warning: rust-optimal-transport@0.2.0: from src/exact/fast_transport/EMD_wrapper.cpp:15: [INFO] [stderr] warning: rust-optimal-transport@0.2.0: src/exact/fast_transport/core.h:85:25: warning: typedef 'Node' locally defined but not used [-Wunused-local-typedefs] [INFO] [stderr] warning: rust-optimal-transport@0.2.0: 85 | typedef Digraph::Node Node; \ [INFO] [stderr] warning: rust-optimal-transport@0.2.0: | ^~~~ [INFO] [stderr] warning: rust-optimal-transport@0.2.0: src/exact/fast_transport/EMD_wrapper.cpp:24:5: note: in expansion of macro 'DIGRAPH_TYPEDEFS' [INFO] [stderr] warning: rust-optimal-transport@0.2.0: 24 | DIGRAPH_TYPEDEFS(FullBipartiteDigraph); [INFO] [stderr] warning: rust-optimal-transport@0.2.0: | ^~~~~~~~~~~~~~~~ [INFO] [stderr] warning: rust-optimal-transport@0.2.0: src/exact/fast_transport/network_simplex_simple.h: In instantiation of 'lemon::NetworkSimplexSimple::NetworkSimplexSimple(const GR&, bool, int, long long int, int) [with GR = lemon::FullBipartiteDigraph; V = double; C = double; NodesType = unsigned int]': [INFO] [stderr] warning: rust-optimal-transport@0.2.0: src/exact/fast_transport/EMD_wrapper.cpp:51:94: required from here [INFO] [stderr] warning: rust-optimal-transport@0.2.0: src/exact/fast_transport/network_simplex_simple.h:519:19: warning: 'lemon::NetworkSimplexSimple::_init_nb_arcs' will be initialized after [-Wreorder] [INFO] [stderr] warning: rust-optimal-transport@0.2.0: 519 | long long _init_nb_arcs; [INFO] [stderr] warning: rust-optimal-transport@0.2.0: | ^~~~~~~~~~~~~ [INFO] [stderr] warning: rust-optimal-transport@0.2.0: src/exact/fast_transport/network_simplex_simple.h:360:21: warning: 'const lemon::NetworkSimplexSimple::Value lemon::NetworkSimplexSimple::MAX' [-Wreorder] [INFO] [stderr] warning: rust-optimal-transport@0.2.0: 360 | const Value MAX; [INFO] [stderr] warning: rust-optimal-transport@0.2.0: | ^~~ [INFO] [stderr] warning: rust-optimal-transport@0.2.0: src/exact/fast_transport/network_simplex_simple.h:231:9: warning: when initialized here [-Wreorder] [INFO] [stderr] warning: rust-optimal-transport@0.2.0: 231 | NetworkSimplexSimple(const GR& graph, bool arc_mixing, int nbnodes, long long nb_arcs,int maxiters) : [INFO] [stderr] warning: rust-optimal-transport@0.2.0: | ^~~~~~~~~~~~~~~~~~~~ [INFO] [stderr] warning: rust-optimal-transport@0.2.0: src/exact/fast_transport/network_simplex_simple.h: In instantiation of 'lemon::NetworkSimplexSimple& lemon::NetworkSimplexSimple::supplyMap(const SupplyMap*, int, const SupplyMap*, int) [with SupplyMap = double; GR = lemon::FullBipartiteDigraph; V = double; C = double; NodesType = unsigned int]': [INFO] [stderr] warning: rust-optimal-transport@0.2.0: src/exact/fast_transport/EMD_wrapper.cpp:76:18: required from here [INFO] [stderr] warning: rust-optimal-transport@0.2.0: src/exact/fast_transport/network_simplex_simple.h:585:99: warning: unused parameter 'n2' [-Wunused-parameter] [INFO] [stderr] warning: rust-optimal-transport@0.2.0: 585 | NetworkSimplexSimple& supplyMap(const SupplyMap* map1, int n1, const SupplyMap* map2, int n2) { [INFO] [stderr] warning: rust-optimal-transport@0.2.0: | ~~~~^~ [INFO] [stdout] warning: function `center_ot_dual` is never used [INFO] [stdout] --> src/exact/utils.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn center_ot_dual( [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `estimate_dual_null_weights` is never used [INFO] [stdout] --> src/exact/utils.rs:52:8 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn estimate_dual_null_weights( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `M` should have a snake case name [INFO] [stdout] --> src/regularized/greenkhorn.rs:116:5 [INFO] [stdout] | [INFO] [stdout] 116 | M: &Array2, [INFO] [stdout] | ^ help: convert the identifier to snake case: `m` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `G` should have a snake case name [INFO] [stdout] --> src/regularized/greenkhorn.rs:143:13 [INFO] [stdout] | [INFO] [stdout] 143 | let mut G = &u.diag().t() * &k * &v.diag(); [INFO] [stdout] | ^ help: convert the identifier to snake case: `g` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `M` should have a snake case name [INFO] [stdout] --> src/regularized/sinkhorn.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 109 | M: &Array2, [INFO] [stdout] | ^ help: convert the identifier to snake case: `m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `M` should have a snake case name [INFO] [stdout] --> src/unbalanced/mod.rs:127:5 [INFO] [stdout] | [INFO] [stdout] 127 | M: &Array2, [INFO] [stdout] | ^ help: convert the identifier to snake case: `m` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_1D_gauss_histogram` should have a snake case name [INFO] [stdout] --> src/utils.rs:22:8 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn get_1D_gauss_histogram( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_1_d_gauss_histogram` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sample_2D_gauss` should have a snake case name [INFO] [stdout] --> src/utils.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn sample_2D_gauss( [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `sample_2_d_gauss` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0425`. [INFO] [stdout] [INFO] [stderr] error: could not compile `pyo3` (lib) due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "83747abb3a69b572e7c693f17001b0eb6886765aa15482e10c1edb8fba2fbdec", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "83747abb3a69b572e7c693f17001b0eb6886765aa15482e10c1edb8fba2fbdec", kill_on_drop: false }` [INFO] [stdout] 83747abb3a69b572e7c693f17001b0eb6886765aa15482e10c1edb8fba2fbdec