[INFO] fetching crate orx-funvec 0.1.6... [INFO] testing orx-funvec-0.1.6 against try#c2e32f1c9652b13ed99608599c1e855462f421f3 for pr-146098-8 [INFO] extracting crate orx-funvec 0.1.6 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate orx-funvec 0.1.6 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate orx-funvec 0.1.6 [INFO] tweaked toml for crates.io crate orx-funvec 0.1.6 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate orx-funvec 0.1.6 on toolchain c2e32f1c9652b13ed99608599c1e855462f421f3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 76 packages to latest compatible versions [INFO] [stderr] Adding criterion v0.5.1 (available: v0.7.0) [INFO] [stderr] Adding derive-new v0.6.0 (available: v0.7.0) [INFO] [stderr] Adding ndarray v0.15.6 (available: v0.17.1) [INFO] [stderr] Adding orx-closure v0.1.4 (available: v0.2.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 641cb1d22d7bbe547935d1426b4bc63a50b36953351469f355a3c50d39a05703 [INFO] running `Command { std: "docker" "start" "-a" "641cb1d22d7bbe547935d1426b4bc63a50b36953351469f355a3c50d39a05703", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "641cb1d22d7bbe547935d1426b4bc63a50b36953351469f355a3c50d39a05703", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "641cb1d22d7bbe547935d1426b4bc63a50b36953351469f355a3c50d39a05703", kill_on_drop: false }` [INFO] [stdout] 641cb1d22d7bbe547935d1426b4bc63a50b36953351469f355a3c50d39a05703 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 36b74f2458298ad3a3218592bdf2af318168eafac1379fdf5b12d899cf434025 [INFO] running `Command { std: "docker" "start" "-a" "36b74f2458298ad3a3218592bdf2af318168eafac1379fdf5b12d899cf434025", kill_on_drop: false }` [INFO] [stderr] Compiling orx-closure v0.1.4 [INFO] [stderr] Compiling derive-new v0.6.0 [INFO] [stderr] Compiling orx-funvec v0.1.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/funvec_ref.rs:371:9 [INFO] [stdout] | [INFO] [stdout] 371 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 372 | indices: IdxIter, [INFO] [stdout] 373 | ) -> IterOverRefs [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 373 | ) -> IterOverRefs<'_, DIM, T, Idx, IdxIter, Self> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/funvec_val.rs:437:9 [INFO] [stdout] | [INFO] [stdout] 437 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 438 | indices: IdxIter, [INFO] [stdout] 439 | ) -> IterOverValues [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 439 | ) -> IterOverValues<'_, DIM, T, Idx, IdxIter, Self> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.60s [INFO] running `Command { std: "docker" "inspect" "36b74f2458298ad3a3218592bdf2af318168eafac1379fdf5b12d899cf434025", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "36b74f2458298ad3a3218592bdf2af318168eafac1379fdf5b12d899cf434025", kill_on_drop: false }` [INFO] [stdout] 36b74f2458298ad3a3218592bdf2af318168eafac1379fdf5b12d899cf434025 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] aaebc5e24df81753ea6e3c920f95c94b1c24a079d351d0f19336c0bdc35cad08 [INFO] running `Command { std: "docker" "start" "-a" "aaebc5e24df81753ea6e3c920f95c94b1c24a079d351d0f19336c0bdc35cad08", kill_on_drop: false }` [INFO] [stderr] Compiling regex-syntax v0.8.8 [INFO] [stderr] Compiling clap_builder v4.5.51 [INFO] [stderr] Compiling anes v0.1.6 [INFO] [stderr] Compiling syn v2.0.110 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling plotters v0.3.7 [INFO] [stderr] Compiling regex-automata v0.4.13 [INFO] [stderr] Compiling clap v4.5.51 [INFO] [stderr] Compiling regex v1.12.2 [INFO] [stderr] Compiling test-case-core v3.3.1 [INFO] [stderr] Compiling zerocopy-derive v0.8.27 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling derive-new v0.6.0 [INFO] [stderr] Compiling test-case-macros v3.3.1 [INFO] [stderr] Compiling orx-funvec v0.1.6 (/opt/rustwide/workdir) [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/funvec_ref.rs:371:9 [INFO] [stdout] | [INFO] [stdout] 371 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 372 | indices: IdxIter, [INFO] [stdout] 373 | ) -> IterOverRefs [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 373 | ) -> IterOverRefs<'_, DIM, T, Idx, IdxIter, Self> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/funvec_val.rs:437:9 [INFO] [stdout] | [INFO] [stdout] 437 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 438 | indices: IdxIter, [INFO] [stdout] 439 | ) -> IterOverValues [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 439 | ) -> IterOverValues<'_, DIM, T, Idx, IdxIter, Self> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling test-case v3.3.1 [INFO] [stderr] Compiling zerocopy v0.8.27 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling half v2.7.1 [INFO] [stderr] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling ciborium-ll v0.2.2 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling criterion v0.5.1 [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/funvec_ref.rs:371:9 [INFO] [stdout] | [INFO] [stdout] 371 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 372 | indices: IdxIter, [INFO] [stdout] 373 | ) -> IterOverRefs [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 373 | ) -> IterOverRefs<'_, DIM, T, Idx, IdxIter, Self> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/funvec_val.rs:437:9 [INFO] [stdout] | [INFO] [stdout] 437 | &self, [INFO] [stdout] | ^^^^^ the lifetime is elided here [INFO] [stdout] 438 | indices: IdxIter, [INFO] [stdout] 439 | ) -> IterOverValues [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 439 | ) -> IterOverValues<'_, DIM, T, Idx, IdxIter, Self> [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 17.02s [INFO] running `Command { std: "docker" "inspect" "aaebc5e24df81753ea6e3c920f95c94b1c24a079d351d0f19336c0bdc35cad08", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aaebc5e24df81753ea6e3c920f95c94b1c24a079d351d0f19336c0bdc35cad08", kill_on_drop: false }` [INFO] [stdout] aaebc5e24df81753ea6e3c920f95c94b1c24a079d351d0f19336c0bdc35cad08 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+c2e32f1c9652b13ed99608599c1e855462f421f3" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] c86d5d181d0ac311ae159a5cfa10ecc584d471b604c5aa2f48333fde0066ace0 [INFO] running `Command { std: "docker" "start" "-a" "c86d5d181d0ac311ae159a5cfa10ecc584d471b604c5aa2f48333fde0066ace0", kill_on_drop: false }` [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/funvec_ref.rs:371:9 [INFO] [stderr] | [INFO] [stderr] 371 | &self, [INFO] [stderr] | ^^^^^ the lifetime is elided here [INFO] [stderr] 372 | indices: IdxIter, [INFO] [stderr] 373 | ) -> IterOverRefs [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 373 | ) -> IterOverRefs<'_, DIM, T, Idx, IdxIter, Self> [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stderr] --> src/funvec_val.rs:437:9 [INFO] [stderr] | [INFO] [stderr] 437 | &self, [INFO] [stderr] | ^^^^^ the lifetime is elided here [INFO] [stderr] 438 | indices: IdxIter, [INFO] [stderr] 439 | ) -> IterOverValues [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stderr] | [INFO] [stderr] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stderr] help: use `'_` for type paths [INFO] [stderr] | [INFO] [stderr] 439 | ) -> IterOverValues<'_, DIM, T, Idx, IdxIter, Self> [INFO] [stderr] | +++ [INFO] [stderr] [INFO] [stderr] warning: `orx-funvec` (lib) generated 2 warnings (run `cargo fix --lib -p orx-funvec` to apply 2 suggestions) [INFO] [stderr] warning: `orx-funvec` (lib test) generated 2 warnings (2 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/orx_funvec-f01993a9858b5d6d) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/d1.rs (/opt/rustwide/target/debug/deps/d1-371819bc1d376159) [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test box_dyn_fn ... ok [INFO] [stdout] test btreemap ... ok [INFO] [stdout] test closure_no_capture ... ok [INFO] [stdout] test closure_capture ... ok [INFO] [stdout] test empty_vec ... ok [INFO] [stdout] test vec ... ok [INFO] [stdout] test hashmap ... ok [INFO] [stdout] test scalars_as_vec ... ok [INFO] [stderr] Running tests/mcnf.rs (/opt/rustwide/target/debug/deps/mcnf-943d74e0bd87c81e) [INFO] [stdout] test array ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.01s [INFO] [stdout] [INFO] [stderr] Doc-tests orx_funvec [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test multi_commodity_mcnf ... ok [INFO] [stdout] test shortest_num_edges ... ok [INFO] [stdout] test shortest_distance ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 3 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 33 tests [INFO] [stdout] test src/empty_vec.rs - empty_vec::EmptyVec (line 9) ... ok [INFO] [stdout] test src/empty_vec.rs - empty_vec::EmptyVec (line 17) ... ok [INFO] [stdout] test src/empty_vec.rs - empty_vec::EmptyVec (line 53) ... ok [INFO] [stdout] test src/funvec_ref.rs - funvec_ref::FunVecRef::ref_iter_over (line 248) ... ok [INFO] [stdout] test src/empty_vec.rs - empty_vec::EmptyVec (line 42) ... ok [INFO] [stdout] test src/funvec_ref.rs - funvec_ref::FunVecRef::ref_at (line 180) ... ok [INFO] [stdout] test src/funvec_val.rs - funvec_val::FunVec (line 51) ... ok [INFO] [stdout] test src/funvec_val.rs - funvec_val::FunVec (line 14) ... ok [INFO] [stdout] test src/funvec_val.rs - funvec_val::FunVec::at (line 207) ... ok [INFO] [stdout] test src/funvec_ref.rs - funvec_ref::FunVecRef::ref_at (line 118) ... ok [INFO] [stdout] test src/empty_vec.rs - empty_vec::EmptyVec (line 28) ... ok [INFO] [stdout] test src/index.rs - index::IntoIndex::into_index (line 13) ... ok [INFO] [stdout] test src/funvec_val.rs - funvec_val::FunVec (line 133) ... ok [INFO] [stdout] test src/lib.rs - (line 361) ... FAILED [INFO] [stdout] test src/lib.rs - (line 149) ... FAILED [INFO] [stdout] test src/funvec_ref.rs - funvec_ref::FunVecRef (line 12) ... ok [INFO] [stdout] test src/funvec_val.rs - funvec_val::FunVec::iter_over (line 322) ... ok [INFO] [stdout] test src/lib.rs - (line 281) ... FAILED [INFO] [stdout] test src/lib.rs - (line 350) ... FAILED [INFO] [stdout] test src/lib.rs - (line 202) ... FAILED [INFO] [stdout] test src/lib.rs - (line 11) ... FAILED [INFO] [stdout] test src/lib.rs - (line 320) ... ok [INFO] [stdout] test src/index.rs - index::FromIndex::from_index (line 44) ... ok [INFO] [stdout] test src/lib.rs - (line 84) ... ok [INFO] [stdout] test src/scalar_as_vec.rs - scalar_as_vec::ScalarAsVec (line 17) ... ok [INFO] [stdout] test src/scalar_as_vec.rs - scalar_as_vec::ScalarAsVec (line 8) ... ok [INFO] [stdout] test src/funvec_ref.rs - funvec_ref::FunVecRef::ref_iter_over (line 302) ... ok [INFO] [stdout] test src/scalar_as_vec.rs - scalar_as_vec::ScalarAsVec (line 46) ... ok [INFO] [stdout] test src/scalar_as_vec.rs - scalar_as_vec::ScalarAsVec (line 57) ... ok [INFO] [stdout] test src/scalar_as_vec.rs - scalar_as_vec::ScalarAsVec (line 30) ... ok [INFO] [stdout] test src/funvec_ref.rs - funvec_ref::FunVecRef (line 48) ... ok [INFO] [stdout] test src/funvec_val.rs - funvec_val::FunVec::at (line 238) ... ok [INFO] [stdout] test src/funvec_val.rs - funvec_val::FunVec::iter_over (line 351) ... ok [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- src/lib.rs - (line 361) stdout ---- [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Capture` in this scope [INFO] [stdout] --> src/lib.rs:366:15 [INFO] [stdout] | [INFO] [stdout] 366 | let demands = Capture((source, sink)).fun(|(s, t), i: usize| match (i == *s, i == *t) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 361 + use orx_closure::Capture; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ScalarAsVec` in this scope [INFO] [stdout] --> src/lib.rs:376:18 [INFO] [stdout] | [INFO] [stdout] 376 | let capacities = ScalarAsVec(1); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 361 + use orx_funvec::ScalarAsVec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `N` in this scope [INFO] [stdout] --> src/lib.rs:384:13 [INFO] [stdout] | [INFO] [stdout] 384 | assert_eq!((N * N) as i32, result.sum_capacities); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a const parameter [INFO] [stdout] | [INFO] [stdout] 361 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_361_0() { [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `N` in this scope [INFO] [stdout] --> src/lib.rs:384:17 [INFO] [stdout] | [INFO] [stdout] 384 | assert_eq!((N * N) as i32, result.sum_capacities); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a const parameter [INFO] [stdout] | [INFO] [stdout] 361 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_361_0() { [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DistanceProvider` [INFO] [stdout] --> src/lib.rs:373:13 [INFO] [stdout] | [INFO] [stdout] 373 | let costs = DistanceProvider::default(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `DistanceProvider` [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FakeMcnfSolver` [INFO] [stdout] --> src/lib.rs:379:14 [INFO] [stdout] | [INFO] [stdout] 379 | let solver = FakeMcnfSolver::new(demands, costs, capacities); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `FakeMcnfSolver` [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 149) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `N` in this scope [INFO] [stdout] --> src/lib.rs:191:13 [INFO] [stdout] | [INFO] [stdout] 191 | assert_eq!((N * (N - 1) * 100) as i32, result.sum_capacities); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a const parameter [INFO] [stdout] | [INFO] [stdout] 149 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_149_0() { [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `N` in this scope [INFO] [stdout] --> src/lib.rs:191:18 [INFO] [stdout] | [INFO] [stdout] 191 | assert_eq!((N * (N - 1) * 100) as i32, result.sum_capacities); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a const parameter [INFO] [stdout] | [INFO] [stdout] 149 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_149_0() { [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FakeMcnfSolver` [INFO] [stdout] --> src/lib.rs:186:14 [INFO] [stdout] | [INFO] [stdout] 186 | let solver = FakeMcnfSolver::new(demands, costs, capacities); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `FakeMcnfSolver` [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0425`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 281) stdout ---- [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Capture` in this scope [INFO] [stdout] --> src/lib.rs:286:15 [INFO] [stdout] | [INFO] [stdout] 286 | let demands = Capture((source, sink)).fun(|(s, t), i: usize| match (i == *s, i == *t) { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 281 + use orx_closure::Capture; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Capture` in this scope [INFO] [stdout] --> src/lib.rs:294:13 [INFO] [stdout] | [INFO] [stdout] 294 | let costs = Capture(locations).fun(|loc, (i, j): (usize, usize)| { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 281 + use orx_closure::Capture; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `ScalarAsVec` in this scope [INFO] [stdout] --> src/lib.rs:301:18 [INFO] [stdout] | [INFO] [stdout] 301 | let capacities = ScalarAsVec(1); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple struct [INFO] [stdout] | [INFO] [stdout] 281 + use orx_funvec::ScalarAsVec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `N` in this scope [INFO] [stdout] --> src/lib.rs:309:13 [INFO] [stdout] | [INFO] [stdout] 309 | assert_eq!((N * N) as i32, result.sum_capacities); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a const parameter [INFO] [stdout] | [INFO] [stdout] 281 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_281_0() { [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `N` in this scope [INFO] [stdout] --> src/lib.rs:309:17 [INFO] [stdout] | [INFO] [stdout] 309 | assert_eq!((N * N) as i32, result.sum_capacities); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a const parameter [INFO] [stdout] | [INFO] [stdout] 281 | fn main() { #[allow(non_snake_case)] fn _doctest_main_src_lib_rs_281_0() { [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0282]: type annotations needed [INFO] [stdout] --> src/lib.rs:294:37 [INFO] [stdout] | [INFO] [stdout] 294 | let costs = Capture(locations).fun(|loc, (i, j): (usize, usize)| { [INFO] [stdout] | ^^^ [INFO] [stdout] 295 | loc.get(i) [INFO] [stdout] | --- type must be known at this point [INFO] [stdout] | [INFO] [stdout] help: consider giving this closure parameter an explicit type [INFO] [stdout] | [INFO] [stdout] 294 | let costs = Capture(locations).fun(|loc: /* Type */, (i, j): (usize, usize)| { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `get_euclidean_distance` in this scope [INFO] [stdout] --> src/lib.rs:297:25 [INFO] [stdout] | [INFO] [stdout] 297 | .map(|(l1, l2)| get_euclidean_distance(*l1, *l2)) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FakeMcnfSolver` [INFO] [stdout] --> src/lib.rs:304:14 [INFO] [stdout] | [INFO] [stdout] 304 | let solver = FakeMcnfSolver::new(demands, costs, capacities); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `FakeMcnfSolver` [INFO] [stdout] [INFO] [stdout] error: aborting due to 8 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0282, E0425, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0282`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 350) stdout ---- [INFO] [stdout] error[E0405]: cannot find trait `FunVec` in this scope [INFO] [stdout] --> src/lib.rs:351:6 [INFO] [stdout] | [INFO] [stdout] 351 | impl FunVec<2, Unit> for DistanceProvider { [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 350 + use orx_funvec::FunVec; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Unit` in this scope [INFO] [stdout] --> src/lib.rs:351:16 [INFO] [stdout] | [INFO] [stdout] 351 | impl FunVec<2, Unit> for DistanceProvider { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 351 | impl FunVec<2, Unit> for DistanceProvider { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DistanceProvider` in this scope [INFO] [stdout] --> src/lib.rs:351:26 [INFO] [stdout] | [INFO] [stdout] 351 | impl FunVec<2, Unit> for DistanceProvider { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `IntoIndex` in this scope [INFO] [stdout] --> src/lib.rs:352:16 [INFO] [stdout] | [INFO] [stdout] 352 | fn at>(&self, index: Idx) -> Option { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 350 + use orx_funvec::IntoIndex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Unit` in this scope [INFO] [stdout] --> src/lib.rs:352:59 [INFO] [stdout] | [INFO] [stdout] 352 | fn at>(&self, index: Idx) -> Option { [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 351 | impl FunVec<2, Unit> for DistanceProvider { [INFO] [stdout] | ++++++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 202) stdout ---- [INFO] [stdout] error[E0412]: cannot find type `Unit` in this scope [INFO] [stdout] --> src/lib.rs:216:13 [INFO] [stdout] | [INFO] [stdout] 216 | amount: Unit, [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `FakeMcnfSolver` [INFO] [stdout] --> src/lib.rs:265:14 [INFO] [stdout] | [INFO] [stdout] 265 | let solver = FakeMcnfSolver::new(demands, costs, capacities); [INFO] [stdout] | ^^^^^^^^^^^^^^ use of undeclared type `FakeMcnfSolver` [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433. [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] ---- src/lib.rs - (line 11) stdout ---- [INFO] [stdout] error: expected one of `!`, `+`, `::`, `where`, or `{`, found `}` [INFO] [stdout] --> src/lib.rs:13:1 [INFO] [stdout] | [INFO] [stdout] 12 | fn at>(&self, index: Idx) -> Option [INFO] [stdout] | -- while parsing this `fn` - expected one of `!`, `+`, `::`, `where`, or `{` [INFO] [stdout] 13 | } _doctest_main_src_lib_rs_11_0() } [INFO] [stdout] | ^ unexpected token [INFO] [stdout] [INFO] [stdout] error: free function without a body [INFO] [stdout] --> src/lib.rs:12:1 [INFO] [stdout] | [INFO] [stdout] 12 | fn at>(&self, index: Idx) -> Option [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^- help: provide a definition for the function: `{ }` [INFO] [stdout] [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> src/lib.rs:12:28 [INFO] [stdout] | [INFO] [stdout] 12 | fn at>(&self, index: Idx) -> Option [INFO] [stdout] | ^^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `IntoIndex` in this scope [INFO] [stdout] --> src/lib.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | fn at>(&self, index: Idx) -> Option [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this trait [INFO] [stdout] | [INFO] [stdout] 11 + use orx_funvec::IntoIndex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DIM` in this scope [INFO] [stdout] --> src/lib.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | fn at>(&self, index: Idx) -> Option [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `T` in this scope [INFO] [stdout] --> src/lib.rs:12:57 [INFO] [stdout] | [INFO] [stdout] 12 | fn at>(&self, index: Idx) -> Option [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 12 | fn at, T>(&self, index: Idx) -> Option [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412. [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] Couldn't compile the test. [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] src/lib.rs - (line 11) [INFO] [stdout] src/lib.rs - (line 149) [INFO] [stdout] src/lib.rs - (line 202) [INFO] [stdout] src/lib.rs - (line 281) [INFO] [stdout] src/lib.rs - (line 350) [INFO] [stdout] src/lib.rs - (line 361) [INFO] [stdout] [INFO] [stdout] test result: FAILED. 27 passed; 6 failed; 0 ignored; 0 measured; 0 filtered out; finished in 1.72s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "c86d5d181d0ac311ae159a5cfa10ecc584d471b604c5aa2f48333fde0066ace0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c86d5d181d0ac311ae159a5cfa10ecc584d471b604c5aa2f48333fde0066ace0", kill_on_drop: false }` [INFO] [stdout] c86d5d181d0ac311ae159a5cfa10ecc584d471b604c5aa2f48333fde0066ace0