[INFO] fetching crate mhgl 0.1.4... [INFO] checking mhgl-0.1.4 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] extracting crate mhgl 0.1.4 into /workspace/builds/worker-3-tc1/source [INFO] validating manifest of crates.io crate mhgl 0.1.4 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate mhgl 0.1.4 [INFO] finished tweaking crates.io crate mhgl 0.1.4 [INFO] tweaked toml for crates.io crate mhgl 0.1.4 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 28 packages [INFO] [stderr] Adding radium v0.7.0 (latest: v1.1.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.0+wasi-0.2.0) [INFO] [stderr] Adding wyz v0.5.1 (latest: v0.6.1) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bb9640845fe086dcd66782ca56113418711ef3fa115d9d6342fcb9133fb8d64d [INFO] running `Command { std: "docker" "start" "-a" "bb9640845fe086dcd66782ca56113418711ef3fa115d9d6342fcb9133fb8d64d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bb9640845fe086dcd66782ca56113418711ef3fa115d9d6342fcb9133fb8d64d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb9640845fe086dcd66782ca56113418711ef3fa115d9d6342fcb9133fb8d64d", kill_on_drop: false }` [INFO] [stdout] bb9640845fe086dcd66782ca56113418711ef3fa115d9d6342fcb9133fb8d64d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ed91ebff76e2cea9eb60c07a380c83a17ea9ec97e04cf253f6d377cf54963a42 [INFO] running `Command { std: "docker" "start" "-a" "ed91ebff76e2cea9eb60c07a380c83a17ea9ec97e04cf253f6d377cf54963a42", kill_on_drop: false }` [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Compiling syn v2.0.57 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling uuid-macro-internal v1.8.0 [INFO] [stderr] Checking serde v1.0.197 [INFO] [stderr] Checking uuid v1.8.0 [INFO] [stderr] Checking serde_json v1.0.115 [INFO] [stderr] Checking mhgl v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `traits::*` [INFO] [stdout] --> src/algs/builders.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{traits::*}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HGraph`, `algs::traversal::bfs_base`, `structs::SparseBasis` [INFO] [stdout] --> src/algs/traversal.rs:86:17 [INFO] [stdout] | [INFO] [stdout] 86 | use crate::{HGraph, algs::traversal::bfs_base, structs::SparseBasis}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::random_walk` [INFO] [stdout] --> src/algs/traversal.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | use super::random_walk; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EdgeDirection`, `stackgraph::StackGraph` [INFO] [stdout] --> src/stackgraph.rs:127:17 [INFO] [stdout] | [INFO] [stdout] 127 | use crate::{stackgraph::StackGraph, EdgeDirection}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NodeID` [INFO] [stdout] --> src/hgraph.rs:7:57 [INFO] [stdout] | [INFO] [stdout] 7 | EdgeDirection, EdgeWeight, GeneroEdge, GeneroGraph, NodeID, SparseBasis, EdgeID, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EdgeDirection`, `HGraph` [INFO] [stdout] --> src/hgraph.rs:144:17 [INFO] [stdout] | [INFO] [stdout] 144 | use crate::{HGraph, EdgeDirection}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::PGraph` [INFO] [stdout] --> src/pgraph.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | use crate::PGraph; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::BGraph` [INFO] [stdout] --> src/bgraph.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | use super::BGraph; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AddAssign`, `Add`, `MulAssign`, `Mul` [INFO] [stdout] --> src/structs/bit_basis.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | ops::{Add, AddAssign, Mul, MulAssign}, [INFO] [stdout] | ^^^ ^^^^^^^^^ ^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Serialize`, `ser::SerializeStruct` [INFO] [stdout] --> src/structs/bit_basis.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use serde::{ser::SerializeStruct, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `utils::PowerSetBits` [INFO] [stdout] --> src/structs/bit_basis.rs:191:5 [INFO] [stdout] | [INFO] [stdout] 191 | utils::PowerSetBits, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::traits::HgBasis` [INFO] [stdout] --> src/structs/bit_basis.rs:196:9 [INFO] [stdout] | [INFO] [stdout] 196 | use crate::traits::HgBasis; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BitBasis` [INFO] [stdout] --> src/structs/bit_basis.rs:198:17 [INFO] [stdout] | [INFO] [stdout] 198 | use super::{BitBasis}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::ConstGenBitBasis` [INFO] [stdout] --> src/structs/const_generics_bit_basis.rs:197:9 [INFO] [stdout] | [INFO] [stdout] 197 | use super::ConstGenBitBasis; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/structs/generic_edge.rs:280:9 [INFO] [stdout] | [INFO] [stdout] 280 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EdgeDirection`, `GeneroEdge`, `GeneroVector`, `SparseBasis` [INFO] [stdout] --> src/structs/generic_edge.rs:282:27 [INFO] [stdout] | [INFO] [stdout] 282 | use crate::{structs::{SparseBasis, GeneroEdge, GeneroVector}, EdgeDirection}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/structs/path.rs:83:9 [INFO] [stdout] | [INFO] [stdout] 83 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HGraph`, `HgPath`, `SparseBasis` [INFO] [stdout] --> src/structs/path.rs:85:17 [INFO] [stdout] | [INFO] [stdout] 85 | use crate::{HGraph, structs::{HgPath, SparseBasis}}; [INFO] [stdout] | ^^^^^^ ^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::thread_rng` [INFO] [stdout] --> src/structs/sparse_basis.rs:217:9 [INFO] [stdout] | [INFO] [stdout] 217 | use rand::thread_rng; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `SparseBasis`, `sparse_basis::binary_search`, `traits::HgBasis` [INFO] [stdout] --> src/structs/sparse_basis.rs:219:27 [INFO] [stdout] | [INFO] [stdout] 219 | use crate::{structs::{sparse_basis::binary_search, SparseBasis}, traits::HgBasis}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/traits/hypergraph_trait.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `uuid::Uuid` [INFO] [stdout] --> src/utils.rs:223:9 [INFO] [stdout] | [INFO] [stdout] 223 | use uuid::Uuid; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `PowerSetBits`, `power_set` [INFO] [stdout] --> src/utils.rs:225:24 [INFO] [stdout] | [INFO] [stdout] 225 | use crate::utils::{PowerSetBits, power_set}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `traits::*` [INFO] [stdout] --> src/algs/builders.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{traits::*}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `NodeID` [INFO] [stdout] --> src/hgraph.rs:7:57 [INFO] [stdout] | [INFO] [stdout] 7 | EdgeDirection, EdgeWeight, GeneroEdge, GeneroGraph, NodeID, SparseBasis, EdgeID, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AddAssign`, `Add`, `MulAssign`, `Mul` [INFO] [stdout] --> src/structs/bit_basis.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | ops::{Add, AddAssign, Mul, MulAssign}, [INFO] [stdout] | ^^^ ^^^^^^^^^ ^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Serialize`, `ser::SerializeStruct` [INFO] [stdout] --> src/structs/bit_basis.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | use serde::{ser::SerializeStruct, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `utils::PowerSetBits` [INFO] [stdout] --> src/structs/bit_basis.rs:191:5 [INFO] [stdout] | [INFO] [stdout] 191 | utils::PowerSetBits, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::traits::HgBasis` [INFO] [stdout] --> src/structs/bit_basis.rs:196:9 [INFO] [stdout] | [INFO] [stdout] 196 | use crate::traits::HgBasis; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> src/traits/hypergraph_trait.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::structs::NodeID` [INFO] [stdout] --> src/lib.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | use crate::structs::NodeID; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ix` [INFO] [stdout] --> src/structs/bit_basis.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | for ix in 0..num_nodes { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ix` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ix` [INFO] [stdout] --> src/structs/bit_basis.rs:26:13 [INFO] [stdout] | [INFO] [stdout] 26 | for ix in 0..num_nodes { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ix` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `average_cardinality` is never used [INFO] [stdout] --> src/algs/cardinality.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn average_cardinality( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `expected_cardinality` is never used [INFO] [stdout] --> src/algs/cardinality.rs:30:4 [INFO] [stdout] | [INFO] [stdout] 30 | fn expected_cardinality(card: &HashMap) -> EdgeWeight { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/stackgraph.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct StackGraph { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 34 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StackGraph` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `create_edge`, `remove_edge`, and `step` are never used [INFO] [stdout] --> src/stackgraph.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl StackGraph { [INFO] [stdout] | ---------------------------------- associated items in this implementation [INFO] [stdout] 40 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn create_edge( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn remove_edge(&mut self, edge_id: &u128) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn step(&self, start_nodes: &[u32]) -> Vec<(HashSet, EdgeWeight)> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `NodeID` is never used [INFO] [stdout] --> src/structs/mod.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub type NodeID = Uuid; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `PathID` is never used [INFO] [stdout] --> src/structs/mod.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub type PathID = Uuid; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `make_active` and `make_inactive` are never used [INFO] [stdout] --> src/structs/bit_basis.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 22 | impl BitBasis { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 76 | fn make_active(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | fn make_inactive(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_node`, `len`, `to_u32`, and `resize` are never used [INFO] [stdout] --> src/structs/const_generics_bit_basis.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl ConstGenBitBasis { [INFO] [stdout] | ---------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn is_node(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn to_u32(self) -> HashSet { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn resize(self) -> ConstGenBitBasis { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `power_set` is never used [INFO] [stdout] --> src/utils.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn power_set(v: Vec, dims: usize) -> HashSet> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_zero`, `base_rotation_left`, `to_bit_nodes`, `clear`, `flip_all_bits`, and `print_formatted` are never used [INFO] [stdout] --> src/utils.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl PowerSetBits { [INFO] [stdout] | ------------------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 161 | pub fn is_zero(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 173 | pub fn base_rotation_left(&mut self, bit_shift: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 199 | pub fn to_bit_nodes(self) -> ConstGenBitBasis { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 203 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 207 | pub fn flip_all_bits(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 213 | pub fn print_formatted(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/utils.rs:216:13 [INFO] [stdout] | [INFO] [stdout] 216 | write!(&mut buf, "_{:#010b}", self.bits[ix]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 35 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `average_cardinality` is never used [INFO] [stdout] --> src/algs/cardinality.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn average_cardinality( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `expected_cardinality` is never used [INFO] [stdout] --> src/algs/cardinality.rs:30:4 [INFO] [stdout] | [INFO] [stdout] 30 | fn expected_cardinality(card: &HashMap) -> EdgeWeight { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/stackgraph.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct StackGraph { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 34 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StackGraph` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `remove_edge` is never used [INFO] [stdout] --> src/stackgraph.rs:82:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl StackGraph { [INFO] [stdout] | ---------------------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn remove_edge(&mut self, edge_id: &u128) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `NodeID` is never used [INFO] [stdout] --> src/structs/mod.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub type NodeID = Uuid; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `PathID` is never used [INFO] [stdout] --> src/structs/mod.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub type PathID = Uuid; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `make_active` and `make_inactive` are never used [INFO] [stdout] --> src/structs/bit_basis.rs:76:8 [INFO] [stdout] | [INFO] [stdout] 22 | impl BitBasis { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 76 | fn make_active(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | fn make_inactive(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_node` and `len` are never used [INFO] [stdout] --> src/structs/const_generics_bit_basis.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl ConstGenBitBasis { [INFO] [stdout] | ---------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn is_node(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `clear` is never used [INFO] [stdout] --> src/utils.rs:203:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl PowerSetBits { [INFO] [stdout] | ------------------------------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 203 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `n` should have an upper case name [INFO] [stdout] --> src/stackgraph.rs:131:15 [INFO] [stdout] | [INFO] [stdout] 131 | const n: usize = 80 / 8; [INFO] [stdout] | ^ help: convert the identifier to upper case: `N` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `n` should have an upper case name [INFO] [stdout] --> src/stackgraph.rs:138:15 [INFO] [stdout] | [INFO] [stdout] 138 | const n: usize = 80 / 8; [INFO] [stdout] | ^ help: convert the identifier to upper case: `N` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `n` should have an upper case name [INFO] [stdout] --> src/stackgraph.rs:146:15 [INFO] [stdout] | [INFO] [stdout] 146 | const n: usize = 80 / 8; [INFO] [stdout] | ^ help: convert the identifier to upper case: `N` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/utils.rs:216:13 [INFO] [stdout] | [INFO] [stdout] 216 | write!(&mut buf, "_{:#010b}", self.bits[ix]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 22 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 6.01s [INFO] running `Command { std: "docker" "inspect" "ed91ebff76e2cea9eb60c07a380c83a17ea9ec97e04cf253f6d377cf54963a42", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed91ebff76e2cea9eb60c07a380c83a17ea9ec97e04cf253f6d377cf54963a42", kill_on_drop: false }` [INFO] [stdout] ed91ebff76e2cea9eb60c07a380c83a17ea9ec97e04cf253f6d377cf54963a42 [INFO] checking mhgl-0.1.4 against try#36dbcaee1a55543dfc181be52a69d99ff46ff62f for pr-122960-3 [INFO] extracting crate mhgl 0.1.4 into /workspace/builds/worker-3-tc2/source [INFO] validating manifest of crates.io crate mhgl 0.1.4 on toolchain 36dbcaee1a55543dfc181be52a69d99ff46ff62f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate mhgl 0.1.4 [INFO] finished tweaking crates.io crate mhgl 0.1.4 [INFO] tweaked toml for crates.io crate mhgl 0.1.4 written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5cf8a58ca647375f265688dcab0d6a99c1cd51a4700595655cd6f03495c8fd1f [INFO] running `Command { std: "docker" "start" "-a" "5cf8a58ca647375f265688dcab0d6a99c1cd51a4700595655cd6f03495c8fd1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5cf8a58ca647375f265688dcab0d6a99c1cd51a4700595655cd6f03495c8fd1f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5cf8a58ca647375f265688dcab0d6a99c1cd51a4700595655cd6f03495c8fd1f", kill_on_drop: false }` [INFO] [stdout] 5cf8a58ca647375f265688dcab0d6a99c1cd51a4700595655cd6f03495c8fd1f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+36dbcaee1a55543dfc181be52a69d99ff46ff62f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ceb6e21c3d264d379605ade67b09d271fd04d2f566f0599fdcf1b1b24484b48a [INFO] running `Command { std: "docker" "start" "-a" "ceb6e21c3d264d379605ade67b09d271fd04d2f566f0599fdcf1b1b24484b48a", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling num-traits v0.2.18 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Compiling syn v2.0.57 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling serde_derive v1.0.197 [INFO] [stderr] Compiling uuid-macro-internal v1.8.0 [INFO] [stderr] Checking serde v1.0.197 [INFO] [stderr] Checking uuid v1.8.0 [INFO] [stderr] Checking serde_json v1.0.115 [INFO] [stderr] Checking mhgl v0.1.4 (/tmp/fixit) [INFO] [stderr] Migrating src/lib.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/traits/hypergraph_trait.rs (1 fix) [INFO] [stderr] Fixed src/stackgraph.rs (1 fix) [INFO] [stderr] Fixed src/pgraph.rs (1 fix) [INFO] [stderr] Fixed src/algs/traversal.rs (2 fixes) [INFO] [stderr] Fixed src/structs/path.rs (2 fixes) [INFO] [stderr] Fixed src/algs/builders.rs (1 fix) [INFO] [stderr] Fixed src/structs/sparse_basis.rs (2 fixes) [INFO] [stderr] Fixed src/utils.rs (2 fixes) [INFO] [stderr] Fixed src/bgraph.rs (1 fix) [INFO] [stderr] Fixed src/structs/generic_edge.rs (2 fixes) [INFO] [stderr] Fixed src/hgraph.rs (2 fixes) [INFO] [stderr] Fixed src/structs/bit_basis.rs (5 fixes) [INFO] [stderr] Fixed src/structs/const_generics_bit_basis.rs (1 fix) [INFO] [stdout] warning: unused variable: `ix` [INFO] [stdout] --> src/structs/bit_basis.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | for ix in 0..num_nodes { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ix` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `average_cardinality` is never used [INFO] [stdout] --> src/algs/cardinality.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn average_cardinality( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `expected_cardinality` is never used [INFO] [stdout] --> src/algs/cardinality.rs:30:4 [INFO] [stdout] | [INFO] [stdout] 30 | fn expected_cardinality(card: &HashMap) -> EdgeWeight { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `name` is never read [INFO] [stdout] --> src/stackgraph.rs:34:9 [INFO] [stdout] | [INFO] [stdout] 33 | pub struct StackGraph { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 34 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `StackGraph` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `create_edge`, `remove_edge`, and `step` are never used [INFO] [stdout] --> src/stackgraph.rs:40:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl StackGraph { [INFO] [stdout] | ---------------------------------- associated items in this implementation [INFO] [stdout] 40 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn create_edge( [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 82 | pub fn remove_edge(&mut self, edge_id: &u128) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn step(&self, start_nodes: &[u32]) -> Vec<(HashSet, EdgeWeight)> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `NodeID` is never used [INFO] [stdout] --> src/structs/mod.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub type NodeID = Uuid; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `PathID` is never used [INFO] [stdout] --> src/structs/mod.rs:8:10 [INFO] [stdout] | [INFO] [stdout] 8 | pub type PathID = Uuid; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `make_active` and `make_inactive` are never used [INFO] [stdout] --> src/structs/bit_basis.rs:74:8 [INFO] [stdout] | [INFO] [stdout] 20 | impl BitBasis { [INFO] [stdout] | ------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 74 | fn make_active(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 77 | fn make_inactive(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_node`, `len`, `to_u32`, and `resize` are never used [INFO] [stdout] --> src/structs/const_generics_bit_basis.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 23 | impl ConstGenBitBasis { [INFO] [stdout] | ---------------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 33 | pub fn is_node(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn to_u32(self) -> HashSet { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 59 | pub fn resize(self) -> ConstGenBitBasis { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `power_set` is never used [INFO] [stdout] --> src/utils.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn power_set(v: Vec, dims: usize) -> HashSet> { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_zero`, `base_rotation_left`, `to_bit_nodes`, `clear`, `flip_all_bits`, and `print_formatted` are never used [INFO] [stdout] --> src/utils.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 44 | impl PowerSetBits { [INFO] [stdout] | ------------------------------------ methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 161 | pub fn is_zero(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 173 | pub fn base_rotation_left(&mut self, bit_shift: u32) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 199 | pub fn to_bit_nodes(self) -> ConstGenBitBasis { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 203 | pub fn clear(&mut self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 207 | pub fn flip_all_bits(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 213 | pub fn print_formatted(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/utils.rs:216:13 [INFO] [stdout] | [INFO] [stdout] 216 | write!(&mut buf, "_{:#010b}", self.bits[ix]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this warning originates in the macro `write` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HGraph` [INFO] [stdout] --> src/algs/traversal.rs:92:22 [INFO] [stdout] | [INFO] [stdout] 92 | let mut hg = HGraph::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type `HGraph` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 90 + use crate::HGraph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `bfs_base` in this scope [INFO] [stdout] --> src/algs/traversal.rs:111:13 [INFO] [stdout] | [INFO] [stdout] 111 | bfs_base( [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 90 + use crate::algs::traversal::bfs_base; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SparseBasis` [INFO] [stdout] --> src/algs/traversal.rs:113:18 [INFO] [stdout] | [INFO] [stdout] 113 | &SparseBasis::from(start.iter().cloned().collect()), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `SparseBasis` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 90 + use crate::SparseBasis; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HGraph` [INFO] [stdout] --> src/algs/traversal.rs:121:22 [INFO] [stdout] | [INFO] [stdout] 121 | let mut hg = HGraph::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type `HGraph` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 90 + use crate::HGraph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SparseBasis` [INFO] [stdout] --> src/algs/traversal.rs:125:27 [INFO] [stdout] | [INFO] [stdout] 125 | let start_basis = SparseBasis::from(start.iter().cloned().collect()); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `SparseBasis` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 90 + use crate::SparseBasis; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `random_walk` in this scope [INFO] [stdout] --> src/algs/traversal.rs:138:47 [INFO] [stdout] | [INFO] [stdout] 138 | println!("random_walk output: {:#?}", random_walk(&hg.graph, &start_basis, 2)) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 90 + use crate::algs::traversal::random_walk; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StackGraph` [INFO] [stdout] --> src/stackgraph.rs:132:18 [INFO] [stdout] | [INFO] [stdout] 132 | let sg = StackGraph::::new(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StackGraph` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 129 + use crate::stackgraph::StackGraph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StackGraph` [INFO] [stdout] --> src/stackgraph.rs:139:22 [INFO] [stdout] | [INFO] [stdout] 139 | let mut sg = StackGraph::::new(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StackGraph` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 129 + use crate::stackgraph::StackGraph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EdgeDirection` [INFO] [stdout] --> src/stackgraph.rs:140:52 [INFO] [stdout] | [INFO] [stdout] 140 | sg.create_edge(&[0, 1, 2], &[1, 2, 3], 1., EdgeDirection::Undirected); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `EdgeDirection` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 129 + use crate::EdgeDirection; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `StackGraph` [INFO] [stdout] --> src/stackgraph.rs:147:22 [INFO] [stdout] | [INFO] [stdout] 147 | let mut sg = StackGraph::::new(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `StackGraph` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 129 + use crate::stackgraph::StackGraph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EdgeDirection` [INFO] [stdout] --> src/stackgraph.rs:148:52 [INFO] [stdout] | [INFO] [stdout] 148 | sg.create_edge(&[0, 1, 2], &[1, 2, 3], 1., EdgeDirection::Undirected); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `EdgeDirection` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 129 + use crate::EdgeDirection; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EdgeDirection` [INFO] [stdout] --> src/stackgraph.rs:149:45 [INFO] [stdout] | [INFO] [stdout] 149 | sg.create_edge(&[0, 1, 2], &[], 1., EdgeDirection::Loop); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `EdgeDirection` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 129 + use crate::EdgeDirection; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HGraph` [INFO] [stdout] --> src/hgraph.rs:148:22 [INFO] [stdout] | [INFO] [stdout] 148 | let mut hg = HGraph::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type `HGraph` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 146 + use crate::HGraph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EdgeDirection` [INFO] [stdout] --> src/hgraph.rs:151:57 [INFO] [stdout] | [INFO] [stdout] 151 | hg.create_edge(&nodes[0..3], &nodes[0..=1], 1., EdgeDirection::Directed); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `EdgeDirection` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 146 + use crate::EdgeDirection; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EdgeDirection` [INFO] [stdout] --> src/hgraph.rs:156:57 [INFO] [stdout] | [INFO] [stdout] 156 | let b = hg.create_edge(&nodes[5..=9], &[], 2.2, EdgeDirection::Blob); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `EdgeDirection` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 146 + use crate::EdgeDirection; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `PGraph` [INFO] [stdout] --> src/pgraph.rs:151:22 [INFO] [stdout] | [INFO] [stdout] 151 | let mut pg = PGraph::::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type `PGraph` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 149 + use crate::PGraph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BGraph` [INFO] [stdout] --> src/bgraph.rs:92:22 [INFO] [stdout] | [INFO] [stdout] 92 | let mut bg = BGraph::new(5); [INFO] [stdout] | ^^^^^^ use of undeclared type `BGraph` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 90 + use crate::BGraph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BitBasis` [INFO] [stdout] --> src/structs/bit_basis.rs:199:21 [INFO] [stdout] | [INFO] [stdout] 199 | let mut b = BitBasis::new(5); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `BitBasis` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 197 + use crate::BitBasis; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ConstGenBitBasis` [INFO] [stdout] --> src/structs/const_generics_bit_basis.rs:201:18 [INFO] [stdout] | [INFO] [stdout] 201 | let bn = ConstGenBitBasis::from([0, 1, 2]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `ConstGenBitBasis` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 199 + use crate::structs::ConstGenBitBasis; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ConstGenBitBasis` [INFO] [stdout] --> src/structs/const_generics_bit_basis.rs:209:22 [INFO] [stdout] | [INFO] [stdout] 209 | let mut og = ConstGenBitBasis::<10>::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ use of undeclared type `ConstGenBitBasis` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 199 + use crate::structs::ConstGenBitBasis; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `ConstGenBitBasis` in this scope [INFO] [stdout] --> src/structs/const_generics_bit_basis.rs:212:18 [INFO] [stdout] | [INFO] [stdout] 212 | let new: ConstGenBitBasis<5> = og.resize(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 199 + use crate::structs::ConstGenBitBasis; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SparseBasis` [INFO] [stdout] --> src/structs/generic_edge.rs:287:18 [INFO] [stdout] | [INFO] [stdout] 287 | let b1 = SparseBasis::from(HashSet::from([11_u16, 23, 492, 493])); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `SparseBasis` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 284 + use crate::SparseBasis; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashSet` [INFO] [stdout] --> src/structs/generic_edge.rs:287:36 [INFO] [stdout] | [INFO] [stdout] 287 | let b1 = SparseBasis::from(HashSet::from([11_u16, 23, 492, 493])); [INFO] [stdout] | ^^^^^^^ use of undeclared type `HashSet` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 284 + use crate::structs::generic_edge::HashSet; [INFO] [stdout] | [INFO] [stdout] 284 + use std::collections::HashSet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SparseBasis` [INFO] [stdout] --> src/structs/generic_edge.rs:288:18 [INFO] [stdout] | [INFO] [stdout] 288 | let b2 = SparseBasis::from(HashSet::from([11_u16, 23, 492, 493, 203])); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `SparseBasis` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 284 + use crate::SparseBasis; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashSet` [INFO] [stdout] --> src/structs/generic_edge.rs:288:36 [INFO] [stdout] | [INFO] [stdout] 288 | let b2 = SparseBasis::from(HashSet::from([11_u16, 23, 492, 493, 203])); [INFO] [stdout] | ^^^^^^^ use of undeclared type `HashSet` [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 284 + use crate::structs::generic_edge::HashSet; [INFO] [stdout] | [INFO] [stdout] 284 + use std::collections::HashSet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SparseBasis` [INFO] [stdout] --> src/structs/generic_edge.rs:289:18 [INFO] [stdout] | [INFO] [stdout] 289 | let b3 = SparseBasis::::new(); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `SparseBasis` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 284 + use crate::SparseBasis; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GeneroEdge` [INFO] [stdout] --> src/structs/generic_edge.rs:290:21 [INFO] [stdout] | [INFO] [stdout] 290 | let mut e = GeneroEdge::>::new(); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `GeneroEdge` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 284 + use crate::structs::GeneroEdge; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SparseBasis` in this scope [INFO] [stdout] --> src/structs/generic_edge.rs:290:34 [INFO] [stdout] | [INFO] [stdout] 290 | let mut e = GeneroEdge::>::new(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 284 + use crate::SparseBasis; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `EdgeDirection` [INFO] [stdout] --> src/structs/generic_edge.rs:291:28 [INFO] [stdout] | [INFO] [stdout] 291 | e.change_direction(EdgeDirection::Blob); [INFO] [stdout] | ^^^^^^^^^^^^^ use of undeclared type `EdgeDirection` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum through its public re-export [INFO] [stdout] | [INFO] [stdout] 284 + use crate::EdgeDirection; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `GeneroVector` [INFO] [stdout] --> src/structs/generic_edge.rs:294:21 [INFO] [stdout] | [INFO] [stdout] 294 | let mut v = GeneroVector::>::new(); [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `GeneroVector` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 284 + use crate::structs::GeneroVector; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SparseBasis` in this scope [INFO] [stdout] --> src/structs/generic_edge.rs:294:36 [INFO] [stdout] | [INFO] [stdout] 294 | let mut v = GeneroVector::>::new(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 284 + use crate::SparseBasis; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HGraph` [INFO] [stdout] --> src/structs/path.rs:95:22 [INFO] [stdout] | [INFO] [stdout] 95 | let mut hg = HGraph::new(); [INFO] [stdout] | ^^^^^^ use of undeclared type `HGraph` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 93 + use crate::HGraph; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HgPath` [INFO] [stdout] --> src/structs/path.rs:106:17 [INFO] [stdout] | [INFO] [stdout] 106 | let p = HgPath::new(SparseBasis::from(HashSet::from([nodes[0]]))); [INFO] [stdout] | ^^^^^^ use of undeclared type `HgPath` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 93 + use crate::structs::HgPath; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `SparseBasis` [INFO] [stdout] --> src/structs/path.rs:106:29 [INFO] [stdout] | [INFO] [stdout] 106 | let p = HgPath::new(SparseBasis::from(HashSet::from([nodes[0]]))); [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `SparseBasis` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 93 + use crate::SparseBasis; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `HashSet` [INFO] [stdout] --> src/structs/path.rs:106:47 [INFO] [stdout] | [INFO] [stdout] 106 | let p = HgPath::new(SparseBasis::from(HashSet::from([nodes[0]]))); [INFO] [stdout] | ^^^^^^^ use of undeclared type `HashSet` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 93 + use std::collections::HashSet; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `thread_rng` in this scope [INFO] [stdout] --> src/structs/sparse_basis.rs:229:20 [INFO] [stdout] | [INFO] [stdout] 229 | let _rng = thread_rng(); [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 227 + use rand::thread_rng; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `binary_search` in this scope [INFO] [stdout] --> src/structs/sparse_basis.rs:232:19 [INFO] [stdout] | [INFO] [stdout] 232 | let out = binary_search(&data, &24); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 227 + use crate::structs::sparse_basis::binary_search; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SparseBasis` in this scope [INFO] [stdout] --> src/structs/sparse_basis.rs:239:21 [INFO] [stdout] | [INFO] [stdout] 239 | let mut b1: SparseBasis = SparseBasis { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 227 + use crate::SparseBasis; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SparseBasis` in this scope [INFO] [stdout] --> src/structs/sparse_basis.rs:239:39 [INFO] [stdout] | [INFO] [stdout] 239 | let mut b1: SparseBasis = SparseBasis { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 227 + use crate::SparseBasis; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SparseBasis` in this scope [INFO] [stdout] --> src/structs/sparse_basis.rs:242:17 [INFO] [stdout] | [INFO] [stdout] 242 | let b2: SparseBasis = SparseBasis { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 227 + use crate::SparseBasis; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SparseBasis` in this scope [INFO] [stdout] --> src/structs/sparse_basis.rs:242:35 [INFO] [stdout] | [INFO] [stdout] 242 | let b2: SparseBasis = SparseBasis { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 227 + use crate::SparseBasis; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `SparseBasis` in this scope [INFO] [stdout] --> src/structs/sparse_basis.rs:251:21 [INFO] [stdout] | [INFO] [stdout] 251 | let mut b1: SparseBasis = SparseBasis { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 227 + use crate::SparseBasis; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SparseBasis` in this scope [INFO] [stdout] --> src/structs/sparse_basis.rs:251:39 [INFO] [stdout] | [INFO] [stdout] 251 | let mut b1: SparseBasis = SparseBasis { [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 227 + use crate::SparseBasis; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `SparseBasis` in this scope [INFO] [stdout] --> src/structs/sparse_basis.rs:261:19 [INFO] [stdout] | [INFO] [stdout] 261 | let six = SparseBasis { nodes: vec![6_u8] }; [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 227 + use crate::SparseBasis; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `binary_search` in this scope [INFO] [stdout] --> src/structs/sparse_basis.rs:264:24 [INFO] [stdout] | [INFO] [stdout] 264 | let maybe_ix = binary_search(&b1.nodes, &6); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 227 + use crate::structs::sparse_basis::binary_search; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `PowerSetBits` in this scope [INFO] [stdout] --> src/utils.rs:233:18 [INFO] [stdout] | [INFO] [stdout] 233 | let og = PowerSetBits { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 231 + use crate::utils::PowerSetBits; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `PowerSetBits` in this scope [INFO] [stdout] --> src/utils.rs:247:18 [INFO] [stdout] | [INFO] [stdout] 247 | let og = PowerSetBits { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 231 + use crate::utils::PowerSetBits; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `PowerSetBits` in this scope [INFO] [stdout] --> src/utils.rs:265:18 [INFO] [stdout] | [INFO] [stdout] 265 | let og = PowerSetBits { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 231 + use crate::utils::PowerSetBits; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `PowerSetBits` in this scope [INFO] [stdout] --> src/utils.rs:285:22 [INFO] [stdout] | [INFO] [stdout] 285 | let mut pb = PowerSetBits { bits: [u8::MAX; 4] }; [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 231 + use crate::utils::PowerSetBits; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `PowerSetBits` in this scope [INFO] [stdout] --> src/utils.rs:296:22 [INFO] [stdout] | [INFO] [stdout] 296 | let mut pb = PowerSetBits { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 231 + use crate::utils::PowerSetBits; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `PowerSetBits` in this scope [INFO] [stdout] --> src/utils.rs:316:22 [INFO] [stdout] | [INFO] [stdout] 316 | let mut pb = PowerSetBits { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 231 + use crate::utils::PowerSetBits; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Uuid` [INFO] [stdout] --> src/utils.rs:331:24 [INFO] [stdout] | [INFO] [stdout] 331 | let ids = vec![Uuid::new_v4(), Uuid::new_v4(), Uuid::new_v4()]; [INFO] [stdout] | ^^^^ use of undeclared type `Uuid` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 231 + use uuid::Uuid; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mhgl` (lib test) due to 56 previous errors; 2 warnings emitted [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Uuid` [INFO] [stdout] --> src/utils.rs:331:40 [INFO] [stdout] | [INFO] [stdout] 331 | let ids = vec![Uuid::new_v4(), Uuid::new_v4(), Uuid::new_v4()]; [INFO] [stdout] | ^^^^ use of undeclared type `Uuid` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 231 + use uuid::Uuid; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Uuid` [INFO] [stdout] --> src/utils.rs:331:56 [INFO] [stdout] | [INFO] [stdout] 331 | let ids = vec![Uuid::new_v4(), Uuid::new_v4(), Uuid::new_v4()]; [INFO] [stdout] | ^^^^ use of undeclared type `Uuid` [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 231 + use uuid::Uuid; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `power_set` in this scope [INFO] [stdout] --> src/utils.rs:332:38 [INFO] [stdout] | [INFO] [stdout] 332 | println!("power set:\n{:?}", power_set(ids, 2)); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 231 + use crate::utils::power_set; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::structs::NodeID` [INFO] [stdout] --> src/lib.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | use crate::structs::NodeID; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ix` [INFO] [stdout] --> src/structs/bit_basis.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | for ix in 0..num_nodes { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ix` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 55 previous errors; 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0422, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "ceb6e21c3d264d379605ade67b09d271fd04d2f566f0599fdcf1b1b24484b48a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ceb6e21c3d264d379605ade67b09d271fd04d2f566f0599fdcf1b1b24484b48a", kill_on_drop: false }` [INFO] [stdout] ceb6e21c3d264d379605ade67b09d271fd04d2f566f0599fdcf1b1b24484b48a