[INFO] fetching crate rustworkx-core 0.17.1... [INFO] checking rustworkx-core-0.17.1 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate rustworkx-core 0.17.1 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate rustworkx-core 0.17.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate rustworkx-core 0.17.1 [INFO] tweaked toml for crates.io crate rustworkx-core 0.17.1 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate rustworkx-core 0.17.1 on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate rustworkx-core 0.17.1 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 68a2dacbf757f82023468b1c1cbd588ea6e7359627b9f4a10f1aede092ceb638 [INFO] running `Command { std: "docker" "start" "-a" "68a2dacbf757f82023468b1c1cbd588ea6e7359627b9f4a10f1aede092ceb638", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "68a2dacbf757f82023468b1c1cbd588ea6e7359627b9f4a10f1aede092ceb638", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "68a2dacbf757f82023468b1c1cbd588ea6e7359627b9f4a10f1aede092ceb638", kill_on_drop: false }` [INFO] [stdout] 68a2dacbf757f82023468b1c1cbd588ea6e7359627b9f4a10f1aede092ceb638 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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 -Dunmustuse_in_always_ok" "-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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 66e2c483c90f3f848e31745b942845953e4e33178508d07d4b3928c349a6564b [INFO] running `Command { std: "docker" "start" "-a" "66e2c483c90f3f848e31745b942845953e4e33178508d07d4b3928c349a6564b", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Compiling zerocopy v0.8.24 [INFO] [stderr] Compiling matrixmultiply v0.3.9 [INFO] [stderr] Checking itertools v0.14.0 [INFO] [stderr] Checking fixedbitset v0.5.7 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking num-traits v0.2.19 [INFO] [stderr] Compiling syn v2.0.100 [INFO] [stderr] Checking rayon v1.10.0 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking getrandom v0.3.2 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking rand_pcg v0.9.0 [INFO] [stderr] Checking ppv-lite86 v0.2.21 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking hashbrown v0.15.2 [INFO] [stderr] Checking rayon-cond v0.4.0 [INFO] [stderr] Checking ndarray v0.16.1 [INFO] [stderr] Checking rand v0.9.1 [INFO] [stderr] Checking env_logger v0.8.4 [INFO] [stderr] Checking quickcheck v1.0.3 [INFO] [stderr] Checking rand_distr v0.5.1 [INFO] [stderr] Compiling quickcheck_macros v1.1.0 [INFO] [stderr] Checking indexmap v2.9.0 [INFO] [stderr] Checking priority-queue v2.3.1 [INFO] [stderr] Checking petgraph v0.8.1 [INFO] [stderr] Checking rustworkx-core v0.17.1 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/max_weight_matching.rs:102:37 [INFO] [stdout] | [INFO] [stdout] 102 | mate.get(&base).map(|p| (p ^ 1)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 102 - mate.get(&base).map(|p| (p ^ 1)), [INFO] [stdout] 102 + mate.get(&base).map(|p| p ^ 1), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around closure body [INFO] [stdout] --> src/max_weight_matching.rs:102:37 [INFO] [stdout] | [INFO] [stdout] 102 | mate.get(&base).map(|p| (p ^ 1)), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 102 - mate.get(&base).map(|p| (p ^ 1)), [INFO] [stdout] 102 + mate.get(&base).map(|p| p ^ 1), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result::NodeId, usize, foldhash::fast::RandomState>, Infallible> [INFO] [stdout] --> src/coloring.rs:377:5 [INFO] [stdout] | [INFO] [stdout] 377 | / inner_greedy_node_color( [INFO] [stdout] 378 | | graph, [INFO] [stdout] 379 | | |_| Ok::, Infallible>(None), [INFO] [stdout] 380 | | ColoringStrategy::Degree, [INFO] [stdout] 381 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/coloring.rs:379:13 [INFO] [stdout] | [INFO] [stdout] 379 | |_| Ok::, Infallible>(None), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/graph_ext/contraction.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 115 | Ok(contract_stable(self, nodes, obj, NoCallback::None).unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/graph_ext/contraction.rs:323:9 [INFO] [stdout] | [INFO] [stdout] 323 | contract_stable(self, IndexSet::from_iter(nodes), obj, NoCallback::None).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/steiner_tree.rs:70:64 [INFO] [stdout] | [INFO] [stdout] 70 | let edge_cost = |e: G::EdgeRef| -> Result { [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 71 | | Ok(edge_weights[EdgeIndexable::to_index(&graph, e.id())].unwrap()) [INFO] [stdout] 72 | | }; [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/steiner_tree.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | Ok(edge_weights[EdgeIndexable::to_index(&graph, e.id())].unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result::NodeId, f64, foldhash::fast::RandomState>, Infallible> [INFO] [stdout] --> src/steiner_tree.rs:83:54 [INFO] [stdout] | [INFO] [stdout] 83 | let distances: DictMap = dijkstra( [INFO] [stdout] | ______________________________________________________^ [INFO] [stdout] 84 | | graph, [INFO] [stdout] 85 | | NodeIndexable::from_index(&graph, x), [INFO] [stdout] 86 | | None, [INFO] [stdout] 87 | | edge_cost, [INFO] [stdout] 88 | | Some(&mut paths), [INFO] [stdout] 89 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rustworkx-core` (lib) due to 7 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error: this type will no longer be must used: std::result::Result>, Infallible> [INFO] [stdout] --> src/centrality.rs:872:13 [INFO] [stdout] | [INFO] [stdout] 872 | eigenvector_centrality(&g, |_| Ok(1.), Some(0), None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/centrality.rs:872:44 [INFO] [stdout] | [INFO] [stdout] 872 | eigenvector_centrality(&g, |_| Ok(1.), Some(0), None); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result>, Infallible> [INFO] [stdout] --> src/centrality.rs:873:22 [INFO] [stdout] | [INFO] [stdout] 873 | let result = output.unwrap(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result>, Infallible> [INFO] [stdout] --> src/centrality.rs:891:48 [INFO] [stdout] | [INFO] [stdout] 891 | let output: Result>> = eigenvector_centrality(&g, |_| Ok(1.), None, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/centrality.rs:891:79 [INFO] [stdout] | [INFO] [stdout] 891 | let output: Result>> = eigenvector_centrality(&g, |_| Ok(1.), None, None); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result>, Infallible> [INFO] [stdout] --> src/centrality.rs:892:22 [INFO] [stdout] | [INFO] [stdout] 892 | let result = output.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result>, Infallible> [INFO] [stdout] --> src/centrality.rs:903:48 [INFO] [stdout] | [INFO] [stdout] 903 | let output: Result>> = eigenvector_centrality(&g, |_| Ok(1.), None, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/centrality.rs:903:79 [INFO] [stdout] | [INFO] [stdout] 903 | let output: Result>> = eigenvector_centrality(&g, |_| Ok(1.), None, None); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result>, Infallible> [INFO] [stdout] --> src/centrality.rs:904:22 [INFO] [stdout] | [INFO] [stdout] 904 | let result = output.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result>, Infallible> [INFO] [stdout] --> src/centrality.rs:932:48 [INFO] [stdout] | [INFO] [stdout] 932 | let output: Result>> = eigenvector_centrality(&g, |_| Ok(2.), None, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/centrality.rs:932:79 [INFO] [stdout] | [INFO] [stdout] 932 | let output: Result>> = eigenvector_centrality(&g, |_| Ok(2.), None, None); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result>, Infallible> [INFO] [stdout] --> src/centrality.rs:933:22 [INFO] [stdout] | [INFO] [stdout] 933 | let result = output.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result>, Infallible> [INFO] [stdout] --> src/centrality.rs:962:13 [INFO] [stdout] | [INFO] [stdout] 962 | katz_centrality(&g, |_| Ok(1.), None, None, None, Some(0), None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/centrality.rs:962:37 [INFO] [stdout] | [INFO] [stdout] 962 | katz_centrality(&g, |_| Ok(1.), None, None, None, Some(0), None); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result>, Infallible> [INFO] [stdout] --> src/centrality.rs:963:22 [INFO] [stdout] | [INFO] [stdout] 963 | let result = output.unwrap(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result>, Infallible> [INFO] [stdout] --> src/centrality.rs:972:13 [INFO] [stdout] | [INFO] [stdout] 972 | katz_centrality(&g, |_| Ok(1.), None, Some(beta_map), None, None, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/centrality.rs:972:37 [INFO] [stdout] | [INFO] [stdout] 972 | katz_centrality(&g, |_| Ok(1.), None, Some(beta_map), None, None, None); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result>, Infallible> [INFO] [stdout] --> src/centrality.rs:973:22 [INFO] [stdout] | [INFO] [stdout] 973 | let result = output.unwrap(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result>, Infallible> [INFO] [stdout] --> src/centrality.rs:983:13 [INFO] [stdout] | [INFO] [stdout] 983 | katz_centrality(&g, |_| Ok(1.), None, Some(beta_map), None, None, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/centrality.rs:983:37 [INFO] [stdout] | [INFO] [stdout] 983 | katz_centrality(&g, |_| Ok(1.), None, Some(beta_map), None, None, None); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result>, Infallible> [INFO] [stdout] --> src/centrality.rs:984:22 [INFO] [stdout] | [INFO] [stdout] 984 | let result = output.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result>, Infallible> [INFO] [stdout] --> src/centrality.rs:1007:13 [INFO] [stdout] | [INFO] [stdout] 1007 | katz_centrality(&g, |_| Ok(1.), Some(0.2), None, Some(1.1), None, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/centrality.rs:1007:37 [INFO] [stdout] | [INFO] [stdout] 1007 | katz_centrality(&g, |_| Ok(1.), Some(0.2), None, Some(1.1), None, None); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result>, Infallible> [INFO] [stdout] --> src/centrality.rs:1008:22 [INFO] [stdout] | [INFO] [stdout] 1008 | let result = output.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result>, Infallible> [INFO] [stdout] --> src/centrality.rs:1038:13 [INFO] [stdout] | [INFO] [stdout] 1038 | katz_centrality(&g, |_| Ok(1.), None, None, None, None, None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/centrality.rs:1038:37 [INFO] [stdout] | [INFO] [stdout] 1038 | katz_centrality(&g, |_| Ok(1.), None, None, None, None, None); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result>, Infallible> [INFO] [stdout] --> src/centrality.rs:1039:22 [INFO] [stdout] | [INFO] [stdout] 1039 | let result = output.unwrap().unwrap(); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result::NodeId, usize, foldhash::fast::RandomState>, Infallible> [INFO] [stdout] --> src/coloring.rs:377:5 [INFO] [stdout] | [INFO] [stdout] 377 | / inner_greedy_node_color( [INFO] [stdout] 378 | | graph, [INFO] [stdout] 379 | | |_| Ok::, Infallible>(None), [INFO] [stdout] 380 | | ColoringStrategy::Degree, [INFO] [stdout] 381 | | ) [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/coloring.rs:379:13 [INFO] [stdout] | [INFO] [stdout] 379 | |_| Ok::, Infallible>(None), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/coloring.rs:1018:35 [INFO] [stdout] | [INFO] [stdout] 1018 | let preset_color_fn = |_| Ok::, Infallible>(None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/coloring.rs:1026:17 [INFO] [stdout] | [INFO] [stdout] 1026 | greedy_node_color_with_coloring_strategy(&graph, preset_color_fn, strategy); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/coloring.rs:1028:24 [INFO] [stdout] | [INFO] [stdout] 1028 | assert_eq!(colors, Ok(expected_colors)); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/coloring.rs:1028:32 [INFO] [stdout] | [INFO] [stdout] 1028 | assert_eq!(colors, Ok(expected_colors)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/coloring.rs:1028:13 [INFO] [stdout] | [INFO] [stdout] 1028 | assert_eq!(colors, Ok(expected_colors)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/coloring.rs:1028:13 [INFO] [stdout] | [INFO] [stdout] 1028 | assert_eq!(colors, Ok(expected_colors)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/coloring.rs:1028:13 [INFO] [stdout] | [INFO] [stdout] 1028 | assert_eq!(colors, Ok(expected_colors)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/coloring.rs:1028:13 [INFO] [stdout] | [INFO] [stdout] 1028 | assert_eq!(colors, Ok(expected_colors)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/coloring.rs:1036:35 [INFO] [stdout] | [INFO] [stdout] 1036 | let preset_color_fn = |_| Ok::, Infallible>(None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/coloring.rs:1037:22 [INFO] [stdout] | [INFO] [stdout] 1037 | let colors = greedy_node_color_with_coloring_strategy( [INFO] [stdout] | ______________________^ [INFO] [stdout] 1038 | | &graph, [INFO] [stdout] 1039 | | preset_color_fn, [INFO] [stdout] 1040 | | ColoringStrategy::Degree, [INFO] [stdout] 1041 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/coloring.rs:1049:20 [INFO] [stdout] | [INFO] [stdout] 1049 | assert_eq!(colors, Ok(expected_colors)); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/coloring.rs:1049:28 [INFO] [stdout] | [INFO] [stdout] 1049 | assert_eq!(colors, Ok(expected_colors)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/coloring.rs:1049:9 [INFO] [stdout] | [INFO] [stdout] 1049 | assert_eq!(colors, Ok(expected_colors)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/coloring.rs:1049:9 [INFO] [stdout] | [INFO] [stdout] 1049 | assert_eq!(colors, Ok(expected_colors)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/coloring.rs:1049:9 [INFO] [stdout] | [INFO] [stdout] 1049 | assert_eq!(colors, Ok(expected_colors)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/coloring.rs:1049:9 [INFO] [stdout] | [INFO] [stdout] 1049 | assert_eq!(colors, Ok(expected_colors)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/coloring.rs:1063:35 [INFO] [stdout] | [INFO] [stdout] 1063 | let preset_color_fn = |_| Ok::, Infallible>(None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/coloring.rs:1064:22 [INFO] [stdout] | [INFO] [stdout] 1064 | let colors = greedy_node_color_with_coloring_strategy( [INFO] [stdout] | ______________________^ [INFO] [stdout] 1065 | | &graph, [INFO] [stdout] 1066 | | preset_color_fn, [INFO] [stdout] 1067 | | ColoringStrategy::Degree, [INFO] [stdout] 1068 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/coloring.rs:1076:20 [INFO] [stdout] | [INFO] [stdout] 1076 | assert_eq!(colors, Ok(expected_colors)); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/coloring.rs:1076:28 [INFO] [stdout] | [INFO] [stdout] 1076 | assert_eq!(colors, Ok(expected_colors)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/coloring.rs:1076:9 [INFO] [stdout] | [INFO] [stdout] 1076 | assert_eq!(colors, Ok(expected_colors)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/coloring.rs:1076:9 [INFO] [stdout] | [INFO] [stdout] 1076 | assert_eq!(colors, Ok(expected_colors)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/coloring.rs:1076:9 [INFO] [stdout] | [INFO] [stdout] 1076 | assert_eq!(colors, Ok(expected_colors)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/coloring.rs:1076:9 [INFO] [stdout] | [INFO] [stdout] 1076 | assert_eq!(colors, Ok(expected_colors)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `assert_eq` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/coloring.rs:1092:35 [INFO] [stdout] | [INFO] [stdout] 1092 | let preset_color_fn = |_| Ok::, Infallible>(None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/coloring.rs:1093:22 [INFO] [stdout] | [INFO] [stdout] 1093 | let colors = greedy_node_color_with_coloring_strategy( [INFO] [stdout] | ______________________^ [INFO] [stdout] 1094 | | &graph, [INFO] [stdout] 1095 | | preset_color_fn, [INFO] [stdout] 1096 | | ColoringStrategy::Saturation, [INFO] [stdout] 1097 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/coloring.rs:1121:90 [INFO] [stdout] | [INFO] [stdout] 1121 | let preset_color_fn = |node_idx: NodeIndex| -> Result, Infallible> { [INFO] [stdout] | __________________________________________________________________________________________^ [INFO] [stdout] 1122 | | if node_idx.index() == 0 { [INFO] [stdout] 1123 | | Ok(Some(1)) [INFO] [stdout] 1124 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 1127 | | }; [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/coloring.rs:1122:13 [INFO] [stdout] | [INFO] [stdout] 1122 | / if node_idx.index() == 0 { [INFO] [stdout] 1123 | | Ok(Some(1)) [INFO] [stdout] 1124 | | } else { [INFO] [stdout] 1125 | | Ok(None) [INFO] [stdout] 1126 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/coloring.rs:1122:38 [INFO] [stdout] | [INFO] [stdout] 1122 | if node_idx.index() == 0 { [INFO] [stdout] | ______________________________________^ [INFO] [stdout] 1123 | | Ok(Some(1)) [INFO] [stdout] 1124 | | } else { [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/coloring.rs:1123:17 [INFO] [stdout] | [INFO] [stdout] 1123 | Ok(Some(1)) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/coloring.rs:1124:20 [INFO] [stdout] | [INFO] [stdout] 1124 | } else { [INFO] [stdout] | ____________________^ [INFO] [stdout] 1125 | | Ok(None) [INFO] [stdout] 1126 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/coloring.rs:1125:17 [INFO] [stdout] | [INFO] [stdout] 1125 | Ok(None) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/coloring.rs:1129:22 [INFO] [stdout] | [INFO] [stdout] 1129 | let colors = greedy_node_color_with_coloring_strategy( [INFO] [stdout] | ______________________^ [INFO] [stdout] 1130 | | &graph, [INFO] [stdout] 1131 | | preset_color_fn, [INFO] [stdout] 1132 | | ColoringStrategy::Saturation, [INFO] [stdout] 1133 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/coloring.rs:1163:35 [INFO] [stdout] | [INFO] [stdout] 1163 | let preset_color_fn = |_| Ok::, Infallible>(None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/coloring.rs:1164:22 [INFO] [stdout] | [INFO] [stdout] 1164 | let colors = greedy_node_color_with_coloring_strategy( [INFO] [stdout] | ______________________^ [INFO] [stdout] 1165 | | &graph, [INFO] [stdout] 1166 | | preset_color_fn, [INFO] [stdout] 1167 | | ColoringStrategy::IndependentSet, [INFO] [stdout] 1168 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/coloring.rs:1200:90 [INFO] [stdout] | [INFO] [stdout] 1200 | let preset_color_fn = |node_idx: NodeIndex| -> Result, Infallible> { [INFO] [stdout] | __________________________________________________________________________________________^ [INFO] [stdout] 1201 | | if node_idx.index() == 0 { [INFO] [stdout] 1202 | | Ok(Some(1)) [INFO] [stdout] 1203 | | } else if node_idx.index() == 3 { [INFO] [stdout] ... | [INFO] [stdout] 1208 | | }; [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/coloring.rs:1201:13 [INFO] [stdout] | [INFO] [stdout] 1201 | / if node_idx.index() == 0 { [INFO] [stdout] 1202 | | Ok(Some(1)) [INFO] [stdout] 1203 | | } else if node_idx.index() == 3 { [INFO] [stdout] 1204 | | Ok(Some(0)) [INFO] [stdout] 1205 | | } else { [INFO] [stdout] 1206 | | Ok(None) [INFO] [stdout] 1207 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/coloring.rs:1201:38 [INFO] [stdout] | [INFO] [stdout] 1201 | if node_idx.index() == 0 { [INFO] [stdout] | ______________________________________^ [INFO] [stdout] 1202 | | Ok(Some(1)) [INFO] [stdout] 1203 | | } else if node_idx.index() == 3 { [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/coloring.rs:1202:17 [INFO] [stdout] | [INFO] [stdout] 1202 | Ok(Some(1)) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/coloring.rs:1203:20 [INFO] [stdout] | [INFO] [stdout] 1203 | } else if node_idx.index() == 3 { [INFO] [stdout] | ____________________^ [INFO] [stdout] 1204 | | Ok(Some(0)) [INFO] [stdout] 1205 | | } else { [INFO] [stdout] 1206 | | Ok(None) [INFO] [stdout] 1207 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/coloring.rs:1203:45 [INFO] [stdout] | [INFO] [stdout] 1203 | } else if node_idx.index() == 3 { [INFO] [stdout] | _____________________________________________^ [INFO] [stdout] 1204 | | Ok(Some(0)) [INFO] [stdout] 1205 | | } else { [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/coloring.rs:1204:17 [INFO] [stdout] | [INFO] [stdout] 1204 | Ok(Some(0)) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/coloring.rs:1205:20 [INFO] [stdout] | [INFO] [stdout] 1205 | } else { [INFO] [stdout] | ____________________^ [INFO] [stdout] 1206 | | Ok(None) [INFO] [stdout] 1207 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/coloring.rs:1206:17 [INFO] [stdout] | [INFO] [stdout] 1206 | Ok(None) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/coloring.rs:1210:22 [INFO] [stdout] | [INFO] [stdout] 1210 | let colors = greedy_node_color_with_coloring_strategy( [INFO] [stdout] | ______________________^ [INFO] [stdout] 1211 | | &graph, [INFO] [stdout] 1212 | | preset_color_fn, [INFO] [stdout] 1213 | | ColoringStrategy::IndependentSet, [INFO] [stdout] 1214 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/coloring.rs:1309:35 [INFO] [stdout] | [INFO] [stdout] 1309 | let preset_color_fn = |_| Ok::, Infallible>(None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/coloring.rs:1317:17 [INFO] [stdout] | [INFO] [stdout] 1317 | greedy_node_color_with_coloring_strategy(&graph, preset_color_fn, strategy) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/coloring.rs:1327:35 [INFO] [stdout] | [INFO] [stdout] 1327 | let preset_color_fn = |_| Ok::, Infallible>(None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/coloring.rs:1335:17 [INFO] [stdout] | [INFO] [stdout] 1335 | greedy_node_color_with_coloring_strategy(&graph, preset_color_fn, strategy) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/coloring.rs:1345:35 [INFO] [stdout] | [INFO] [stdout] 1345 | let preset_color_fn = |_| Ok::, Infallible>(None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/coloring.rs:1353:17 [INFO] [stdout] | [INFO] [stdout] 1353 | greedy_node_color_with_coloring_strategy(&graph, preset_color_fn, strategy) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/coloring.rs:1363:35 [INFO] [stdout] | [INFO] [stdout] 1363 | let preset_color_fn = |_| Ok::, Infallible>(None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/coloring.rs:1371:17 [INFO] [stdout] | [INFO] [stdout] 1371 | greedy_node_color_with_coloring_strategy(&graph, preset_color_fn, strategy) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/coloring.rs:1434:35 [INFO] [stdout] | [INFO] [stdout] 1434 | let preset_color_fn = |_| Ok::, Infallible>(None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/coloring.rs:1436:22 [INFO] [stdout] | [INFO] [stdout] 1436 | let colors = greedy_edge_color_with_coloring_strategy( [INFO] [stdout] | ______________________^ [INFO] [stdout] 1437 | | &graph, [INFO] [stdout] 1438 | | preset_color_fn, [INFO] [stdout] 1439 | | ColoringStrategy::Degree, [INFO] [stdout] 1440 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/coloring.rs:1450:35 [INFO] [stdout] | [INFO] [stdout] 1450 | let preset_color_fn = |_| Ok::, Infallible>(None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/coloring.rs:1452:22 [INFO] [stdout] | [INFO] [stdout] 1452 | let colors = greedy_edge_color_with_coloring_strategy( [INFO] [stdout] | ______________________^ [INFO] [stdout] 1453 | | &graph, [INFO] [stdout] 1454 | | preset_color_fn, [INFO] [stdout] 1455 | | ColoringStrategy::Degree, [INFO] [stdout] 1456 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/coloring.rs:1474:35 [INFO] [stdout] | [INFO] [stdout] 1474 | let preset_color_fn = |_| Ok::, Infallible>(None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/coloring.rs:1476:22 [INFO] [stdout] | [INFO] [stdout] 1476 | let colors = greedy_edge_color_with_coloring_strategy( [INFO] [stdout] | ______________________^ [INFO] [stdout] 1477 | | &graph, [INFO] [stdout] 1478 | | preset_color_fn, [INFO] [stdout] 1479 | | ColoringStrategy::Degree, [INFO] [stdout] 1480 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/coloring.rs:1498:35 [INFO] [stdout] | [INFO] [stdout] 1498 | let preset_color_fn = |_| Ok::, Infallible>(None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/coloring.rs:1500:22 [INFO] [stdout] | [INFO] [stdout] 1500 | let colors = greedy_edge_color_with_coloring_strategy( [INFO] [stdout] | ______________________^ [INFO] [stdout] 1501 | | &graph, [INFO] [stdout] 1502 | | preset_color_fn, [INFO] [stdout] 1503 | | ColoringStrategy::Degree, [INFO] [stdout] 1504 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/coloring.rs:1524:90 [INFO] [stdout] | [INFO] [stdout] 1524 | let preset_color_fn = |node_idx: EdgeIndex| -> Result, Infallible> { [INFO] [stdout] | __________________________________________________________________________________________^ [INFO] [stdout] 1525 | | if node_idx.index() == 1 { [INFO] [stdout] 1526 | | Ok(Some(1)) [INFO] [stdout] 1527 | | } else { [INFO] [stdout] ... | [INFO] [stdout] 1530 | | }; [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/coloring.rs:1525:13 [INFO] [stdout] | [INFO] [stdout] 1525 | / if node_idx.index() == 1 { [INFO] [stdout] 1526 | | Ok(Some(1)) [INFO] [stdout] 1527 | | } else { [INFO] [stdout] 1528 | | Ok(None) [INFO] [stdout] 1529 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/coloring.rs:1525:38 [INFO] [stdout] | [INFO] [stdout] 1525 | if node_idx.index() == 1 { [INFO] [stdout] | ______________________________________^ [INFO] [stdout] 1526 | | Ok(Some(1)) [INFO] [stdout] 1527 | | } else { [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/coloring.rs:1526:17 [INFO] [stdout] | [INFO] [stdout] 1526 | Ok(Some(1)) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/coloring.rs:1527:20 [INFO] [stdout] | [INFO] [stdout] 1527 | } else { [INFO] [stdout] | ____________________^ [INFO] [stdout] 1528 | | Ok(None) [INFO] [stdout] 1529 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/coloring.rs:1528:17 [INFO] [stdout] | [INFO] [stdout] 1528 | Ok(None) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/coloring.rs:1532:22 [INFO] [stdout] | [INFO] [stdout] 1532 | let colors = greedy_edge_color_with_coloring_strategy( [INFO] [stdout] | ______________________^ [INFO] [stdout] 1533 | | &graph, [INFO] [stdout] 1534 | | preset_color_fn, [INFO] [stdout] 1535 | | ColoringStrategy::Degree, [INFO] [stdout] 1536 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/coloring.rs:1555:35 [INFO] [stdout] | [INFO] [stdout] 1555 | let preset_color_fn = |_| Ok::, Infallible>(None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/coloring.rs:1557:22 [INFO] [stdout] | [INFO] [stdout] 1557 | let colors = greedy_edge_color_with_coloring_strategy( [INFO] [stdout] | ______________________^ [INFO] [stdout] 1558 | | &graph, [INFO] [stdout] 1559 | | preset_color_fn, [INFO] [stdout] 1560 | | ColoringStrategy::Saturation, [INFO] [stdout] 1561 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/coloring.rs:1581:90 [INFO] [stdout] | [INFO] [stdout] 1581 | let preset_color_fn = |node_idx: EdgeIndex| -> Result, Infallible> { [INFO] [stdout] | __________________________________________________________________________________________^ [INFO] [stdout] 1582 | | if node_idx.index() == 1 { [INFO] [stdout] 1583 | | Ok(Some(1)) [INFO] [stdout] 1584 | | } else if node_idx.index() == 4 { [INFO] [stdout] ... | [INFO] [stdout] 1589 | | }; [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/coloring.rs:1582:13 [INFO] [stdout] | [INFO] [stdout] 1582 | / if node_idx.index() == 1 { [INFO] [stdout] 1583 | | Ok(Some(1)) [INFO] [stdout] 1584 | | } else if node_idx.index() == 4 { [INFO] [stdout] 1585 | | Ok(Some(0)) [INFO] [stdout] 1586 | | } else { [INFO] [stdout] 1587 | | Ok(None) [INFO] [stdout] 1588 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/coloring.rs:1582:38 [INFO] [stdout] | [INFO] [stdout] 1582 | if node_idx.index() == 1 { [INFO] [stdout] | ______________________________________^ [INFO] [stdout] 1583 | | Ok(Some(1)) [INFO] [stdout] 1584 | | } else if node_idx.index() == 4 { [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/coloring.rs:1583:17 [INFO] [stdout] | [INFO] [stdout] 1583 | Ok(Some(1)) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/coloring.rs:1584:20 [INFO] [stdout] | [INFO] [stdout] 1584 | } else if node_idx.index() == 4 { [INFO] [stdout] | ____________________^ [INFO] [stdout] 1585 | | Ok(Some(0)) [INFO] [stdout] 1586 | | } else { [INFO] [stdout] 1587 | | Ok(None) [INFO] [stdout] 1588 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/coloring.rs:1584:45 [INFO] [stdout] | [INFO] [stdout] 1584 | } else if node_idx.index() == 4 { [INFO] [stdout] | _____________________________________________^ [INFO] [stdout] 1585 | | Ok(Some(0)) [INFO] [stdout] 1586 | | } else { [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/coloring.rs:1585:17 [INFO] [stdout] | [INFO] [stdout] 1585 | Ok(Some(0)) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/coloring.rs:1586:20 [INFO] [stdout] | [INFO] [stdout] 1586 | } else { [INFO] [stdout] | ____________________^ [INFO] [stdout] 1587 | | Ok(None) [INFO] [stdout] 1588 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/coloring.rs:1587:17 [INFO] [stdout] | [INFO] [stdout] 1587 | Ok(None) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/coloring.rs:1591:22 [INFO] [stdout] | [INFO] [stdout] 1591 | let colors = greedy_edge_color_with_coloring_strategy( [INFO] [stdout] | ______________________^ [INFO] [stdout] 1592 | | &graph, [INFO] [stdout] 1593 | | preset_color_fn, [INFO] [stdout] 1594 | | ColoringStrategy::Saturation, [INFO] [stdout] 1595 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/coloring.rs:1614:35 [INFO] [stdout] | [INFO] [stdout] 1614 | let preset_color_fn = |_| Ok::, Infallible>(None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/coloring.rs:1616:22 [INFO] [stdout] | [INFO] [stdout] 1616 | let colors = greedy_edge_color_with_coloring_strategy( [INFO] [stdout] | ______________________^ [INFO] [stdout] 1617 | | &graph, [INFO] [stdout] 1618 | | preset_color_fn, [INFO] [stdout] 1619 | | ColoringStrategy::IndependentSet, [INFO] [stdout] 1620 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/coloring.rs:1640:90 [INFO] [stdout] | [INFO] [stdout] 1640 | let preset_color_fn = |node_idx: EdgeIndex| -> Result, Infallible> { [INFO] [stdout] | __________________________________________________________________________________________^ [INFO] [stdout] 1641 | | if node_idx.index() == 1 { [INFO] [stdout] 1642 | | Ok(Some(0)) [INFO] [stdout] 1643 | | } else if node_idx.index() == 4 { [INFO] [stdout] ... | [INFO] [stdout] 1648 | | }; [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/coloring.rs:1641:13 [INFO] [stdout] | [INFO] [stdout] 1641 | / if node_idx.index() == 1 { [INFO] [stdout] 1642 | | Ok(Some(0)) [INFO] [stdout] 1643 | | } else if node_idx.index() == 4 { [INFO] [stdout] 1644 | | Ok(Some(2)) [INFO] [stdout] 1645 | | } else { [INFO] [stdout] 1646 | | Ok(None) [INFO] [stdout] 1647 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/coloring.rs:1641:38 [INFO] [stdout] | [INFO] [stdout] 1641 | if node_idx.index() == 1 { [INFO] [stdout] | ______________________________________^ [INFO] [stdout] 1642 | | Ok(Some(0)) [INFO] [stdout] 1643 | | } else if node_idx.index() == 4 { [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/coloring.rs:1642:17 [INFO] [stdout] | [INFO] [stdout] 1642 | Ok(Some(0)) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/coloring.rs:1643:20 [INFO] [stdout] | [INFO] [stdout] 1643 | } else if node_idx.index() == 4 { [INFO] [stdout] | ____________________^ [INFO] [stdout] 1644 | | Ok(Some(2)) [INFO] [stdout] 1645 | | } else { [INFO] [stdout] 1646 | | Ok(None) [INFO] [stdout] 1647 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/coloring.rs:1643:45 [INFO] [stdout] | [INFO] [stdout] 1643 | } else if node_idx.index() == 4 { [INFO] [stdout] | _____________________________________________^ [INFO] [stdout] 1644 | | Ok(Some(2)) [INFO] [stdout] 1645 | | } else { [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/coloring.rs:1644:17 [INFO] [stdout] | [INFO] [stdout] 1644 | Ok(Some(2)) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/coloring.rs:1645:20 [INFO] [stdout] | [INFO] [stdout] 1645 | } else { [INFO] [stdout] | ____________________^ [INFO] [stdout] 1646 | | Ok(None) [INFO] [stdout] 1647 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/coloring.rs:1646:17 [INFO] [stdout] | [INFO] [stdout] 1646 | Ok(None) [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/coloring.rs:1650:22 [INFO] [stdout] | [INFO] [stdout] 1650 | let colors = greedy_edge_color_with_coloring_strategy( [INFO] [stdout] | ______________________^ [INFO] [stdout] 1651 | | &graph, [INFO] [stdout] 1652 | | preset_color_fn, [INFO] [stdout] 1653 | | ColoringStrategy::IndependentSet, [INFO] [stdout] 1654 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/dag_algo.rs:932:68 [INFO] [stdout] | [INFO] [stdout] 932 | let sort_fn = |_: NodeIndex| -> Result { Ok("a".to_string()) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/dag_algo.rs:932:70 [INFO] [stdout] | [INFO] [stdout] 932 | let sort_fn = |_: NodeIndex| -> Result { Ok("a".to_string()) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/dag_algo.rs:940:68 [INFO] [stdout] | [INFO] [stdout] 940 | let sort_fn = |_: NodeIndex| -> Result { Ok("a".to_string()) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/dag_algo.rs:940:70 [INFO] [stdout] | [INFO] [stdout] 940 | let sort_fn = |_: NodeIndex| -> Result { Ok("a".to_string()) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/dag_algo.rs:957:72 [INFO] [stdout] | [INFO] [stdout] 957 | let sort_fn = |index: NodeIndex| -> Result { Ok(graph[index].clone()) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/dag_algo.rs:957:74 [INFO] [stdout] | [INFO] [stdout] 957 | let sort_fn = |index: NodeIndex| -> Result { Ok(graph[index].clone()) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/dag_algo.rs:985:72 [INFO] [stdout] | [INFO] [stdout] 985 | let sort_fn = |index: NodeIndex| -> Result { Ok(graph[index].clone()) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/dag_algo.rs:985:74 [INFO] [stdout] | [INFO] [stdout] 985 | let sort_fn = |index: NodeIndex| -> Result { Ok(graph[index].clone()) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/dag_algo.rs:1020:72 [INFO] [stdout] | [INFO] [stdout] 1020 | let sort_fn = |index: NodeIndex| -> Result { Ok(graph[index].clone()) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/dag_algo.rs:1020:74 [INFO] [stdout] | [INFO] [stdout] 1020 | let sort_fn = |index: NodeIndex| -> Result { Ok(graph[index].clone()) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/dag_algo.rs:1023:72 [INFO] [stdout] | [INFO] [stdout] 1023 | let sort_fn = |index: NodeIndex| -> Result { Ok(graph[index].clone()) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/dag_algo.rs:1023:74 [INFO] [stdout] | [INFO] [stdout] 1023 | let sort_fn = |index: NodeIndex| -> Result { Ok(graph[index].clone()) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/dag_algo.rs:1047:72 [INFO] [stdout] | [INFO] [stdout] 1047 | let sort_fn = |index: NodeIndex| -> Result { Ok(graph[index].clone()) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/dag_algo.rs:1047:74 [INFO] [stdout] | [INFO] [stdout] 1047 | let sort_fn = |index: NodeIndex| -> Result { Ok(graph[index].clone()) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/dag_algo.rs:1050:72 [INFO] [stdout] | [INFO] [stdout] 1050 | let sort_fn = |index: NodeIndex| -> Result { Ok(graph[index].clone()) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/dag_algo.rs:1050:74 [INFO] [stdout] | [INFO] [stdout] 1050 | let sort_fn = |index: NodeIndex| -> Result { Ok(graph[index].clone()) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/dag_algo.rs:1078:62 [INFO] [stdout] | [INFO] [stdout] 1078 | |index: NodeIndex| -> Result { Ok(graph[index].to_string()) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/dag_algo.rs:1078:64 [INFO] [stdout] | [INFO] [stdout] 1078 | |index: NodeIndex| -> Result { Ok(graph[index].to_string()) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/graph_ext/contraction.rs:115:12 [INFO] [stdout] | [INFO] [stdout] 115 | Ok(contract_stable(self, nodes, obj, NoCallback::None).unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/graph_ext/contraction.rs:323:9 [INFO] [stdout] | [INFO] [stdout] 323 | contract_stable(self, IndexSet::from_iter(nodes), obj, NoCallback::None).unwrap() [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result>, Infallible> [INFO] [stdout] --> src/shortest_path/all_shortest_paths.rs:152:13 [INFO] [stdout] | [INFO] [stdout] 152 | all_shortest_paths(&g, start, goal, |e| Ok(*e.weight())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/shortest_path/all_shortest_paths.rs:152:53 [INFO] [stdout] | [INFO] [stdout] 152 | all_shortest_paths(&g, start, goal, |e| Ok(*e.weight())); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result>, Infallible> [INFO] [stdout] --> src/shortest_path/all_shortest_paths.rs:158:20 [INFO] [stdout] | [INFO] [stdout] 158 | assert_eq!(paths.unwrap(), expected_paths); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result>, Infallible> [INFO] [stdout] --> src/shortest_path/all_shortest_paths.rs:169:50 [INFO] [stdout] | [INFO] [stdout] 169 | let paths: Result>> = all_shortest_paths(&g, start, goal, |_| Ok(1)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/shortest_path/all_shortest_paths.rs:169:90 [INFO] [stdout] | [INFO] [stdout] 169 | let paths: Result>> = all_shortest_paths(&g, start, goal, |_| Ok(1)); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result>, Infallible> [INFO] [stdout] --> src/shortest_path/all_shortest_paths.rs:172:20 [INFO] [stdout] | [INFO] [stdout] 172 | assert_eq!(paths.unwrap(), expected_paths); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result>, Infallible> [INFO] [stdout] --> src/shortest_path/all_shortest_paths.rs:196:13 [INFO] [stdout] | [INFO] [stdout] 196 | all_shortest_paths(&g, start, goal, |e| Ok(*e.weight())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/shortest_path/all_shortest_paths.rs:196:53 [INFO] [stdout] | [INFO] [stdout] 196 | all_shortest_paths(&g, start, goal, |e| Ok(*e.weight())); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result>, Infallible> [INFO] [stdout] --> src/shortest_path/all_shortest_paths.rs:198:20 [INFO] [stdout] | [INFO] [stdout] 198 | assert_eq!(paths.unwrap().len(), 2); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result>, Infallible> [INFO] [stdout] --> src/shortest_path/all_shortest_paths.rs:222:13 [INFO] [stdout] | [INFO] [stdout] 222 | dbg!(all_shortest_paths(&g, start, goal, |e| Ok(*e.weight()))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result>, Infallible> [INFO] [stdout] --> src/shortest_path/all_shortest_paths.rs:222:18 [INFO] [stdout] | [INFO] [stdout] 222 | dbg!(all_shortest_paths(&g, start, goal, |e| Ok(*e.weight()))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/shortest_path/all_shortest_paths.rs:222:58 [INFO] [stdout] | [INFO] [stdout] 222 | dbg!(all_shortest_paths(&g, start, goal, |e| Ok(*e.weight()))); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result>, Infallible> [INFO] [stdout] --> src/shortest_path/all_shortest_paths.rs:222:13 [INFO] [stdout] | [INFO] [stdout] 222 | dbg!(all_shortest_paths(&g, start, goal, |e| Ok(*e.weight()))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result>, Infallible> [INFO] [stdout] --> src/shortest_path/all_shortest_paths.rs:222:13 [INFO] [stdout] | [INFO] [stdout] 222 | dbg!(all_shortest_paths(&g, start, goal, |e| Ok(*e.weight()))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result>, Infallible> [INFO] [stdout] --> src/shortest_path/all_shortest_paths.rs:222:13 [INFO] [stdout] | [INFO] [stdout] 222 | dbg!(all_shortest_paths(&g, start, goal, |e| Ok(*e.weight()))); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this error originates in the macro `dbg` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result>, Infallible> [INFO] [stdout] --> src/shortest_path/all_shortest_paths.rs:224:20 [INFO] [stdout] | [INFO] [stdout] 224 | assert_eq!(paths.unwrap().len(), 2); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result>, Infallible> [INFO] [stdout] --> src/shortest_path/all_shortest_paths.rs:243:13 [INFO] [stdout] | [INFO] [stdout] 243 | all_shortest_paths(&g, start, goal, |e| Ok(*e.weight())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/shortest_path/all_shortest_paths.rs:243:53 [INFO] [stdout] | [INFO] [stdout] 243 | all_shortest_paths(&g, start, goal, |e| Ok(*e.weight())); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result>, Infallible> [INFO] [stdout] --> src/shortest_path/all_shortest_paths.rs:244:20 [INFO] [stdout] | [INFO] [stdout] 244 | assert_eq!(paths.unwrap().len(), 1); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result>, Infallible> [INFO] [stdout] --> src/shortest_path/all_shortest_paths.rs:250:13 [INFO] [stdout] | [INFO] [stdout] 250 | all_shortest_paths(&g, start, goal, |e| Ok(*e.weight())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/shortest_path/all_shortest_paths.rs:250:53 [INFO] [stdout] | [INFO] [stdout] 250 | all_shortest_paths(&g, start, goal, |e| Ok(*e.weight())); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result>, Infallible> [INFO] [stdout] --> src/shortest_path/all_shortest_paths.rs:252:20 [INFO] [stdout] | [INFO] [stdout] 252 | assert_eq!(paths.unwrap().len(), num_nodes - 2); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result)>, Infallible> [INFO] [stdout] --> src/shortest_path/astar.rs:237:59 [INFO] [stdout] | [INFO] [stdout] 237 | let path: Result)>> = astar( [INFO] [stdout] | ___________________________________________________________^ [INFO] [stdout] 238 | | &g, [INFO] [stdout] 239 | | a, [INFO] [stdout] 240 | | |finish| Ok(finish == e), [INFO] [stdout] 241 | | |e| Ok(*e.weight()), [INFO] [stdout] 242 | | |_| Ok(0), [INFO] [stdout] 243 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/shortest_path/astar.rs:240:22 [INFO] [stdout] | [INFO] [stdout] 240 | |finish| Ok(finish == e), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/shortest_path/astar.rs:241:17 [INFO] [stdout] | [INFO] [stdout] 241 | |e| Ok(*e.weight()), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/shortest_path/astar.rs:242:17 [INFO] [stdout] | [INFO] [stdout] 242 | |_| Ok(0), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result)>, Infallible> [INFO] [stdout] --> src/shortest_path/astar.rs:244:20 [INFO] [stdout] | [INFO] [stdout] 244 | assert_eq!(path.unwrap(), Some((23, vec![a, d, e]))); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/shortest_path/astar.rs:248:13 [INFO] [stdout] | [INFO] [stdout] 248 | dijkstra(&g, a, Some(e), |e| Ok(*e.weight()), None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/shortest_path/astar.rs:248:42 [INFO] [stdout] | [INFO] [stdout] 248 | dijkstra(&g, a, Some(e), |e| Ok(*e.weight()), None); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/shortest_path/astar.rs:249:20 [INFO] [stdout] | [INFO] [stdout] 249 | assert_eq!(dijkstra_run.unwrap()[&e], 23); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result)>, Infallible> [INFO] [stdout] --> src/shortest_path/astar.rs:251:59 [INFO] [stdout] | [INFO] [stdout] 251 | let path: Result)>> = astar( [INFO] [stdout] | ___________________________________________________________^ [INFO] [stdout] 252 | | &g, [INFO] [stdout] 253 | | e, [INFO] [stdout] 254 | | |finish| Ok(finish == b), [INFO] [stdout] 255 | | |e| Ok(*e.weight()), [INFO] [stdout] 256 | | |_| Ok(0), [INFO] [stdout] 257 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/shortest_path/astar.rs:254:22 [INFO] [stdout] | [INFO] [stdout] 254 | |finish| Ok(finish == b), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/shortest_path/astar.rs:255:17 [INFO] [stdout] | [INFO] [stdout] 255 | |e| Ok(*e.weight()), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/shortest_path/astar.rs:256:17 [INFO] [stdout] | [INFO] [stdout] 256 | |_| Ok(0), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result)>, Infallible> [INFO] [stdout] --> src/shortest_path/astar.rs:258:20 [INFO] [stdout] | [INFO] [stdout] 258 | assert_eq!(path.unwrap(), None); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/shortest_path/astar.rs:281:51 [INFO] [stdout] | [INFO] [stdout] 281 | move |node: NodeIndex| -> Result { [INFO] [stdout] | ___________________________________________________^ [INFO] [stdout] 282 | | let (x1, y1): (f32, f32) = g[node]; [INFO] [stdout] 283 | | let (x2, y2): (f32, f32) = g[f]; [INFO] [stdout] ... | [INFO] [stdout] 286 | | } [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/shortest_path/astar.rs:285:17 [INFO] [stdout] | [INFO] [stdout] 285 | Ok((x2 - x1).abs() + (y2 - y1).abs()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result)>, Infallible> [INFO] [stdout] --> src/shortest_path/astar.rs:288:20 [INFO] [stdout] | [INFO] [stdout] 288 | let path = astar( [INFO] [stdout] | ____________________^ [INFO] [stdout] 289 | | &g, [INFO] [stdout] 290 | | a, [INFO] [stdout] 291 | | |finish| Ok(finish == f), [INFO] [stdout] 292 | | |e| Ok(*e.weight()), [INFO] [stdout] 293 | | heuristic_for(f), [INFO] [stdout] 294 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/shortest_path/astar.rs:291:22 [INFO] [stdout] | [INFO] [stdout] 291 | |finish| Ok(finish == f), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/shortest_path/astar.rs:292:17 [INFO] [stdout] | [INFO] [stdout] 292 | |e| Ok(*e.weight()), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result)>, Infallible> [INFO] [stdout] --> src/shortest_path/astar.rs:295:20 [INFO] [stdout] | [INFO] [stdout] 295 | assert_eq!(path.unwrap(), Some((6., vec![a, d, e, f]))); [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/shortest_path/astar.rs:298:13 [INFO] [stdout] | [INFO] [stdout] 298 | dijkstra(&g, a, None, |e| Ok(*e.weight()), None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/shortest_path/astar.rs:298:39 [INFO] [stdout] | [INFO] [stdout] 298 | dijkstra(&g, a, None, |e| Ok(*e.weight()), None); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result)>, Infallible> [INFO] [stdout] --> src/shortest_path/astar.rs:301:30 [INFO] [stdout] | [INFO] [stdout] 301 | let astar_path = astar( [INFO] [stdout] | ______________________________^ [INFO] [stdout] 302 | | &g, [INFO] [stdout] 303 | | a, [INFO] [stdout] 304 | | |finish| Ok(finish == end), [INFO] [stdout] 305 | | |e| Ok(*e.weight()), [INFO] [stdout] 306 | | heuristic_for(end), [INFO] [stdout] 307 | | ); [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/shortest_path/astar.rs:304:26 [INFO] [stdout] | [INFO] [stdout] 304 | |finish| Ok(finish == end), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/shortest_path/astar.rs:305:21 [INFO] [stdout] | [INFO] [stdout] 305 | |e| Ok(*e.weight()), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/shortest_path/astar.rs:309:17 [INFO] [stdout] | [INFO] [stdout] 309 | dijkstra_run.as_ref().unwrap().get(&end).cloned(), [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result)>, Infallible> [INFO] [stdout] --> src/shortest_path/astar.rs:310:17 [INFO] [stdout] | [INFO] [stdout] 310 | astar_path.unwrap().map(|t| t.0) [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result)>, Infallible> [INFO] [stdout] --> src/shortest_path/astar.rs:331:56 [INFO] [stdout] | [INFO] [stdout] 331 | let _: Result)>> = astar( [INFO] [stdout] | ________________________________________________________^ [INFO] [stdout] 332 | | &g, [INFO] [stdout] 333 | | a, [INFO] [stdout] 334 | | |n| Ok(n == e), [INFO] [stdout] ... | [INFO] [stdout] 339 | | |_| Ok(0), [INFO] [stdout] 340 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/shortest_path/astar.rs:334:17 [INFO] [stdout] | [INFO] [stdout] 334 | |n| Ok(n == e), [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/shortest_path/astar.rs:335:20 [INFO] [stdout] | [INFO] [stdout] 335 | |edge| { [INFO] [stdout] | ____________________^ [INFO] [stdout] 336 | | times_called += 1; [INFO] [stdout] 337 | | Ok(*edge.weight()) [INFO] [stdout] 338 | | }, [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/shortest_path/astar.rs:337:17 [INFO] [stdout] | [INFO] [stdout] 337 | Ok(*edge.weight()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/shortest_path/astar.rs:339:17 [INFO] [stdout] | [INFO] [stdout] 339 | |_| Ok(0), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result>, Infallible> [INFO] [stdout] --> src/shortest_path/bellman_ford.rs:424:13 [INFO] [stdout] | [INFO] [stdout] 424 | bellman_ford(&graph, a, |e| Ok(*e.weight()), None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/shortest_path/bellman_ford.rs:424:41 [INFO] [stdout] | [INFO] [stdout] 424 | bellman_ford(&graph, a, |e| Ok(*e.weight()), None); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/shortest_path/bellman_ford.rs:426:13 [INFO] [stdout] | [INFO] [stdout] 426 | dijkstra(&graph, a, None, |e| Ok(*e.weight()), None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/shortest_path/bellman_ford.rs:426:43 [INFO] [stdout] | [INFO] [stdout] 426 | dijkstra(&graph, a, None, |e| Ok(*e.weight()), None); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result>, Infallible> [INFO] [stdout] --> src/shortest_path/bellman_ford.rs:428:20 [INFO] [stdout] | [INFO] [stdout] 428 | assert_eq!(res.unwrap(), Some(res_dijk.unwrap())); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/shortest_path/bellman_ford.rs:428:39 [INFO] [stdout] | [INFO] [stdout] 428 | assert_eq!(res.unwrap(), Some(res_dijk.unwrap())); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result>, Infallible> [INFO] [stdout] --> src/shortest_path/bellman_ford.rs:438:51 [INFO] [stdout] | [INFO] [stdout] 438 | let res: Result>> = negative_cycle_finder(&g, |e| Ok(*e.weight())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/shortest_path/bellman_ford.rs:438:81 [INFO] [stdout] | [INFO] [stdout] 438 | let res: Result>> = negative_cycle_finder(&g, |e| Ok(*e.weight())); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result>, Infallible> [INFO] [stdout] --> src/shortest_path/bellman_ford.rs:440:20 [INFO] [stdout] | [INFO] [stdout] 440 | assert_eq!(res.unwrap(), Some(vec![a, b, a])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result>, Infallible> [INFO] [stdout] --> src/shortest_path/bellman_ford.rs:453:51 [INFO] [stdout] | [INFO] [stdout] 453 | let res: Result>> = negative_cycle_finder(&g, |e| Ok(*e.weight())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/shortest_path/bellman_ford.rs:453:81 [INFO] [stdout] | [INFO] [stdout] 453 | let res: Result>> = negative_cycle_finder(&g, |e| Ok(*e.weight())); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result>, Infallible> [INFO] [stdout] --> src/shortest_path/bellman_ford.rs:455:20 [INFO] [stdout] | [INFO] [stdout] 455 | assert_eq!(res.unwrap(), None); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result>, Infallible> [INFO] [stdout] --> src/shortest_path/bellman_ford.rs:472:51 [INFO] [stdout] | [INFO] [stdout] 472 | let res: Result>> = negative_cycle_finder(&g, |e| Ok(*e.weight())); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/shortest_path/bellman_ford.rs:472:81 [INFO] [stdout] | [INFO] [stdout] 472 | let res: Result>> = negative_cycle_finder(&g, |e| Ok(*e.weight())); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result>, Infallible> [INFO] [stdout] --> src/shortest_path/bellman_ford.rs:474:20 [INFO] [stdout] | [INFO] [stdout] 474 | assert_eq!(res.unwrap(), Some(vec![a, b, c, d, e, a])); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/shortest_path/dijkstra.rs:196:13 [INFO] [stdout] | [INFO] [stdout] 196 | dijkstra(&g, a, None, |e| Ok(*e.weight()), None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/shortest_path/dijkstra.rs:196:39 [INFO] [stdout] | [INFO] [stdout] 196 | dijkstra(&g, a, None, |e| Ok(*e.weight()), None); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/shortest_path/dijkstra.rs:202:20 [INFO] [stdout] | [INFO] [stdout] 202 | assert_eq!(scores.unwrap(), exp_scores); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/shortest_path/dijkstra.rs:226:13 [INFO] [stdout] | [INFO] [stdout] 226 | dijkstra(&g, a, Some(c), |e| Ok(*e.weight()), None); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/shortest_path/dijkstra.rs:226:42 [INFO] [stdout] | [INFO] [stdout] 226 | dijkstra(&g, a, Some(c), |e| Ok(*e.weight()), None); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/shortest_path/dijkstra.rs:227:20 [INFO] [stdout] | [INFO] [stdout] 227 | assert_eq!(scores.unwrap()[&c], 9); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/shortest_path/k_shortest_path.rs:173:54 [INFO] [stdout] | [INFO] [stdout] 173 | let res: Result> = k_shortest_path( [INFO] [stdout] | ______________________________________________________^ [INFO] [stdout] 174 | | &graph, [INFO] [stdout] 175 | | a, [INFO] [stdout] 176 | | None, [INFO] [stdout] 177 | | 2, [INFO] [stdout] 178 | | |_: petgraph::graph::EdgeReference<&'static str>| Ok(1), [INFO] [stdout] 179 | | ); [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/shortest_path/k_shortest_path.rs:178:63 [INFO] [stdout] | [INFO] [stdout] 178 | |_: petgraph::graph::EdgeReference<&'static str>| Ok(1), [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result, Infallible> [INFO] [stdout] --> src/shortest_path/k_shortest_path.rs:195:20 [INFO] [stdout] | [INFO] [stdout] 195 | assert_eq!(res.unwrap(), expected_res); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result>, foldhash::fast::RandomState>, Infallible> [INFO] [stdout] --> src/shortest_path/single_source_all_shortest_paths.rs:124:21 [INFO] [stdout] | [INFO] [stdout] 124 | let paths = single_source_all_shortest_paths(&g, a, |e| { [INFO] [stdout] | _____________________^ [INFO] [stdout] 125 | | Ok::<_, std::convert::Infallible>(*e.weight()) [INFO] [stdout] 126 | | }) [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/shortest_path/single_source_all_shortest_paths.rs:124:65 [INFO] [stdout] | [INFO] [stdout] 124 | let paths = single_source_all_shortest_paths(&g, a, |e| { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 125 | | Ok::<_, std::convert::Infallible>(*e.weight()) [INFO] [stdout] 126 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/shortest_path/single_source_all_shortest_paths.rs:125:13 [INFO] [stdout] | [INFO] [stdout] 125 | Ok::<_, std::convert::Infallible>(*e.weight()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result>, foldhash::fast::RandomState>, Infallible> [INFO] [stdout] --> src/shortest_path/single_source_all_shortest_paths.rs:160:21 [INFO] [stdout] | [INFO] [stdout] 160 | let paths = single_source_all_shortest_paths( [INFO] [stdout] | _____________________^ [INFO] [stdout] 161 | | &g, [INFO] [stdout] 162 | | source, [INFO] [stdout] 163 | | |e: petgraph::graph::EdgeReference<'_, f64>| { [INFO] [stdout] 164 | | Ok::<_, std::convert::Infallible>(*e.weight()) [INFO] [stdout] 165 | | }, [INFO] [stdout] 166 | | ) [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/shortest_path/single_source_all_shortest_paths.rs:163:58 [INFO] [stdout] | [INFO] [stdout] 163 | |e: petgraph::graph::EdgeReference<'_, f64>| { [INFO] [stdout] | __________________________________________________________^ [INFO] [stdout] 164 | | Ok::<_, std::convert::Infallible>(*e.weight()) [INFO] [stdout] 165 | | }, [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/shortest_path/single_source_all_shortest_paths.rs:164:17 [INFO] [stdout] | [INFO] [stdout] 164 | Ok::<_, std::convert::Infallible>(*e.weight()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result>, foldhash::fast::RandomState>, Infallible> [INFO] [stdout] --> src/shortest_path/single_source_all_shortest_paths.rs:237:28 [INFO] [stdout] | [INFO] [stdout] 237 | let paths_from_a = single_source_all_shortest_paths(&g, a, |e| { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 238 | | Ok::<_, std::convert::Infallible>(*e.weight()) [INFO] [stdout] 239 | | }) [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/shortest_path/single_source_all_shortest_paths.rs:237:72 [INFO] [stdout] | [INFO] [stdout] 237 | let paths_from_a = single_source_all_shortest_paths(&g, a, |e| { [INFO] [stdout] | ________________________________________________________________________^ [INFO] [stdout] 238 | | Ok::<_, std::convert::Infallible>(*e.weight()) [INFO] [stdout] 239 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/shortest_path/single_source_all_shortest_paths.rs:238:13 [INFO] [stdout] | [INFO] [stdout] 238 | Ok::<_, std::convert::Infallible>(*e.weight()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result>, foldhash::fast::RandomState>, Infallible> [INFO] [stdout] --> src/shortest_path/single_source_all_shortest_paths.rs:249:28 [INFO] [stdout] | [INFO] [stdout] 249 | let paths_from_e = single_source_all_shortest_paths(&g, e, |e| { [INFO] [stdout] | ____________________________^ [INFO] [stdout] 250 | | Ok::<_, std::convert::Infallible>(*e.weight()) [INFO] [stdout] 251 | | }) [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/shortest_path/single_source_all_shortest_paths.rs:249:72 [INFO] [stdout] | [INFO] [stdout] 249 | let paths_from_e = single_source_all_shortest_paths(&g, e, |e| { [INFO] [stdout] | ________________________________________________________________________^ [INFO] [stdout] 250 | | Ok::<_, std::convert::Infallible>(*e.weight()) [INFO] [stdout] 251 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/shortest_path/single_source_all_shortest_paths.rs:250:13 [INFO] [stdout] | [INFO] [stdout] 250 | Ok::<_, std::convert::Infallible>(*e.weight()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result>, foldhash::fast::RandomState>, Infallible> [INFO] [stdout] --> src/shortest_path/single_source_all_shortest_paths.rs:298:21 [INFO] [stdout] | [INFO] [stdout] 298 | let paths = single_source_all_shortest_paths(&g, a, |e| { [INFO] [stdout] | _____________________^ [INFO] [stdout] 299 | | Ok::<_, std::convert::Infallible>(*e.weight()) [INFO] [stdout] 300 | | }) [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/shortest_path/single_source_all_shortest_paths.rs:298:65 [INFO] [stdout] | [INFO] [stdout] 298 | let paths = single_source_all_shortest_paths(&g, a, |e| { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 299 | | Ok::<_, std::convert::Infallible>(*e.weight()) [INFO] [stdout] 300 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/shortest_path/single_source_all_shortest_paths.rs:299:13 [INFO] [stdout] | [INFO] [stdout] 299 | Ok::<_, std::convert::Infallible>(*e.weight()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result>, foldhash::fast::RandomState>, Infallible> [INFO] [stdout] --> src/shortest_path/single_source_all_shortest_paths.rs:328:21 [INFO] [stdout] | [INFO] [stdout] 328 | let paths = single_source_all_shortest_paths(&g, a, |e| { [INFO] [stdout] | _____________________^ [INFO] [stdout] 329 | | Ok::<_, std::convert::Infallible>(*e.weight()) [INFO] [stdout] 330 | | }) [INFO] [stdout] | |__________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/shortest_path/single_source_all_shortest_paths.rs:328:65 [INFO] [stdout] | [INFO] [stdout] 328 | let paths = single_source_all_shortest_paths(&g, a, |e| { [INFO] [stdout] | _________________________________________________________________^ [INFO] [stdout] 329 | | Ok::<_, std::convert::Infallible>(*e.weight()) [INFO] [stdout] 330 | | }) [INFO] [stdout] | |_________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/shortest_path/single_source_all_shortest_paths.rs:329:13 [INFO] [stdout] | [INFO] [stdout] 329 | Ok::<_, std::convert::Infallible>(*e.weight()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/shortest_path/single_source_all_shortest_paths.rs:360:85 [INFO] [stdout] | [INFO] [stdout] 360 | |e: petgraph::graph::EdgeReference<'_, f64>| -> Result { [INFO] [stdout] | _____________________________________________________________________________________^ [INFO] [stdout] 361 | | Ok(*e.weight()) [INFO] [stdout] 362 | | }; [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/shortest_path/single_source_all_shortest_paths.rs:361:17 [INFO] [stdout] | [INFO] [stdout] 361 | Ok(*e.weight()) [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result>, foldhash::fast::RandomState>, Infallible> [INFO] [stdout] --> src/shortest_path/single_source_all_shortest_paths.rs:363:22 [INFO] [stdout] | [INFO] [stdout] 363 | let result = single_source_all_shortest_paths(&g, a, &mut edge_cost).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/shortest_path/single_source_all_shortest_paths.rs:395:81 [INFO] [stdout] | [INFO] [stdout] 395 | |e: petgraph::graph::EdgeReference| -> Result { Ok(*e.weight()) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/shortest_path/single_source_all_shortest_paths.rs:395:83 [INFO] [stdout] | [INFO] [stdout] 395 | |e: petgraph::graph::EdgeReference| -> Result { Ok(*e.weight()) }; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result>, foldhash::fast::RandomState>, Infallible> [INFO] [stdout] --> src/shortest_path/single_source_all_shortest_paths.rs:398:21 [INFO] [stdout] | [INFO] [stdout] 398 | let paths = single_source_all_shortest_paths(&graph, a, edge_cost).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/steiner_tree.rs:70:64 [INFO] [stdout] | [INFO] [stdout] 70 | let edge_cost = |e: G::EdgeRef| -> Result { [INFO] [stdout] | ________________________________________________________________^ [INFO] [stdout] 71 | | Ok(edge_weights[EdgeIndexable::to_index(&graph, e.id())].unwrap()) [INFO] [stdout] 72 | | }; [INFO] [stdout] | |_____^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result [INFO] [stdout] --> src/steiner_tree.rs:71:9 [INFO] [stdout] | [INFO] [stdout] 71 | Ok(edge_weights[EdgeIndexable::to_index(&graph, e.id())].unwrap()) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: std::result::Result::NodeId, f64, foldhash::fast::RandomState>, Infallible> [INFO] [stdout] --> src/steiner_tree.rs:83:54 [INFO] [stdout] | [INFO] [stdout] 83 | let distances: DictMap = dijkstra( [INFO] [stdout] | ______________________________________________________^ [INFO] [stdout] 84 | | graph, [INFO] [stdout] 85 | | NodeIndexable::from_index(&graph, x), [INFO] [stdout] 86 | | None, [INFO] [stdout] 87 | | edge_cost, [INFO] [stdout] 88 | | Some(&mut paths), [INFO] [stdout] 89 | | ) [INFO] [stdout] | |_____________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rustworkx-core` (lib test) due to 245 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "66e2c483c90f3f848e31745b942845953e4e33178508d07d4b3928c349a6564b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66e2c483c90f3f848e31745b942845953e4e33178508d07d4b3928c349a6564b", kill_on_drop: false }` [INFO] [stdout] 66e2c483c90f3f848e31745b942845953e4e33178508d07d4b3928c349a6564b