[INFO] fetching crate orx-funvec 0.1.6... [INFO] testing orx-funvec-0.1.6 against master#562dee4820c458d823175268e41601d4c060588a for pr-154210-2 [INFO] extracting crate orx-funvec 0.1.6 into /workspace/builds/worker-4-tc1/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-4-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate orx-funvec 0.1.6 on toolchain 562dee4820c458d823175268e41601d4c060588a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "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" "+562dee4820c458d823175268e41601d4c060588a" "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.8.2) [INFO] [stderr] Adding derive-new v0.6.0 (available: v0.7.0) [INFO] [stderr] Adding ndarray v0.15.6 (available: v0.17.2) [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" "+562dee4820c458d823175268e41601d4c060588a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded derive-new v0.6.0 [INFO] [stderr] Downloaded orx-closure v0.1.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] fe1da2c49ce119fe801332b82b6200734e00693c688d53b6d27819bb1a3d1ffb [INFO] running `Command { std: "docker" "start" "-a" "fe1da2c49ce119fe801332b82b6200734e00693c688d53b6d27819bb1a3d1ffb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "fe1da2c49ce119fe801332b82b6200734e00693c688d53b6d27819bb1a3d1ffb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "fe1da2c49ce119fe801332b82b6200734e00693c688d53b6d27819bb1a3d1ffb", kill_on_drop: false }` [INFO] [stdout] fe1da2c49ce119fe801332b82b6200734e00693c688d53b6d27819bb1a3d1ffb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 80476ee94bb65314a7d3700cb61d57b203382f398a269348c65ba429a3a446f0 [INFO] running `Command { std: "docker" "start" "-a" "80476ee94bb65314a7d3700cb61d57b203382f398a269348c65ba429a3a446f0", kill_on_drop: false }` [INFO] [stderr] Compiling syn v2.0.117 [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 3.10s [INFO] running `Command { std: "docker" "inspect" "80476ee94bb65314a7d3700cb61d57b203382f398a269348c65ba429a3a446f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "80476ee94bb65314a7d3700cb61d57b203382f398a269348c65ba429a3a446f0", kill_on_drop: false }` [INFO] [stdout] 80476ee94bb65314a7d3700cb61d57b203382f398a269348c65ba429a3a446f0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 97b1f8f2742b54b566606045b608f03fe17c8d780e33aa9dba8d8680f87b3a79 [INFO] running `Command { std: "docker" "start" "-a" "97b1f8f2742b54b566606045b608f03fe17c8d780e33aa9dba8d8680f87b3a79", kill_on_drop: false }` [INFO] [stderr] Compiling zerocopy v0.8.48 [INFO] [stderr] Compiling clap_builder v4.6.0 [INFO] [stderr] Compiling itertools v0.10.5 [INFO] [stderr] Compiling serde_json v1.0.149 [INFO] [stderr] Compiling is-terminal v0.4.17 [INFO] [stderr] Compiling zerocopy-derive v0.8.48 [INFO] [stderr] Compiling test-case-core v3.3.1 [INFO] [stderr] Compiling derive-new v0.6.0 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling rayon v1.12.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] Compiling tinytemplate v1.2.1 [INFO] [stderr] Compiling test-case-macros v3.3.1 [INFO] [stderr] Compiling test-case v3.3.1 [INFO] [stderr] Compiling criterion-plot v0.5.0 [INFO] [stderr] Compiling clap v4.6.1 [INFO] [stderr] Compiling half v2.7.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 16.92s [INFO] running `Command { std: "docker" "inspect" "97b1f8f2742b54b566606045b608f03fe17c8d780e33aa9dba8d8680f87b3a79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97b1f8f2742b54b566606045b608f03fe17c8d780e33aa9dba8d8680f87b3a79", kill_on_drop: false }` [INFO] [stdout] 97b1f8f2742b54b566606045b608f03fe17c8d780e33aa9dba8d8680f87b3a79 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+562dee4820c458d823175268e41601d4c060588a" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] b9a92708d0bf3436ab72528eb467451ffe1897b45dd5fdd88410a1b96821f6dc [INFO] running `Command { std: "docker" "start" "-a" "b9a92708d0bf3436ab72528eb467451ffe1897b45dd5fdd88410a1b96821f6dc", 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.10s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/orx_funvec-6e9c0f7b4bbda31f) [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-9d8a656409316b6b) [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test array ... ok [INFO] [stdout] test btreemap ... ok [INFO] [stdout] test closure_capture ... ok [INFO] [stdout] test closure_no_capture ... ok [INFO] [stdout] test empty_vec ... ok [INFO] [stdout] test box_dyn_fn ... ok [INFO] [stdout] test hashmap ... ok [INFO] [stdout] test scalars_as_vec ... ok [INFO] [stdout] test vec ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 9 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running tests/mcnf.rs (/opt/rustwide/target/debug/deps/mcnf-a9f2e7a5e408998d) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test shortest_num_edges ... ok [INFO] [stdout] test shortest_distance ... ok [INFO] [stdout] test multi_commodity_mcnf ... 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] [stderr] Doc-tests orx_funvec [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 28) ... 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 53) ... ok [INFO] [stdout] test src/empty_vec.rs - empty_vec::EmptyVec (line 17) ... 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::at (line 207) ... ok [INFO] [stdout] test src/funvec_ref.rs - funvec_ref::FunVecRef (line 12) ... ok [INFO] [stdout] test src/empty_vec.rs - empty_vec::EmptyVec (line 42) ... ok [INFO] [stdout] test src/funvec_ref.rs - funvec_ref::FunVecRef (line 48) ... ok [INFO] [stdout] test src/funvec_ref.rs - funvec_ref::FunVecRef::ref_at (line 118) ... ok [INFO] [stdout] test src/funvec_val.rs - funvec_val::FunVec (line 14) ... ok [INFO] [stdout] test src/index.rs - index::IntoIndex::into_index (line 13) ... ok [INFO] [stdout] test src/lib.rs - (line 281) ... FAILED [INFO] [stdout] test src/lib.rs - (line 202) ... FAILED [INFO] [stdout] test src/lib.rs - (line 350) ... FAILED [INFO] [stdout] test src/funvec_val.rs - funvec_val::FunVec::iter_over (line 322) ... ok [INFO] [stdout] test src/lib.rs - (line 149) ... FAILED [INFO] [stdout] test src/lib.rs - (line 11) ... FAILED [INFO] [stdout] test src/scalar_as_vec.rs - scalar_as_vec::ScalarAsVec (line 17) ... ok [INFO] [stdout] test src/lib.rs - (line 320) ... 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/scalar_as_vec.rs - scalar_as_vec::ScalarAsVec (line 30) ... ok [INFO] [stdout] test src/lib.rs - (line 361) ... FAILED [INFO] [stdout] test src/funvec_val.rs - funvec_val::FunVec (line 133) ... ok [INFO] [stdout] test src/scalar_as_vec.rs - scalar_as_vec::ScalarAsVec (line 46) ... 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 57) ... 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 8) ... 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 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[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]: cannot find type `FakeMcnfSolver` in this scope [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 7 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 202) stdout ---- [INFO] [stdout] error[E0425]: 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]: cannot find type `FakeMcnfSolver` in this scope [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: 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 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[E0425]: 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[E0425]: 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[E0425]: 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, E0425. [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 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]: cannot find type `FakeMcnfSolver` in this scope [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 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[E0425]: 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[E0425]: 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, E0425. [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 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]: cannot find type `DistanceProvider` in this scope [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]: cannot find type `FakeMcnfSolver` in this scope [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] [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.78s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "b9a92708d0bf3436ab72528eb467451ffe1897b45dd5fdd88410a1b96821f6dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b9a92708d0bf3436ab72528eb467451ffe1897b45dd5fdd88410a1b96821f6dc", kill_on_drop: false }` [INFO] [stdout] b9a92708d0bf3436ab72528eb467451ffe1897b45dd5fdd88410a1b96821f6dc