[INFO] fetching crate orx-funvec 0.1.6... [INFO] testing orx-funvec-0.1.6 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate orx-funvec 0.1.6 into /workspace/builds/worker-5-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-5-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate orx-funvec 0.1.6 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 94 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.16.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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded orx-closure v0.1.4 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f695786e5d9d1a9beae4501dd8a1f5fcf89c93f787e9cec6f0075d9d0a2c2861 [INFO] running `Command { std: "docker" "start" "-a" "f695786e5d9d1a9beae4501dd8a1f5fcf89c93f787e9cec6f0075d9d0a2c2861", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f695786e5d9d1a9beae4501dd8a1f5fcf89c93f787e9cec6f0075d9d0a2c2861", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f695786e5d9d1a9beae4501dd8a1f5fcf89c93f787e9cec6f0075d9d0a2c2861", kill_on_drop: false }` [INFO] [stdout] f695786e5d9d1a9beae4501dd8a1f5fcf89c93f787e9cec6f0075d9d0a2c2861 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 49e1338341ea4eb6186fc1527c2889b36c940217ef6e0852e7b8ec7bf0a6683b [INFO] running `Command { std: "docker" "start" "-a" "49e1338341ea4eb6186fc1527c2889b36c940217ef6e0852e7b8ec7bf0a6683b", 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.95s [INFO] running `Command { std: "docker" "inspect" "49e1338341ea4eb6186fc1527c2889b36c940217ef6e0852e7b8ec7bf0a6683b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49e1338341ea4eb6186fc1527c2889b36c940217ef6e0852e7b8ec7bf0a6683b", kill_on_drop: false }` [INFO] [stdout] 49e1338341ea4eb6186fc1527c2889b36c940217ef6e0852e7b8ec7bf0a6683b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4d76c293ea88aafc0e2b56aa6c85a59484dd9d4b0ed79d6ae65e592f4a26f1b5 [INFO] running `Command { std: "docker" "start" "-a" "4d76c293ea88aafc0e2b56aa6c85a59484dd9d4b0ed79d6ae65e592f4a26f1b5", kill_on_drop: false }` [INFO] [stderr] Compiling test-case-core v3.3.1 [INFO] [stderr] Compiling derive-new v0.6.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Compiling orx-funvec v0.1.6 (/opt/rustwide/workdir) [INFO] [stderr] Compiling test-case-macros v3.3.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] Compiling test-case v3.3.1 [INFO] [stderr] Compiling serde_json v1.0.143 [INFO] [stderr] Compiling ciborium v0.2.2 [INFO] [stderr] Compiling tinytemplate v1.2.1 [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 13.04s [INFO] running `Command { std: "docker" "inspect" "4d76c293ea88aafc0e2b56aa6c85a59484dd9d4b0ed79d6ae65e592f4a26f1b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4d76c293ea88aafc0e2b56aa6c85a59484dd9d4b0ed79d6ae65e592f4a26f1b5", kill_on_drop: false }` [INFO] [stdout] 4d76c293ea88aafc0e2b56aa6c85a59484dd9d4b0ed79d6ae65e592f4a26f1b5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] cdde760926947ed35f5c1441a7b940654f199a393298abd96b75ca9361eb3b03 [INFO] running `Command { std: "docker" "start" "-a" "cdde760926947ed35f5c1441a7b940654f199a393298abd96b75ca9361eb3b03", 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.12s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/orx_funvec-644635a55e7b93ce) [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-e8b892fffae090d1) [INFO] [stdout] [INFO] [stdout] running 9 tests [INFO] [stdout] test array ... ok [INFO] [stdout] test btreemap ... ok [INFO] [stdout] test box_dyn_fn ... ok [INFO] [stdout] test closure_no_capture ... ok [INFO] [stdout] test empty_vec ... ok [INFO] [stdout] test hashmap ... ok [INFO] [stdout] test vec ... ok [INFO] [stdout] test closure_capture ... ok [INFO] [stdout] test scalars_as_vec ... 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] Running tests/mcnf.rs (/opt/rustwide/target/debug/deps/mcnf-cb82142d63d3fe69) [INFO] [stdout] [INFO] [stdout] running 3 tests [INFO] [stdout] test shortest_num_edges ... ok [INFO] [stdout] test multi_commodity_mcnf ... 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] [stderr] Doc-tests orx_funvec [INFO] [stdout] [INFO] [stdout] running 33 tests [INFO] [stdout] test src/empty_vec.rs - empty_vec::EmptyVec (line 53) ... ok [INFO] [stdout] test src/empty_vec.rs - empty_vec::EmptyVec (line 42) ... ok [INFO] [stdout] test src/empty_vec.rs - empty_vec::EmptyVec (line 28) ... 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 17) ... ok [INFO] [stdout] test src/empty_vec.rs - empty_vec::EmptyVec (line 9) ... 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/index.rs - index::FromIndex::from_index (line 44) ... ok [INFO] [stdout] test src/funvec_ref.rs - funvec_ref::FunVecRef::ref_at (line 118) ... ok [INFO] [stdout] test src/funvec_ref.rs - funvec_ref::FunVecRef::ref_iter_over (line 248) ... ok [INFO] [stdout] test src/funvec_val.rs - funvec_val::FunVec::iter_over (line 322) ... ok [INFO] [stdout] test src/funvec_ref.rs - funvec_ref::FunVecRef (line 48) ... ok [INFO] [stdout] test src/funvec_val.rs - funvec_val::FunVec (line 133) ... ok [INFO] [stdout] test src/funvec_val.rs - funvec_val::FunVec::at (line 207) ... ok [INFO] [stdout] test src/lib.rs - (line 281) ... FAILED [INFO] [stdout] test src/lib.rs - (line 320) ... ok [INFO] [stdout] test src/lib.rs - (line 149) ... FAILED [INFO] [stdout] test src/funvec_val.rs - funvec_val::FunVec::at (line 238) ... ok [INFO] [stdout] test src/lib.rs - (line 11) ... FAILED [INFO] [stdout] test src/lib.rs - (line 202) ... FAILED [INFO] [stdout] test src/lib.rs - (line 361) ... FAILED [INFO] [stdout] test src/funvec_val.rs - funvec_val::FunVec (line 51) ... ok [INFO] [stdout] test src/lib.rs - (line 84) ... ok [INFO] [stdout] test src/funvec_ref.rs - funvec_ref::FunVecRef::ref_at (line 180) ... 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] test src/lib.rs - (line 350) ... FAILED [INFO] [stdout] test src/scalar_as_vec.rs - scalar_as_vec::ScalarAsVec (line 30) ... 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 17) ... ok [INFO] [stdout] test src/funvec_ref.rs - funvec_ref::FunVecRef::ref_iter_over (line 302) ... 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] 7 | 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] 2 + 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] 15 | 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] 2 + 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] 22 | 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] 2 + 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] 30 | 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] 2 | 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] 30 | 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] 2 | 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] 18 | .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] 25 | 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 149) stdout ---- [INFO] [stdout] error[E0425]: cannot find value `N` in this scope [INFO] [stdout] --> src/lib.rs:191:13 [INFO] [stdout] | [INFO] [stdout] 44 | 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] 2 | 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] 44 | 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] 2 | 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] 39 | 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] 3 | fn at>(&self, index: Idx) -> Option [INFO] [stdout] | -- while parsing this `fn` - expected one of `!`, `+`, `::`, `where`, or `{` [INFO] [stdout] 4 | } _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] 3 | 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] 3 | 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] 3 | 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] 2 + 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] 3 | 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] 3 | 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] 3 | 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] ---- 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] 16 | 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] 65 | 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 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] 7 | 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] 2 + 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] 17 | 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] 2 + 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] 25 | 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] 2 | 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] 25 | 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] 2 | 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] 14 | 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] 20 | 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 350) stdout ---- [INFO] [stdout] error[E0405]: cannot find trait `FunVec` in this scope [INFO] [stdout] --> src/lib.rs:351:6 [INFO] [stdout] | [INFO] [stdout] 3 | 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] 2 + 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] 3 | 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] 3 | 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] 3 | 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] 4 | 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] 2 + 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] 4 | 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] 3 | 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] [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 3.18s [INFO] [stdout] [INFO] [stderr] error: doctest failed, to rerun pass `--doc` [INFO] running `Command { std: "docker" "inspect" "cdde760926947ed35f5c1441a7b940654f199a393298abd96b75ca9361eb3b03", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cdde760926947ed35f5c1441a7b940654f199a393298abd96b75ca9361eb3b03", kill_on_drop: false }` [INFO] [stdout] cdde760926947ed35f5c1441a7b940654f199a393298abd96b75ca9361eb3b03