[INFO] cloning repository https://github.com/AranelLindi/dijkstra-plot
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AranelLindi/dijkstra-plot" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAranelLindi%2Fdijkstra-plot", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAranelLindi%2Fdijkstra-plot'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] cc8b40d00f7f21a1d9c872e7ad39b45b91196cb9
[INFO] checking AranelLindi/dijkstra-plot against master#a26e97be8826d408309fffbd8168362365719f50 for pr-136776
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAranelLindi%2Fdijkstra-plot" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/AranelLindi/dijkstra-plot on toolchain a26e97be8826d408309fffbd8168362365719f50
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a26e97be8826d408309fffbd8168362365719f50" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/AranelLindi/dijkstra-plot
[INFO] finished tweaking git repo https://github.com/AranelLindi/dijkstra-plot
[INFO] tweaked toml for git repo https://github.com/AranelLindi/dijkstra-plot written to /workspace/builds/worker-0-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/AranelLindi/dijkstra-plot already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a26e97be8826d408309fffbd8168362365719f50" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded rxml_validation v0.8.2
[INFO] [stderr]   Downloaded rxml v0.8.2
[INFO] [stderr]   Downloaded smartstring v0.2.10
[INFO] [stderr]   Downloaded minidom v0.15.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+a26e97be8826d408309fffbd8168362365719f50" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 75894a0d9a5f14cbe4038b82f018e8a3601a8b8bb8c78702ed5f5be4b925b173
[INFO] running `Command { std: "docker" "start" "-a" "75894a0d9a5f14cbe4038b82f018e8a3601a8b8bb8c78702ed5f5be4b925b173", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "75894a0d9a5f14cbe4038b82f018e8a3601a8b8bb8c78702ed5f5be4b925b173", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "75894a0d9a5f14cbe4038b82f018e8a3601a8b8bb8c78702ed5f5be4b925b173", kill_on_drop: false }`
[INFO] [stdout] 75894a0d9a5f14cbe4038b82f018e8a3601a8b8bb8c78702ed5f5be4b925b173
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:3959728d45483eb673ba100a951a6b9f5012970368db2a9e08e0ac9b67c8a5ad" "/opt/rustwide/cargo-home/bin/cargo" "+a26e97be8826d408309fffbd8168362365719f50" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] a13058da00ff3074becb902b6ae741bebdca7e0afb484657694f776cddf7f03a
[INFO] running `Command { std: "docker" "start" "-a" "a13058da00ff3074becb902b6ae741bebdca7e0afb484657694f776cddf7f03a", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.140
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]     Checking static_assertions v1.1.0
[INFO] [stderr]     Checking pin-project-lite v0.2.9
[INFO] [stderr]     Checking bytes v1.4.0
[INFO] [stderr]     Checking rxml_validation v0.8.2
[INFO] [stderr]     Checking ppv-lite86 v0.2.17
[INFO] [stderr]     Checking smartstring v0.2.10
[INFO] [stderr]    Compiling tokio v1.25.0
[INFO] [stderr]     Checking getrandom v0.2.8
[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 rxml v0.8.2
[INFO] [stderr]     Checking minidom v0.15.1
[INFO] [stderr]     Checking dijkstra-plot v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: unused import: `std::fs::File`
[INFO] [stdout]  --> src/GraphML.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::fs::File;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::prelude`
[INFO] [stdout]  --> src/GraphML.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::io::prelude;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::GraphML::key_for::KeyFor::Graph`
[INFO] [stdout]   --> src/GraphML.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use crate::GraphML::key_for::KeyFor::Graph;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/GraphPositioning.rs:201:38
[INFO] [stdout]     |
[INFO] [stdout] 201 |                     let cur_weight = (get_weight(i as u32, j as u32) as f32);
[INFO] [stdout]     |                                      ^                                     ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 201 -                     let cur_weight = (get_weight(i as u32, j as u32) as f32);
[INFO] [stdout] 201 +                     let cur_weight = get_weight(i as u32, j as u32) as f32;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Directed`
[INFO] [stdout]   --> src/main.rs:10:60
[INFO] [stdout]    |
[INFO] [stdout] 10 | use Graph::graph_type::graph_enum::GraphType::{Undirected, Directed};
[INFO] [stdout]    |                                                            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Write`
[INFO] [stdout]   --> src/main.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use std::io::Write; // used for command line output
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::fs::File`
[INFO] [stdout]  --> src/GraphML.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::fs::File;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::prelude`
[INFO] [stdout]  --> src/GraphML.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::io::prelude;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `crate::GraphML::key_for::KeyFor::Graph`
[INFO] [stdout]   --> src/GraphML.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use crate::GraphML::key_for::KeyFor::Graph;
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around assigned value
[INFO] [stdout]    --> src/GraphPositioning.rs:201:38
[INFO] [stdout]     |
[INFO] [stdout] 201 |                     let cur_weight = (get_weight(i as u32, j as u32) as f32);
[INFO] [stdout]     |                                      ^                                     ^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]     |
[INFO] [stdout] 201 -                     let cur_weight = (get_weight(i as u32, j as u32) as f32);
[INFO] [stdout] 201 +                     let cur_weight = get_weight(i as u32, j as u32) as f32;
[INFO] [stdout]     |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `Directed`
[INFO] [stdout]   --> src/main.rs:10:60
[INFO] [stdout]    |
[INFO] [stdout] 10 | use Graph::graph_type::graph_enum::GraphType::{Undirected, Directed};
[INFO] [stdout]    |                                                            ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Write`
[INFO] [stdout]   --> src/main.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use std::io::Write; // used for command line output
[INFO] [stdout]    |     ^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `node`
[INFO] [stdout]   --> src/GraphML.rs:37:21
[INFO] [stdout]    |
[INFO] [stdout] 37 |     fn addKeyToNode(node: &'a mut Node, key: Key) {}
[INFO] [stdout]    |                     ^^^^ help: if this is intentional, prefix it with an underscore: `_node`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key`
[INFO] [stdout]   --> src/GraphML.rs:37:41
[INFO] [stdout]    |
[INFO] [stdout] 37 |     fn addKeyToNode(node: &'a mut Node, key: Key) {}
[INFO] [stdout]    |                                         ^^^ help: if this is intentional, prefix it with an underscore: `_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `nodes`
[INFO] [stdout]   --> src/GraphML.rs:38:22
[INFO] [stdout]    |
[INFO] [stdout] 38 |     fn addKeyToNodes(nodes: &'a mut Vec<Node>, key: Key) {}
[INFO] [stdout]    |                      ^^^^^ help: if this is intentional, prefix it with an underscore: `_nodes`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key`
[INFO] [stdout]   --> src/GraphML.rs:38:48
[INFO] [stdout]    |
[INFO] [stdout] 38 |     fn addKeyToNodes(nodes: &'a mut Vec<Node>, key: Key) {}
[INFO] [stdout]    |                                                ^^^ help: if this is intentional, prefix it with an underscore: `_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `edge`
[INFO] [stdout]   --> src/GraphML.rs:39:21
[INFO] [stdout]    |
[INFO] [stdout] 39 |     fn addKeyToEdge(edge: &'a mut Edge, key: Key) {}
[INFO] [stdout]    |                     ^^^^ help: if this is intentional, prefix it with an underscore: `_edge`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key`
[INFO] [stdout]   --> src/GraphML.rs:39:41
[INFO] [stdout]    |
[INFO] [stdout] 39 |     fn addKeyToEdge(edge: &'a mut Edge, key: Key) {}
[INFO] [stdout]    |                                         ^^^ help: if this is intentional, prefix it with an underscore: `_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `edges`
[INFO] [stdout]   --> src/GraphML.rs:40:22
[INFO] [stdout]    |
[INFO] [stdout] 40 |     fn addKeyToEdges(edges: &'a mut Vec<Edge>, key: Key) {}
[INFO] [stdout]    |                      ^^^^^ help: if this is intentional, prefix it with an underscore: `_edges`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key`
[INFO] [stdout]   --> src/GraphML.rs:40:48
[INFO] [stdout]    |
[INFO] [stdout] 40 |     fn addKeyToEdges(edges: &'a mut Vec<Edge>, key: Key) {}
[INFO] [stdout]    |                                                ^^^ help: if this is intentional, prefix it with an underscore: `_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `edges`
[INFO] [stdout]   --> src/GraphML.rs:54:17
[INFO] [stdout]    |
[INFO] [stdout] 54 |         let mut edges: Vec<Edge> = Vec::new();
[INFO] [stdout]    |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_edges`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `edgedefault`
[INFO] [stdout]   --> src/GraphML.rs:59:17
[INFO] [stdout]    |
[INFO] [stdout] 59 |             let edgedefault = match xdoc.attr("edgedefault").unwrap_or_else(|| "undirected") {
[INFO] [stdout]    |                 ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_edgedefault`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/GraphML.rs:54:13
[INFO] [stdout]    |
[INFO] [stdout] 54 |         let mut edges: Vec<Edge> = Vec::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: `edge_len`
[INFO] [stdout]   --> src/GraphOutput.rs:68:13
[INFO] [stdout]    |
[INFO] [stdout] 68 |         let edge_len = graph.edge_len as usize;
[INFO] [stdout]    |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_edge_len`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/GraphOutput.rs:71:13
[INFO] [stdout]    |
[INFO] [stdout] 71 |         let mut rfile = File::create(file_name.clone()); // has to be mutable?
[INFO] [stdout]    |             ----^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `input` is assigned to, but never used
[INFO] [stdout]   --> src/main.rs:24:13
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let mut input = "";
[INFO] [stdout]    |             ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_input` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `output` is assigned to, but never used
[INFO] [stdout]   --> src/main.rs:25:13
[INFO] [stdout]    |
[INFO] [stdout] 25 |     let mut output = "";
[INFO] [stdout]    |             ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_output` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `start` is assigned to, but never used
[INFO] [stdout]   --> src/main.rs:26:13
[INFO] [stdout]    |
[INFO] [stdout] 26 |     let mut start = "";
[INFO] [stdout]    |             ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_start` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dest`
[INFO] [stdout]   --> src/main.rs:27:13
[INFO] [stdout]    |
[INFO] [stdout] 27 |     let mut dest = "";
[INFO] [stdout]    |             ^^^^ help: if this is intentional, prefix it with an underscore: `_dest`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `input` is never read
[INFO] [stdout]   --> src/main.rs:32:13
[INFO] [stdout]    |
[INFO] [stdout] 32 |             input = &arg[7..];
[INFO] [stdout]    |             ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `input` is never read
[INFO] [stdout]   --> src/main.rs:36:13
[INFO] [stdout]    |
[INFO] [stdout] 36 |             input = "Graph.xml";
[INFO] [stdout]    |             ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `output` is never read
[INFO] [stdout]   --> src/main.rs:41:13
[INFO] [stdout]    |
[INFO] [stdout] 41 |             output = &arg[9..];
[INFO] [stdout]    |             ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `output` is never read
[INFO] [stdout]   --> src/main.rs:45:13
[INFO] [stdout]    |
[INFO] [stdout] 45 |             output = "Graph.dat";
[INFO] [stdout]    |             ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `start` is never read
[INFO] [stdout]   --> src/main.rs:50:13
[INFO] [stdout]    |
[INFO] [stdout] 50 |             start = &arg[7..];
[INFO] [stdout]    |             ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `start` is never read
[INFO] [stdout]   --> src/main.rs:54:13
[INFO] [stdout]    |
[INFO] [stdout] 54 |             start = "A";
[INFO] [stdout]    |             ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `start` is never read
[INFO] [stdout]   --> src/main.rs:59:13
[INFO] [stdout]    |
[INFO] [stdout] 59 |             start = &arg[6..];
[INFO] [stdout]    |             ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:27:9
[INFO] [stdout]    |
[INFO] [stdout] 27 |     let mut dest = "";
[INFO] [stdout]    |         ----^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/Graph.rs:44:12
[INFO] [stdout]     |
[INFO] [stdout] 24  | impl<'a> Graph<'a> {
[INFO] [stdout]     | ------------------ associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 44  |     pub fn get_adjacency_matrix(&self) -> Vec<Vec<bool>>
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 61  |     pub fn add_key(obj: &'a mut (dyn IgraphObject<'a> + 'a), key: Key) {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 73  |     pub fn delete_key(obj: &'a mut (dyn IgraphObject<'a> + 'a), id: &'a str) {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 82  |     pub fn get_pos_key_by_id(obj: &'a mut (dyn IgraphObject<'a> + 'a), id: &'a str) -> Result<usize, String> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 90  |     pub fn get_pos_by_attrname(obj: &'a mut (dyn IgraphObject<'a> + 'a), attrname: &'a str) -> Result<usize, String> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 97  |     pub fn node_len(&self) -> usize {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 100 |     pub fn edge_len(&self) -> usize {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Directed` is never constructed
[INFO] [stdout]  --> src/Graph/graph_type.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 3 |     pub enum GraphType {
[INFO] [stdout]   |              --------- variant in this enum
[INFO] [stdout] 4 |         Directed,
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `GraphType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_keys` and `set_keys` are never used
[INFO] [stdout]  --> src/Graph/igraph_object.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub trait IgraphObject<'a> {
[INFO] [stdout]   |           ------------ methods in this trait
[INFO] [stdout] 4 |     fn get_id(&'a self) -> &'a str;
[INFO] [stdout] 5 |     fn get_keys(&mut self) -> &mut Vec<Key>;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 6 |     fn set_keys(&mut self, keys: Vec<Key>);
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Boolean`, `Int`, `Long`, `Float`, `Double`, and `String` are never constructed
[INFO] [stdout]  --> src/Graph/key_type.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 3 |     pub enum KeyType {
[INFO] [stdout]   |              ------- variants in this enum
[INFO] [stdout] 4 |         Boolean,
[INFO] [stdout]   |         ^^^^^^^
[INFO] [stdout] 5 |         Int,
[INFO] [stdout]   |         ^^^
[INFO] [stdout] 6 |         Long,
[INFO] [stdout]   |         ^^^^
[INFO] [stdout] 7 |         Float,
[INFO] [stdout]   |         ^^^^^
[INFO] [stdout] 8 |         Double,
[INFO] [stdout]   |         ^^^^^^
[INFO] [stdout] 9 |         String,
[INFO] [stdout]   |         ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `KeyType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `GraphML` is never constructed
[INFO] [stdout]   --> src/GraphML.rs:25:8
[INFO] [stdout]    |
[INFO] [stdout] 25 | struct GraphML<'a> {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ROOT_NAME` is never used
[INFO] [stdout]   --> src/GraphML.rs:30:7
[INFO] [stdout]    |
[INFO] [stdout] 30 | const ROOT_NAME: &str = "graphml";
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `NODE_NAME` is never used
[INFO] [stdout]   --> src/GraphML.rs:31:7
[INFO] [stdout]    |
[INFO] [stdout] 31 | const NODE_NAME: &str = "node";
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `EDGE_NAME` is never used
[INFO] [stdout]   --> src/GraphML.rs:32:7
[INFO] [stdout]    |
[INFO] [stdout] 32 | const EDGE_NAME: &str = "edge";
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DATA_NAME` is never used
[INFO] [stdout]   --> src/GraphML.rs:33:7
[INFO] [stdout]    |
[INFO] [stdout] 33 | const DATA_NAME: &str = "data";
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `KEY_NAME` is never used
[INFO] [stdout]   --> src/GraphML.rs:34:7
[INFO] [stdout]    |
[INFO] [stdout] 34 | const KEY_NAME: &str = "key";
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `addKeyToNode`, `addKeyToNodes`, `addKeyToEdge`, `addKeyToEdges`, and `createGraph` are never used
[INFO] [stdout]   --> src/GraphML.rs:37:8
[INFO] [stdout]    |
[INFO] [stdout] 36 | impl<'a> GraphML<'a> {
[INFO] [stdout]    | -------------------- associated functions in this implementation
[INFO] [stdout] 37 |     fn addKeyToNode(node: &'a mut Node, key: Key) {}
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 38 |     fn addKeyToNodes(nodes: &'a mut Vec<Node>, key: Key) {}
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 39 |     fn addKeyToEdge(edge: &'a mut Edge, key: Key) {}
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 40 |     fn addKeyToEdges(edges: &'a mut Vec<Edge>, key: Key) {}
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 43 |     pub fn createGraph(graphml_path: String) {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `KeyFor` is never used
[INFO] [stdout]   --> src/GraphML.rs:16:14
[INFO] [stdout]    |
[INFO] [stdout] 16 |     pub enum KeyFor {
[INFO] [stdout]    |              ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `KeyFor` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `vel` is never read
[INFO] [stdout]   --> src/GraphPositioning.rs:30:9
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub struct NodePos {
[INFO] [stdout]    |            ------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 30 |     pub vel: (f32, f32),
[INFO] [stdout]    |         ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `NodePos` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `Graph` should have a snake case name
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | mod Graph;
[INFO] [stdout]   |     ^^^^^ help: convert the identifier to snake case: `graph`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `Dijkstra` should have a snake case name
[INFO] [stdout]  --> src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | mod Dijkstra;
[INFO] [stdout]   |     ^^^^^^^^ help: convert the identifier to snake case: `dijkstra`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `GraphML` should have a snake case name
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | mod GraphML;
[INFO] [stdout]   |     ^^^^^^^ help: convert the identifier to snake case: `graph_ml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `GraphOutput` should have a snake case name
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | mod GraphOutput;
[INFO] [stdout]   |     ^^^^^^^^^^^ help: convert the identifier to snake case: `graph_output`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `GraphPositioning` should have a snake case name
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | mod GraphPositioning;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `graph_positioning`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `Q` should have a snake case name
[INFO] [stdout]   --> src/Dijkstra.rs:68:17
[INFO] [stdout]    |
[INFO] [stdout] 68 |         let mut Q = Self::init(graph, start);
[INFO] [stdout]    |                 ^ help: convert the identifier to snake case: `q`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `N_` should have a snake case name
[INFO] [stdout]   --> src/Dijkstra.rs:72:17
[INFO] [stdout]    |
[INFO] [stdout] 72 |         let mut N_ : HashSet<&Node> = HashSet::new(); // graph.nodes.iter().collect();
[INFO] [stdout]    |                 ^^ help: convert the identifier to snake case: `n`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `addKeyToNode` should have a snake case name
[INFO] [stdout]   --> src/GraphML.rs:37:8
[INFO] [stdout]    |
[INFO] [stdout] 37 |     fn addKeyToNode(node: &'a mut Node, key: Key) {}
[INFO] [stdout]    |        ^^^^^^^^^^^^ help: convert the identifier to snake case: `add_key_to_node`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `addKeyToNodes` should have a snake case name
[INFO] [stdout]   --> src/GraphML.rs:38:8
[INFO] [stdout]    |
[INFO] [stdout] 38 |     fn addKeyToNodes(nodes: &'a mut Vec<Node>, key: Key) {}
[INFO] [stdout]    |        ^^^^^^^^^^^^^ help: convert the identifier to snake case: `add_key_to_nodes`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `addKeyToEdge` should have a snake case name
[INFO] [stdout]   --> src/GraphML.rs:39:8
[INFO] [stdout]    |
[INFO] [stdout] 39 |     fn addKeyToEdge(edge: &'a mut Edge, key: Key) {}
[INFO] [stdout]    |        ^^^^^^^^^^^^ help: convert the identifier to snake case: `add_key_to_edge`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `addKeyToEdges` should have a snake case name
[INFO] [stdout]   --> src/GraphML.rs:40:8
[INFO] [stdout]    |
[INFO] [stdout] 40 |     fn addKeyToEdges(edges: &'a mut Vec<Edge>, key: Key) {}
[INFO] [stdout]    |        ^^^^^^^^^^^^^ help: convert the identifier to snake case: `add_key_to_edges`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `createGraph` should have a snake case name
[INFO] [stdout]   --> src/GraphML.rs:43:12
[INFO] [stdout]    |
[INFO] [stdout] 43 |     pub fn createGraph(graphml_path: String) {
[INFO] [stdout]    |            ^^^^^^^^^^^ help: convert the identifier to snake case: `create_graph`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `write2File` should have a snake case name
[INFO] [stdout]   --> src/GraphOutput.rs:66:12
[INFO] [stdout]    |
[INFO] [stdout] 66 |     pub fn write2File(file_name: String, graph: &'a Graph, position_information: &'a Vec<NodePos>, dijkstra_information: Option<&Vec<Dijk...
[INFO] [stdout]    |            ^^^^^^^^^^ help: convert the identifier to snake case: `write2_file`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `node`
[INFO] [stdout]   --> src/GraphML.rs:37:21
[INFO] [stdout]    |
[INFO] [stdout] 37 |     fn addKeyToNode(node: &'a mut Node, key: Key) {}
[INFO] [stdout]    |                     ^^^^ help: if this is intentional, prefix it with an underscore: `_node`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key`
[INFO] [stdout]   --> src/GraphML.rs:37:41
[INFO] [stdout]    |
[INFO] [stdout] 37 |     fn addKeyToNode(node: &'a mut Node, key: Key) {}
[INFO] [stdout]    |                                         ^^^ help: if this is intentional, prefix it with an underscore: `_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `nodes`
[INFO] [stdout]   --> src/GraphML.rs:38:22
[INFO] [stdout]    |
[INFO] [stdout] 38 |     fn addKeyToNodes(nodes: &'a mut Vec<Node>, key: Key) {}
[INFO] [stdout]    |                      ^^^^^ help: if this is intentional, prefix it with an underscore: `_nodes`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key`
[INFO] [stdout]   --> src/GraphML.rs:38:48
[INFO] [stdout]    |
[INFO] [stdout] 38 |     fn addKeyToNodes(nodes: &'a mut Vec<Node>, key: Key) {}
[INFO] [stdout]    |                                                ^^^ help: if this is intentional, prefix it with an underscore: `_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `edge`
[INFO] [stdout]   --> src/GraphML.rs:39:21
[INFO] [stdout]    |
[INFO] [stdout] 39 |     fn addKeyToEdge(edge: &'a mut Edge, key: Key) {}
[INFO] [stdout]    |                     ^^^^ help: if this is intentional, prefix it with an underscore: `_edge`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key`
[INFO] [stdout]   --> src/GraphML.rs:39:41
[INFO] [stdout]    |
[INFO] [stdout] 39 |     fn addKeyToEdge(edge: &'a mut Edge, key: Key) {}
[INFO] [stdout]    |                                         ^^^ help: if this is intentional, prefix it with an underscore: `_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `edges`
[INFO] [stdout]   --> src/GraphML.rs:40:22
[INFO] [stdout]    |
[INFO] [stdout] 40 |     fn addKeyToEdges(edges: &'a mut Vec<Edge>, key: Key) {}
[INFO] [stdout]    |                      ^^^^^ help: if this is intentional, prefix it with an underscore: `_edges`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `key`
[INFO] [stdout]   --> src/GraphML.rs:40:48
[INFO] [stdout]    |
[INFO] [stdout] 40 |     fn addKeyToEdges(edges: &'a mut Vec<Edge>, key: Key) {}
[INFO] [stdout]    |                                                ^^^ help: if this is intentional, prefix it with an underscore: `_key`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `edges`
[INFO] [stdout]   --> src/GraphML.rs:54:17
[INFO] [stdout]    |
[INFO] [stdout] 54 |         let mut edges: Vec<Edge> = Vec::new();
[INFO] [stdout]    |                 ^^^^^ help: if this is intentional, prefix it with an underscore: `_edges`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `edgedefault`
[INFO] [stdout]   --> src/GraphML.rs:59:17
[INFO] [stdout]    |
[INFO] [stdout] 59 |             let edgedefault = match xdoc.attr("edgedefault").unwrap_or_else(|| "undirected") {
[INFO] [stdout]    |                 ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_edgedefault`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/GraphML.rs:54:13
[INFO] [stdout]    |
[INFO] [stdout] 54 |         let mut edges: Vec<Edge> = Vec::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: `edge_len`
[INFO] [stdout]   --> src/GraphOutput.rs:68:13
[INFO] [stdout]    |
[INFO] [stdout] 68 |         let edge_len = graph.edge_len as usize;
[INFO] [stdout]    |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_edge_len`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/GraphOutput.rs:71:13
[INFO] [stdout]    |
[INFO] [stdout] 71 |         let mut rfile = File::create(file_name.clone()); // has to be mutable?
[INFO] [stdout]    |             ----^^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `input` is assigned to, but never used
[INFO] [stdout]   --> src/main.rs:24:13
[INFO] [stdout]    |
[INFO] [stdout] 24 |     let mut input = "";
[INFO] [stdout]    |             ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_input` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `output` is assigned to, but never used
[INFO] [stdout]   --> src/main.rs:25:13
[INFO] [stdout]    |
[INFO] [stdout] 25 |     let mut output = "";
[INFO] [stdout]    |             ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_output` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `start` is assigned to, but never used
[INFO] [stdout]   --> src/main.rs:26:13
[INFO] [stdout]    |
[INFO] [stdout] 26 |     let mut start = "";
[INFO] [stdout]    |             ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: consider using `_start` instead
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dest`
[INFO] [stdout]   --> src/main.rs:27:13
[INFO] [stdout]    |
[INFO] [stdout] 27 |     let mut dest = "";
[INFO] [stdout]    |             ^^^^ help: if this is intentional, prefix it with an underscore: `_dest`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `input` is never read
[INFO] [stdout]   --> src/main.rs:32:13
[INFO] [stdout]    |
[INFO] [stdout] 32 |             input = &arg[7..];
[INFO] [stdout]    |             ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout]    = note: `#[warn(unused_assignments)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `input` is never read
[INFO] [stdout]   --> src/main.rs:36:13
[INFO] [stdout]    |
[INFO] [stdout] 36 |             input = "Graph.xml";
[INFO] [stdout]    |             ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `output` is never read
[INFO] [stdout]   --> src/main.rs:41:13
[INFO] [stdout]    |
[INFO] [stdout] 41 |             output = &arg[9..];
[INFO] [stdout]    |             ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `output` is never read
[INFO] [stdout]   --> src/main.rs:45:13
[INFO] [stdout]    |
[INFO] [stdout] 45 |             output = "Graph.dat";
[INFO] [stdout]    |             ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `start` is never read
[INFO] [stdout]   --> src/main.rs:50:13
[INFO] [stdout]    |
[INFO] [stdout] 50 |             start = &arg[7..];
[INFO] [stdout]    |             ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `start` is never read
[INFO] [stdout]   --> src/main.rs:54:13
[INFO] [stdout]    |
[INFO] [stdout] 54 |             start = "A";
[INFO] [stdout]    |             ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `start` is never read
[INFO] [stdout]   --> src/main.rs:59:13
[INFO] [stdout]    |
[INFO] [stdout] 59 |             start = &arg[6..];
[INFO] [stdout]    |             ^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = help: maybe it is overwritten before being read?
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/main.rs:27:9
[INFO] [stdout]    |
[INFO] [stdout] 27 |     let mut dest = "";
[INFO] [stdout]    |         ----^^^^
[INFO] [stdout]    |         |
[INFO] [stdout]    |         help: remove this `mut`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: multiple associated items are never used
[INFO] [stdout]    --> src/Graph.rs:44:12
[INFO] [stdout]     |
[INFO] [stdout] 24  | impl<'a> Graph<'a> {
[INFO] [stdout]     | ------------------ associated items in this implementation
[INFO] [stdout] ...
[INFO] [stdout] 44  |     pub fn get_adjacency_matrix(&self) -> Vec<Vec<bool>>
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 61  |     pub fn add_key(obj: &'a mut (dyn IgraphObject<'a> + 'a), key: Key) {
[INFO] [stdout]     |            ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 73  |     pub fn delete_key(obj: &'a mut (dyn IgraphObject<'a> + 'a), id: &'a str) {
[INFO] [stdout]     |            ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 82  |     pub fn get_pos_key_by_id(obj: &'a mut (dyn IgraphObject<'a> + 'a), id: &'a str) -> Result<usize, String> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 90  |     pub fn get_pos_by_attrname(obj: &'a mut (dyn IgraphObject<'a> + 'a), attrname: &'a str) -> Result<usize, String> {
[INFO] [stdout]     |            ^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 97  |     pub fn node_len(&self) -> usize {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 100 |     pub fn edge_len(&self) -> usize {
[INFO] [stdout]     |            ^^^^^^^^
[INFO] [stdout]     |
[INFO] [stdout]     = note: `#[warn(dead_code)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variant `Directed` is never constructed
[INFO] [stdout]  --> src/Graph/graph_type.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 3 |     pub enum GraphType {
[INFO] [stdout]   |              --------- variant in this enum
[INFO] [stdout] 4 |         Directed,
[INFO] [stdout]   |         ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `GraphType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: methods `get_keys` and `set_keys` are never used
[INFO] [stdout]  --> src/Graph/igraph_object.rs:5:8
[INFO] [stdout]   |
[INFO] [stdout] 3 | pub trait IgraphObject<'a> {
[INFO] [stdout]   |           ------------ methods in this trait
[INFO] [stdout] 4 |     fn get_id(&'a self) -> &'a str;
[INFO] [stdout] 5 |     fn get_keys(&mut self) -> &mut Vec<Key>;
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 6 |     fn set_keys(&mut self, keys: Vec<Key>);
[INFO] [stdout]   |        ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variants `Boolean`, `Int`, `Long`, `Float`, `Double`, and `String` are never constructed
[INFO] [stdout]  --> src/Graph/key_type.rs:4:9
[INFO] [stdout]   |
[INFO] [stdout] 3 |     pub enum KeyType {
[INFO] [stdout]   |              ------- variants in this enum
[INFO] [stdout] 4 |         Boolean,
[INFO] [stdout]   |         ^^^^^^^
[INFO] [stdout] 5 |         Int,
[INFO] [stdout]   |         ^^^
[INFO] [stdout] 6 |         Long,
[INFO] [stdout]   |         ^^^^
[INFO] [stdout] 7 |         Float,
[INFO] [stdout]   |         ^^^^^
[INFO] [stdout] 8 |         Double,
[INFO] [stdout]   |         ^^^^^^
[INFO] [stdout] 9 |         String,
[INFO] [stdout]   |         ^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `KeyType` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `GraphML` is never constructed
[INFO] [stdout]   --> src/GraphML.rs:25:8
[INFO] [stdout]    |
[INFO] [stdout] 25 | struct GraphML<'a> {
[INFO] [stdout]    |        ^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `ROOT_NAME` is never used
[INFO] [stdout]   --> src/GraphML.rs:30:7
[INFO] [stdout]    |
[INFO] [stdout] 30 | const ROOT_NAME: &str = "graphml";
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `NODE_NAME` is never used
[INFO] [stdout]   --> src/GraphML.rs:31:7
[INFO] [stdout]    |
[INFO] [stdout] 31 | const NODE_NAME: &str = "node";
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `EDGE_NAME` is never used
[INFO] [stdout]   --> src/GraphML.rs:32:7
[INFO] [stdout]    |
[INFO] [stdout] 32 | const EDGE_NAME: &str = "edge";
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `DATA_NAME` is never used
[INFO] [stdout]   --> src/GraphML.rs:33:7
[INFO] [stdout]    |
[INFO] [stdout] 33 | const DATA_NAME: &str = "data";
[INFO] [stdout]    |       ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: constant `KEY_NAME` is never used
[INFO] [stdout]   --> src/GraphML.rs:34:7
[INFO] [stdout]    |
[INFO] [stdout] 34 | const KEY_NAME: &str = "key";
[INFO] [stdout]    |       ^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated functions `addKeyToNode`, `addKeyToNodes`, `addKeyToEdge`, `addKeyToEdges`, and `createGraph` are never used
[INFO] [stdout]   --> src/GraphML.rs:37:8
[INFO] [stdout]    |
[INFO] [stdout] 36 | impl<'a> GraphML<'a> {
[INFO] [stdout]    | -------------------- associated functions in this implementation
[INFO] [stdout] 37 |     fn addKeyToNode(node: &'a mut Node, key: Key) {}
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 38 |     fn addKeyToNodes(nodes: &'a mut Vec<Node>, key: Key) {}
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 39 |     fn addKeyToEdge(edge: &'a mut Edge, key: Key) {}
[INFO] [stdout]    |        ^^^^^^^^^^^^
[INFO] [stdout] 40 |     fn addKeyToEdges(edges: &'a mut Vec<Edge>, key: Key) {}
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 43 |     pub fn createGraph(graphml_path: String) {
[INFO] [stdout]    |            ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `KeyFor` is never used
[INFO] [stdout]   --> src/GraphML.rs:16:14
[INFO] [stdout]    |
[INFO] [stdout] 16 |     pub enum KeyFor {
[INFO] [stdout]    |              ^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `KeyFor` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: field `vel` is never read
[INFO] [stdout]   --> src/GraphPositioning.rs:30:9
[INFO] [stdout]    |
[INFO] [stdout] 27 | pub struct NodePos {
[INFO] [stdout]    |            ------- field in this struct
[INFO] [stdout] ...
[INFO] [stdout] 30 |     pub vel: (f32, f32),
[INFO] [stdout]    |         ^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `NodePos` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `Graph` should have a snake case name
[INFO] [stdout]  --> src/main.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | mod Graph;
[INFO] [stdout]   |     ^^^^^ help: convert the identifier to snake case: `graph`
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `Dijkstra` should have a snake case name
[INFO] [stdout]  --> src/main.rs:2:5
[INFO] [stdout]   |
[INFO] [stdout] 2 | mod Dijkstra;
[INFO] [stdout]   |     ^^^^^^^^ help: convert the identifier to snake case: `dijkstra`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `GraphML` should have a snake case name
[INFO] [stdout]  --> src/main.rs:3:5
[INFO] [stdout]   |
[INFO] [stdout] 3 | mod GraphML;
[INFO] [stdout]   |     ^^^^^^^ help: convert the identifier to snake case: `graph_ml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `GraphOutput` should have a snake case name
[INFO] [stdout]  --> src/main.rs:4:5
[INFO] [stdout]   |
[INFO] [stdout] 4 | mod GraphOutput;
[INFO] [stdout]   |     ^^^^^^^^^^^ help: convert the identifier to snake case: `graph_output`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: module `GraphPositioning` should have a snake case name
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | mod GraphPositioning;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `graph_positioning`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `Q` should have a snake case name
[INFO] [stdout]   --> src/Dijkstra.rs:68:17
[INFO] [stdout]    |
[INFO] [stdout] 68 |         let mut Q = Self::init(graph, start);
[INFO] [stdout]    |                 ^ help: convert the identifier to snake case: `q`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable `N_` should have a snake case name
[INFO] [stdout]   --> src/Dijkstra.rs:72:17
[INFO] [stdout]    |
[INFO] [stdout] 72 |         let mut N_ : HashSet<&Node> = HashSet::new(); // graph.nodes.iter().collect();
[INFO] [stdout]    |                 ^^ help: convert the identifier to snake case: `n`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `addKeyToNode` should have a snake case name
[INFO] [stdout]   --> src/GraphML.rs:37:8
[INFO] [stdout]    |
[INFO] [stdout] 37 |     fn addKeyToNode(node: &'a mut Node, key: Key) {}
[INFO] [stdout]    |        ^^^^^^^^^^^^ help: convert the identifier to snake case: `add_key_to_node`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `addKeyToNodes` should have a snake case name
[INFO] [stdout]   --> src/GraphML.rs:38:8
[INFO] [stdout]    |
[INFO] [stdout] 38 |     fn addKeyToNodes(nodes: &'a mut Vec<Node>, key: Key) {}
[INFO] [stdout]    |        ^^^^^^^^^^^^^ help: convert the identifier to snake case: `add_key_to_nodes`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `addKeyToEdge` should have a snake case name
[INFO] [stdout]   --> src/GraphML.rs:39:8
[INFO] [stdout]    |
[INFO] [stdout] 39 |     fn addKeyToEdge(edge: &'a mut Edge, key: Key) {}
[INFO] [stdout]    |        ^^^^^^^^^^^^ help: convert the identifier to snake case: `add_key_to_edge`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `addKeyToEdges` should have a snake case name
[INFO] [stdout]   --> src/GraphML.rs:40:8
[INFO] [stdout]    |
[INFO] [stdout] 40 |     fn addKeyToEdges(edges: &'a mut Vec<Edge>, key: Key) {}
[INFO] [stdout]    |        ^^^^^^^^^^^^^ help: convert the identifier to snake case: `add_key_to_edges`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `createGraph` should have a snake case name
[INFO] [stdout]   --> src/GraphML.rs:43:12
[INFO] [stdout]    |
[INFO] [stdout] 43 |     pub fn createGraph(graphml_path: String) {
[INFO] [stdout]    |            ^^^^^^^^^^^ help: convert the identifier to snake case: `create_graph`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: method `write2File` should have a snake case name
[INFO] [stdout]   --> src/GraphOutput.rs:66:12
[INFO] [stdout]    |
[INFO] [stdout] 66 |     pub fn write2File(file_name: String, graph: &'a Graph, position_information: &'a Vec<NodePos>, dijkstra_information: Option<&Vec<Dijk...
[INFO] [stdout]    |            ^^^^^^^^^^ help: convert the identifier to snake case: `write2_file`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 4.09s
[INFO] running `Command { std: "docker" "inspect" "a13058da00ff3074becb902b6ae741bebdca7e0afb484657694f776cddf7f03a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "a13058da00ff3074becb902b6ae741bebdca7e0afb484657694f776cddf7f03a", kill_on_drop: false }`
[INFO] [stdout] a13058da00ff3074becb902b6ae741bebdca7e0afb484657694f776cddf7f03a
