Skip to content

feat: update dependencies

Sign in for the full log view
GitHub Actions / clippy succeeded Feb 8, 2024 in 0s

clippy

10 warnings

Details

Results

Message level Amount
Internal compiler error 0
Error 0
Warning 10
Note 0
Help 0

Versions

  • rustc 1.76.0 (07dca489a 2024-02-04)
  • cargo 1.76.0 (c84b36747 2024-01-18)
  • clippy 0.1.76 (07dca48 2024-02-04)

Annotations

Check warning on line 72 in src/graph/ged.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

function `graph_edit_distance` is never used

warning: function `graph_edit_distance` is never used
  --> src/graph/ged.rs:72:4
   |
72 | fn graph_edit_distance(graph1: &DiGraph<(), ()>, graph2: &DiGraph<(), ()>) -> usize {
   |    ^^^^^^^^^^^^^^^^^^^

Check warning on line 47 in src/graph/ged.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

function `calculate_edit_distance` is never used

warning: function `calculate_edit_distance` is never used
  --> src/graph/ged.rs:47:4
   |
47 | fn calculate_edit_distance(
   |    ^^^^^^^^^^^^^^^^^^^^^^^

Check warning on line 16 in src/graph/ged.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

function `ged_recursive` is never used

warning: function `ged_recursive` is never used
  --> src/graph/ged.rs:16:4
   |
16 | fn ged_recursive(
   |    ^^^^^^^^^^^^^

Check warning on line 14 in src/graph/ged.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

constant `COST_ADD_DEL` is never used

warning: constant `COST_ADD_DEL` is never used
  --> src/graph/ged.rs:14:7
   |
14 | const COST_ADD_DEL: usize = 1;
   |       ^^^^^^^^^^^^

Check warning on line 13 in src/graph/ged.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

constant `COST_SUB` is never used

warning: constant `COST_SUB` is never used
  --> src/graph/ged.rs:13:7
   |
13 | const COST_SUB: usize = 1;
   |       ^^^^^^^^

Check warning on line 12 in src/graph/ged.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

constant `COST_DEL` is never used

warning: constant `COST_DEL` is never used
  --> src/graph/ged.rs:12:7
   |
12 | const COST_DEL: usize = 1;
   |       ^^^^^^^^

Check warning on line 11 in src/graph/ged.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

constant `COST_ADD` is never used

warning: constant `COST_ADD` is never used
  --> src/graph/ged.rs:11:7
   |
11 | const COST_ADD: usize = 1;
   |       ^^^^^^^^
   |
   = note: `#[warn(dead_code)]` on by default

Check warning on line 178 in src/main.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unreachable pattern

warning: unreachable pattern
   --> src/main.rs:178:9
    |
178 |         _ => info!("Subcommand not implemented yet!"),
    |         ^
    |
    = note: `#[warn(unreachable_patterns)]` on by default

Check warning on line 48 in src/graph/ged.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unused variable: `graph1`

warning: unused variable: `graph1`
  --> src/graph/ged.rs:48:5
   |
48 |     graph1: &DiGraph<(), ()>,
   |     ^^^^^^ help: if this is intentional, prefix it with an underscore: `_graph1`

Check warning on line 54 in src/graph/ged.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

unused variable: `mapped_nodes1`

warning: unused variable: `mapped_nodes1`
  --> src/graph/ged.rs:54:9
   |
54 |     let mapped_nodes1: HashSet<_> = mapping.iter().filter_map(|(a, _)| *a).collect();
   |         ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_mapped_nodes1`
   |
   = note: `#[warn(unused_variables)]` on by default