[INFO] fetching crate mhgl 0.2.2... [INFO] checking mhgl-0.2.2 against try#c387b04bf028733cd561d62128c8a5eee4bc1458+rustflags=-Dtail_expr_drop_order for pr-130930 [INFO] extracting crate mhgl 0.2.2 into /workspace/builds/worker-2-tc2/source [INFO] validating manifest of crates.io crate mhgl 0.2.2 on toolchain c387b04bf028733cd561d62128c8a5eee4bc1458 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate mhgl 0.2.2 [INFO] finished tweaking crates.io crate mhgl 0.2.2 [INFO] tweaked toml for crates.io crate mhgl 0.2.2 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 173 packages to latest compatible versions [INFO] [stderr] Adding atoi_simd v0.15.6 (available: v0.16.0) [INFO] [stderr] Adding base64 v0.21.7 (available: v0.22.1) [INFO] [stderr] Adding chrono-tz v0.8.6 (available: v0.10.0) [INFO] [stderr] Adding chrono-tz-build v0.2.1 (available: v0.4.0) [INFO] [stderr] Adding crossterm v0.27.0 (available: v0.28.1) [INFO] [stderr] Adding heck v0.4.1 (available: v0.5.0) [INFO] [stderr] Adding memmap2 v0.7.1 (available: v0.9.5) [INFO] [stderr] Adding planus v0.3.1 (available: v0.4.0) [INFO] [stderr] Adding polars v0.39.2 (available: v0.43.1) [INFO] [stderr] Adding polars-arrow v0.39.2 (available: v0.43.1) [INFO] [stderr] Adding polars-compute v0.39.2 (available: v0.43.1) [INFO] [stderr] Adding polars-core v0.39.2 (available: v0.43.1) [INFO] [stderr] Adding polars-error v0.39.2 (available: v0.43.1) [INFO] [stderr] Adding polars-io v0.39.2 (available: v0.43.1) [INFO] [stderr] Adding polars-lazy v0.39.2 (available: v0.43.1) [INFO] [stderr] Adding polars-ops v0.39.2 (available: v0.43.1) [INFO] [stderr] Adding polars-parquet v0.39.2 (available: v0.43.1) [INFO] [stderr] Adding polars-pipe v0.39.2 (available: v0.43.1) [INFO] [stderr] Adding polars-plan v0.39.2 (available: v0.43.1) [INFO] [stderr] Adding polars-row v0.39.2 (available: v0.43.1) [INFO] [stderr] Adding polars-sql v0.39.2 (available: v0.43.1) [INFO] [stderr] Adding polars-time v0.39.2 (available: v0.43.1) [INFO] [stderr] Adding polars-utils v0.39.2 (available: v0.43.1) [INFO] [stderr] Adding siphasher v0.3.11 (available: v1.0.1) [INFO] [stderr] Adding sqlparser v0.39.0 (available: v0.51.0) [INFO] [stderr] Adding strum_macros v0.25.3 (available: v0.26.4) [INFO] [stderr] Adding syn v1.0.109 (available: v2.0.79) [INFO] [stderr] Adding sysinfo v0.30.13 (available: v0.31.4) [INFO] [stderr] Adding unicode-width v0.1.14 (available: v0.2.0) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (available: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding windows v0.52.0 (available: v0.58.0) [INFO] [stderr] Adding windows-core v0.52.0 (available: v0.58.0) [INFO] [stderr] Adding windows-sys v0.52.0 (available: v0.59.0) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 57237dfb70b945aa8e641a0aac05c801bab7da448117877a21f164b6db5c1b54 [INFO] running `Command { std: "docker" "start" "-a" "57237dfb70b945aa8e641a0aac05c801bab7da448117877a21f164b6db5c1b54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "57237dfb70b945aa8e641a0aac05c801bab7da448117877a21f164b6db5c1b54", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "57237dfb70b945aa8e641a0aac05c801bab7da448117877a21f164b6db5c1b54", kill_on_drop: false }` [INFO] [stdout] 57237dfb70b945aa8e641a0aac05c801bab7da448117877a21f164b6db5c1b54 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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 -Dtail_expr_drop_order" "-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:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+c387b04bf028733cd561d62128c8a5eee4bc1458" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f60ac519e1ce82c2f08ad848800ad332a9186d3dfb8b967a1b8b4b106ac28e15 [INFO] running `Command { std: "docker" "start" "-a" "f60ac519e1ce82c2f08ad848800ad332a9186d3dfb8b967a1b8b4b106ac28e15", kill_on_drop: false }` [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking serde_json v1.0.128 [INFO] [stderr] Checking indexmap v2.5.0 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking mhgl v0.2.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `collections::HashSet`, `path::Path`, and `str::FromStr` [INFO] [stdout] --> src/congraph.rs:295:15 [INFO] [stdout] | [INFO] [stdout] 295 | use std::{collections::HashSet, path::Path, str::FromStr}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EdgeSet`, `HyperGraph`, and `congraph::ConGraph` [INFO] [stdout] --> src/congraph.rs:297:17 [INFO] [stdout] | [INFO] [stdout] 297 | use crate::{congraph::ConGraph, EdgeSet, HyperGraph}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `HashMap` and `HashSet` [INFO] [stdout] --> src/edge.rs:271:28 [INFO] [stdout] | [INFO] [stdout] 271 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::EdgeSet` [INFO] [stdout] --> src/edge.rs:273:9 [INFO] [stdout] | [INFO] [stdout] 273 | use super::EdgeSet; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EdgeSet` and `HyperGraph` [INFO] [stdout] --> src/hgraph.rs:641:17 [INFO] [stdout] | [INFO] [stdout] 641 | use crate::{EdgeSet, HyperGraph}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::HGraph` [INFO] [stdout] --> src/hgraph.rs:643:9 [INFO] [stdout] | [INFO] [stdout] 643 | use super::HGraph; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::panic` [INFO] [stdout] --> src/node_trait.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::panic; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deserialize` [INFO] [stdout] --> src/node_trait.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `collections::HashSet` and `path::Path` [INFO] [stdout] --> src/congraph.rs:295:15 [INFO] [stdout] | [INFO] [stdout] 295 | use std::{collections::HashSet, path::Path, str::FromStr}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `HashMap` [INFO] [stdout] --> src/edge.rs:271:28 [INFO] [stdout] | [INFO] [stdout] 271 | use std::collections::{HashMap, HashSet}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `EdgeSet` [INFO] [stdout] --> src/hgraph.rs:641:17 [INFO] [stdout] | [INFO] [stdout] 641 | use crate::{EdgeSet, HyperGraph}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::panic` [INFO] [stdout] --> src/node_trait.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::panic; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Deserialize` [INFO] [stdout] --> src/node_trait.rs:2:13 [INFO] [stdout] | [INFO] [stdout] 2 | use serde::{Deserialize, Serialize}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `std::option::Option>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/hgraph.rs:270:33 [INFO] [stdout] | [INFO] [stdout] 269 | pub fn insert_node_data(&mut self, node: &NodeID, new_data: NodeData) -> Option { [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 270 | if let Some(old_node) = self.nodes.remove(node) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `std::option::Option>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/hgraph.rs:285:33 [INFO] [stdout] | [INFO] [stdout] 284 | pub fn insert_edge_data(&mut self, edge_id: &EdgeID, new_data: EdgeData) -> Option { [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 285 | if let Some(old_edge) = self.edges.remove(edge_id) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/edge.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl EdgeSet { [INFO] [stdout] | -------------------------- associated items in this implementation [INFO] [stdout] 17 | /// Creates an empty edge. [INFO] [stdout] 18 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn is_node(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn to_node_set(self) -> HashSet { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn add_node(&mut self, node: N) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn contains_node(&self, node: &N) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn intersect_with(&mut self, rhs: &Self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub fn union_with(&mut self, rhs: &Self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn union(&self, rhs: &Self) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | pub fn remove_nodes(&mut self, nodes: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/hgraph.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Node { [INFO] [stdout] | ----------------------------------------------------- associated function in this implementation [INFO] [stdout] 20 | pub fn new(data: NodeData) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_node_with_id` and `add_edge_with_id` are never used [INFO] [stdout] --> src/hgraph.rs:181:19 [INFO] [stdout] | [INFO] [stdout] 105 | / impl [INFO] [stdout] 106 | | HGraph [INFO] [stdout] | |______________________________________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 181 | pub(crate) fn add_node_with_id(&mut self, node: NodeData, id: NodeID) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 192 | pub(crate) fn add_edge_with_id( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mhgl` (lib) due to 3 previous errors; 11 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused variable: `expected_link` [INFO] [stdout] --> src/congraph.rs:354:13 [INFO] [stdout] | [INFO] [stdout] 354 | let expected_link = vec![ [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_expected_link` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/congraph.rs:364:13 [INFO] [stdout] | [INFO] [stdout] 364 | let mut hg = ConGraph::new(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nodes` [INFO] [stdout] --> src/congraph.rs:391:13 [INFO] [stdout] | [INFO] [stdout] 391 | let nodes = hg.add_nodes(3); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_nodes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e1` [INFO] [stdout] --> src/congraph.rs:393:13 [INFO] [stdout] | [INFO] [stdout] 393 | let e1 = hg.add_edge(&[0, 1]); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_e1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e2` [INFO] [stdout] --> src/congraph.rs:394:13 [INFO] [stdout] | [INFO] [stdout] 394 | let e2 = hg.add_edge(&[0, 1, 2]); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_e2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node_set` [INFO] [stdout] --> src/edge.rs:292:13 [INFO] [stdout] | [INFO] [stdout] 292 | let node_set = HashSet::from([1_u8, 2, 3]); [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_node_set` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `std::option::Option>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/hgraph.rs:270:33 [INFO] [stdout] | [INFO] [stdout] 269 | pub fn insert_node_data(&mut self, node: &NodeID, new_data: NodeData) -> Option { [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 270 | if let Some(old_node) = self.nodes.remove(node) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] = note: requested on the command line with `-D tail-expr-drop-order` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this value of type `std::option::Option>` has significant drop implementation that will have a different drop order from that of Edition 2021 [INFO] [stdout] --> src/hgraph.rs:285:33 [INFO] [stdout] | [INFO] [stdout] 284 | pub fn insert_edge_data(&mut self, edge_id: &EdgeID, new_data: EdgeData) -> Option { [INFO] [stdout] | -------- these local bindings with significant drop implementation may observe changes in drop order under Edition 2024 [INFO] [stdout] 285 | if let Some(old_edge) = self.edges.remove(edge_id) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this changes meaning in Rust 2024 [INFO] [stdout] = note: for more information, see issue #123739 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e3` [INFO] [stdout] --> src/hgraph.rs:653:13 [INFO] [stdout] | [INFO] [stdout] 653 | let e3 = g.add_edge([5_u8, 6, 7], ()).unwrap(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_e3` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e1` [INFO] [stdout] --> src/hgraph.rs:677:13 [INFO] [stdout] | [INFO] [stdout] 677 | let e1 = core.add_edge(vec![0, 1], ()).unwrap(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_e1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e2` [INFO] [stdout] --> src/hgraph.rs:678:13 [INFO] [stdout] | [INFO] [stdout] 678 | let e2 = core.add_edge(vec![0, 6], ()).unwrap(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_e2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `containers` [INFO] [stdout] --> src/hgraph.rs:683:13 [INFO] [stdout] | [INFO] [stdout] 683 | let containers = core.containing_edges_of_nodes([0]); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_containers` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `nodes` [INFO] [stdout] --> src/hgraph.rs:703:13 [INFO] [stdout] | [INFO] [stdout] 703 | let nodes: Vec<_> = (0..10).map(|x| hg.add_node(x)).collect(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_nodes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `e5` [INFO] [stdout] --> src/hgraph.rs:708:13 [INFO] [stdout] | [INFO] [stdout] 708 | let e5 = hg.add_edge(vec![1, 2, 5], 19); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_e5` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/edge.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 16 | impl EdgeSet { [INFO] [stdout] | -------------------------- associated items in this implementation [INFO] [stdout] 17 | /// Creates an empty edge. [INFO] [stdout] 18 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 31 | pub fn is_node(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn to_node_set(self) -> HashSet { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 55 | pub fn add_node(&mut self, node: N) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 61 | pub fn contains_node(&self, node: &N) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 74 | pub fn intersect_with(&mut self, rhs: &Self) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub fn union_with(&mut self, rhs: &Self) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 117 | pub fn union(&self, rhs: &Self) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 153 | pub fn remove_nodes(&mut self, nodes: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/hgraph.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Node { [INFO] [stdout] | ----------------------------------------------------- associated function in this implementation [INFO] [stdout] 20 | pub fn new(data: NodeData) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_node_with_id` and `add_edge_with_id` are never used [INFO] [stdout] --> src/hgraph.rs:181:19 [INFO] [stdout] | [INFO] [stdout] 105 | / impl [INFO] [stdout] 106 | | HGraph [INFO] [stdout] | |______________________________________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 181 | pub(crate) fn add_node_with_id(&mut self, node: NodeData, id: NodeID) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 192 | pub(crate) fn add_edge_with_id( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 2 previous errors; 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `mhgl` (lib test) due to 3 previous errors; 20 warnings emitted [INFO] running `Command { std: "docker" "inspect" "f60ac519e1ce82c2f08ad848800ad332a9186d3dfb8b967a1b8b4b106ac28e15", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f60ac519e1ce82c2f08ad848800ad332a9186d3dfb8b967a1b8b4b106ac28e15", kill_on_drop: false }` [INFO] [stdout] f60ac519e1ce82c2f08ad848800ad332a9186d3dfb8b967a1b8b4b106ac28e15