[INFO] cloning repository https://github.com/Ant4ce/RlwyNetSim
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Ant4ce/RlwyNetSim" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnt4ce%2FRlwyNetSim", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnt4ce%2FRlwyNetSim'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] b1cdb5c75a886d00ae63be7d97a0d2f5c152a013
[INFO] checking Ant4ce/RlwyNetSim against try#5fee451ebd94296ea05214e819c311e164b30af6 for pr-139042
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnt4ce%2FRlwyNetSim" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/Ant4ce/RlwyNetSim on toolchain 5fee451ebd94296ea05214e819c311e164b30af6
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5fee451ebd94296ea05214e819c311e164b30af6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/Ant4ce/RlwyNetSim
[INFO] finished tweaking git repo https://github.com/Ant4ce/RlwyNetSim
[INFO] tweaked toml for git repo https://github.com/Ant4ce/RlwyNetSim written to /workspace/builds/worker-7-tc2/source/Cargo.toml
[INFO] crate git repo https://github.com/Ant4ce/RlwyNetSim 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" "+5fee451ebd94296ea05214e819c311e164b30af6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+5fee451ebd94296ea05214e819c311e164b30af6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 3325bbc5cd49bdc022d15df9762f00c76e273c0fb90e1f3aaef374f06f39258c
[INFO] running `Command { std: "docker" "start" "-a" "3325bbc5cd49bdc022d15df9762f00c76e273c0fb90e1f3aaef374f06f39258c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "3325bbc5cd49bdc022d15df9762f00c76e273c0fb90e1f3aaef374f06f39258c", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "3325bbc5cd49bdc022d15df9762f00c76e273c0fb90e1f3aaef374f06f39258c", kill_on_drop: false }`
[INFO] [stdout] 3325bbc5cd49bdc022d15df9762f00c76e273c0fb90e1f3aaef374f06f39258c
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+5fee451ebd94296ea05214e819c311e164b30af6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 5502122f8f17b9b1fedf6274921eb56d964deaba20d66cdecb464bc3fed14904
[INFO] running `Command { std: "docker" "start" "-a" "5502122f8f17b9b1fedf6274921eb56d964deaba20d66cdecb464bc3fed14904", kill_on_drop: false }`
[INFO] [stderr]     Checking RlwyNetSim v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `petgraph`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use petgraph::graphmap::UnGraphMap;
[INFO] [stdout]   |     ^^^^^^^^ use of unresolved module or unlinked crate `petgraph`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `petgraph`, use `cargo add petgraph` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `petgraph`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use petgraph::dot::Dot;
[INFO] [stdout]   |     ^^^^^^^^ use of unresolved module or unlinked crate `petgraph`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `petgraph`, use `cargo add petgraph` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/station.rs:59:16
[INFO] [stdout]    |
[INFO] [stdout] 59 |             if (plat.occupied == false && plat.platform_type == plat_type) {
[INFO] [stdout]    |                ^                                                         ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 59 -             if (plat.occupied == false && plat.platform_type == plat_type) {
[INFO] [stdout] 59 +             if plat.occupied == false && plat.platform_type == plat_type {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: elided lifetime has a name
[INFO] [stdout]   --> src/line.rs:34:89
[INFO] [stdout]    |
[INFO] [stdout] 34 |     fn add_segment_end<'b: 'a>(&'b mut self, segment_id: &mut u32, end_station: u32) -> &route::Route {
[INFO] [stdout]    |                        -- lifetime `'b` declared here                                   ^ this elided lifetime gets resolved as `'b`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(elided_named_lifetimes)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: elided lifetime has a name
[INFO] [stdout]   --> src/line.rs:34:97
[INFO] [stdout]    |
[INFO] [stdout] 34 |     fn add_segment_end<'b: 'a>(&'b mut self, segment_id: &mut u32, end_station: u32) -> &route::Route {
[INFO] [stdout]    |                        -- lifetime `'b` declared here                                           ^^^^^ this elided lifetime gets resolved as `'b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: elided lifetime has a name
[INFO] [stdout]   --> src/line.rs:43:80
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl<'a> Line<'a> {
[INFO] [stdout]    |      -- lifetime `'a` declared here
[INFO] [stdout] ...
[INFO] [stdout] 43 |     fn get_next_segment(&'a mut self, segment_id: &'a u32, forward: &bool) -> (&u32, bool) {
[INFO] [stdout]    |                                                                                ^ this elided lifetime gets resolved as `'a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: elided lifetime has a name
[INFO] [stdout]   --> src/line.rs:71:93
[INFO] [stdout]    |
[INFO] [stdout] 71 |     fn add_segment_start<'b: 'a>(&'b mut self, segment_id: &mut u32, start_station: u32) -> &route::Route {
[INFO] [stdout]    |                          -- lifetime `'b` declared here                                     ^ this elided lifetime gets resolved as `'b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: elided lifetime has a name
[INFO] [stdout]   --> src/line.rs:71:101
[INFO] [stdout]    |
[INFO] [stdout] 71 |     fn add_segment_start<'b: 'a>(&'b mut self, segment_id: &mut u32, start_station: u32) -> &route::Route {
[INFO] [stdout]    |                          -- lifetime `'b` declared here                                             ^^^^^ this elided lifetime gets resolved as `'b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: elided lifetime has a name
[INFO] [stdout]   --> src/line.rs:80:16
[INFO] [stdout]    |
[INFO] [stdout] 79 |     fn add_segment_middle<'b: 'a>(&'b mut self, segment_id: &mut u32, start_station: u32, end_station: u32) -> 
[INFO] [stdout]    |                           -- lifetime `'b` declared here
[INFO] [stdout] 80 |         Option<&route::Route> {
[INFO] [stdout]    |                ^ this elided lifetime gets resolved as `'b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: elided lifetime has a name
[INFO] [stdout]   --> src/line.rs:80:24
[INFO] [stdout]    |
[INFO] [stdout] 79 |     fn add_segment_middle<'b: 'a>(&'b mut self, segment_id: &mut u32, start_station: u32, end_station: u32) -> 
[INFO] [stdout]    |                           -- lifetime `'b` declared here
[INFO] [stdout] 80 |         Option<&route::Route> {
[INFO] [stdout]    |                        ^^^^^ this elided lifetime gets resolved as `'b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: elided lifetime has a name
[INFO] [stdout]    --> src/line.rs:109:77
[INFO] [stdout]     |
[INFO] [stdout] 109 |     fn merge_segments<'b: 'a>(&'b mut self, common_station: &u32) -> Result<&route::Route, LineError> {
[INFO] [stdout]     |                       -- lifetime `'b` declared here                        ^ this elided lifetime gets resolved as `'b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: elided lifetime has a name
[INFO] [stdout]    --> src/line.rs:109:85
[INFO] [stdout]     |
[INFO] [stdout] 109 |     fn merge_segments<'b: 'a>(&'b mut self, common_station: &u32) -> Result<&route::Route, LineError> {
[INFO] [stdout]     |                       -- lifetime `'b` declared here                                ^^^^^ this elided lifetime gets resolved as `'b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::hash::Hash`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::hash::Hash;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `petgraph`
[INFO] [stdout]  --> src/main.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use petgraph::graphmap::UnGraphMap;
[INFO] [stdout]   |     ^^^^^^^^ use of unresolved module or unlinked crate `petgraph`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `petgraph`, use `cargo add petgraph` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `petgraph`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use petgraph::dot::Dot;
[INFO] [stdout]   |     ^^^^^^^^ use of unresolved module or unlinked crate `petgraph`
[INFO] [stdout]   |
[INFO] [stdout]   = help: if you wanted to use a crate named `petgraph`, use `cargo add petgraph` to add it to your `Cargo.toml`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unnecessary parentheses around `if` condition
[INFO] [stdout]   --> src/station.rs:59:16
[INFO] [stdout]    |
[INFO] [stdout] 59 |             if (plat.occupied == false && plat.platform_type == plat_type) {
[INFO] [stdout]    |                ^                                                         ^
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_parens)]` on by default
[INFO] [stdout] help: remove these parentheses
[INFO] [stdout]    |
[INFO] [stdout] 59 -             if (plat.occupied == false && plat.platform_type == plat_type) {
[INFO] [stdout] 59 +             if plat.occupied == false && plat.platform_type == plat_type {
[INFO] [stdout]    |
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: elided lifetime has a name
[INFO] [stdout]   --> src/line.rs:34:89
[INFO] [stdout]    |
[INFO] [stdout] 34 |     fn add_segment_end<'b: 'a>(&'b mut self, segment_id: &mut u32, end_station: u32) -> &route::Route {
[INFO] [stdout]    |                        -- lifetime `'b` declared here                                   ^ this elided lifetime gets resolved as `'b`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(elided_named_lifetimes)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: elided lifetime has a name
[INFO] [stdout]   --> src/line.rs:34:97
[INFO] [stdout]    |
[INFO] [stdout] 34 |     fn add_segment_end<'b: 'a>(&'b mut self, segment_id: &mut u32, end_station: u32) -> &route::Route {
[INFO] [stdout]    |                        -- lifetime `'b` declared here                                           ^^^^^ this elided lifetime gets resolved as `'b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: elided lifetime has a name
[INFO] [stdout]   --> src/line.rs:43:80
[INFO] [stdout]    |
[INFO] [stdout] 17 | impl<'a> Line<'a> {
[INFO] [stdout]    |      -- lifetime `'a` declared here
[INFO] [stdout] ...
[INFO] [stdout] 43 |     fn get_next_segment(&'a mut self, segment_id: &'a u32, forward: &bool) -> (&u32, bool) {
[INFO] [stdout]    |                                                                                ^ this elided lifetime gets resolved as `'a`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: elided lifetime has a name
[INFO] [stdout]   --> src/line.rs:71:93
[INFO] [stdout]    |
[INFO] [stdout] 71 |     fn add_segment_start<'b: 'a>(&'b mut self, segment_id: &mut u32, start_station: u32) -> &route::Route {
[INFO] [stdout]    |                          -- lifetime `'b` declared here                                     ^ this elided lifetime gets resolved as `'b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: elided lifetime has a name
[INFO] [stdout]   --> src/line.rs:71:101
[INFO] [stdout]    |
[INFO] [stdout] 71 |     fn add_segment_start<'b: 'a>(&'b mut self, segment_id: &mut u32, start_station: u32) -> &route::Route {
[INFO] [stdout]    |                          -- lifetime `'b` declared here                                             ^^^^^ this elided lifetime gets resolved as `'b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: elided lifetime has a name
[INFO] [stdout]   --> src/line.rs:80:16
[INFO] [stdout]    |
[INFO] [stdout] 79 |     fn add_segment_middle<'b: 'a>(&'b mut self, segment_id: &mut u32, start_station: u32, end_station: u32) -> 
[INFO] [stdout]    |                           -- lifetime `'b` declared here
[INFO] [stdout] 80 |         Option<&route::Route> {
[INFO] [stdout]    |                ^ this elided lifetime gets resolved as `'b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: elided lifetime has a name
[INFO] [stdout]   --> src/line.rs:80:24
[INFO] [stdout]    |
[INFO] [stdout] 79 |     fn add_segment_middle<'b: 'a>(&'b mut self, segment_id: &mut u32, start_station: u32, end_station: u32) -> 
[INFO] [stdout]    |                           -- lifetime `'b` declared here
[INFO] [stdout] 80 |         Option<&route::Route> {
[INFO] [stdout]    |                        ^^^^^ this elided lifetime gets resolved as `'b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: elided lifetime has a name
[INFO] [stdout]    --> src/line.rs:109:77
[INFO] [stdout]     |
[INFO] [stdout] 109 |     fn merge_segments<'b: 'a>(&'b mut self, common_station: &u32) -> Result<&route::Route, LineError> {
[INFO] [stdout]     |                       -- lifetime `'b` declared here                        ^ this elided lifetime gets resolved as `'b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: elided lifetime has a name
[INFO] [stdout]    --> src/line.rs:109:85
[INFO] [stdout]     |
[INFO] [stdout] 109 |     fn merge_segments<'b: 'a>(&'b mut self, common_station: &u32) -> Result<&route::Route, LineError> {
[INFO] [stdout]     |                       -- lifetime `'b` declared here                                ^^^^^ this elided lifetime gets resolved as `'b`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::collections::HashMap`
[INFO] [stdout]  --> src/main.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use std::collections::HashMap;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::hash::Hash`
[INFO] [stdout]  --> src/main.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use std::hash::Hash;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `model`
[INFO] [stdout]   --> src/train.rs:21:27
[INFO] [stdout]    |
[INFO] [stdout] 21 |     fn new(id: &mut u32 , model: String, dir_forward: bool, train_type: TrainType, location: u32, route: String, station_identifier: &mut...
[INFO] [stdout]    |                           ^^^^^ help: if this is intentional, prefix it with an underscore: `_model`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dir_forward`
[INFO] [stdout]   --> src/train.rs:21:42
[INFO] [stdout]    |
[INFO] [stdout] 21 |     fn new(id: &mut u32 , model: String, dir_forward: bool, train_type: TrainType, location: u32, route: String, station_identifier: &mut...
[INFO] [stdout]    |                                          ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dir_forward`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `train_type`
[INFO] [stdout]   --> src/train.rs:21:61
[INFO] [stdout]    |
[INFO] [stdout] 21 | ...ring, dir_forward: bool, train_type: TrainType, location: u32, route: String, station_identifier: &mut HashMap<u32, Station>) -> Train {
[INFO] [stdout]    |                             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_train_type`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `index` is never read
[INFO] [stdout]   --> src/line.rs:83:17
[INFO] [stdout]    |
[INFO] [stdout] 83 |         let mut index = i;
[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] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `RlwyNetSim` (bin "RlwyNetSim") due to 2 previous errors; 16 warnings emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] warning: unused variable: `model`
[INFO] [stdout]   --> src/train.rs:21:27
[INFO] [stdout]    |
[INFO] [stdout] 21 |     fn new(id: &mut u32 , model: String, dir_forward: bool, train_type: TrainType, location: u32, route: String, station_identifier: &mut...
[INFO] [stdout]    |                           ^^^^^ help: if this is intentional, prefix it with an underscore: `_model`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `dir_forward`
[INFO] [stdout]   --> src/train.rs:21:42
[INFO] [stdout]    |
[INFO] [stdout] 21 |     fn new(id: &mut u32 , model: String, dir_forward: bool, train_type: TrainType, location: u32, route: String, station_identifier: &mut...
[INFO] [stdout]    |                                          ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dir_forward`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `train_type`
[INFO] [stdout]   --> src/train.rs:21:61
[INFO] [stdout]    |
[INFO] [stdout] 21 | ...ring, dir_forward: bool, train_type: TrainType, location: u32, route: String, station_identifier: &mut HashMap<u32, Station>) -> Train {
[INFO] [stdout]    |                             ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_train_type`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: value assigned to `index` is never read
[INFO] [stdout]   --> src/line.rs:83:17
[INFO] [stdout]    |
[INFO] [stdout] 83 |         let mut index = i;
[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] For more information about this error, try `rustc --explain E0433`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `RlwyNetSim` (bin "RlwyNetSim" test) due to 2 previous errors; 16 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "5502122f8f17b9b1fedf6274921eb56d964deaba20d66cdecb464bc3fed14904", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "5502122f8f17b9b1fedf6274921eb56d964deaba20d66cdecb464bc3fed14904", kill_on_drop: false }`
[INFO] [stdout] 5502122f8f17b9b1fedf6274921eb56d964deaba20d66cdecb464bc3fed14904
