[INFO] fetching crate yuuang_petgraph 0.6.3... [INFO] checking yuuang_petgraph-0.6.3 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate yuuang_petgraph 0.6.3 into /workspace/builds/worker-1-tc1/source [INFO] validating manifest of crates.io crate yuuang_petgraph 0.6.3 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate yuuang_petgraph 0.6.3 [INFO] finished tweaking crates.io crate yuuang_petgraph 0.6.3 [INFO] tweaked toml for crates.io crate yuuang_petgraph 0.6.3 written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 39 packages to latest compatible versions [INFO] [stderr] Adding autocfg v0.1.8 (available: v1.3.0) [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding cloudabi v0.0.3 (available: v0.1.0) [INFO] [stderr] Adding fixedbitset v0.4.2 (available: v0.5.7) [INFO] [stderr] Adding hashbrown v0.12.3 (available: v0.14.5) [INFO] [stderr] Adding indexmap v1.9.3 (available: v2.5.0) [INFO] [stderr] Adding itertools v0.10.5 (available: v0.13.0) [INFO] [stderr] Adding quickcheck v0.8.5 (available: v1.0.3) [INFO] [stderr] Adding rand v0.5.6 (available: v0.8.5) [INFO] [stderr] Adding rand v0.6.5 (available: v0.8.5) [INFO] [stderr] Adding rand_chacha v0.1.1 (available: v0.3.1) [INFO] [stderr] Adding rand_core v0.3.1 (available: v0.6.4) [INFO] [stderr] Adding rand_core v0.4.2 (available: v0.6.4) [INFO] [stderr] Adding rand_hc v0.1.0 (available: v0.3.2) [INFO] [stderr] Adding rand_isaac v0.1.1 (available: v0.3.0) [INFO] [stderr] Adding rand_jitter v0.1.4 (available: v0.4.0) [INFO] [stderr] Adding rand_os v0.1.3 (available: v0.2.2) [INFO] [stderr] Adding rand_pcg v0.1.2 (available: v0.3.1) [INFO] [stderr] Adding rand_xorshift v0.1.1 (available: v0.3.0) [INFO] [stderr] Adding rdrand v0.4.0 (available: v0.8.3) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded odds v0.4.0 [INFO] [stderr] Downloaded defmac v0.2.1 [INFO] [stderr] Downloaded rawslice v0.1.1 [INFO] [stderr] Downloaded quickcheck v0.8.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f9737e3fd6de9b2803bbc43be2876ea6114fb4c5ca10b5381f2239ff59cec0dc [INFO] running `Command { std: "docker" "start" "-a" "f9737e3fd6de9b2803bbc43be2876ea6114fb4c5ca10b5381f2239ff59cec0dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f9737e3fd6de9b2803bbc43be2876ea6114fb4c5ca10b5381f2239ff59cec0dc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f9737e3fd6de9b2803bbc43be2876ea6114fb4c5ca10b5381f2239ff59cec0dc", kill_on_drop: false }` [INFO] [stdout] f9737e3fd6de9b2803bbc43be2876ea6114fb4c5ca10b5381f2239ff59cec0dc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dac85b8f9a3908365cee20fa4992575cb156abdcc313915a83bce5da835d96d4 [INFO] running `Command { std: "docker" "start" "-a" "dac85b8f9a3908365cee20fa4992575cb156abdcc313915a83bce5da835d96d4", kill_on_drop: false }` [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling serde v1.0.210 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking hashbrown v0.12.3 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Checking fixedbitset v0.4.2 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking unchecked-index v0.2.2 [INFO] [stderr] Checking defmac v0.2.1 [INFO] [stderr] Checking rawslice v0.1.1 [INFO] [stderr] Checking odds v0.4.0 [INFO] [stderr] Checking itertools v0.10.5 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking yuuang_petgraph v0.6.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: method `node_bound_with_dummy` is never used [INFO] [stdout] --> src/algo/matching.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 106 | trait WithDummy: NodeIndexable { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] 107 | fn dummy_idx(&self) -> usize; [INFO] [stdout] 108 | fn node_bound_with_dummy(&self) -> usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `first_error` is never read [INFO] [stdout] --> src/csr.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 133 | pub struct EdgesNotSorted { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 134 | first_error: (usize, usize), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EdgesNotSorted` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking bincode v1.3.3 [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `petgraph` [INFO] [stdout] --> tests/matching.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use petgraph::prelude::*; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `petgraph` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `petgraph` [INFO] [stdout] --> benches/ograph.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate petgraph; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `petgraph` [INFO] [stdout] --> tests/matching.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use petgraph::algo::{greedy_matching, maximum_matching}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `petgraph` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved imports `petgraph::algo::greedy_matching`, `petgraph::algo::maximum_matching` [INFO] [stdout] --> tests/matching.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use petgraph::algo::{greedy_matching, maximum_matching}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `petgraph` [INFO] [stdout] --> benches/iso.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate petgraph; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `petgraph` [INFO] [stdout] --> tests/operator.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use petgraph::prelude::*; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `petgraph` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `petgraph` [INFO] [stdout] --> tests/operator.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use petgraph::operator::complement; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `petgraph` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `petgraph` [INFO] [stdout] --> tests/operator.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use petgraph::Graph; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `petgraph` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `petgraph` [INFO] [stdout] --> tests/list.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate petgraph; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `petgraph` [INFO] [stdout] --> tests/graph.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate petgraph; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `petgraph` [INFO] [stdout] --> tests/graphmap.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | extern crate petgraph; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `petgraph` [INFO] [stdout] --> benches/feedback_arc_set.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate petgraph; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `petgraph` [INFO] [stdout] --> benches/floyd_warshall.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate petgraph; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `petgraph` [INFO] [stdout] --> benches/unionfind.rs:3:1 [INFO] [stdout] | [INFO] [stdout] 3 | extern crate petgraph; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `petgraph` [INFO] [stdout] --> tests/iso.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | extern crate petgraph; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `petgraph` [INFO] [stdout] --> tests/floyd_warshall.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use petgraph::{prelude::*, Directed, Graph, Undirected}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `petgraph` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `petgraph` [INFO] [stdout] --> tests/floyd_warshall.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use petgraph::algo::floyd_warshall; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `petgraph` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0463]: can't find crate for `petgraph` [INFO] [stdout] --> tests/stable_graph.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | extern crate petgraph; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ can't find crate [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `petgraph` [INFO] [stdout] --> tests/floyd_warshall.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use petgraph::{prelude::*, Directed, Graph, Undirected}; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `petgraph` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0463`. [INFO] [stdout] [INFO] [stderr] error: could not compile `yuuang_petgraph` (bench "ograph") due to 2 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0412]: cannot find type `Directed` in this scope [INFO] [stdout] --> tests/operator.rs:7:34 [INFO] [stdout] | [INFO] [stdout] 7 | let mut graph: Graph<(), (), Directed> = Graph::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::Directed; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Directed` in this scope [INFO] [stdout] --> tests/operator.rs:14:35 [INFO] [stdout] | [INFO] [stdout] 14 | let mut output: Graph<(), (), Directed> = Graph::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::Directed; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Directed` in this scope [INFO] [stdout] --> tests/operator.rs:18:41 [INFO] [stdout] | [INFO] [stdout] 18 | let mut expected_res: Graph<(), (), Directed> = Graph::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::Directed; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `yuuang_petgraph` (test "list") due to 2 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `petgraph` [INFO] [stdout] --> tests/k_shortest_path.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use petgraph::prelude::*; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `petgraph` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `petgraph` [INFO] [stdout] --> tests/k_shortest_path.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use petgraph::algo::k_shortest_path; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `petgraph` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `petgraph` [INFO] [stdout] --> tests/k_shortest_path.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use petgraph::Graph; [INFO] [stdout] | ^^^^^^^^ use of undeclared crate or module `petgraph` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Graph` [INFO] [stdout] --> benches/floyd_warshall.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | let mut g = Graph::new_undirected(); [INFO] [stdout] | ^^^^^ use of undeclared type `Graph` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 6 + use yuuang_petgraph::Graph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NodeIndex` in this scope [INFO] [stdout] --> benches/floyd_warshall.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | let nodes: Vec> = (0..NODE_COUNT).into_iter().map(|i| g.add_node(i)).collect(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 6 + use yuuang_petgraph::adj::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 6 + use yuuang_petgraph::csr::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 6 + use yuuang_petgraph::matrix_graph::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 6 + use yuuang_petgraph::stable_graph::NodeIndex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 6 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `yuuang_petgraph` (test "operator") due to 7 previous errors [INFO] [stdout] error[E0412]: cannot find type `UnGraph` in this scope [INFO] [stdout] --> tests/matching.rs:49:12 [INFO] [stdout] | [INFO] [stdout] 49 | let g: UnGraph<(), ()> = UnGraph::default(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::graph::UnGraph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UnGraph` [INFO] [stdout] --> tests/matching.rs:49:30 [INFO] [stdout] | [INFO] [stdout] 49 | let g: UnGraph<(), ()> = UnGraph::default(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `UnGraph` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::graph::UnGraph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UnGraph` in this scope [INFO] [stdout] --> tests/matching.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | let g: UnGraph<(), ()> = UnGraph::from_edges(&[(0, 1), (2, 3)]); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::graph::UnGraph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UnGraph` [INFO] [stdout] --> tests/matching.rs:57:30 [INFO] [stdout] | [INFO] [stdout] 57 | let g: UnGraph<(), ()> = UnGraph::from_edges(&[(0, 1), (2, 3)]); [INFO] [stdout] | ^^^^^^^ use of undeclared type `UnGraph` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::graph::UnGraph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UnGraph` in this scope [INFO] [stdout] --> tests/matching.rs:65:12 [INFO] [stdout] | [INFO] [stdout] 65 | let g: UnGraph<(), ()> = UnGraph::from_edges(&[(0, 1), (1, 2), (2, 3)]); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::graph::UnGraph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UnGraph` [INFO] [stdout] --> tests/matching.rs:65:30 [INFO] [stdout] | [INFO] [stdout] 65 | let g: UnGraph<(), ()> = UnGraph::from_edges(&[(0, 1), (1, 2), (2, 3)]); [INFO] [stdout] | ^^^^^^^ use of undeclared type `UnGraph` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::graph::UnGraph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UnGraph` in this scope [INFO] [stdout] --> tests/matching.rs:73:12 [INFO] [stdout] | [INFO] [stdout] 73 | let g: UnGraph<(), ()> = UnGraph::from_edges(&[(0, 1), (0, 2), (0, 3)]); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::graph::UnGraph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UnGraph` [INFO] [stdout] --> tests/matching.rs:73:30 [INFO] [stdout] | [INFO] [stdout] 73 | let g: UnGraph<(), ()> = UnGraph::from_edges(&[(0, 1), (0, 2), (0, 3)]); [INFO] [stdout] | ^^^^^^^ use of undeclared type `UnGraph` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::graph::UnGraph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Graph` in this scope [INFO] [stdout] --> benches/common/factories.rs:206:33 [INFO] [stdout] | [INFO] [stdout] 206 | pub struct GraphFactory> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::Graph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NodeIndex` in this scope [INFO] [stdout] --> tests/floyd_warshall.rs:34:32 [INFO] [stdout] | [INFO] [stdout] 34 | let expected_res: HashMap<(NodeIndex, NodeIndex), i32> = [ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::adj::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::csr::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::matrix_graph::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::stable_graph::NodeIndex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Graph` in this scope [INFO] [stdout] --> benches/common/factories.rs:256:50 [INFO] [stdout] | [INFO] [stdout] 256 | pub fn graph() -> GraphFactory> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::Graph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NodeIndex` in this scope [INFO] [stdout] --> tests/floyd_warshall.rs:34:43 [INFO] [stdout] | [INFO] [stdout] 34 | let expected_res: HashMap<(NodeIndex, NodeIndex), i32> = [ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::adj::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::csr::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::matrix_graph::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::stable_graph::NodeIndex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Undirected` in this scope [INFO] [stdout] --> benches/common/factories.rs:260:34 [INFO] [stdout] | [INFO] [stdout] 260 | pub fn ungraph() -> GraphFactory> { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::Undirected; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Graph` in this scope [INFO] [stdout] --> benches/common/factories.rs:260:46 [INFO] [stdout] | [INFO] [stdout] 260 | pub fn ungraph() -> GraphFactory> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::Graph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NodeIndex` in this scope [INFO] [stdout] --> tests/floyd_warshall.rs:127:32 [INFO] [stdout] | [INFO] [stdout] 127 | let expected_res: HashMap<(NodeIndex, NodeIndex), i32> = [ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::adj::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::csr::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::matrix_graph::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::stable_graph::NodeIndex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Undirected` in this scope [INFO] [stdout] --> benches/common/factories.rs:260:60 [INFO] [stdout] | [INFO] [stdout] 260 | pub fn ungraph() -> GraphFactory> { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::Undirected; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Directed` in this scope [INFO] [stdout] --> benches/common/factories.rs:264:34 [INFO] [stdout] | [INFO] [stdout] 264 | pub fn digraph() -> GraphFactory> { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::Directed; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Graph` in this scope [INFO] [stdout] --> benches/common/factories.rs:264:44 [INFO] [stdout] | [INFO] [stdout] 264 | pub fn digraph() -> GraphFactory> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::Graph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NodeIndex` in this scope [INFO] [stdout] --> tests/floyd_warshall.rs:127:43 [INFO] [stdout] | [INFO] [stdout] 127 | let expected_res: HashMap<(NodeIndex, NodeIndex), i32> = [ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::adj::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::csr::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::matrix_graph::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::stable_graph::NodeIndex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Directed` in this scope [INFO] [stdout] --> benches/common/factories.rs:264:58 [INFO] [stdout] | [INFO] [stdout] 264 | pub fn digraph() -> GraphFactory> { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::Directed; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `StableGraph` in this scope [INFO] [stdout] --> benches/common/factories.rs:268:57 [INFO] [stdout] | [INFO] [stdout] 268 | pub fn stable_graph() -> GraphFactory> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::stable_graph::StableGraph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NodeIndex` in this scope [INFO] [stdout] --> tests/floyd_warshall.rs:149:30 [INFO] [stdout] | [INFO] [stdout] 149 | let weight_map: HashMap<(NodeIndex, NodeIndex), i32> = [ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::adj::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::csr::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::matrix_graph::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::stable_graph::NodeIndex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Undirected` in this scope [INFO] [stdout] --> benches/common/factories.rs:272:41 [INFO] [stdout] | [INFO] [stdout] 272 | pub fn stable_ungraph() -> GraphFactory> { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::Undirected; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `StableGraph` in this scope [INFO] [stdout] --> benches/common/factories.rs:272:53 [INFO] [stdout] | [INFO] [stdout] 272 | pub fn stable_ungraph() -> GraphFactory> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::stable_graph::StableGraph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NodeIndex` in this scope [INFO] [stdout] --> tests/floyd_warshall.rs:149:41 [INFO] [stdout] | [INFO] [stdout] 149 | let weight_map: HashMap<(NodeIndex, NodeIndex), i32> = [ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::adj::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::csr::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::matrix_graph::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::stable_graph::NodeIndex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Undirected` in this scope [INFO] [stdout] --> benches/common/factories.rs:272:73 [INFO] [stdout] | [INFO] [stdout] 272 | pub fn stable_ungraph() -> GraphFactory> { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::Undirected; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Directed` in this scope [INFO] [stdout] --> benches/common/factories.rs:276:41 [INFO] [stdout] | [INFO] [stdout] 276 | pub fn stable_digraph() -> GraphFactory> { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::Directed; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `StableGraph` in this scope [INFO] [stdout] --> benches/common/factories.rs:276:51 [INFO] [stdout] | [INFO] [stdout] 276 | pub fn stable_digraph() -> GraphFactory> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::stable_graph::StableGraph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NodeIndex` in this scope [INFO] [stdout] --> tests/floyd_warshall.rs:195:32 [INFO] [stdout] | [INFO] [stdout] 195 | let expected_res: HashMap<(NodeIndex, NodeIndex), i32> = [ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::adj::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::csr::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::matrix_graph::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::stable_graph::NodeIndex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Directed` in this scope [INFO] [stdout] --> benches/common/factories.rs:276:71 [INFO] [stdout] | [INFO] [stdout] 276 | pub fn stable_digraph() -> GraphFactory> { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::Directed; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DiGraph` in this scope [INFO] [stdout] --> benches/common/factories.rs:280:41 [INFO] [stdout] | [INFO] [stdout] 280 | pub fn tournament(node_count: usize) -> DiGraph<(), ()> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::graph::DiGraph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NodeIndex` in this scope [INFO] [stdout] --> tests/floyd_warshall.rs:195:43 [INFO] [stdout] | [INFO] [stdout] 195 | let expected_res: HashMap<(NodeIndex, NodeIndex), i32> = [ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::adj::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::csr::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::matrix_graph::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::stable_graph::NodeIndex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DiGraph` [INFO] [stdout] --> benches/common/factories.rs:282:17 [INFO] [stdout] | [INFO] [stdout] 282 | let mut g = DiGraph::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `DiGraph` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::graph::DiGraph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DiGraph` in this scope [INFO] [stdout] --> benches/common/factories.rs:303:34 [INFO] [stdout] | [INFO] [stdout] 303 | pub fn directed_fan(n: usize) -> DiGraph<(), ()> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::graph::DiGraph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DiGraph` [INFO] [stdout] --> benches/common/factories.rs:304:17 [INFO] [stdout] | [INFO] [stdout] 304 | let mut g = DiGraph::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `DiGraph` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::graph::DiGraph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NodeIndex` in this scope [INFO] [stdout] --> tests/floyd_warshall.rs:217:30 [INFO] [stdout] | [INFO] [stdout] 217 | let weight_map: HashMap<(NodeIndex, NodeIndex), i32> = [ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::adj::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::csr::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::matrix_graph::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::stable_graph::NodeIndex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NodeIndex` in this scope [INFO] [stdout] --> tests/floyd_warshall.rs:217:41 [INFO] [stdout] | [INFO] [stdout] 217 | let weight_map: HashMap<(NodeIndex, NodeIndex), i32> = [ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::adj::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::csr::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::matrix_graph::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::stable_graph::NodeIndex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UnGraph` in this scope [INFO] [stdout] --> tests/matching.rs:84:12 [INFO] [stdout] | [INFO] [stdout] 84 | let g: UnGraph<(), ()> = UnGraph::default(); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::graph::UnGraph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UnGraph` [INFO] [stdout] --> tests/matching.rs:84:30 [INFO] [stdout] | [INFO] [stdout] 84 | let g: UnGraph<(), ()> = UnGraph::default(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `UnGraph` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::graph::UnGraph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UnGraph` in this scope [INFO] [stdout] --> tests/matching.rs:92:12 [INFO] [stdout] | [INFO] [stdout] 92 | let g: UnGraph<(), ()> = UnGraph::from_edges(&[(0, 1), (2, 3)]); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::graph::UnGraph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UnGraph` [INFO] [stdout] --> tests/matching.rs:92:30 [INFO] [stdout] | [INFO] [stdout] 92 | let g: UnGraph<(), ()> = UnGraph::from_edges(&[(0, 1), (2, 3)]); [INFO] [stdout] | ^^^^^^^ use of undeclared type `UnGraph` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::graph::UnGraph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Graph` in this scope [INFO] [stdout] --> benches/common/factories.rs:206:33 [INFO] [stdout] | [INFO] [stdout] 206 | pub struct GraphFactory> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::Graph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Graph` in this scope [INFO] [stdout] --> benches/common/factories.rs:256:50 [INFO] [stdout] | [INFO] [stdout] 256 | pub fn graph() -> GraphFactory> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::Graph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Graph` in this scope [INFO] [stdout] --> benches/common/factories.rs:206:33 [INFO] [stdout] | [INFO] [stdout] 206 | pub struct GraphFactory> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::Graph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Graph` in this scope [INFO] [stdout] --> benches/common/factories.rs:256:50 [INFO] [stdout] | [INFO] [stdout] 256 | pub fn graph() -> GraphFactory> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::Graph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Undirected` in this scope [INFO] [stdout] --> benches/common/factories.rs:260:34 [INFO] [stdout] | [INFO] [stdout] 260 | pub fn ungraph() -> GraphFactory> { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::Undirected; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Undirected` in this scope [INFO] [stdout] --> benches/common/factories.rs:260:34 [INFO] [stdout] | [INFO] [stdout] 260 | pub fn ungraph() -> GraphFactory> { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::Undirected; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Graph` in this scope [INFO] [stdout] --> benches/common/factories.rs:260:46 [INFO] [stdout] | [INFO] [stdout] 260 | pub fn ungraph() -> GraphFactory> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::Graph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Graph` in this scope [INFO] [stdout] --> benches/common/factories.rs:260:46 [INFO] [stdout] | [INFO] [stdout] 260 | pub fn ungraph() -> GraphFactory> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::Graph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Undirected` in this scope [INFO] [stdout] --> benches/common/factories.rs:260:60 [INFO] [stdout] | [INFO] [stdout] 260 | pub fn ungraph() -> GraphFactory> { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::Undirected; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 3 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0463. [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Undirected` in this scope [INFO] [stdout] --> benches/common/factories.rs:260:60 [INFO] [stdout] | [INFO] [stdout] 260 | pub fn ungraph() -> GraphFactory> { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::Undirected; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Directed` in this scope [INFO] [stdout] --> benches/common/factories.rs:264:34 [INFO] [stdout] | [INFO] [stdout] 264 | pub fn digraph() -> GraphFactory> { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::Directed; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Directed` in this scope [INFO] [stdout] --> benches/common/factories.rs:264:34 [INFO] [stdout] | [INFO] [stdout] 264 | pub fn digraph() -> GraphFactory> { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::Directed; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Graph` in this scope [INFO] [stdout] --> benches/common/factories.rs:264:44 [INFO] [stdout] | [INFO] [stdout] 264 | pub fn digraph() -> GraphFactory> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::Graph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Graph` in this scope [INFO] [stdout] --> benches/common/factories.rs:264:44 [INFO] [stdout] | [INFO] [stdout] 264 | pub fn digraph() -> GraphFactory> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::Graph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Directed` in this scope [INFO] [stdout] --> benches/common/factories.rs:264:58 [INFO] [stdout] | [INFO] [stdout] 264 | pub fn digraph() -> GraphFactory> { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::Directed; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `StableGraph` in this scope [INFO] [stdout] --> benches/common/factories.rs:268:57 [INFO] [stdout] | [INFO] [stdout] 268 | pub fn stable_graph() -> GraphFactory> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::stable_graph::StableGraph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Directed` in this scope [INFO] [stdout] --> benches/common/factories.rs:264:58 [INFO] [stdout] | [INFO] [stdout] 264 | pub fn digraph() -> GraphFactory> { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::Directed; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Undirected` in this scope [INFO] [stdout] --> benches/common/factories.rs:272:41 [INFO] [stdout] | [INFO] [stdout] 272 | pub fn stable_ungraph() -> GraphFactory> { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::Undirected; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `StableGraph` in this scope [INFO] [stdout] --> benches/common/factories.rs:272:53 [INFO] [stdout] | [INFO] [stdout] 272 | pub fn stable_ungraph() -> GraphFactory> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::stable_graph::StableGraph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `StableGraph` in this scope [INFO] [stdout] --> benches/common/factories.rs:268:57 [INFO] [stdout] | [INFO] [stdout] 268 | pub fn stable_graph() -> GraphFactory> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::stable_graph::StableGraph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Undirected` in this scope [INFO] [stdout] --> benches/common/factories.rs:272:73 [INFO] [stdout] | [INFO] [stdout] 272 | pub fn stable_ungraph() -> GraphFactory> { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::Undirected; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Directed` in this scope [INFO] [stdout] --> benches/common/factories.rs:276:41 [INFO] [stdout] | [INFO] [stdout] 276 | pub fn stable_digraph() -> GraphFactory> { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::Directed; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Undirected` in this scope [INFO] [stdout] --> benches/common/factories.rs:272:41 [INFO] [stdout] | [INFO] [stdout] 272 | pub fn stable_ungraph() -> GraphFactory> { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::Undirected; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `StableGraph` in this scope [INFO] [stdout] --> benches/common/factories.rs:276:51 [INFO] [stdout] | [INFO] [stdout] 276 | pub fn stable_digraph() -> GraphFactory> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::stable_graph::StableGraph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `StableGraph` in this scope [INFO] [stdout] --> benches/common/factories.rs:272:53 [INFO] [stdout] | [INFO] [stdout] 272 | pub fn stable_ungraph() -> GraphFactory> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::stable_graph::StableGraph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Directed` in this scope [INFO] [stdout] --> tests/k_shortest_path.rs:8:34 [INFO] [stdout] | [INFO] [stdout] 8 | let mut graph: Graph<(), (), Directed> = Graph::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::Directed; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Undirected` in this scope [INFO] [stdout] --> benches/common/factories.rs:272:73 [INFO] [stdout] | [INFO] [stdout] 272 | pub fn stable_ungraph() -> GraphFactory> { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::Undirected; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Directed` in this scope [INFO] [stdout] --> benches/common/factories.rs:276:41 [INFO] [stdout] | [INFO] [stdout] 276 | pub fn stable_digraph() -> GraphFactory> { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::Directed; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NodeIndex` in this scope [INFO] [stdout] --> tests/k_shortest_path.rs:48:31 [INFO] [stdout] | [INFO] [stdout] 48 | let expected_res: HashMap = [ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::adj::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::csr::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::matrix_graph::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::stable_graph::NodeIndex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `StableGraph` in this scope [INFO] [stdout] --> benches/common/factories.rs:276:51 [INFO] [stdout] | [INFO] [stdout] 276 | pub fn stable_digraph() -> GraphFactory> { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::stable_graph::StableGraph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Directed` in this scope [INFO] [stdout] --> benches/common/factories.rs:276:71 [INFO] [stdout] | [INFO] [stdout] 276 | pub fn stable_digraph() -> GraphFactory> { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::Directed; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DiGraph` in this scope [INFO] [stdout] --> benches/common/factories.rs:280:41 [INFO] [stdout] | [INFO] [stdout] 280 | pub fn tournament(node_count: usize) -> DiGraph<(), ()> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::graph::DiGraph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NodeIndex` in this scope [INFO] [stdout] --> tests/floyd_warshall.rs:263:30 [INFO] [stdout] | [INFO] [stdout] 263 | let weight_map: HashMap<(NodeIndex, NodeIndex), i32> = [ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::adj::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::csr::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::matrix_graph::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::stable_graph::NodeIndex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DiGraph` [INFO] [stdout] --> benches/common/factories.rs:282:17 [INFO] [stdout] | [INFO] [stdout] 282 | let mut g = DiGraph::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `DiGraph` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::graph::DiGraph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DiGraph` in this scope [INFO] [stdout] --> benches/common/factories.rs:303:34 [INFO] [stdout] | [INFO] [stdout] 303 | pub fn directed_fan(n: usize) -> DiGraph<(), ()> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::graph::DiGraph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DiGraph` [INFO] [stdout] --> benches/common/factories.rs:304:17 [INFO] [stdout] | [INFO] [stdout] 304 | let mut g = DiGraph::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `DiGraph` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::graph::DiGraph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NodeIndex` in this scope [INFO] [stdout] --> tests/floyd_warshall.rs:263:41 [INFO] [stdout] | [INFO] [stdout] 263 | let weight_map: HashMap<(NodeIndex, NodeIndex), i32> = [ [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::adj::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::csr::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::matrix_graph::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::stable_graph::NodeIndex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 20 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Graph` in this scope [INFO] [stdout] --> tests/iso.rs:206:42 [INFO] [stdout] | [INFO] [stdout] 206 | fn parse_graph(s: &str) -> Graph<(), (), Ty> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Graph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Graph` [INFO] [stdout] --> tests/iso.rs:207:18 [INFO] [stdout] | [INFO] [stdout] 207 | let mut gr = Graph::with_capacity(0, 0); [INFO] [stdout] | ^^^^^ use of undeclared type `Graph` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Graph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Directed` in this scope [INFO] [stdout] --> benches/common/factories.rs:276:71 [INFO] [stdout] | [INFO] [stdout] 276 | pub fn stable_digraph() -> GraphFactory> { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::Directed; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Graph` in this scope [INFO] [stdout] --> tests/iso.rs:226:29 [INFO] [stdout] | [INFO] [stdout] 226 | fn str_to_graph(s: &str) -> Graph<(), (), Undirected> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Graph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Undirected` in this scope [INFO] [stdout] --> tests/iso.rs:226:43 [INFO] [stdout] | [INFO] [stdout] 226 | fn str_to_graph(s: &str) -> Graph<(), (), Undirected> { [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Undirected; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Graph` in this scope [INFO] [stdout] --> tests/iso.rs:230:31 [INFO] [stdout] | [INFO] [stdout] 230 | fn str_to_digraph(s: &str) -> Graph<(), (), Directed> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Graph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DiGraph` in this scope [INFO] [stdout] --> benches/common/factories.rs:280:41 [INFO] [stdout] | [INFO] [stdout] 280 | pub fn tournament(node_count: usize) -> DiGraph<(), ()> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::graph::DiGraph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Directed` in this scope [INFO] [stdout] --> tests/iso.rs:230:45 [INFO] [stdout] | [INFO] [stdout] 230 | fn str_to_digraph(s: &str) -> Graph<(), (), Directed> { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Directed; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Graph` in this scope [INFO] [stdout] --> tests/iso.rs:235:35 [INFO] [stdout] | [INFO] [stdout] 235 | fn graph_from_file(path: &str) -> Graph<(), (), Directed> { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Graph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Directed` in this scope [INFO] [stdout] --> tests/iso.rs:235:49 [INFO] [stdout] | [INFO] [stdout] 235 | fn graph_from_file(path: &str) -> Graph<(), (), Directed> { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Directed; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Graph` [INFO] [stdout] --> tests/iso.rs:378:18 [INFO] [stdout] | [INFO] [stdout] 378 | let mut g0 = Graph::<_, ()>::new(); [INFO] [stdout] | ^^^^^ use of undeclared type `Graph` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Graph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DiGraph` [INFO] [stdout] --> benches/common/factories.rs:282:17 [INFO] [stdout] | [INFO] [stdout] 282 | let mut g = DiGraph::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `DiGraph` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::graph::DiGraph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Graph` [INFO] [stdout] --> tests/iso.rs:379:18 [INFO] [stdout] | [INFO] [stdout] 379 | let mut g1 = Graph::<_, ()>::new(); [INFO] [stdout] | ^^^^^ use of undeclared type `Graph` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Graph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Graph` [INFO] [stdout] --> tests/iso.rs:401:18 [INFO] [stdout] | [INFO] [stdout] 401 | let mut g0 = Graph::<_, ()>::new(); [INFO] [stdout] | ^^^^^ use of undeclared type `Graph` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Graph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Graph` [INFO] [stdout] --> tests/iso.rs:402:18 [INFO] [stdout] | [INFO] [stdout] 402 | let mut g1 = Graph::<_, ()>::new(); [INFO] [stdout] | ^^^^^ use of undeclared type `Graph` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Graph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `DiGraph` in this scope [INFO] [stdout] --> benches/common/factories.rs:303:34 [INFO] [stdout] | [INFO] [stdout] 303 | pub fn directed_fan(n: usize) -> DiGraph<(), ()> { [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::graph::DiGraph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Graph` [INFO] [stdout] --> tests/iso.rs:448:14 [INFO] [stdout] | [INFO] [stdout] 448 | let g0 = Graph::<(), _>::from_edges(&[(0, 0, 1), (0, 1, 2), (0, 2, 3), (1, 2, 4)]); [INFO] [stdout] | ^^^^^ use of undeclared type `Graph` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Graph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `yuuang_petgraph` (bench "floyd_warshall") due to 4 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DiGraph` [INFO] [stdout] --> benches/common/factories.rs:304:17 [INFO] [stdout] | [INFO] [stdout] 304 | let mut g = DiGraph::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `DiGraph` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::graph::DiGraph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Graph` [INFO] [stdout] --> tests/iso.rs:488:14 [INFO] [stdout] | [INFO] [stdout] 488 | let g0 = Graph::<(), ()>::from_edges(&[(0, 0), (0, 0), (0, 1), (1, 1), (1, 1), (1, 0)]); [INFO] [stdout] | ^^^^^ use of undeclared type `Graph` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Graph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Graph` [INFO] [stdout] --> tests/iso.rs:490:14 [INFO] [stdout] | [INFO] [stdout] 490 | let g1 = Graph::<(), ()>::from_edges(&[(0, 0), (0, 1), (0, 1), (1, 1), (1, 0), (1, 0)]); [INFO] [stdout] | ^^^^^ use of undeclared type `Graph` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Graph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Graph` [INFO] [stdout] --> tests/iso.rs:497:14 [INFO] [stdout] | [INFO] [stdout] 497 | let g0 = Graph::<(), ()>::from_edges(&[(0, 1), (1, 2), (2, 0)]); [INFO] [stdout] | ^^^^^ use of undeclared type `Graph` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Graph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Graph` [INFO] [stdout] --> tests/iso.rs:498:14 [INFO] [stdout] | [INFO] [stdout] 498 | let g1 = Graph::<(), ()>::from_edges(&[(0, 1), (1, 2), (2, 0), (2, 3), (0, 4)]); [INFO] [stdout] | ^^^^^ use of undeclared type `Graph` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Graph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Graph` [INFO] [stdout] --> tests/iso.rs:506:13 [INFO] [stdout] | [INFO] [stdout] 506 | let a = Graph::<(), ()>::from_edges(&[(0, 1), (1, 2), (2, 0)]); [INFO] [stdout] | ^^^^^ use of undeclared type `Graph` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Graph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Graph` [INFO] [stdout] --> tests/iso.rs:507:13 [INFO] [stdout] | [INFO] [stdout] 507 | let b = Graph::<(), ()>::from_edges(&[(0, 1), (1, 2), (2, 0), (2, 3), (0, 4)]); [INFO] [stdout] | ^^^^^ use of undeclared type `Graph` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Graph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 20 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 20 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `yuuang_petgraph` (bench "iso") due to 21 previous errors [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `UnGraph` in this scope [INFO] [stdout] --> tests/matching.rs:100:12 [INFO] [stdout] | [INFO] [stdout] 100 | let g: UnGraph<(), ()> = UnGraph::from_edges(&[(0, 1), (1, 2), (2, 3)]); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::graph::UnGraph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UnGraph` [INFO] [stdout] --> tests/matching.rs:100:30 [INFO] [stdout] | [INFO] [stdout] 100 | let g: UnGraph<(), ()> = UnGraph::from_edges(&[(0, 1), (1, 2), (2, 3)]); [INFO] [stdout] | ^^^^^^^ use of undeclared type `UnGraph` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::graph::UnGraph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `StableUnGraph` in this scope [INFO] [stdout] --> tests/matching.rs:109:16 [INFO] [stdout] | [INFO] [stdout] 109 | let mut g: StableUnGraph<(), ()> = [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::stable_graph::StableUnGraph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StableUnGraph` [INFO] [stdout] --> tests/matching.rs:110:9 [INFO] [stdout] | [INFO] [stdout] 110 | StableUnGraph::from_edges(&[(0, 1), (0, 2), (1, 2), (1, 3), (2, 4), (3, 4), (3, 5)]); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `StableUnGraph` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::stable_graph::StableUnGraph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NodeIndex` [INFO] [stdout] --> tests/matching.rs:114:19 [INFO] [stdout] | [INFO] [stdout] 114 | g.remove_node(NodeIndex::new(4)); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `NodeIndex` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::adj::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::csr::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::matrix_graph::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::stable_graph::NodeIndex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `StableUnGraph` in this scope [INFO] [stdout] --> tests/matching.rs:134:16 [INFO] [stdout] | [INFO] [stdout] 134 | let mut g: StableUnGraph<(), ()> = StableUnGraph::from_edges(&[(0, 1), (1, 2), (2, 3)]); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::stable_graph::StableUnGraph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StableUnGraph` [INFO] [stdout] --> tests/matching.rs:134:40 [INFO] [stdout] | [INFO] [stdout] 134 | let mut g: StableUnGraph<(), ()> = StableUnGraph::from_edges(&[(0, 1), (1, 2), (2, 3)]); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `StableUnGraph` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::stable_graph::StableUnGraph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NodeIndex` [INFO] [stdout] --> tests/matching.rs:135:19 [INFO] [stdout] | [INFO] [stdout] 135 | g.remove_node(NodeIndex::new(0)); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `NodeIndex` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::adj::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::csr::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::matrix_graph::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::stable_graph::NodeIndex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NodeIndex` [INFO] [stdout] --> tests/matching.rs:136:19 [INFO] [stdout] | [INFO] [stdout] 136 | g.remove_node(NodeIndex::new(1)); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `NodeIndex` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::adj::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::csr::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::matrix_graph::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 1 + use yuuang_petgraph::stable_graph::NodeIndex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NodeIndex` in this scope [INFO] [stdout] --> tests/stable_graph.rs:77:36 [INFO] [stdout] | [INFO] [stdout] 77 | fn assert_sccs_eq(mut res: Vec>, normalized: Vec>) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 8 + use yuuang_petgraph::adj::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 8 + use yuuang_petgraph::csr::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 8 + use yuuang_petgraph::matrix_graph::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 8 + use yuuang_petgraph::stable_graph::NodeIndex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `yuuang_petgraph` (bench "unionfind") due to 21 previous errors [INFO] [stdout] error[E0412]: cannot find type `NodeIndex` in this scope [INFO] [stdout] --> tests/stable_graph.rs:77:69 [INFO] [stdout] | [INFO] [stdout] 77 | fn assert_sccs_eq(mut res: Vec>, normalized: Vec>) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 8 + use yuuang_petgraph::adj::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 8 + use yuuang_petgraph::csr::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 8 + use yuuang_petgraph::matrix_graph::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 8 + use yuuang_petgraph::stable_graph::NodeIndex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Directed` in this scope [INFO] [stdout] --> tests/stable_graph.rs:178:27 [INFO] [stdout] | [INFO] [stdout] 178 | let gr = make_graph::(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 8 + use yuuang_petgraph::Directed; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Directed` in this scope [INFO] [stdout] --> tests/stable_graph.rs:187:27 [INFO] [stdout] | [INFO] [stdout] 187 | let gr = make_graph::(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 8 + use yuuang_petgraph::Directed; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Undirected` in this scope [INFO] [stdout] --> tests/stable_graph.rs:193:27 [INFO] [stdout] | [INFO] [stdout] 193 | let gr = make_graph::(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 8 + use yuuang_petgraph::Undirected; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Directed` in this scope [INFO] [stdout] --> tests/stable_graph.rs:205:27 [INFO] [stdout] | [INFO] [stdout] 205 | let gr = make_graph::(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 8 + use yuuang_petgraph::Directed; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Outgoing` in this scope [INFO] [stdout] --> tests/stable_graph.rs:207:54 [INFO] [stdout] | [INFO] [stdout] 207 | itertools::assert_equal(gr.edges_directed(i, Outgoing), gr.edges(i)); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 8 + use yuuang_petgraph::Outgoing; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 20 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Outgoing` in this scope [INFO] [stdout] --> tests/stable_graph.rs:208:42 [INFO] [stdout] | [INFO] [stdout] 208 | for edge in gr.edges_directed(i, Outgoing) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 8 + use yuuang_petgraph::Outgoing; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Incoming` in this scope [INFO] [stdout] --> tests/stable_graph.rs:227:34 [INFO] [stdout] | [INFO] [stdout] 227 | gr.edges_directed(i, Incoming).map(|e| e.source()), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists (notice the capitalization difference) [INFO] [stdout] | [INFO] [stdout] 227 | gr.edges_directed(i, incoming).map(|e| e.source()), [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 8 + use yuuang_petgraph::Incoming; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Incoming` in this scope [INFO] [stdout] --> tests/stable_graph.rs:230:42 [INFO] [stdout] | [INFO] [stdout] 230 | for edge in gr.edges_directed(i, Incoming) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists (notice the capitalization difference) [INFO] [stdout] | [INFO] [stdout] 230 | for edge in gr.edges_directed(i, incoming) { [INFO] [stdout] | ~~~~~~~~ [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 8 + use yuuang_petgraph::Incoming; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Undirected` in this scope [INFO] [stdout] --> tests/stable_graph.rs:242:27 [INFO] [stdout] | [INFO] [stdout] 242 | let gr = make_graph::(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 8 + use yuuang_petgraph::Undirected; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Outgoing` in this scope [INFO] [stdout] --> tests/stable_graph.rs:244:54 [INFO] [stdout] | [INFO] [stdout] 244 | itertools::assert_equal(gr.edges_directed(i, Outgoing), gr.edges(i)); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 8 + use yuuang_petgraph::Outgoing; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Outgoing` in this scope [INFO] [stdout] --> tests/stable_graph.rs:245:42 [INFO] [stdout] | [INFO] [stdout] 245 | for edge in gr.edges_directed(i, Outgoing) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 8 + use yuuang_petgraph::Outgoing; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Incoming` in this scope [INFO] [stdout] --> tests/stable_graph.rs:254:54 [INFO] [stdout] | [INFO] [stdout] 254 | itertools::assert_equal(gr.edges_directed(i, Incoming), gr.edges(i)); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 8 + use yuuang_petgraph::Incoming; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Incoming` in this scope [INFO] [stdout] --> tests/stable_graph.rs:255:42 [INFO] [stdout] | [INFO] [stdout] 255 | for edge in gr.edges_directed(i, Incoming) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 8 + use yuuang_petgraph::Incoming; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StableUnGraph` [INFO] [stdout] --> tests/stable_graph.rs:295:17 [INFO] [stdout] | [INFO] [stdout] 295 | let mut g = StableUnGraph::<_, _>::default(); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `StableUnGraph` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 8 + use yuuang_petgraph::stable_graph::StableUnGraph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Graph` [INFO] [stdout] --> tests/stable_graph.rs:354:15 [INFO] [stdout] | [INFO] [stdout] 354 | let gr2 = Graph::from(gr1.clone()); [INFO] [stdout] | ^^^^^ use of undeclared type `Graph` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 + use yuuang_petgraph::Graph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Graph` [INFO] [stdout] --> tests/stable_graph.rs:362:15 [INFO] [stdout] | [INFO] [stdout] 362 | let gr4 = Graph::from(gr1); [INFO] [stdout] | ^^^^^ use of undeclared type `Graph` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 8 + use yuuang_petgraph::Graph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NodeIndex` [INFO] [stdout] --> tests/stable_graph.rs:391:20 [INFO] [stdout] | [INFO] [stdout] 391 | g.add_edge(NodeIndex::new(a), NodeIndex::new(b), ()); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `NodeIndex` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 8 + use yuuang_petgraph::adj::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 8 + use yuuang_petgraph::csr::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 8 + use yuuang_petgraph::matrix_graph::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 8 + use yuuang_petgraph::stable_graph::NodeIndex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NodeIndex` [INFO] [stdout] --> tests/stable_graph.rs:391:39 [INFO] [stdout] | [INFO] [stdout] 391 | g.add_edge(NodeIndex::new(a), NodeIndex::new(b), ()); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `NodeIndex` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 8 + use yuuang_petgraph::adj::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 8 + use yuuang_petgraph::csr::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 8 + use yuuang_petgraph::matrix_graph::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 8 + use yuuang_petgraph::stable_graph::NodeIndex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Undirected` in this scope [INFO] [stdout] --> tests/stable_graph.rs:396:35 [INFO] [stdout] | [INFO] [stdout] 396 | let _ = StableGraph::<(), (), Undirected, usize>::from_elements(min_spanning_tree(&g)); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 8 + use yuuang_petgraph::Undirected; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `yuuang_petgraph` (bench "feedback_arc_set") due to 21 previous errors [INFO] [stderr] error: could not compile `yuuang_petgraph` (test "k_shortest_path") due to 6 previous errors [INFO] [stderr] error: could not compile `yuuang_petgraph` (test "iso") due to 21 previous errors [INFO] [stdout] error: aborting due to 15 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 22 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 24 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0432, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UnGraphMap` [INFO] [stdout] --> tests/graphmap.rs:17:18 [INFO] [stdout] | [INFO] [stdout] 17 | let mut gr = UnGraphMap::new(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `UnGraphMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 4 + use yuuang_petgraph::prelude::UnGraphMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DiGraphMap` [INFO] [stdout] --> tests/graphmap.rs:65:18 [INFO] [stdout] | [INFO] [stdout] 65 | let mut gr = DiGraphMap::new(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `DiGraphMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 4 + use yuuang_petgraph::prelude::DiGraphMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/graphmap.rs:81:46 [INFO] [stdout] | [INFO] [stdout] 81 | let mut edges_out = gr.edges_directed(c, Direction::Outgoing); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 4 + use yuuang_petgraph::Direction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Direction` [INFO] [stdout] --> tests/graphmap.rs:86:45 [INFO] [stdout] | [INFO] [stdout] 86 | let mut edges_in = gr.edges_directed(c, Direction::Incoming); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `Direction` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 4 + use yuuang_petgraph::Direction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UnGraphMap` [INFO] [stdout] --> tests/graphmap.rs:94:17 [INFO] [stdout] | [INFO] [stdout] 94 | let mut g = UnGraphMap::new(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `UnGraphMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 4 + use yuuang_petgraph::prelude::UnGraphMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GraphMap` [INFO] [stdout] --> tests/graphmap.rs:130:17 [INFO] [stdout] | [INFO] [stdout] 130 | let mut g = GraphMap::<_, _, Directed>::with_capacity(0, 0); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `GraphMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use yuuang_petgraph::prelude::GraphMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Directed` in this scope [INFO] [stdout] --> tests/graphmap.rs:130:34 [INFO] [stdout] | [INFO] [stdout] 130 | let mut g = GraphMap::<_, _, Directed>::with_capacity(0, 0); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 4 + use yuuang_petgraph::Directed; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UnGraphMap` [INFO] [stdout] --> tests/graphmap.rs:154:18 [INFO] [stdout] | [INFO] [stdout] 154 | let mut gr = UnGraphMap::default(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `UnGraphMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 4 + use yuuang_petgraph::prelude::UnGraphMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Dfs` [INFO] [stdout] --> tests/graphmap.rs:170:23 [INFO] [stdout] | [INFO] [stdout] 170 | let mut dfs = Dfs::new(&gr, h); [INFO] [stdout] | ^^^ use of undeclared type `Dfs` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use yuuang_petgraph::prelude::Dfs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Dfs` [INFO] [stdout] --> tests/graphmap.rs:178:23 [INFO] [stdout] | [INFO] [stdout] 178 | let mut dfs = Dfs::new(&gr, z); [INFO] [stdout] | ^^^ use of undeclared type `Dfs` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use yuuang_petgraph::prelude::Dfs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Dfs` [INFO] [stdout] --> tests/graphmap.rs:185:16 [INFO] [stdout] | [INFO] [stdout] 185 | assert_eq!(Dfs::new(&gr, h).iter(&gr).count(), 4); [INFO] [stdout] | ^^^ use of undeclared type `Dfs` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use yuuang_petgraph::prelude::Dfs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Dfs` [INFO] [stdout] --> tests/graphmap.rs:186:16 [INFO] [stdout] | [INFO] [stdout] 186 | assert_eq!(Dfs::new(&gr, i).iter(&gr).count(), 4); [INFO] [stdout] | ^^^ use of undeclared type `Dfs` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use yuuang_petgraph::prelude::Dfs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Dfs` [INFO] [stdout] --> tests/graphmap.rs:187:16 [INFO] [stdout] | [INFO] [stdout] 187 | assert_eq!(Dfs::new(&gr, z).iter(&gr).count(), 1); [INFO] [stdout] | ^^^ use of undeclared type `Dfs` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use yuuang_petgraph::prelude::Dfs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UnGraphMap` [INFO] [stdout] --> tests/graphmap.rs:192:18 [INFO] [stdout] | [INFO] [stdout] 192 | let mut gr = UnGraphMap::new(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `UnGraphMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 4 + use yuuang_petgraph::prelude::UnGraphMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GraphMap` [INFO] [stdout] --> tests/graphmap.rs:214:9 [INFO] [stdout] | [INFO] [stdout] 214 | GraphMap::<_, _, Undirected>::from_edges(&[("a", "b", 1), ("a", "c", 2), ("c", "d", 3)]); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `GraphMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use yuuang_petgraph::prelude::GraphMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Undirected` in this scope [INFO] [stdout] --> tests/graphmap.rs:214:26 [INFO] [stdout] | [INFO] [stdout] 214 | GraphMap::<_, _, Undirected>::from_edges(&[("a", "b", 1), ("a", "c", 2), ("c", "d", 3)]); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 4 + use yuuang_petgraph::Undirected; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GraphMap` [INFO] [stdout] --> tests/graphmap.rs:219:14 [INFO] [stdout] | [INFO] [stdout] 219 | let gr = GraphMap::<_, (), Undirected>::from_edges(&[ [INFO] [stdout] | ^^^^^^^^ use of undeclared type `GraphMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use yuuang_petgraph::prelude::GraphMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Undirected` in this scope [INFO] [stdout] --> tests/graphmap.rs:219:32 [INFO] [stdout] | [INFO] [stdout] 219 | let gr = GraphMap::<_, (), Undirected>::from_edges(&[ [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 4 + use yuuang_petgraph::Undirected; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DiGraphMap` [INFO] [stdout] --> tests/graphmap.rs:240:18 [INFO] [stdout] | [INFO] [stdout] 240 | let mut gr = DiGraphMap::<_, ()>::with_capacity(0, 0); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `DiGraphMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 4 + use yuuang_petgraph::prelude::DiGraphMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GraphMap` in this scope [INFO] [stdout] --> tests/graphmap.rs:278:13 [INFO] [stdout] | [INFO] [stdout] 278 | let gr: GraphMap<_, u32, Directed> = GraphMap::from_edges(&[ [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use yuuang_petgraph::prelude::GraphMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Directed` in this scope [INFO] [stdout] --> tests/graphmap.rs:278:30 [INFO] [stdout] | [INFO] [stdout] 278 | let gr: GraphMap<_, u32, Directed> = GraphMap::from_edges(&[ [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 4 + use yuuang_petgraph::Directed; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GraphMap` [INFO] [stdout] --> tests/graphmap.rs:278:42 [INFO] [stdout] | [INFO] [stdout] 278 | let gr: GraphMap<_, u32, Directed> = GraphMap::from_edges(&[ [INFO] [stdout] | ^^^^^^^^ use of undeclared type `GraphMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use yuuang_petgraph::prelude::GraphMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GraphMap` in this scope [INFO] [stdout] --> tests/graphmap.rs:300:13 [INFO] [stdout] | [INFO] [stdout] 300 | let gr: GraphMap<_, u32, Directed> = GraphMap::from_edges(&[ [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use yuuang_petgraph::prelude::GraphMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `yuuang_petgraph` (test "floyd_warshall") due to 16 previous errors [INFO] [stdout] error[E0412]: cannot find type `Directed` in this scope [INFO] [stdout] --> tests/graphmap.rs:300:30 [INFO] [stdout] | [INFO] [stdout] 300 | let gr: GraphMap<_, u32, Directed> = GraphMap::from_edges(&[ [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 4 + use yuuang_petgraph::Directed; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GraphMap` [INFO] [stdout] --> tests/graphmap.rs:300:42 [INFO] [stdout] | [INFO] [stdout] 300 | let gr: GraphMap<_, u32, Directed> = GraphMap::from_edges(&[ [INFO] [stdout] | ^^^^^^^^ use of undeclared type `GraphMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use yuuang_petgraph::prelude::GraphMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Graph` in this scope [INFO] [stdout] --> tests/graphmap.rs:314:16 [INFO] [stdout] | [INFO] [stdout] 314 | let graph: Graph<_, _, _> = gr.clone().into_graph(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use yuuang_petgraph::Graph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Graph` in this scope [INFO] [stdout] --> tests/graphmap.rs:330:17 [INFO] [stdout] | [INFO] [stdout] 330 | let mut gr: Graph = Graph::new(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use yuuang_petgraph::Graph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Directed` in this scope [INFO] [stdout] --> tests/graphmap.rs:330:33 [INFO] [stdout] | [INFO] [stdout] 330 | let mut gr: Graph = Graph::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 4 + use yuuang_petgraph::Directed; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Graph` [INFO] [stdout] --> tests/graphmap.rs:330:45 [INFO] [stdout] | [INFO] [stdout] 330 | let mut gr: Graph = Graph::new(); [INFO] [stdout] | ^^^^^ use of undeclared type `Graph` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use yuuang_petgraph::Graph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GraphMap` in this scope [INFO] [stdout] --> tests/graphmap.rs:340:16 [INFO] [stdout] | [INFO] [stdout] 340 | let graph: GraphMap = GraphMap::from_graph(gr.clone()); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use yuuang_petgraph::prelude::GraphMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Directed` in this scope [INFO] [stdout] --> tests/graphmap.rs:340:35 [INFO] [stdout] | [INFO] [stdout] 340 | let graph: GraphMap = GraphMap::from_graph(gr.clone()); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 4 + use yuuang_petgraph::Directed; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GraphMap` [INFO] [stdout] --> tests/graphmap.rs:340:47 [INFO] [stdout] | [INFO] [stdout] 340 | let graph: GraphMap = GraphMap::from_graph(gr.clone()); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `GraphMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use yuuang_petgraph::prelude::GraphMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GraphMap` in this scope [INFO] [stdout] --> tests/graphmap.rs:351:20 [INFO] [stdout] | [INFO] [stdout] 351 | let mut graph: GraphMap<_, u32, Directed> = [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use yuuang_petgraph::prelude::GraphMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Directed` in this scope [INFO] [stdout] --> tests/graphmap.rs:351:37 [INFO] [stdout] | [INFO] [stdout] 351 | let mut graph: GraphMap<_, u32, Directed> = [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 4 + use yuuang_petgraph::Directed; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GraphMap` [INFO] [stdout] --> tests/graphmap.rs:352:9 [INFO] [stdout] | [INFO] [stdout] 352 | GraphMap::from_edges(&[(0, 1, 1), (1, 2, 3), (2, 0, 2)]); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `GraphMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 4 + use yuuang_petgraph::prelude::GraphMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DiGraphMap` [INFO] [stdout] --> tests/graphmap.rs:367:21 [INFO] [stdout] | [INFO] [stdout] 367 | let mut graph = DiGraphMap::new(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `DiGraphMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 4 + use yuuang_petgraph::prelude::DiGraphMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Incoming` in this scope [INFO] [stdout] --> tests/graphmap.rs:372:54 [INFO] [stdout] | [INFO] [stdout] 372 | let mut neighbors = graph.neighbors_directed((), Incoming); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 4 + use yuuang_petgraph::Incoming; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UnGraphMap` [INFO] [stdout] --> tests/graphmap.rs:379:21 [INFO] [stdout] | [INFO] [stdout] 379 | let mut graph = UnGraphMap::new(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `UnGraphMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 4 + use yuuang_petgraph::prelude::UnGraphMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DiGraphMap` [INFO] [stdout] --> tests/graphmap.rs:391:21 [INFO] [stdout] | [INFO] [stdout] 391 | let mut graph = DiGraphMap::new(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `DiGraphMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 4 + use yuuang_petgraph::prelude::DiGraphMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Outgoing` in this scope [INFO] [stdout] --> tests/graphmap.rs:398:45 [INFO] [stdout] | [INFO] [stdout] 398 | assert_eq!(graph.neighbors_directed((), Outgoing).next(), None); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 4 + use yuuang_petgraph::Outgoing; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Incoming` in this scope [INFO] [stdout] --> tests/graphmap.rs:399:45 [INFO] [stdout] | [INFO] [stdout] 399 | assert_eq!(graph.neighbors_directed((), Incoming).next(), None); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 4 + use yuuang_petgraph::Incoming; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `yuuang_petgraph` (test "stable_graph") due to 23 previous errors [INFO] [stderr] error: could not compile `yuuang_petgraph` (test "matching") due to 25 previous errors [INFO] [stdout] error: aborting due to 42 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433, E0463. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `yuuang_petgraph` (test "graphmap") due to 43 previous errors [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Graph` [INFO] [stdout] --> tests/graph.rs:37:18 [INFO] [stdout] | [INFO] [stdout] 37 | let mut og = Graph::new_undirected(); [INFO] [stdout] | ^^^^^ use of undeclared type `Graph` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Graph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Graph` [INFO] [stdout] --> tests/graph.rs:76:18 [INFO] [stdout] | [INFO] [stdout] 76 | let mut gr = Graph::new(); [INFO] [stdout] | ^^^^^ use of undeclared type `Graph` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Graph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Dfs` [INFO] [stdout] --> tests/graph.rs:90:16 [INFO] [stdout] | [INFO] [stdout] 90 | assert_eq!(Dfs::new(&gr, h).iter(&gr).count(), 4); [INFO] [stdout] | ^^^ use of undeclared type `Dfs` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::prelude::Dfs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Dfs` [INFO] [stdout] --> tests/graph.rs:91:16 [INFO] [stdout] | [INFO] [stdout] 91 | assert_eq!(Dfs::new(&gr, h).iter(&gr).clone().count(), 4); [INFO] [stdout] | ^^^ use of undeclared type `Dfs` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::prelude::Dfs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Dfs` [INFO] [stdout] --> tests/graph.rs:93:16 [INFO] [stdout] | [INFO] [stdout] 93 | assert_eq!(Dfs::new(&gr, h).iter(Reversed(&gr)).count(), 1); [INFO] [stdout] | ^^^ use of undeclared type `Dfs` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::prelude::Dfs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Dfs` [INFO] [stdout] --> tests/graph.rs:95:16 [INFO] [stdout] | [INFO] [stdout] 95 | assert_eq!(Dfs::new(&gr, k).iter(Reversed(&gr)).count(), 3); [INFO] [stdout] | ^^^ use of undeclared type `Dfs` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::prelude::Dfs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Dfs` [INFO] [stdout] --> tests/graph.rs:97:16 [INFO] [stdout] | [INFO] [stdout] 97 | assert_eq!(Dfs::new(&gr, i).iter(&gr).count(), 3); [INFO] [stdout] | ^^^ use of undeclared type `Dfs` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::prelude::Dfs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Graph` [INFO] [stdout] --> tests/graph.rs:102:18 [INFO] [stdout] | [INFO] [stdout] 102 | let mut gr = Graph::new(); [INFO] [stdout] | ^^^^^ use of undeclared type `Graph` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Graph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Dfs` [INFO] [stdout] --> tests/graph.rs:122:17 [INFO] [stdout] | [INFO] [stdout] 122 | for node in Dfs::new(&gr, h).iter(&gr) { [INFO] [stdout] | ^^^ use of undeclared type `Dfs` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::prelude::Dfs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Graph` [INFO] [stdout] --> tests/graph.rs:131:18 [INFO] [stdout] | [INFO] [stdout] 131 | let mut gr = Graph::new(); [INFO] [stdout] | ^^^^^ use of undeclared type `Graph` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Graph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bfs` [INFO] [stdout] --> tests/graph.rs:143:16 [INFO] [stdout] | [INFO] [stdout] 143 | assert_eq!(Bfs::new(&gr, h).iter(&gr).count(), 4); [INFO] [stdout] | ^^^ use of undeclared type `Bfs` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::prelude::Bfs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bfs` [INFO] [stdout] --> tests/graph.rs:144:16 [INFO] [stdout] | [INFO] [stdout] 144 | assert_eq!(Bfs::new(&gr, h).iter(&gr).clone().count(), 4); [INFO] [stdout] | ^^^ use of undeclared type `Bfs` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::prelude::Bfs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bfs` [INFO] [stdout] --> tests/graph.rs:146:16 [INFO] [stdout] | [INFO] [stdout] 146 | assert_eq!(Bfs::new(&gr, h).iter(Reversed(&gr)).count(), 1); [INFO] [stdout] | ^^^ use of undeclared type `Bfs` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::prelude::Bfs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bfs` [INFO] [stdout] --> tests/graph.rs:148:16 [INFO] [stdout] | [INFO] [stdout] 148 | assert_eq!(Bfs::new(&gr, k).iter(Reversed(&gr)).count(), 3); [INFO] [stdout] | ^^^ use of undeclared type `Bfs` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::prelude::Bfs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bfs` [INFO] [stdout] --> tests/graph.rs:150:16 [INFO] [stdout] | [INFO] [stdout] 150 | assert_eq!(Bfs::new(&gr, i).iter(&gr).count(), 3); [INFO] [stdout] | ^^^ use of undeclared type `Bfs` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::prelude::Bfs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bfs` [INFO] [stdout] --> tests/graph.rs:152:19 [INFO] [stdout] | [INFO] [stdout] 152 | let mut bfs = Bfs::new(&gr, h); [INFO] [stdout] | ^^^ use of undeclared type `Bfs` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::prelude::Bfs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Graph` [INFO] [stdout] --> tests/graph.rs:172:18 [INFO] [stdout] | [INFO] [stdout] 172 | let mut gr = Graph::<_, _>::new(); [INFO] [stdout] | ^^^^^ use of undeclared type `Graph` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Graph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UnGraph` [INFO] [stdout] --> tests/graph.rs:202:15 [INFO] [stdout] | [INFO] [stdout] 202 | let mst = UnGraph::from_elements(min_spanning_tree(&gr)); [INFO] [stdout] | ^^^^^^^ use of undeclared type `UnGraph` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::graph::UnGraph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Graph` [INFO] [stdout] --> tests/graph.rs:228:18 [INFO] [stdout] | [INFO] [stdout] 228 | let mut gr = Graph::new(); [INFO] [stdout] | ^^^^^ use of undeclared type `Graph` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Graph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Graph` [INFO] [stdout] --> tests/graph.rs:249:18 [INFO] [stdout] | [INFO] [stdout] 249 | let mut gr = Graph::new(); [INFO] [stdout] | ^^^^^ use of undeclared type `Graph` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Graph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Graph` [INFO] [stdout] --> tests/graph.rs:285:22 [INFO] [stdout] | [INFO] [stdout] 285 | let mut gr = Graph::new_undirected(); [INFO] [stdout] | ^^^^^ use of undeclared type `Graph` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Graph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Graph` [INFO] [stdout] --> tests/graph.rs:314:22 [INFO] [stdout] | [INFO] [stdout] 314 | let mut gr = Graph::new_undirected(); [INFO] [stdout] | ^^^^^ use of undeclared type `Graph` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Graph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Graph` [INFO] [stdout] --> tests/graph.rs:355:18 [INFO] [stdout] | [INFO] [stdout] 355 | let mut gr = Graph::new(); [INFO] [stdout] | ^^^^^ use of undeclared type `Graph` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Graph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Graph` [INFO] [stdout] --> tests/graph.rs:365:18 [INFO] [stdout] | [INFO] [stdout] 365 | let mut gr = Graph::new(); [INFO] [stdout] | ^^^^^ use of undeclared type `Graph` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Graph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Graph` [INFO] [stdout] --> tests/graph.rs:395:18 [INFO] [stdout] | [INFO] [stdout] 395 | let mut gr = Graph::new_undirected(); [INFO] [stdout] | ^^^^^ use of undeclared type `Graph` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Graph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Graph` [INFO] [stdout] --> tests/graph.rs:430:22 [INFO] [stdout] | [INFO] [stdout] 430 | let mut gr = Graph::new(); [INFO] [stdout] | ^^^^^ use of undeclared type `Graph` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Graph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Graph` [INFO] [stdout] --> tests/graph.rs:442:22 [INFO] [stdout] | [INFO] [stdout] 442 | let mut gr = Graph::new_undirected(); [INFO] [stdout] | ^^^^^ use of undeclared type `Graph` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Graph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Graph` [INFO] [stdout] --> tests/graph.rs:455:17 [INFO] [stdout] | [INFO] [stdout] 455 | let mut g = Graph::new_undirected(); [INFO] [stdout] | ^^^^^ use of undeclared type `Graph` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Graph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Bfs` [INFO] [stdout] --> tests/graph.rs:472:15 [INFO] [stdout] | [INFO] [stdout] 472 | for no in Bfs::new(&g, a).iter(&g) { [INFO] [stdout] | ^^^ use of undeclared type `Bfs` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::prelude::Bfs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Graph` [INFO] [stdout] --> tests/graph.rs:497:17 [INFO] [stdout] | [INFO] [stdout] 497 | let mut g = Graph::new(); [INFO] [stdout] | ^^^^^ use of undeclared type `Graph` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Graph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Graph` [INFO] [stdout] --> tests/graph.rs:527:17 [INFO] [stdout] | [INFO] [stdout] 527 | let mut g = Graph::new(); [INFO] [stdout] | ^^^^^ use of undeclared type `Graph` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Graph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NodeIndex` in this scope [INFO] [stdout] --> tests/graph.rs:543:29 [INFO] [stdout] | [INFO] [stdout] 543 | let heuristic_for = |f: NodeIndex| { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::adj::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::csr::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::matrix_graph::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::stable_graph::NodeIndex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NodeIndex` in this scope [INFO] [stdout] --> tests/graph.rs:545:21 [INFO] [stdout] | [INFO] [stdout] 545 | move |node: NodeIndex| -> f32 { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::adj::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::csr::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::matrix_graph::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::stable_graph::NodeIndex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Graph` [INFO] [stdout] --> tests/graph.rs:579:17 [INFO] [stdout] | [INFO] [stdout] 579 | let mut g = Graph::new(); [INFO] [stdout] | ^^^^^ use of undeclared type `Graph` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Graph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Graph` [INFO] [stdout] --> tests/graph.rs:614:17 [INFO] [stdout] | [INFO] [stdout] 614 | let mut g = Graph::new(); [INFO] [stdout] | ^^^^^ use of undeclared type `Graph` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Graph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NodeIndex` in this scope [INFO] [stdout] --> tests/graph.rs:625:39 [INFO] [stdout] | [INFO] [stdout] 625 | let admissible_inconsistent = |n: NodeIndex| match g[n] { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::adj::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::csr::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::matrix_graph::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::stable_graph::NodeIndex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Graph` [INFO] [stdout] --> tests/graph.rs:712:18 [INFO] [stdout] | [INFO] [stdout] 712 | let mut og = Graph::new_undirected(); [INFO] [stdout] | ^^^^^ use of undeclared type `Graph` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Graph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NodeIndex` in this scope [INFO] [stdout] --> tests/graph.rs:719:16 [INFO] [stdout] | [INFO] [stdout] 719 | let v: Vec = og.externals(Outgoing).collect(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::adj::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::csr::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::matrix_graph::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::stable_graph::NodeIndex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Outgoing` in this scope [INFO] [stdout] --> tests/graph.rs:719:42 [INFO] [stdout] | [INFO] [stdout] 719 | let v: Vec = og.externals(Outgoing).collect(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Outgoing; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Graph` [INFO] [stdout] --> tests/graph.rs:722:18 [INFO] [stdout] | [INFO] [stdout] 722 | let mut og = Graph::new(); [INFO] [stdout] | ^^^^^ use of undeclared type `Graph` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Graph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NodeIndex` in this scope [INFO] [stdout] --> tests/graph.rs:729:19 [INFO] [stdout] | [INFO] [stdout] 729 | let init: Vec = og.externals(Incoming).collect(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::adj::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::csr::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::matrix_graph::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::stable_graph::NodeIndex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Incoming` in this scope [INFO] [stdout] --> tests/graph.rs:729:45 [INFO] [stdout] | [INFO] [stdout] 729 | let init: Vec = og.externals(Incoming).collect(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Incoming; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NodeIndex` in this scope [INFO] [stdout] --> tests/graph.rs:730:19 [INFO] [stdout] | [INFO] [stdout] 730 | let term: Vec = og.externals(Outgoing).collect(); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::adj::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::csr::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::matrix_graph::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::stable_graph::NodeIndex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Outgoing` in this scope [INFO] [stdout] --> tests/graph.rs:730:45 [INFO] [stdout] | [INFO] [stdout] 730 | let term: Vec = og.externals(Outgoing).collect(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Outgoing; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Graph` in this scope [INFO] [stdout] --> tests/graph.rs:735:36 [INFO] [stdout] | [INFO] [stdout] 735 | fn assert_is_topo_order(gr: &Graph, order: &[NodeIndex]) { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Graph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Directed` in this scope [INFO] [stdout] --> tests/graph.rs:735:48 [INFO] [stdout] | [INFO] [stdout] 735 | fn assert_is_topo_order(gr: &Graph, order: &[NodeIndex]) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Directed; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NodeIndex` in this scope [INFO] [stdout] --> tests/graph.rs:735:68 [INFO] [stdout] | [INFO] [stdout] 735 | fn assert_is_topo_order(gr: &Graph, order: &[NodeIndex]) { [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::adj::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::csr::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::matrix_graph::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::stable_graph::NodeIndex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Graph` [INFO] [stdout] --> tests/graph.rs:755:18 [INFO] [stdout] | [INFO] [stdout] 755 | let mut gr = Graph::<_, _>::new(); [INFO] [stdout] | ^^^^^ use of undeclared type `Graph` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Graph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Graph` [INFO] [stdout] --> tests/graph.rs:794:17 [INFO] [stdout] | [INFO] [stdout] 794 | let mut g = Graph::<_, _>::new(); [INFO] [stdout] | ^^^^^ use of undeclared type `Graph` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Graph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Graph` [INFO] [stdout] --> tests/graph.rs:804:18 [INFO] [stdout] | [INFO] [stdout] 804 | let mut gr = Graph::<_, _>::new(); [INFO] [stdout] | ^^^^^ use of undeclared type `Graph` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Graph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NodeIndex` in this scope [INFO] [stdout] --> tests/graph.rs:842:22 [INFO] [stdout] | [INFO] [stdout] 842 | mut res: Vec>, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::adj::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::csr::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::matrix_graph::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::stable_graph::NodeIndex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NodeIndex` in this scope [INFO] [stdout] --> tests/graph.rs:843:25 [INFO] [stdout] | [INFO] [stdout] 843 | mut answer: Vec>, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::adj::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::csr::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::matrix_graph::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::stable_graph::NodeIndex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Graph` in this scope [INFO] [stdout] --> tests/graph.rs:862:13 [INFO] [stdout] | [INFO] [stdout] 862 | let gr: Graph<(), ()> = Graph::from_edges(&[ [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Graph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Graph` [INFO] [stdout] --> tests/graph.rs:862:29 [INFO] [stdout] | [INFO] [stdout] 862 | let gr: Graph<(), ()> = Graph::from_edges(&[ [INFO] [stdout] | ^^^^^ use of undeclared type `Graph` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Graph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Undirected` in this scope [INFO] [stdout] --> tests/graph.rs:898:38 [INFO] [stdout] | [INFO] [stdout] 898 | let mut hr = gr.into_edge_type::(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Undirected; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NodeIndex` [INFO] [stdout] --> tests/graph.rs:913:13 [INFO] [stdout] | [INFO] [stdout] 913 | let n = NodeIndex::new; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `NodeIndex` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::adj::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::csr::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::matrix_graph::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::stable_graph::NodeIndex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Graph` [INFO] [stdout] --> tests/graph.rs:914:18 [INFO] [stdout] | [INFO] [stdout] 914 | let mut gr = Graph::new(); [INFO] [stdout] | ^^^^^ use of undeclared type `Graph` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Graph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Graph` [INFO] [stdout] --> tests/graph.rs:931:18 [INFO] [stdout] | [INFO] [stdout] 931 | let mut gr = Graph::<(), ()>::new(); [INFO] [stdout] | ^^^^^ use of undeclared type `Graph` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Graph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Graph` in this scope [INFO] [stdout] --> tests/graph.rs:944:13 [INFO] [stdout] | [INFO] [stdout] 944 | let gr: Graph<(), ()> = Graph::from_edges(&[ [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Graph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Graph` [INFO] [stdout] --> tests/graph.rs:944:29 [INFO] [stdout] | [INFO] [stdout] 944 | let gr: Graph<(), ()> = Graph::from_edges(&[ [INFO] [stdout] | ^^^^^ use of undeclared type `Graph` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Graph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Undirected` in this scope [INFO] [stdout] --> tests/graph.rs:974:38 [INFO] [stdout] | [INFO] [stdout] 974 | let mut hr = gr.into_edge_type::(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Undirected; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NodeIndex` [INFO] [stdout] --> tests/graph.rs:991:13 [INFO] [stdout] | [INFO] [stdout] 991 | let n = NodeIndex::new; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `NodeIndex` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::adj::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::csr::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::matrix_graph::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::stable_graph::NodeIndex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Graph` [INFO] [stdout] --> tests/graph.rs:992:18 [INFO] [stdout] | [INFO] [stdout] 992 | let mut gr = Graph::new(); [INFO] [stdout] | ^^^^^ use of undeclared type `Graph` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Graph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Graph` [INFO] [stdout] --> tests/graph.rs:1011:18 [INFO] [stdout] | [INFO] [stdout] 1011 | let mut gr = Graph::<(), ()>::new(); [INFO] [stdout] | ^^^^^ use of undeclared type `Graph` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Graph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Graph` in this scope [INFO] [stdout] --> tests/graph.rs:1026:13 [INFO] [stdout] | [INFO] [stdout] 1026 | let gr: Graph<(), ()> = Graph::from_edges(&[ [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Graph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Graph` [INFO] [stdout] --> tests/graph.rs:1026:29 [INFO] [stdout] | [INFO] [stdout] 1026 | let gr: Graph<(), ()> = Graph::from_edges(&[ [INFO] [stdout] | ^^^^^ use of undeclared type `Graph` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Graph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NodeIndex` [INFO] [stdout] --> tests/graph.rs:1063:13 [INFO] [stdout] | [INFO] [stdout] 1063 | let n = NodeIndex::new; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `NodeIndex` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::adj::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::csr::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::matrix_graph::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::stable_graph::NodeIndex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Graph` [INFO] [stdout] --> tests/graph.rs:1064:18 [INFO] [stdout] | [INFO] [stdout] 1064 | let mut gr = Graph::new(); [INFO] [stdout] | ^^^^^ use of undeclared type `Graph` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Graph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Undirected` in this scope [INFO] [stdout] --> tests/graph.rs:1094:34 [INFO] [stdout] | [INFO] [stdout] 1094 | let gr = gr.into_edge_type::(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Undirected; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Graph` [INFO] [stdout] --> tests/graph.rs:1101:18 [INFO] [stdout] | [INFO] [stdout] 1101 | let mut gr = Graph::<_, ()>::new(); [INFO] [stdout] | ^^^^^ use of undeclared type `Graph` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Graph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Graph` [INFO] [stdout] --> tests/graph.rs:1110:18 [INFO] [stdout] | [INFO] [stdout] 1110 | let mut gr = Graph::<_, _, Directed, usize>::with_capacity(0, 0); [INFO] [stdout] | ^^^^^ use of undeclared type `Graph` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Graph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Directed` in this scope [INFO] [stdout] --> tests/graph.rs:1110:32 [INFO] [stdout] | [INFO] [stdout] 1110 | let mut gr = Graph::<_, _, Directed, usize>::with_capacity(0, 0); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Directed; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Dfs` [INFO] [stdout] --> tests/graph.rs:1114:19 [INFO] [stdout] | [INFO] [stdout] 1114 | let mut dfs = Dfs::new(&gr, a); [INFO] [stdout] | ^^^ use of undeclared type `Dfs` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::prelude::Dfs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Graph` [INFO] [stdout] --> tests/graph.rs:1125:18 [INFO] [stdout] | [INFO] [stdout] 1125 | let mut gr = Graph::<_, (), Undirected, u8>::with_capacity(0, 0); [INFO] [stdout] | ^^^^^ use of undeclared type `Graph` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Graph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Undirected` in this scope [INFO] [stdout] --> tests/graph.rs:1125:33 [INFO] [stdout] | [INFO] [stdout] 1125 | let mut gr = Graph::<_, (), Undirected, u8>::with_capacity(0, 0); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Undirected; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Graph` [INFO] [stdout] --> tests/graph.rs:1134:18 [INFO] [stdout] | [INFO] [stdout] 1134 | let mut gr = Graph::<_, (), Undirected, u8>::with_capacity(0, 0); [INFO] [stdout] | ^^^^^ use of undeclared type `Graph` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Graph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Undirected` in this scope [INFO] [stdout] --> tests/graph.rs:1134:33 [INFO] [stdout] | [INFO] [stdout] 1134 | let mut gr = Graph::<_, (), Undirected, u8>::with_capacity(0, 0); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Undirected; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Graph` [INFO] [stdout] --> tests/graph.rs:1143:18 [INFO] [stdout] | [INFO] [stdout] 1143 | let mut gr = Graph::<_, (), Undirected, u8>::with_capacity(0, 0); [INFO] [stdout] | ^^^^^ use of undeclared type `Graph` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Graph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Undirected` in this scope [INFO] [stdout] --> tests/graph.rs:1143:33 [INFO] [stdout] | [INFO] [stdout] 1143 | let mut gr = Graph::<_, (), Undirected, u8>::with_capacity(0, 0); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Undirected; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Graph` [INFO] [stdout] --> tests/graph.rs:1153:18 [INFO] [stdout] | [INFO] [stdout] 1153 | let mut gr = Graph::<_, _>::new(); [INFO] [stdout] | ^^^^^ use of undeclared type `Graph` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Graph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EdgeIndex` [INFO] [stdout] --> tests/graph.rs:1196:24 [INFO] [stdout] | [INFO] [stdout] 1196 | assert_eq!(old[EdgeIndex::new(index)], *ew); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `EdgeIndex` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::adj::EdgeIndex; [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::csr::EdgeIndex; [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::stable_graph::EdgeIndex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EdgeIndex` [INFO] [stdout] --> tests/graph.rs:1200:43 [INFO] [stdout] | [INFO] [stdout] 1200 | assert_eq!(edge.weight, -1. * old[EdgeIndex::new(index)]); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `EdgeIndex` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::adj::EdgeIndex; [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::csr::EdgeIndex; [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::stable_graph::EdgeIndex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Graph` [INFO] [stdout] --> tests/graph.rs:1206:18 [INFO] [stdout] | [INFO] [stdout] 1206 | let mut gr = Graph::<_, _>::new(); [INFO] [stdout] | ^^^^^ use of undeclared type `Graph` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Graph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Dfs` [INFO] [stdout] --> tests/graph.rs:1217:19 [INFO] [stdout] | [INFO] [stdout] 1217 | let mut dfs = Dfs::new(&gr, a); [INFO] [stdout] | ^^^ use of undeclared type `Dfs` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::prelude::Dfs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Outgoing` in this scope [INFO] [stdout] --> tests/graph.rs:1219:55 [INFO] [stdout] | [INFO] [stdout] 1219 | let mut edges = gr.neighbors_directed(source, Outgoing).detach(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Outgoing; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Dfs` [INFO] [stdout] --> tests/graph.rs:1230:19 [INFO] [stdout] | [INFO] [stdout] 1230 | let mut dfs = Dfs::new(&gr, a); [INFO] [stdout] | ^^^ use of undeclared type `Dfs` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::prelude::Dfs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Incoming` in this scope [INFO] [stdout] --> tests/graph.rs:1232:53 [INFO] [stdout] | [INFO] [stdout] 1232 | let mut edges = gr.neighbors_directed(node, Incoming).detach(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Incoming; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Outgoing` in this scope [INFO] [stdout] --> tests/graph.rs:1238:53 [INFO] [stdout] | [INFO] [stdout] 1238 | let mut edges = gr.neighbors_directed(node, Outgoing).detach(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Outgoing; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Graph` [INFO] [stdout] --> tests/graph.rs:1249:18 [INFO] [stdout] | [INFO] [stdout] 1249 | let mut gr = Graph::<_, _>::new(); [INFO] [stdout] | ^^^^^ use of undeclared type `Graph` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Graph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Incoming` in this scope [INFO] [stdout] --> tests/graph.rs:1269:18 [INFO] [stdout] | [INFO] [stdout] 1269 | for dir in &[Incoming, Outgoing] { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Incoming; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Outgoing` in this scope [INFO] [stdout] --> tests/graph.rs:1269:28 [INFO] [stdout] | [INFO] [stdout] 1269 | for dir in &[Incoming, Outgoing] { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Outgoing; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Dfs` [INFO] [stdout] --> tests/graph.rs:1275:23 [INFO] [stdout] | [INFO] [stdout] 1275 | let mut dfs = Dfs::new(&gr, a); [INFO] [stdout] | ^^^ use of undeclared type `Dfs` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::prelude::Dfs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NodeIndex` [INFO] [stdout] --> tests/graph.rs:1286:22 [INFO] [stdout] | [INFO] [stdout] 1286 | let ni = NodeIndex::new(i); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `NodeIndex` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::adj::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::csr::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::matrix_graph::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::stable_graph::NodeIndex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Graph` in this scope [INFO] [stdout] --> tests/graph.rs:1297:48 [INFO] [stdout] | [INFO] [stdout] 1297 | fn make_edge_iterator_graph() -> Graph { [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Graph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Graph` [INFO] [stdout] --> tests/graph.rs:1298:18 [INFO] [stdout] | [INFO] [stdout] 1298 | let mut gr = Graph::default(); [INFO] [stdout] | ^^^^^ use of undeclared type `Graph` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Graph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Directed` in this scope [INFO] [stdout] --> tests/graph.rs:1324:41 [INFO] [stdout] | [INFO] [stdout] 1324 | let gr = make_edge_iterator_graph::(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Directed; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Outgoing` in this scope [INFO] [stdout] --> tests/graph.rs:1327:54 [INFO] [stdout] | [INFO] [stdout] 1327 | itertools::assert_equal(gr.edges_directed(i, Outgoing), gr.edges(i)); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Outgoing; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Outgoing` in this scope [INFO] [stdout] --> tests/graph.rs:1331:34 [INFO] [stdout] | [INFO] [stdout] 1331 | gr.edges_directed(i, Outgoing) [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Outgoing; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Incoming` in this scope [INFO] [stdout] --> tests/graph.rs:1334:36 [INFO] [stdout] | [INFO] [stdout] 1334 | .edges_directed(i, Incoming) [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Incoming; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Outgoing` in this scope [INFO] [stdout] --> tests/graph.rs:1338:42 [INFO] [stdout] | [INFO] [stdout] 1338 | for edge in gr.edges_directed(i, Outgoing) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Outgoing; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Incoming` in this scope [INFO] [stdout] --> tests/graph.rs:1345:53 [INFO] [stdout] | [INFO] [stdout] 1345 | for edge in Reversed(&gr).edges_directed(i, Incoming) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Incoming; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Incoming` in this scope [INFO] [stdout] --> tests/graph.rs:1360:54 [INFO] [stdout] | [INFO] [stdout] 1360 | itertools::assert_equal(gr.edges_directed(i, Incoming), reversed_gr.edges(i)); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Incoming; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Incoming` in this scope [INFO] [stdout] --> tests/graph.rs:1364:34 [INFO] [stdout] | [INFO] [stdout] 1364 | gr.edges_directed(i, Incoming) [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Incoming; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Incoming` in this scope [INFO] [stdout] --> tests/graph.rs:1371:42 [INFO] [stdout] | [INFO] [stdout] 1371 | for edge in gr.edges_directed(i, Incoming) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Incoming; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Outgoing` in this scope [INFO] [stdout] --> tests/graph.rs:1378:53 [INFO] [stdout] | [INFO] [stdout] 1378 | for edge in Reversed(&gr).edges_directed(i, Outgoing) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Outgoing; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Directed` in this scope [INFO] [stdout] --> tests/graph.rs:1395:41 [INFO] [stdout] | [INFO] [stdout] 1395 | let gr = make_edge_iterator_graph::(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Directed; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Outgoing` in this scope [INFO] [stdout] --> tests/graph.rs:1401:40 [INFO] [stdout] | [INFO] [stdout] 1401 | filtered.edges_directed(i, Outgoing), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Outgoing; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Outgoing` in this scope [INFO] [stdout] --> tests/graph.rs:1402:34 [INFO] [stdout] | [INFO] [stdout] 1402 | gr.edges_directed(i, Outgoing).filter(|edge| filter(*edge)), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Outgoing; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Incoming` in this scope [INFO] [stdout] --> tests/graph.rs:1405:40 [INFO] [stdout] | [INFO] [stdout] 1405 | filtered.edges_directed(i, Incoming), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Incoming; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Incoming` in this scope [INFO] [stdout] --> tests/graph.rs:1406:34 [INFO] [stdout] | [INFO] [stdout] 1406 | gr.edges_directed(i, Incoming).filter(|edge| filter(*edge)), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Incoming; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Directed` in this scope [INFO] [stdout] --> tests/graph.rs:1418:41 [INFO] [stdout] | [INFO] [stdout] 1418 | let gr = make_edge_iterator_graph::(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Directed; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Outgoing` in this scope [INFO] [stdout] --> tests/graph.rs:1424:40 [INFO] [stdout] | [INFO] [stdout] 1424 | filtered.edges_directed(i, Outgoing), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Outgoing; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Outgoing` in this scope [INFO] [stdout] --> tests/graph.rs:1425:34 [INFO] [stdout] | [INFO] [stdout] 1425 | gr.edges_directed(i, Outgoing) [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Outgoing; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Incoming` in this scope [INFO] [stdout] --> tests/graph.rs:1429:40 [INFO] [stdout] | [INFO] [stdout] 1429 | filtered.edges_directed(i, Incoming), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Incoming; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Incoming` in this scope [INFO] [stdout] --> tests/graph.rs:1430:34 [INFO] [stdout] | [INFO] [stdout] 1430 | gr.edges_directed(i, Incoming) [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Incoming; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Undirected` in this scope [INFO] [stdout] --> tests/graph.rs:1438:41 [INFO] [stdout] | [INFO] [stdout] 1438 | let gr = make_edge_iterator_graph::(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Undirected; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Outgoing` in this scope [INFO] [stdout] --> tests/graph.rs:1441:54 [INFO] [stdout] | [INFO] [stdout] 1441 | itertools::assert_equal(gr.edges_directed(i, Outgoing), gr.edges(i)); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Outgoing; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Outgoing` in this scope [INFO] [stdout] --> tests/graph.rs:1445:34 [INFO] [stdout] | [INFO] [stdout] 1445 | gr.edges_directed(i, Outgoing) [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Outgoing; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Incoming` in this scope [INFO] [stdout] --> tests/graph.rs:1448:36 [INFO] [stdout] | [INFO] [stdout] 1448 | .edges_directed(i, Incoming) [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Incoming; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Outgoing` in this scope [INFO] [stdout] --> tests/graph.rs:1452:42 [INFO] [stdout] | [INFO] [stdout] 1452 | for edge in gr.edges_directed(i, Outgoing) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Outgoing; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Incoming` in this scope [INFO] [stdout] --> tests/graph.rs:1459:53 [INFO] [stdout] | [INFO] [stdout] 1459 | for edge in Reversed(&gr).edges_directed(i, Incoming) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Incoming; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Incoming` in this scope [INFO] [stdout] --> tests/graph.rs:1469:54 [INFO] [stdout] | [INFO] [stdout] 1469 | itertools::assert_equal(gr.edges_directed(i, Incoming), gr.edges(i)); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Incoming; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Incoming` in this scope [INFO] [stdout] --> tests/graph.rs:1473:34 [INFO] [stdout] | [INFO] [stdout] 1473 | gr.edges_directed(i, Incoming) [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Incoming; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Incoming` in this scope [INFO] [stdout] --> tests/graph.rs:1480:42 [INFO] [stdout] | [INFO] [stdout] 1480 | for edge in gr.edges_directed(i, Incoming) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Incoming; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Outgoing` in this scope [INFO] [stdout] --> tests/graph.rs:1487:53 [INFO] [stdout] | [INFO] [stdout] 1487 | for edge in Reversed(&gr).edges_directed(i, Outgoing) { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Outgoing; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Graph` [INFO] [stdout] --> tests/graph.rs:1500:18 [INFO] [stdout] | [INFO] [stdout] 1500 | let mut gr = Graph::<_, _>::new(); [INFO] [stdout] | ^^^^^ use of undeclared type `Graph` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Graph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Graph` [INFO] [stdout] --> tests/graph.rs:1560:18 [INFO] [stdout] | [INFO] [stdout] 1560 | let mut gr = Graph::<_, _>::new(); [INFO] [stdout] | ^^^^^ use of undeclared type `Graph` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Graph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Graph` [INFO] [stdout] --> tests/graph.rs:1604:17 [INFO] [stdout] | [INFO] [stdout] 1604 | let mut g = Graph::new_undirected(); [INFO] [stdout] | ^^^^^ use of undeclared type `Graph` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Graph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NodeIndex` [INFO] [stdout] --> tests/graph.rs:1658:13 [INFO] [stdout] | [INFO] [stdout] 1658 | let n = NodeIndex::new; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `NodeIndex` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::adj::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::csr::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::matrix_graph::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::stable_graph::NodeIndex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Graph` [INFO] [stdout] --> tests/graph.rs:1660:9 [INFO] [stdout] | [INFO] [stdout] 1660 | Graph::<(), (), Undirected>::from_edges(&[(0, 1), (0, 2), (0, 3), (1, 2), (1, 3), (2, 3)]); [INFO] [stdout] | ^^^^^ use of undeclared type `Graph` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Graph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Undirected` in this scope [INFO] [stdout] --> tests/graph.rs:1660:25 [INFO] [stdout] | [INFO] [stdout] 1660 | Graph::<(), (), Undirected>::from_edges(&[(0, 1), (0, 2), (0, 3), (1, 2), (1, 3), (2, 3)]); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Undirected; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Graph` [INFO] [stdout] --> tests/graph.rs:1672:18 [INFO] [stdout] | [INFO] [stdout] 1672 | let mut gr = Graph::::from_edges(&[ [INFO] [stdout] | ^^^^^ use of undeclared type `Graph` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Graph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Undirected` in this scope [INFO] [stdout] --> tests/graph.rs:1672:36 [INFO] [stdout] | [INFO] [stdout] 1672 | let mut gr = Graph::::from_edges(&[ [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Undirected; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Graph` in this scope [INFO] [stdout] --> tests/graph.rs:1702:46 [INFO] [stdout] | [INFO] [stdout] 1702 | fn assert_graph_consistent(g: &Graph) [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Graph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Graph` [INFO] [stdout] --> tests/graph.rs:1722:18 [INFO] [stdout] | [INFO] [stdout] 1722 | let mut gr = Graph::<_, ()>::new(); [INFO] [stdout] | ^^^^^ use of undeclared type `Graph` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Graph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Incoming` in this scope [INFO] [stdout] --> tests/graph.rs:1734:48 [INFO] [stdout] | [INFO] [stdout] 1734 | let mut seen_in = gr.neighbors_directed(a, Incoming).collect::>(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Incoming; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Incoming` in this scope [INFO] [stdout] --> tests/graph.rs:1755:45 [INFO] [stdout] | [INFO] [stdout] 1755 | let mut walk = gr.neighbors_directed(a, Incoming).detach(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Incoming; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Graph` in this scope [INFO] [stdout] --> tests/graph.rs:1771:17 [INFO] [stdout] | [INFO] [stdout] 1771 | let mut gr: Graph<_, (), _> = Graph::new_undirected(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Graph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Graph` [INFO] [stdout] --> tests/graph.rs:1771:35 [INFO] [stdout] | [INFO] [stdout] 1771 | let mut gr: Graph<_, (), _> = Graph::new_undirected(); [INFO] [stdout] | ^^^^^ use of undeclared type `Graph` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Graph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Incoming` in this scope [INFO] [stdout] --> tests/graph.rs:1788:48 [INFO] [stdout] | [INFO] [stdout] 1788 | let mut seen_in = gr.neighbors_directed(a, Incoming).collect::>(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Incoming; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Graph` [INFO] [stdout] --> tests/graph.rs:1814:18 [INFO] [stdout] | [INFO] [stdout] 1814 | let mut gr = Graph::::from_edges(&[ [INFO] [stdout] | ^^^^^ use of undeclared type `Graph` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Graph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Undirected` in this scope [INFO] [stdout] --> tests/graph.rs:1814:37 [INFO] [stdout] | [INFO] [stdout] 1814 | let mut gr = Graph::::from_edges(&[ [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Undirected; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GraphMap` [INFO] [stdout] --> tests/graph.rs:1833:18 [INFO] [stdout] | [INFO] [stdout] 1833 | let mut gr = GraphMap::<_, (), Undirected>::from_edges(&[ [INFO] [stdout] | ^^^^^^^^ use of undeclared type `GraphMap` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::prelude::GraphMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Undirected` in this scope [INFO] [stdout] --> tests/graph.rs:1833:36 [INFO] [stdout] | [INFO] [stdout] 1833 | let mut gr = GraphMap::<_, (), Undirected>::from_edges(&[ [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Undirected; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Graph` [INFO] [stdout] --> tests/graph.rs:1852:18 [INFO] [stdout] | [INFO] [stdout] 1852 | let mut gr = Graph::new(); [INFO] [stdout] | ^^^^^ use of undeclared type `Graph` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Graph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Incoming` in this scope [INFO] [stdout] --> tests/graph.rs:1869:34 [INFO] [stdout] | [INFO] [stdout] 1869 | gr.neighbors_directed(a, Incoming).collect::>(), [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Incoming; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Graph` [INFO] [stdout] --> tests/graph.rs:1882:18 [INFO] [stdout] | [INFO] [stdout] 1882 | let mut gr = Graph::new(); [INFO] [stdout] | ^^^^^ use of undeclared type `Graph` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Graph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Graph` [INFO] [stdout] --> tests/graph.rs:1899:17 [INFO] [stdout] | [INFO] [stdout] 1899 | let mut g = Graph::new(); [INFO] [stdout] | ^^^^^ use of undeclared type `Graph` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Graph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NodeIndex` in this scope [INFO] [stdout] --> tests/graph.rs:1917:37 [INFO] [stdout] | [INFO] [stdout] 1917 | let filt = NodeFiltered(&g, |n: NodeIndex| n != c && n != e); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::adj::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::csr::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::matrix_graph::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::stable_graph::NodeIndex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DfsPostOrder` [INFO] [stdout] --> tests/graph.rs:1919:19 [INFO] [stdout] | [INFO] [stdout] 1919 | let mut dfs = DfsPostOrder::new(&filt, a); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `DfsPostOrder` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::prelude::DfsPostOrder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Graph` [INFO] [stdout] --> tests/graph.rs:1938:17 [INFO] [stdout] | [INFO] [stdout] 1938 | let mut g = Graph::new(); [INFO] [stdout] | ^^^^^ use of undeclared type `Graph` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Graph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Dfs` [INFO] [stdout] --> tests/graph.rs:1943:19 [INFO] [stdout] | [INFO] [stdout] 1943 | let mut dfs = Dfs::new(&ef_a, a); [INFO] [stdout] | ^^^ use of undeclared type `Dfs` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::prelude::Dfs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Dfs` [INFO] [stdout] --> tests/graph.rs:1951:19 [INFO] [stdout] | [INFO] [stdout] 1951 | let mut dfs = Dfs::new(&Reversed(&ef_a), a); [INFO] [stdout] | ^^^ use of undeclared type `Dfs` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::prelude::Dfs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Graph` [INFO] [stdout] --> tests/graph.rs:1957:17 [INFO] [stdout] | [INFO] [stdout] 1957 | let mut g = Graph::new(); [INFO] [stdout] | ^^^^^ use of undeclared type `Graph` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Graph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Dfs` [INFO] [stdout] --> tests/graph.rs:1982:19 [INFO] [stdout] | [INFO] [stdout] 1982 | let mut dfs = Dfs::new(&ef_a, a); [INFO] [stdout] | ^^^ use of undeclared type `Dfs` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::prelude::Dfs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Dfs` [INFO] [stdout] --> tests/graph.rs:1989:19 [INFO] [stdout] | [INFO] [stdout] 1989 | let mut dfs = Dfs::new(&Reversed(&ef_a), f); [INFO] [stdout] | ^^^ use of undeclared type `Dfs` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::prelude::Dfs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Dfs` [INFO] [stdout] --> tests/graph.rs:1997:19 [INFO] [stdout] | [INFO] [stdout] 1997 | let mut dfs = Dfs::new(&Reversed(&ef_a), j); [INFO] [stdout] | ^^^ use of undeclared type `Dfs` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::prelude::Dfs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Dfs` [INFO] [stdout] --> tests/graph.rs:2005:19 [INFO] [stdout] | [INFO] [stdout] 2005 | let mut dfs = Dfs::new(&Reversed(&ef_a), c); [INFO] [stdout] | ^^^ use of undeclared type `Dfs` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::prelude::Dfs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Dfs` [INFO] [stdout] --> tests/graph.rs:2013:19 [INFO] [stdout] | [INFO] [stdout] 2013 | let mut dfs = Dfs::new(&Reversed(&ef_b), c); [INFO] [stdout] | ^^^ use of undeclared type `Dfs` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::prelude::Dfs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Dfs` [INFO] [stdout] --> tests/graph.rs:2021:19 [INFO] [stdout] | [INFO] [stdout] 2021 | let mut dfs = Dfs::new(&Reversed(&ef_b), d); [INFO] [stdout] | ^^^ use of undeclared type `Dfs` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::prelude::Dfs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Graph` [INFO] [stdout] --> tests/graph.rs:2030:17 [INFO] [stdout] | [INFO] [stdout] 2030 | let mut g = Graph::new_undirected(); [INFO] [stdout] | ^^^^^ use of undeclared type `Graph` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Graph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Dfs` [INFO] [stdout] --> tests/graph.rs:2053:19 [INFO] [stdout] | [INFO] [stdout] 2053 | let mut dfs = Dfs::new(&Reversed(&ef_b), d); [INFO] [stdout] | ^^^ use of undeclared type `Dfs` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::prelude::Dfs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Dfs` [INFO] [stdout] --> tests/graph.rs:2060:19 [INFO] [stdout] | [INFO] [stdout] 2060 | let mut dfs = Dfs::new(&Reversed(&ef_a), h); [INFO] [stdout] | ^^^ use of undeclared type `Dfs` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::prelude::Dfs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Graph` in this scope [INFO] [stdout] --> tests/graph.rs:2073:13 [INFO] [stdout] | [INFO] [stdout] 2073 | let gr: Graph<(), ()> = Graph::from_edges(&[ [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Graph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Graph` [INFO] [stdout] --> tests/graph.rs:2073:29 [INFO] [stdout] | [INFO] [stdout] 2073 | let gr: Graph<(), ()> = Graph::from_edges(&[ [INFO] [stdout] | ^^^^^ use of undeclared type `Graph` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Graph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Discover` in this scope [INFO] [stdout] --> tests/graph.rs:2093:13 [INFO] [stdout] | [INFO] [stdout] 2093 | Discover(n, t) => discover_time[n.index()] = t, [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::visit::DfsEvent::Discover; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Finish` in this scope [INFO] [stdout] --> tests/graph.rs:2094:13 [INFO] [stdout] | [INFO] [stdout] 2094 | Finish(n, t) => finish_time[n.index()] = t, [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::visit::DfsEvent::Finish; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `TreeEdge` in this scope [INFO] [stdout] --> tests/graph.rs:2095:13 [INFO] [stdout] | [INFO] [stdout] 2095 | TreeEdge(u, v) => { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::visit::DfsEvent::TreeEdge; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `BackEdge` in this scope [INFO] [stdout] --> tests/graph.rs:2103:13 [INFO] [stdout] | [INFO] [stdout] 2103 | BackEdge(u, v) => { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::visit::DfsEvent::BackEdge; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `CrossForwardEdge` in this scope [INFO] [stdout] --> tests/graph.rs:2109:13 [INFO] [stdout] | [INFO] [stdout] 2109 | CrossForwardEdge(u, v) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::visit::DfsEvent::CrossForwardEdge; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NodeIndex` [INFO] [stdout] --> tests/graph.rs:2125:32 [INFO] [stdout] | [INFO] [stdout] 2125 | let mut predecessor = vec![NodeIndex::end(); gr.node_count()]; [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `NodeIndex` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::adj::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::csr::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::matrix_graph::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::stable_graph::NodeIndex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `TreeEdge` in this scope [INFO] [stdout] --> tests/graph.rs:2129:16 [INFO] [stdout] | [INFO] [stdout] 2129 | if let TreeEdge(u, v) = event { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::visit::DfsEvent::TreeEdge; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `NodeIndex` [INFO] [stdout] --> tests/graph.rs:2139:46 [INFO] [stdout] | [INFO] [stdout] 2139 | assert!(predecessor.iter().any(|x| *x == NodeIndex::end())); [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `NodeIndex` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::adj::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::csr::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::matrix_graph::NodeIndex; [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::stable_graph::NodeIndex; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `Discover` in this scope [INFO] [stdout] --> tests/graph.rs:2156:16 [INFO] [stdout] | [INFO] [stdout] 2156 | if let Discover(n, _) = event { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::visit::DfsEvent::Discover; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0531]: cannot find tuple struct or tuple variant `TreeEdge` in this scope [INFO] [stdout] --> tests/graph.rs:2160:23 [INFO] [stdout] | [INFO] [stdout] 2160 | } else if let TreeEdge(u, v) = event { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::visit::DfsEvent::TreeEdge; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Graph` in this scope [INFO] [stdout] --> tests/graph.rs:2174:17 [INFO] [stdout] | [INFO] [stdout] 2174 | let mut gr: Graph<(), ()> = [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Graph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Graph` [INFO] [stdout] --> tests/graph.rs:2175:9 [INFO] [stdout] | [INFO] [stdout] 2175 | Graph::from_edges(&[(0, 2), (1, 2), (0, 3), (1, 4), (2, 4), (4, 5), (3, 5)]); [INFO] [stdout] | ^^^^^ use of undeclared type `Graph` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::Graph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Dfs` [INFO] [stdout] --> tests/graph.rs:2177:19 [INFO] [stdout] | [INFO] [stdout] 2177 | let mut dfs = Dfs::new(&gr, n(0)); [INFO] [stdout] | ^^^ use of undeclared type `Dfs` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::prelude::Dfs; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DfsPostOrder` [INFO] [stdout] --> tests/graph.rs:2183:19 [INFO] [stdout] | [INFO] [stdout] 2183 | let mut dfs = DfsPostOrder::new(&gr, n(0)); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `DfsPostOrder` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::prelude::DfsPostOrder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DiGraph` [INFO] [stdout] --> tests/graph.rs:2249:17 [INFO] [stdout] | [INFO] [stdout] 2249 | let mut g = DiGraph::<_, _>::from_elements(elements.iter().cloned()); [INFO] [stdout] | ^^^^^^^ use of undeclared type `DiGraph` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::graph::DiGraph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DiGraph` [INFO] [stdout] --> tests/graph.rs:2253:9 [INFO] [stdout] | [INFO] [stdout] 2253 | DiGraph::<_, _>::from_elements(elements.iter().cloned().filter_elements(|elt| match elt { [INFO] [stdout] | ^^^^^^^ use of undeclared type `DiGraph` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::graph::DiGraph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `UnGraph` [INFO] [stdout] --> tests/graph.rs:2273:14 [INFO] [stdout] | [INFO] [stdout] 2273 | let gr = UnGraph::<(), _>::from_edges(&[ [INFO] [stdout] | ^^^^^^^ use of undeclared type `UnGraph` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::graph::UnGraph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DfsPostOrder` [INFO] [stdout] --> tests/graph.rs:2295:19 [INFO] [stdout] | [INFO] [stdout] 2295 | let mut dfs = DfsPostOrder::new(&positive_edges, n(0)); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `DfsPostOrder` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::prelude::DfsPostOrder; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `DiGraph` [INFO] [stdout] --> tests/graph.rs:2370:21 [INFO] [stdout] | [INFO] [stdout] 2370 | let mut graph = DiGraph::<_, _>::new(); [INFO] [stdout] | ^^^^^^^ use of undeclared type `DiGraph` [INFO] [stdout] | [INFO] [stdout] help: consider importing this type alias [INFO] [stdout] | [INFO] [stdout] 3 + use yuuang_petgraph::graph::DiGraph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 185 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0425, E0433, E0463, E0531. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `yuuang_petgraph` (test "graph") due to 186 previous errors [INFO] [stdout] warning: method `node_bound_with_dummy` is never used [INFO] [stdout] --> src/algo/matching.rs:108:8 [INFO] [stdout] | [INFO] [stdout] 106 | trait WithDummy: NodeIndexable { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] 107 | fn dummy_idx(&self) -> usize; [INFO] [stdout] 108 | fn node_bound_with_dummy(&self) -> usize; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `first_error` is never read [INFO] [stdout] --> src/csr.rs:134:5 [INFO] [stdout] | [INFO] [stdout] 133 | pub struct EdgesNotSorted { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] 134 | first_error: (usize, usize), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `EdgesNotSorted` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "dac85b8f9a3908365cee20fa4992575cb156abdcc313915a83bce5da835d96d4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dac85b8f9a3908365cee20fa4992575cb156abdcc313915a83bce5da835d96d4", kill_on_drop: false }` [INFO] [stdout] dac85b8f9a3908365cee20fa4992575cb156abdcc313915a83bce5da835d96d4