[INFO] fetching crate time_table 0.1.4... [INFO] checking time_table-0.1.4 against try#4f260f0f20b3133d20cfb50353c0221943af5796+rustflags=-Dunmustuse_in_always_ok for pr-148577 [INFO] extracting crate time_table 0.1.4 into /workspace/builds/worker-6-tc2/source [INFO] started tweaking crates.io crate time_table 0.1.4 [INFO] removed 0 missing examples [INFO] finished tweaking crates.io crate time_table 0.1.4 [INFO] tweaked toml for crates.io crate time_table 0.1.4 written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate time_table 0.1.4 on toolchain 4f260f0f20b3133d20cfb50353c0221943af5796 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate time_table 0.1.4 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" "+4f260f0f20b3133d20cfb50353c0221943af5796" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 42fd63135ee570a240b7c3fb333d70b190b873ddaec977797821005d9ecec99f [INFO] running `Command { std: "docker" "start" "-a" "42fd63135ee570a240b7c3fb333d70b190b873ddaec977797821005d9ecec99f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "42fd63135ee570a240b7c3fb333d70b190b873ddaec977797821005d9ecec99f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "42fd63135ee570a240b7c3fb333d70b190b873ddaec977797821005d9ecec99f", kill_on_drop: false }` [INFO] [stdout] 42fd63135ee570a240b7c3fb333d70b190b873ddaec977797821005d9ecec99f [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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 -Dunmustuse_in_always_ok" "-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+4f260f0f20b3133d20cfb50353c0221943af5796" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 329b9d81de3b811baac9d77c8498208fb9b4441c88c2d70f4bfdf7bc0a963ef6 [INFO] running `Command { std: "docker" "start" "-a" "329b9d81de3b811baac9d77c8498208fb9b4441c88c2d70f4bfdf7bc0a963ef6", kill_on_drop: false }` [INFO] [stderr] Checking time_table v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/station.rs:171:25 [INFO] [stdout] | [INFO] [stdout] 171 | Err(p) => return Err(OccupiedParseError::FromSyntaxError), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/station.rs:180:25 [INFO] [stdout] | [INFO] [stdout] 180 | Err(p) => return Err(OccupiedParseError::UntilSyntaxError), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/station.rs:371:25 [INFO] [stdout] | [INFO] [stdout] 371 | Err(p) => return Err(TimeRangeParseError::FromSyntaxError), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/station.rs:383:25 [INFO] [stdout] | [INFO] [stdout] 383 | Err(p) => return Err(TimeRangeParseError::ToSyntaxError), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `occ` [INFO] [stdout] --> src/station.rs:535:18 [INFO] [stdout] | [INFO] [stdout] 535 | for (tr, occ) in self.occupations.iter() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_occ` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/station.rs:652:25 [INFO] [stdout] | [INFO] [stdout] 652 | Err(p) => return Err(StorageTrackParseError::CountSyntaxError), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/station.rs:657:13 [INFO] [stdout] | [INFO] [stdout] 657 | for i in 0..count { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/station.rs:667:21 [INFO] [stdout] | [INFO] [stdout] 667 | Err(p) => return Err(StorageTrackParseError::MissingTimeRangeSyntaxError), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/station.rs:678:21 [INFO] [stdout] | [INFO] [stdout] 678 | Err(p) => return Err(StorageTrackParseError::MissingOccupiedSyntaxError), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/station.rs:744:13 [INFO] [stdout] | [INFO] [stdout] 744 | for i in 0..count { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/station.rs:922:14 [INFO] [stdout] | [INFO] [stdout] 922 | for (name, ST) in self.storageTracks.iter() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/station.rs:944:14 [INFO] [stdout] | [INFO] [stdout] 944 | for (name, ST) in self.storageTracks.iter_mut() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/station.rs:1001:25 [INFO] [stdout] | [INFO] [stdout] 1001 | Err(p) => return Err(StationParseError::SmileSyntaxError), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/station.rs:1022:29 [INFO] [stdout] | [INFO] [stdout] 1022 | Err(p) => [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/station.rs:1040:25 [INFO] [stdout] | [INFO] [stdout] 1040 | Err(p) => return Err(StationParseError::CountSyntaxError), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/station.rs:1045:13 [INFO] [stdout] | [INFO] [stdout] 1045 | for i in 0..count { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/station.rs:1129:13 [INFO] [stdout] | [INFO] [stdout] 1129 | for i in 0..count { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/train.rs:314:25 [INFO] [stdout] | [INFO] [stdout] 314 | Err(p) => return Err(StopParseError::LayoverMissing), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/train.rs:338:25 [INFO] [stdout] | [INFO] [stdout] 338 | Err(p) => return Err(StopParseError::StationIndexMissing), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/train.rs:351:41 [INFO] [stdout] | [INFO] [stdout] 351 | ... Err(p) => return Err(StopParseError::CabMissing), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/train.rs:378:25 [INFO] [stdout] | [INFO] [stdout] 378 | Err(p) => return Err(StopParseError::NoteCountMissing), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/train.rs:387:13 [INFO] [stdout] | [INFO] [stdout] 387 | for i in 0..count { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/train.rs:394:29 [INFO] [stdout] | [INFO] [stdout] 394 | Err(p) => return Err(StopParseError::NoteIndexMissing), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/train.rs:449:13 [INFO] [stdout] | [INFO] [stdout] 449 | for i in 0..count { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/train.rs:819:25 [INFO] [stdout] | [INFO] [stdout] 819 | Err(p) => return Err(TrainParseError::MissingSpeed), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/train.rs:830:25 [INFO] [stdout] | [INFO] [stdout] 830 | Err(p) => return Err(TrainParseError::MisingClassNumber), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/train.rs:841:25 [INFO] [stdout] | [INFO] [stdout] 841 | Err(p) => return Err(TrainParseError::MissingDeparture), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/train.rs:852:25 [INFO] [stdout] | [INFO] [stdout] 852 | Err(p) => return Err(TrainParseError::MissingStartSMile), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/train.rs:863:25 [INFO] [stdout] | [INFO] [stdout] 863 | Err(p) => return Err(TrainParseError::MissingNoteCount), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/train.rs:869:13 [INFO] [stdout] | [INFO] [stdout] 869 | for i in 0..notecount { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/train.rs:876:29 [INFO] [stdout] | [INFO] [stdout] 876 | Err(p) => return Err(TrainParseError::MissingNoteCount), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/train.rs:889:25 [INFO] [stdout] | [INFO] [stdout] 889 | Err(p) => return Err(TrainParseError::MissingStopCount), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `istop` [INFO] [stdout] --> src/train.rs:895:13 [INFO] [stdout] | [INFO] [stdout] 895 | for istop in 0..stopcount { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_istop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/train.rs:897:29 [INFO] [stdout] | [INFO] [stdout] 897 | Err(p) => return Err(TrainParseError::MissingStop), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/train.rs:962:13 [INFO] [stdout] | [INFO] [stdout] 962 | for i in 0..notecount { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `istop` [INFO] [stdout] --> src/train.rs:974:13 [INFO] [stdout] | [INFO] [stdout] 974 | for istop in 0..stopcount { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_istop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/lib.rs:421:13 [INFO] [stdout] | [INFO] [stdout] 421 | for i in 0..count { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/lib.rs:434:13 [INFO] [stdout] | [INFO] [stdout] 434 | for i in 0..count { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/lib.rs:447:13 [INFO] [stdout] | [INFO] [stdout] 447 | for i in 0..count { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/lib.rs:460:13 [INFO] [stdout] | [INFO] [stdout] 460 | for i in 0..count { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/lib.rs:473:13 [INFO] [stdout] | [INFO] [stdout] 473 | for i in 0..count { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/station.rs:171:25 [INFO] [stdout] | [INFO] [stdout] 171 | Err(p) => return Err(OccupiedParseError::FromSyntaxError), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/station.rs:180:25 [INFO] [stdout] | [INFO] [stdout] 180 | Err(p) => return Err(OccupiedParseError::UntilSyntaxError), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/lib.rs:769:18 [INFO] [stdout] | [INFO] [stdout] 769 | Some(t) => return Err(AddTrainError::DuplicateTrain), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/lib.rs:817:25 [INFO] [stdout] | [INFO] [stdout] 817 | for i in 0..nstops { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/lib.rs:936:25 [INFO] [stdout] | [INFO] [stdout] 936 | for i in 0..nstops { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/station.rs:371:25 [INFO] [stdout] | [INFO] [stdout] 371 | Err(p) => return Err(TimeRangeParseError::FromSyntaxError), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/station.rs:383:25 [INFO] [stdout] | [INFO] [stdout] 383 | Err(p) => return Err(TimeRangeParseError::ToSyntaxError), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `occ` [INFO] [stdout] --> src/station.rs:535:18 [INFO] [stdout] | [INFO] [stdout] 535 | for (tr, occ) in self.occupations.iter() { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_occ` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `o2` [INFO] [stdout] --> src/lib.rs:1243:41 [INFO] [stdout] | [INFO] [stdout] 1243 | ... let o2 = o2.unwrap(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_o2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `o2` [INFO] [stdout] --> src/lib.rs:1255:41 [INFO] [stdout] | [INFO] [stdout] 1255 | ... let o2 = o2.unwrap(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_o2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/station.rs:652:25 [INFO] [stdout] | [INFO] [stdout] 652 | Err(p) => return Err(StorageTrackParseError::CountSyntaxError), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/station.rs:657:13 [INFO] [stdout] | [INFO] [stdout] 657 | for i in 0..count { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/station.rs:667:21 [INFO] [stdout] | [INFO] [stdout] 667 | Err(p) => return Err(StorageTrackParseError::MissingTimeRangeSyntaxError), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/station.rs:678:21 [INFO] [stdout] | [INFO] [stdout] 678 | Err(p) => return Err(StorageTrackParseError::MissingOccupiedSyntaxError), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/station.rs:744:13 [INFO] [stdout] | [INFO] [stdout] 744 | for i in 0..count { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/station.rs:922:14 [INFO] [stdout] | [INFO] [stdout] 922 | for (name, ST) in self.storageTracks.iter() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/station.rs:944:14 [INFO] [stdout] | [INFO] [stdout] 944 | for (name, ST) in self.storageTracks.iter_mut() { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/station.rs:1001:25 [INFO] [stdout] | [INFO] [stdout] 1001 | Err(p) => return Err(StationParseError::SmileSyntaxError), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/station.rs:1022:29 [INFO] [stdout] | [INFO] [stdout] 1022 | Err(p) => [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/station.rs:1040:25 [INFO] [stdout] | [INFO] [stdout] 1040 | Err(p) => return Err(StationParseError::CountSyntaxError), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/station.rs:1045:13 [INFO] [stdout] | [INFO] [stdout] 1045 | for i in 0..count { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/station.rs:1129:13 [INFO] [stdout] | [INFO] [stdout] 1129 | for i in 0..count { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `a` [INFO] [stdout] --> src/station.rs:1236:13 [INFO] [stdout] | [INFO] [stdout] 1236 | let a = TimeRange::new(2.4, 4.2); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/station.rs:1315:13 [INFO] [stdout] | [INFO] [stdout] 1315 | let result = track.StoreTrain(String::from("Train1"),4.2, 5.1, String::from("")); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/station.rs:1322:13 [INFO] [stdout] | [INFO] [stdout] 1322 | let result = track.StoreTrain(String::from("Train1"),4.2, 5.1, String::from("")); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/station.rs:1328:13 [INFO] [stdout] | [INFO] [stdout] 1328 | let result = track.StoreTrain(String::from("Train1"),4.2, 5.1, String::from("")); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/station.rs:1334:13 [INFO] [stdout] | [INFO] [stdout] 1334 | let result = track.StoreTrain(String::from("Train1"),4.2, 5.1, String::from("")); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/station.rs:1340:13 [INFO] [stdout] | [INFO] [stdout] 1340 | let result = track.StoreTrain(String::from("Train1"),4.2, 5.1, String::from("")); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/station.rs:1346:13 [INFO] [stdout] | [INFO] [stdout] 1346 | let result = track.StoreTrain(String::from("Train1"),4.2, 5.1, String::from("")); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/station.rs:1352:13 [INFO] [stdout] | [INFO] [stdout] 1352 | let result = track.StoreTrain(String::from("Train1"),4.2, 5.1, String::from("")); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/station.rs:1359:13 [INFO] [stdout] | [INFO] [stdout] 1359 | let result = track.StoreTrain(String::from("Train1"),4.2, 5.1, String::from("")); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `maxTrains` [INFO] [stdout] --> src/lib.rs:1791:35 [INFO] [stdout] | [INFO] [stdout] 1791 | ... maxTrains: usize,allTrains: &mut TrainList, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_maxTrains` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/station.rs:1366:13 [INFO] [stdout] | [INFO] [stdout] 1366 | let result = track.StoreTrain(String::from("Train1"),4.2, 5.1, String::from("")); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `allTrains` [INFO] [stdout] --> src/lib.rs:1883:30 [INFO] [stdout] | [INFO] [stdout] 1883 | ... allTrains: &TrainList,forwardTrains: &TrainList, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_allTrains` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/station.rs:1373:13 [INFO] [stdout] | [INFO] [stdout] 1373 | let result = track.StoreTrain(String::from("Train1"),4.2, 5.1, String::from("")); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/station.rs:1380:13 [INFO] [stdout] | [INFO] [stdout] 1380 | let result = track.StoreTrain(String::from("Train1"),4.2, 5.1, String::from("")); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `itr` [INFO] [stdout] --> src/lib.rs:1922:13 [INFO] [stdout] | [INFO] [stdout] 1922 | for itr in 0..ntrains {write!(fp,"r|")?;} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_itr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/lib.rs:2001:26 [INFO] [stdout] | [INFO] [stdout] 2001 | Some(t) => (), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/train.rs:314:25 [INFO] [stdout] | [INFO] [stdout] 314 | Err(p) => return Err(StopParseError::LayoverMissing), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/train.rs:338:25 [INFO] [stdout] | [INFO] [stdout] 338 | Err(p) => return Err(StopParseError::StationIndexMissing), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/train.rs:351:41 [INFO] [stdout] | [INFO] [stdout] 351 | ... Err(p) => return Err(StopParseError::CabMissing), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/train.rs:378:25 [INFO] [stdout] | [INFO] [stdout] 378 | Err(p) => return Err(StopParseError::NoteCountMissing), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/train.rs:387:13 [INFO] [stdout] | [INFO] [stdout] 387 | for i in 0..count { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/train.rs:394:29 [INFO] [stdout] | [INFO] [stdout] 394 | Err(p) => return Err(StopParseError::NoteIndexMissing), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/train.rs:449:13 [INFO] [stdout] | [INFO] [stdout] 449 | for i in 0..count { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/train.rs:819:25 [INFO] [stdout] | [INFO] [stdout] 819 | Err(p) => return Err(TrainParseError::MissingSpeed), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/train.rs:830:25 [INFO] [stdout] | [INFO] [stdout] 830 | Err(p) => return Err(TrainParseError::MisingClassNumber), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/train.rs:841:25 [INFO] [stdout] | [INFO] [stdout] 841 | Err(p) => return Err(TrainParseError::MissingDeparture), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/train.rs:852:25 [INFO] [stdout] | [INFO] [stdout] 852 | Err(p) => return Err(TrainParseError::MissingStartSMile), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/train.rs:863:25 [INFO] [stdout] | [INFO] [stdout] 863 | Err(p) => return Err(TrainParseError::MissingNoteCount), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/train.rs:869:13 [INFO] [stdout] | [INFO] [stdout] 869 | for i in 0..notecount { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/train.rs:876:29 [INFO] [stdout] | [INFO] [stdout] 876 | Err(p) => return Err(TrainParseError::MissingNoteCount), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/train.rs:889:25 [INFO] [stdout] | [INFO] [stdout] 889 | Err(p) => return Err(TrainParseError::MissingStopCount), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `istop` [INFO] [stdout] --> src/train.rs:895:13 [INFO] [stdout] | [INFO] [stdout] 895 | for istop in 0..stopcount { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_istop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `p` [INFO] [stdout] --> src/train.rs:897:29 [INFO] [stdout] | [INFO] [stdout] 897 | Err(p) => return Err(TrainParseError::MissingStop), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/train.rs:962:13 [INFO] [stdout] | [INFO] [stdout] 962 | for i in 0..notecount { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `istop` [INFO] [stdout] --> src/train.rs:974:13 [INFO] [stdout] | [INFO] [stdout] 974 | for istop in 0..stopcount { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_istop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `itr` [INFO] [stdout] --> src/lib.rs:2100:13 [INFO] [stdout] | [INFO] [stdout] 2100 | for itr in 0..nFtrains {write!(fp,"r|")?;} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_itr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `itr` [INFO] [stdout] --> src/lib.rs:2102:13 [INFO] [stdout] | [INFO] [stdout] 2102 | for itr in 0..nBtrains {write!(fp,"r|")?;} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_itr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `st` [INFO] [stdout] --> src/lib.rs:2212:26 [INFO] [stdout] | [INFO] [stdout] 2212 | Some(st) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_st` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `st` [INFO] [stdout] --> src/lib.rs:2244:26 [INFO] [stdout] | [INFO] [stdout] 2244 | Some(st) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_st` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `temp` [INFO] [stdout] --> src/train.rs:1137:13 [INFO] [stdout] | [INFO] [stdout] 1137 | let temp = Train::new(String::from("The Calif. Zepher"), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_temp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `temp` [INFO] [stdout] --> src/train.rs:1143:13 [INFO] [stdout] | [INFO] [stdout] 1143 | let temp = Train::new(String::from("The Calif. Zepher"), [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_temp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constants `OPENBRACE` and `CLOSEBRACE` are never used [INFO] [stdout] --> src/lib.rs:1454:11 [INFO] [stdout] | [INFO] [stdout] 370 | impl TimeTableSystem { [INFO] [stdout] | -------------------- associated constants in this implementation [INFO] [stdout] ... [INFO] [stdout] 1454 | const OPENBRACE: char = '{'; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 1455 | const CLOSEBRACE: char = '}'; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `IsAlpha` is never used [INFO] [stdout] --> src/primio.rs:94:4 [INFO] [stdout] | [INFO] [stdout] 94 | fn IsAlpha(ch: char) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Arrival` should have a snake case name [INFO] [stdout] --> src/lib.rs:134:12 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn Arrival(&self) -> f64 {self.arrival} [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `arrival` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Departure` should have a snake case name [INFO] [stdout] --> src/lib.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn Departure(&self) -> f64 {self.departure} [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `departure` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Flag` should have a snake case name [INFO] [stdout] --> src/lib.rs:140:13 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn Flag(&self) -> StopFlagType {self.flag} [INFO] [stdout] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `flag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `StringListToString` should have a snake case name [INFO] [stdout] --> src/lib.rs:186:8 [INFO] [stdout] | [INFO] [stdout] 186 | pub fn StringListToString(list: StringList) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `string_list_to_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `theString` should have a snake case name [INFO] [stdout] --> src/lib.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 189 | for theString in list.iter() { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `the_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `StringListFromString` should have a snake case name [INFO] [stdout] --> src/lib.rs:211:8 [INFO] [stdout] | [INFO] [stdout] 211 | pub fn StringListFromString(strlinList: String) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `string_list_from_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `strlinList` should have a snake case name [INFO] [stdout] --> src/lib.rs:211:29 [INFO] [stdout] | [INFO] [stdout] 211 | pub fn StringListFromString(strlinList: String) -> Option { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `strlin_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `inString` should have a snake case name [INFO] [stdout] --> src/lib.rs:213:13 [INFO] [stdout] | [INFO] [stdout] 213 | let mut inString: bool = false; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `in_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `theString` should have a snake case name [INFO] [stdout] --> src/lib.rs:217:13 [INFO] [stdout] | [INFO] [stdout] 217 | let mut theString: String = String::new(); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `the_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:380:39 [INFO] [stdout] | [INFO] [stdout] 380 | let filepath: PathBuf = match PathBuf::from_str(filename) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `AddStation` should have a snake case name [INFO] [stdout] --> src/lib.rs:514:12 [INFO] [stdout] | [INFO] [stdout] 514 | pub fn AddStation(&mut self,name: String,smile: f64) -> Option { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `add_station` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `FindStationByName` should have a snake case name [INFO] [stdout] --> src/lib.rs:539:12 [INFO] [stdout] | [INFO] [stdout] 539 | pub fn FindStationByName(&self,name: String) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `find_station_by_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `NumberOfStations` should have a snake case name [INFO] [stdout] --> src/lib.rs:551:12 [INFO] [stdout] | [INFO] [stdout] 551 | pub fn NumberOfStations(&self) -> usize {self.stations.len()} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `number_of_stations` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `IthStation` should have a snake case name [INFO] [stdout] --> src/lib.rs:559:12 [INFO] [stdout] | [INFO] [stdout] 559 | pub fn IthStation(&self, i: usize) -> Option<&Station> { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `ith_station` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `IthStationMut` should have a snake case name [INFO] [stdout] --> src/lib.rs:562:12 [INFO] [stdout] | [INFO] [stdout] 562 | pub fn IthStationMut(&mut self, i: usize) -> Option<&mut Station> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `ith_station_mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `StationName` should have a snake case name [INFO] [stdout] --> src/lib.rs:572:12 [INFO] [stdout] | [INFO] [stdout] 572 | pub fn StationName(&self,i: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `station_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `SMile` should have a snake case name [INFO] [stdout] --> src/lib.rs:585:12 [INFO] [stdout] | [INFO] [stdout] 585 | pub fn SMile(&self,i: usize) -> Option { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `smile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `TotalLength` should have a snake case name [INFO] [stdout] --> src/lib.rs:596:12 [INFO] [stdout] | [INFO] [stdout] 596 | pub fn TotalLength(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `total_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `DuplicateStationIndex` should have a snake case name [INFO] [stdout] --> src/lib.rs:613:12 [INFO] [stdout] | [INFO] [stdout] 613 | pub fn DuplicateStationIndex(&self,i: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `duplicate_station_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `SetDuplicateStationIndex` should have a snake case name [INFO] [stdout] --> src/lib.rs:631:12 [INFO] [stdout] | [INFO] [stdout] 631 | pub fn SetDuplicateStationIndex(&mut self,i: usize,dup: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `set_duplicate_station_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `AddStorageTrack` should have a snake case name [INFO] [stdout] --> src/lib.rs:648:12 [INFO] [stdout] | [INFO] [stdout] 648 | pub fn AddStorageTrack(&mut self,i: usize,name: &String) -> Option<&mut StorageTrack> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `add_storage_track` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `FindStorageTrack` should have a snake case name [INFO] [stdout] --> src/lib.rs:665:12 [INFO] [stdout] | [INFO] [stdout] 665 | pub fn FindStorageTrack(&self,i: usize,name: &String) -> Option<&StorageTrack> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `find_storage_track` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `FindStorageTrack_mut` should have a snake case name [INFO] [stdout] --> src/lib.rs:671:12 [INFO] [stdout] | [INFO] [stdout] 671 | pub fn FindStorageTrack_mut(&mut self,i: usize,name: &String) -> Option<&mut StorageTrack> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `find_storage_track_mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `AddCab` should have a snake case name [INFO] [stdout] --> src/lib.rs:687:12 [INFO] [stdout] | [INFO] [stdout] 687 | pub fn AddCab(&mut self,name: String,color: String) -> &Cab { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `add_cab` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `FindCab` should have a snake case name [INFO] [stdout] --> src/lib.rs:697:12 [INFO] [stdout] | [INFO] [stdout] 697 | pub fn FindCab(&self,name: &String) -> Option<&Cab> { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `find_cab` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `NumberOfCabs` should have a snake case name [INFO] [stdout] --> src/lib.rs:702:12 [INFO] [stdout] | [INFO] [stdout] 702 | pub fn NumberOfCabs(&self) -> usize {self.cabs.len()} [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `number_of_cabs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `AddTrain` should have a snake case name [INFO] [stdout] --> src/lib.rs:721:12 [INFO] [stdout] | [INFO] [stdout] 721 | pub fn AddTrain(&mut self,name: String,number: String,speed: u32, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `add_train` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newTrain` should have a snake case name [INFO] [stdout] --> src/lib.rs:735:17 [INFO] [stdout] | [INFO] [stdout] 735 | let newTrain = Train::new(name,number.clone(),speed,classnumber,departure,startsmile,start,end); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `new_train` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `AddTrainLongVersion` should have a snake case name [INFO] [stdout] --> src/lib.rs:758:12 [INFO] [stdout] | [INFO] [stdout] 758 | pub fn AddTrainLongVersion(&mut self,name: String,number: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `add_train_long_version` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `layoverVector` should have a snake case name [INFO] [stdout] --> src/lib.rs:761:32 [INFO] [stdout] | [INFO] [stdout] 761 | ... layoverVector: &DoubleVector, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `layover_vector` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `cabnameVector` should have a snake case name [INFO] [stdout] --> src/lib.rs:762:32 [INFO] [stdout] | [INFO] [stdout] 762 | ... cabnameVector: &StringList, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `cabname_vector` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `storageTrackVector` should have a snake case name [INFO] [stdout] --> src/lib.rs:763:32 [INFO] [stdout] | [INFO] [stdout] 763 | ... storageTrackVector: &StringList) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `storage_track_vector` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `layoverIter` should have a snake case name [INFO] [stdout] --> src/lib.rs:812:29 [INFO] [stdout] | [INFO] [stdout] 812 | let mut layoverIter = layoverVector.iter(); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `layover_iter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `storageTrackIter` should have a snake case name [INFO] [stdout] --> src/lib.rs:814:29 [INFO] [stdout] | [INFO] [stdout] 814 | let mut storageTrackIter = storageTrackVector.iter(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `storage_track_iter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `oldDepart` should have a snake case name [INFO] [stdout] --> src/lib.rs:815:29 [INFO] [stdout] | [INFO] [stdout] 815 | let mut oldDepart: f64 = -1.0; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `old_depart` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `oldSmile` should have a snake case name [INFO] [stdout] --> src/lib.rs:816:29 [INFO] [stdout] | [INFO] [stdout] 816 | let mut oldSmile: f64 = -1.0; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `old_smile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `storageTrackName` should have a snake case name [INFO] [stdout] --> src/lib.rs:835:29 [INFO] [stdout] | [INFO] [stdout] 835 | let storageTrackName: &String = storageTrackIter.next().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `storage_track_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rStationIndex` should have a snake case name [INFO] [stdout] --> src/lib.rs:840:38 [INFO] [stdout] | [INFO] [stdout] 840 | ... Some(rStationIndex) => [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `r_station_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rStation` should have a snake case name [INFO] [stdout] --> src/lib.rs:838:33 [INFO] [stdout] | [INFO] [stdout] 838 | ... let rStation = match station.DuplicateStationIndex() { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `r_station` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rStorage` should have a snake case name [INFO] [stdout] --> src/lib.rs:843:33 [INFO] [stdout] | [INFO] [stdout] 843 | ... let rStorage = match rStation { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `r_storage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newTrain` should have a snake case name [INFO] [stdout] --> src/lib.rs:925:29 [INFO] [stdout] | [INFO] [stdout] 925 | let mut newTrain = Train::new(name,number.clone(),speed,classnumber,departure,startsmile,start,end); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `new_train` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `layoverIter` should have a snake case name [INFO] [stdout] --> src/lib.rs:931:29 [INFO] [stdout] | [INFO] [stdout] 931 | let mut layoverIter = layoverVector.iter(); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `layover_iter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `cabnameIter` should have a snake case name [INFO] [stdout] --> src/lib.rs:932:29 [INFO] [stdout] | [INFO] [stdout] 932 | let mut cabnameIter = cabnameVector.iter(); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `cabname_iter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `storageTrackIter` should have a snake case name [INFO] [stdout] --> src/lib.rs:933:29 [INFO] [stdout] | [INFO] [stdout] 933 | let mut storageTrackIter = storageTrackVector.iter(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `storage_track_iter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `oldDepart` should have a snake case name [INFO] [stdout] --> src/lib.rs:934:29 [INFO] [stdout] | [INFO] [stdout] 934 | let mut oldDepart: f64 = -1.0; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `old_depart` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `oldSmile` should have a snake case name [INFO] [stdout] --> src/lib.rs:935:29 [INFO] [stdout] | [INFO] [stdout] 935 | let mut oldSmile: f64 = -1.0; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `old_smile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `cabName` should have a snake case name [INFO] [stdout] --> src/lib.rs:939:29 [INFO] [stdout] | [INFO] [stdout] 939 | let cabName = cabnameIter.next().unwrap(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `cab_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `storageTrackName` should have a snake case name [INFO] [stdout] --> src/lib.rs:946:29 [INFO] [stdout] | [INFO] [stdout] 946 | let storageTrackName = storageTrackIter.next().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `storage_track_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `UpdateTrainStorageAtStop` should have a snake case name [INFO] [stdout] --> src/lib.rs:978:8 [INFO] [stdout] | [INFO] [stdout] 978 | fn UpdateTrainStorageAtStop(istop: usize, start: usize, end: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `update_train_storage_at_stop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `storageTrackName` should have a snake case name [INFO] [stdout] --> src/lib.rs:980:33 [INFO] [stdout] | [INFO] [stdout] 980 | ... storageTrackName: &String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `storage_track_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newTrain` should have a snake case name [INFO] [stdout] --> src/lib.rs:983:33 [INFO] [stdout] | [INFO] [stdout] 983 | ... newTrain: &mut Train) { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `new_train` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rsI` should have a snake case name [INFO] [stdout] --> src/lib.rs:986:18 [INFO] [stdout] | [INFO] [stdout] 986 | Some(rsI) => stations [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `rs_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rStation` should have a snake case name [INFO] [stdout] --> src/lib.rs:984:23 [INFO] [stdout] | [INFO] [stdout] 984 | let (station, rStation) = match stations[istop].DuplicateStationIndex() { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `r_station` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rStorage` should have a snake case name [INFO] [stdout] --> src/lib.rs:992:13 [INFO] [stdout] | [INFO] [stdout] 992 | let rStorage = match rStation { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `r_storage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rStorage` should have a snake case name [INFO] [stdout] --> src/lib.rs:1017:22 [INFO] [stdout] | [INFO] [stdout] 1017 | Some(rStorage) => { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `r_storage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rStorage` should have a snake case name [INFO] [stdout] --> src/lib.rs:1052:30 [INFO] [stdout] | [INFO] [stdout] 1052 | Some(rStorage) => { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `r_storage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rStorage` should have a snake case name [INFO] [stdout] --> src/lib.rs:1075:22 [INFO] [stdout] | [INFO] [stdout] 1075 | Some(rStorage) => { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `r_storage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `DeleteTrain` should have a snake case name [INFO] [stdout] --> src/lib.rs:1090:12 [INFO] [stdout] | [INFO] [stdout] 1090 | pub fn DeleteTrain(&mut self,number: String) -> Result<(),DeleteTrainError> { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `delete_train` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `oldTrain` should have a snake case name [INFO] [stdout] --> src/lib.rs:1093:18 [INFO] [stdout] | [INFO] [stdout] 1093 | Some(oldTrain) => { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `old_train` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `oldDepart` should have a snake case name [INFO] [stdout] --> src/lib.rs:1099:25 [INFO] [stdout] | [INFO] [stdout] 1099 | let mut oldDepart: f64 = -1.0; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `old_depart` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `oldSmile` should have a snake case name [INFO] [stdout] --> src/lib.rs:1100:25 [INFO] [stdout] | [INFO] [stdout] 1100 | let mut oldSmile: f64 = -1.0; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `old_smile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rsI` should have a snake case name [INFO] [stdout] --> src/lib.rs:1106:30 [INFO] [stdout] | [INFO] [stdout] 1106 | Some(rsI) => self.stations [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `rs_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rStation` should have a snake case name [INFO] [stdout] --> src/lib.rs:1104:39 [INFO] [stdout] | [INFO] [stdout] 1104 | let (station, mut rStation) = match self.stations[istation].DuplicateStationIndex() { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `r_station` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `storageTrackName` should have a snake case name [INFO] [stdout] --> src/lib.rs:1122:25 [INFO] [stdout] | [INFO] [stdout] 1122 | let storageTrackName = stop.StorageTrackName(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `storage_track_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rStorage` should have a snake case name [INFO] [stdout] --> src/lib.rs:1125:25 [INFO] [stdout] | [INFO] [stdout] 1125 | let rStorage = match rStation { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `r_storage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rStorage` should have a snake case name [INFO] [stdout] --> src/lib.rs:1159:38 [INFO] [stdout] | [INFO] [stdout] 1159 | ... Some(rStorage) => { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `r_storage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rStorage` should have a snake case name [INFO] [stdout] --> src/lib.rs:1211:38 [INFO] [stdout] | [INFO] [stdout] 1211 | ... Some(rStorage) => { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `r_storage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rStorage` should have a snake case name [INFO] [stdout] --> src/lib.rs:1248:37 [INFO] [stdout] | [INFO] [stdout] 1248 | ... let rStorage = rStorage.unwrap(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `r_storage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `FindTrainByName` should have a snake case name [INFO] [stdout] --> src/lib.rs:1281:12 [INFO] [stdout] | [INFO] [stdout] 1281 | pub fn FindTrainByName(&self,name: &String) -> Option<&Train> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `find_train_by_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `FindTrainByNumber` should have a snake case name [INFO] [stdout] --> src/lib.rs:1296:12 [INFO] [stdout] | [INFO] [stdout] 1296 | pub fn FindTrainByNumber(&self, number: &String) -> Option<&Train> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `find_train_by_number` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `NumberOfTrains` should have a snake case name [INFO] [stdout] --> src/lib.rs:1301:12 [INFO] [stdout] | [INFO] [stdout] 1301 | pub fn NumberOfTrains(&self) -> usize {self.trains.len()} [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `number_of_trains` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `NumberOfNotes` should have a snake case name [INFO] [stdout] --> src/lib.rs:1304:12 [INFO] [stdout] | [INFO] [stdout] 1304 | pub fn NumberOfNotes(&self) -> usize {self.notes.len()} [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `number_of_notes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Note` should have a snake case name [INFO] [stdout] --> src/lib.rs:1311:12 [INFO] [stdout] | [INFO] [stdout] 1311 | pub fn Note(&self,i: usize) -> Option { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `note` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `AddNote` should have a snake case name [INFO] [stdout] --> src/lib.rs:1318:12 [INFO] [stdout] | [INFO] [stdout] 1318 | pub fn AddNote(&mut self,newnote: String) -> usize { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `add_note` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `SetNote` should have a snake case name [INFO] [stdout] --> src/lib.rs:1331:13 [INFO] [stdout] | [INFO] [stdout] 1331 | pub fn SetNote(&mut self,i: usize,note: String) -> bool { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `set_note` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `GetPrintOption` should have a snake case name [INFO] [stdout] --> src/lib.rs:1346:12 [INFO] [stdout] | [INFO] [stdout] 1346 | pub fn GetPrintOption(&self,key: &str) -> Option<&String> [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_print_option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `SetPrintOption` should have a snake case name [INFO] [stdout] --> src/lib.rs:1359:12 [INFO] [stdout] | [INFO] [stdout] 1359 | pub fn SetPrintOption(&mut self,key: &str,value: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `set_print_option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `WriteNewTimeTableFile` should have a snake case name [INFO] [stdout] --> src/lib.rs:1373:12 [INFO] [stdout] | [INFO] [stdout] 1373 | pub fn WriteNewTimeTableFile(&mut self,filename: &String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `write_new_time_table_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:1404:29 [INFO] [stdout] | [INFO] [stdout] 1404 | self.filepath = PathBuf::from_str(&filename).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `TimeScale` should have a snake case name [INFO] [stdout] --> src/lib.rs:1410:12 [INFO] [stdout] | [INFO] [stdout] 1410 | pub fn TimeScale(&self) -> u32 {self.timescale} [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `time_scale` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `TimeInterval` should have a snake case name [INFO] [stdout] --> src/lib.rs:1413:12 [INFO] [stdout] | [INFO] [stdout] 1413 | pub fn TimeInterval(&self) -> u32 {self.timeinterval} [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `time_interval` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Name` should have a snake case name [INFO] [stdout] --> src/lib.rs:1416:12 [INFO] [stdout] | [INFO] [stdout] 1416 | pub fn Name(&self) -> String {self.name.clone()} [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Filename` should have a snake case name [INFO] [stdout] --> src/lib.rs:1419:12 [INFO] [stdout] | [INFO] [stdout] 1419 | pub fn Filename(&self) -> String {self.filepath.display().to_string()} [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `filename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `StationsIter` should have a snake case name [INFO] [stdout] --> src/lib.rs:1420:12 [INFO] [stdout] | [INFO] [stdout] 1420 | pub fn StationsIter(&self) -> std::slice::Iter<'_, Station> { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `stations_iter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `StationsIter_mut` should have a snake case name [INFO] [stdout] --> src/lib.rs:1423:12 [INFO] [stdout] | [INFO] [stdout] 1423 | pub fn StationsIter_mut(&mut self) -> std::slice::IterMut<'_, Station> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `stations_iter_mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `CabsIter` should have a snake case name [INFO] [stdout] --> src/lib.rs:1426:12 [INFO] [stdout] | [INFO] [stdout] 1426 | pub fn CabsIter(&self) -> std::collections::hash_map::Iter<'_, String, Cab> { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `cabs_iter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `CabsIter_mut` should have a snake case name [INFO] [stdout] --> src/lib.rs:1429:12 [INFO] [stdout] | [INFO] [stdout] 1429 | pub fn CabsIter_mut(&mut self) -> std::collections::hash_map::IterMut<'_, String, Cab> { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `cabs_iter_mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `TrainsIter` should have a snake case name [INFO] [stdout] --> src/lib.rs:1432:12 [INFO] [stdout] | [INFO] [stdout] 1432 | pub fn TrainsIter(&self) -> std::collections::hash_map::Iter<'_, String, Train> { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `trains_iter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `TrainsIter_mut` should have a snake case name [INFO] [stdout] --> src/lib.rs:1435:12 [INFO] [stdout] | [INFO] [stdout] 1435 | pub fn TrainsIter_mut(&mut self) -> std::collections::hash_map::IterMut<'_, String, Train> { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `trains_iter_mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `NotesIter` should have a snake case name [INFO] [stdout] --> src/lib.rs:1438:12 [INFO] [stdout] | [INFO] [stdout] 1438 | pub fn NotesIter(&self) -> std::slice::Iter<'_, String> { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `notes_iter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `NotesIter_mut` should have a snake case name [INFO] [stdout] --> src/lib.rs:1441:12 [INFO] [stdout] | [INFO] [stdout] 1441 | pub fn NotesIter_mut(&mut self) -> std::slice::IterMut<'_, String> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `notes_iter_mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `PrintOptionsIter` should have a snake case name [INFO] [stdout] --> src/lib.rs:1444:12 [INFO] [stdout] | [INFO] [stdout] 1444 | pub fn PrintOptionsIter(&self) -> std::collections::hash_map::Iter<'_, String, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `print_options_iter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `PrintOptionsIter_mut` should have a snake case name [INFO] [stdout] --> src/lib.rs:1447:12 [INFO] [stdout] | [INFO] [stdout] 1447 | pub fn PrintOptionsIter_mut(&mut self) -> std::collections::hash_map::IterMut<'_, String, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `print_options_iter_mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `CreateLaTeXTimetable` should have a snake case name [INFO] [stdout] --> src/lib.rs:1471:12 [INFO] [stdout] | [INFO] [stdout] 1471 | pub fn CreateLaTeXTimetable(&mut self,filename: &str) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_la_te_xtimetable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `StationColWidth` should have a snake case name [INFO] [stdout] --> src/lib.rs:1477:17 [INFO] [stdout] | [INFO] [stdout] 1477 | let StationColWidth = Self::getdouble(self.GetPrintOption("StationColWidth"),1.5); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `station_col_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `TimeColWidth` should have a snake case name [INFO] [stdout] --> src/lib.rs:1478:17 [INFO] [stdout] | [INFO] [stdout] 1478 | let TimeColWidth = Self::getdouble(self.GetPrintOption("TimeColWidth"),0.5); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `time_col_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `maxTrains` should have a snake case name [INFO] [stdout] --> src/lib.rs:1480:17 [INFO] [stdout] | [INFO] [stdout] 1480 | let maxTrains = ((7.0 - StationColWidth - TimeColWidth)/TimeColWidth) as usize; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `max_trains` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `UseMultipleTables` should have a snake case name [INFO] [stdout] --> src/lib.rs:1481:17 [INFO] [stdout] | [INFO] [stdout] 1481 | let UseMultipleTables: bool; // Use multiple tables??? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `use_multiple_tables` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `GroupBy` should have a snake case name [INFO] [stdout] --> src/lib.rs:1482:21 [INFO] [stdout] | [INFO] [stdout] 1482 | let mut GroupBy: GroupMode = GroupMode::NoGrouping; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `group_by` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `NSides` should have a snake case name [INFO] [stdout] --> src/lib.rs:1518:17 [INFO] [stdout] | [INFO] [stdout] 1518 | let NSides = match self.GetPrintOption("NSides") { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `nsides` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `TimeFormat` should have a snake case name [INFO] [stdout] --> src/lib.rs:1527:17 [INFO] [stdout] | [INFO] [stdout] 1527 | let TimeFormat = match self.GetPrintOption("TimeFormat") { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `time_format` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `AMPMFormat` should have a snake case name [INFO] [stdout] --> src/lib.rs:1535:17 [INFO] [stdout] | [INFO] [stdout] 1535 | let AMPMFormat = match self.GetPrintOption("AMPMFormat") { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `ampmformat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Title` should have a snake case name [INFO] [stdout] --> src/lib.rs:1544:17 [INFO] [stdout] | [INFO] [stdout] 1544 | let Title = match self.GetPrintOption("Title") { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `title` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `SubTitle` should have a snake case name [INFO] [stdout] --> src/lib.rs:1552:17 [INFO] [stdout] | [INFO] [stdout] 1552 | let SubTitle = match self.GetPrintOption("SubTitle") { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `sub_title` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Date` should have a snake case name [INFO] [stdout] --> src/lib.rs:1560:17 [INFO] [stdout] | [INFO] [stdout] 1560 | let Date = match self.GetPrintOption("Date") { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `date` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ExtraPreamble` should have a snake case name [INFO] [stdout] --> src/lib.rs:1569:17 [INFO] [stdout] | [INFO] [stdout] 1569 | let ExtraPreamble = match self.GetPrintOption("ExtraPreamble") { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `extra_preamble` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `BeforeTOC` should have a snake case name [INFO] [stdout] --> src/lib.rs:1576:17 [INFO] [stdout] | [INFO] [stdout] 1576 | let BeforeTOC = match self.GetPrintOption("BeforeTOC") { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `before_toc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `NotesTOP` should have a snake case name [INFO] [stdout] --> src/lib.rs:1583:17 [INFO] [stdout] | [INFO] [stdout] 1583 | let NotesTOP = match self.GetPrintOption("NotesTOP") { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `notes_top` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `allTrains` should have a snake case name [INFO] [stdout] --> src/lib.rs:1592:21 [INFO] [stdout] | [INFO] [stdout] 1592 | let mut allTrains: TrainList = Vec::new(); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `all_trains` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `forwardTrains` should have a snake case name [INFO] [stdout] --> src/lib.rs:1593:21 [INFO] [stdout] | [INFO] [stdout] 1593 | let mut forwardTrains: TrainList = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `forward_trains` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `backwardTrains` should have a snake case name [INFO] [stdout] --> src/lib.rs:1594:21 [INFO] [stdout] | [INFO] [stdout] 1594 | let mut backwardTrains: TrainList = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `backward_trains` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sectionTOP` should have a snake case name [INFO] [stdout] --> src/lib.rs:1689:21 [INFO] [stdout] | [INFO] [stdout] 1689 | let sectionTOP = match self.GetPrintOption("AllTrainsSectionTOP") { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `section_top` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `MakeTimeTableGroupByClass` should have a snake case name [INFO] [stdout] --> src/lib.rs:1734:8 [INFO] [stdout] | [INFO] [stdout] 1734 | fn MakeTimeTableGroupByClass(&self,fp: &mut BufWriter, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `make_time_table_group_by_class` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `allTrains` should have a snake case name [INFO] [stdout] --> src/lib.rs:1735:34 [INFO] [stdout] | [INFO] [stdout] 1735 | ... allTrains: &TrainList, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `all_trains` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `forwardTrains` should have a snake case name [INFO] [stdout] --> src/lib.rs:1736:34 [INFO] [stdout] | [INFO] [stdout] 1736 | ... forwardTrains: &TrainList, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `forward_trains` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `backwardTrains` should have a snake case name [INFO] [stdout] --> src/lib.rs:1737:34 [INFO] [stdout] | [INFO] [stdout] 1737 | ... backwardTrains: &TrainList) [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `backward_trains` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `classI` should have a snake case name [INFO] [stdout] --> src/lib.rs:1750:13 [INFO] [stdout] | [INFO] [stdout] 1750 | for classI in classlist.iter() { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `class_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `classHeader` should have a snake case name [INFO] [stdout] --> src/lib.rs:1765:17 [INFO] [stdout] | [INFO] [stdout] 1765 | let classHeader = match self.GetPrintOption(temp.as_str()) { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `class_header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sectionTOP` should have a snake case name [INFO] [stdout] --> src/lib.rs:1773:17 [INFO] [stdout] | [INFO] [stdout] 1773 | let sectionTOP = match self.GetPrintOption(temp.as_str()) { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `section_top` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `MakeTimeTableGroupManually` should have a snake case name [INFO] [stdout] --> src/lib.rs:1790:8 [INFO] [stdout] | [INFO] [stdout] 1790 | fn MakeTimeTableGroupManually(&self,fp: &mut BufWriter, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `make_time_table_group_manually` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `maxTrains` should have a snake case name [INFO] [stdout] --> src/lib.rs:1791:35 [INFO] [stdout] | [INFO] [stdout] 1791 | ... maxTrains: usize,allTrains: &mut TrainList, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `max_trains` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `allTrains` should have a snake case name [INFO] [stdout] --> src/lib.rs:1791:52 [INFO] [stdout] | [INFO] [stdout] 1791 | ... maxTrains: usize,allTrains: &mut TrainList, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `all_trains` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `forwardTrains` should have a snake case name [INFO] [stdout] --> src/lib.rs:1792:35 [INFO] [stdout] | [INFO] [stdout] 1792 | ... forwardTrains: &mut TrainList, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `forward_trains` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `backwardTrains` should have a snake case name [INFO] [stdout] --> src/lib.rs:1793:35 [INFO] [stdout] | [INFO] [stdout] 1793 | ... backwardTrains: &mut TrainList) [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `backward_trains` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `classHeader` should have a snake case name [INFO] [stdout] --> src/lib.rs:1801:17 [INFO] [stdout] | [INFO] [stdout] 1801 | let classHeader = match self.GetPrintOption(temp.as_str()) { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `class_header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sectionTOP` should have a snake case name [INFO] [stdout] --> src/lib.rs:1809:17 [INFO] [stdout] | [INFO] [stdout] 1809 | let sectionTOP = match self.GetPrintOption(temp.as_str()) { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `section_top` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `listOfTrains` should have a snake case name [INFO] [stdout] --> src/lib.rs:1819:17 [INFO] [stdout] | [INFO] [stdout] 1819 | let listOfTrains = match StringListFromString(trainlist.to_string()) { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `list_of_trains` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `fclI` should have a snake case name [INFO] [stdout] --> src/lib.rs:1832:21 [INFO] [stdout] | [INFO] [stdout] 1832 | let mut fclI: Vec = Vec::new(); [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `fcl_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `bclI` should have a snake case name [INFO] [stdout] --> src/lib.rs:1833:21 [INFO] [stdout] | [INFO] [stdout] 1833 | let mut bclI: Vec = Vec::new(); [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `bcl_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `aclI` should have a snake case name [INFO] [stdout] --> src/lib.rs:1834:21 [INFO] [stdout] | [INFO] [stdout] 1834 | let mut aclI: Vec = Vec::new(); [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `acl_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `I` should have a snake case name [INFO] [stdout] --> src/lib.rs:1835:21 [INFO] [stdout] | [INFO] [stdout] 1835 | let mut I: usize = 0; [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/lib.rs:421:13 [INFO] [stdout] | [INFO] [stdout] 421 | for i in 0..count { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `MakeTimeTableOneTable` should have a snake case name [INFO] [stdout] --> src/lib.rs:1882:8 [INFO] [stdout] | [INFO] [stdout] 1882 | fn MakeTimeTableOneTable(&self,fp: &mut BufWriter, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `make_time_table_one_table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `allTrains` should have a snake case name [INFO] [stdout] --> src/lib.rs:1883:30 [INFO] [stdout] | [INFO] [stdout] 1883 | ... allTrains: &TrainList,forwardTrains: &TrainList, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `all_trains` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `forwardTrains` should have a snake case name [INFO] [stdout] --> src/lib.rs:1883:52 [INFO] [stdout] | [INFO] [stdout] 1883 | ... allTrains: &TrainList,forwardTrains: &TrainList, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `forward_trains` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `backwardTrains` should have a snake case name [INFO] [stdout] --> src/lib.rs:1884:30 [INFO] [stdout] | [INFO] [stdout] 1884 | ... backwardTrains: &TrainList,header: &str, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `backward_trains` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sectionTOP` should have a snake case name [INFO] [stdout] --> src/lib.rs:1885:30 [INFO] [stdout] | [INFO] [stdout] 1885 | ... sectionTOP: &str) -> Result<(),CreateLaTeXError> { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `section_top` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `MakeTimeTableOneTableStationsLeft` should have a snake case name [INFO] [stdout] --> src/lib.rs:1896:8 [INFO] [stdout] | [INFO] [stdout] 1896 | fn MakeTimeTableOneTableStationsLeft(&self,fp: &mut BufWriter, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `make_time_table_one_table_stations_left` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sectionTOP` should have a snake case name [INFO] [stdout] --> src/lib.rs:1898:54 [INFO] [stdout] | [INFO] [stdout] 1898 | ... header: &str,sectionTOP: &str) [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `section_top` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `timesAtStations` should have a snake case name [INFO] [stdout] --> src/lib.rs:1900:17 [INFO] [stdout] | [INFO] [stdout] 1900 | let mut timesAtStations: TrainTimesAtStation = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `times_at_stations` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `origStop` should have a snake case name [INFO] [stdout] --> src/lib.rs:1986:25 [INFO] [stdout] | [INFO] [stdout] 1986 | let origStop = tr.StopI(0).unwrap(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `orig_stop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/lib.rs:434:13 [INFO] [stdout] | [INFO] [stdout] 434 | for i in 0..count { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `destStop` should have a snake case name [INFO] [stdout] --> src/lib.rs:2038:25 [INFO] [stdout] | [INFO] [stdout] 2038 | let destStop = tr.StopI(tr.NumberOfStops()-1).unwrap(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `dest_stop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/lib.rs:447:13 [INFO] [stdout] | [INFO] [stdout] 447 | for i in 0..count { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `MakeTimeTableOneTableStationsCenter` should have a snake case name [INFO] [stdout] --> src/lib.rs:2059:8 [INFO] [stdout] | [INFO] [stdout] 2059 | fn MakeTimeTableOneTableStationsCenter(&self,fp: &mut BufWriter, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `make_time_table_one_table_stations_center` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/lib.rs:460:13 [INFO] [stdout] | [INFO] [stdout] 460 | for i in 0..count { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `forwardTrains` should have a snake case name [INFO] [stdout] --> src/lib.rs:2060:44 [INFO] [stdout] | [INFO] [stdout] 2060 | ... forwardTrains: &TrainList, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `forward_trains` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/lib.rs:473:13 [INFO] [stdout] | [INFO] [stdout] 473 | for i in 0..count { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `backwardsTrains` should have a snake case name [INFO] [stdout] --> src/lib.rs:2061:44 [INFO] [stdout] | [INFO] [stdout] 2061 | ... backwardsTrains: &TrainList, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `backwards_trains` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sectionTOP` should have a snake case name [INFO] [stdout] --> src/lib.rs:2062:57 [INFO] [stdout] | [INFO] [stdout] 2062 | ... header: &str,sectionTOP: &str) [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `section_top` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `timesAtStationsForward` should have a snake case name [INFO] [stdout] --> src/lib.rs:2074:17 [INFO] [stdout] | [INFO] [stdout] 2074 | let mut timesAtStationsForward: TrainTimesAtStation = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `times_at_stations_forward` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `timesAtStationsBackward` should have a snake case name [INFO] [stdout] --> src/lib.rs:2075:17 [INFO] [stdout] | [INFO] [stdout] 2075 | let mut timesAtStationsBackward: TrainTimesAtStation = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `times_at_stations_backward` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `nFtrains` should have a snake case name [INFO] [stdout] --> src/lib.rs:2079:13 [INFO] [stdout] | [INFO] [stdout] 2079 | let nFtrains = forwardTrains.len(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `n_ftrains` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `nBtrains` should have a snake case name [INFO] [stdout] --> src/lib.rs:2080:13 [INFO] [stdout] | [INFO] [stdout] 2080 | let nBtrains = backwardsTrains.len(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `n_btrains` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tasF` should have a snake case name [INFO] [stdout] --> src/lib.rs:2165:17 [INFO] [stdout] | [INFO] [stdout] 2165 | let tasF = timesAtStationsForward.get(&istation); [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `tas_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tasB` should have a snake case name [INFO] [stdout] --> src/lib.rs:2166:17 [INFO] [stdout] | [INFO] [stdout] 2166 | let tasB = timesAtStationsBackward.get(&istation); [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `tas_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `origStop` should have a snake case name [INFO] [stdout] --> src/lib.rs:2177:33 [INFO] [stdout] | [INFO] [stdout] 2177 | ... let origStop = train.StopI(0).unwrap(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `orig_stop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `destStop` should have a snake case name [INFO] [stdout] --> src/lib.rs:2199:33 [INFO] [stdout] | [INFO] [stdout] 2199 | ... let destStop = train.StopI(train.NumberOfStops()-1).unwrap(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `dest_stop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `destStop` should have a snake case name [INFO] [stdout] --> src/lib.rs:2280:33 [INFO] [stdout] | [INFO] [stdout] 2280 | ... let destStop = train.StopI(train.NumberOfStops()-1).unwrap(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `dest_stop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `origStop` should have a snake case name [INFO] [stdout] --> src/lib.rs:2298:33 [INFO] [stdout] | [INFO] [stdout] 2298 | ... let origStop = train.StopI(0).unwrap(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `orig_stop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ComputeTimes` should have a snake case name [INFO] [stdout] --> src/lib.rs:2322:8 [INFO] [stdout] | [INFO] [stdout] 2322 | fn ComputeTimes(&self,trains: &TrainList, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `compute_times` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `timesAtStations` should have a snake case name [INFO] [stdout] --> src/lib.rs:2323:21 [INFO] [stdout] | [INFO] [stdout] 2323 | timesAtStations: &mut TrainTimesAtStation) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `times_at_stations` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `oldDepart` should have a snake case name [INFO] [stdout] --> src/lib.rs:2328:21 [INFO] [stdout] | [INFO] [stdout] 2328 | let mut oldDepart: f64 = -1.0; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `old_depart` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `oldSmile` should have a snake case name [INFO] [stdout] --> src/lib.rs:2329:21 [INFO] [stdout] | [INFO] [stdout] 2329 | let mut oldSmile: f64 = -1.0; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `old_smile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `stationTimes` should have a snake case name [INFO] [stdout] --> src/lib.rs:2349:21 [INFO] [stdout] | [INFO] [stdout] 2349 | let stationTimes = timesAtStations.entry(istop) [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `station_times` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ReadNote` should have a snake case name [INFO] [stdout] --> src/lib.rs:2370:8 [INFO] [stdout] | [INFO] [stdout] 2370 | fn ReadNote(inp: &mut BufReader) -> std::io::Result> { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `read_note` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `EOF` should have a snake case name [INFO] [stdout] --> src/lib.rs:2378:17 [INFO] [stdout] | [INFO] [stdout] 2378 | let mut EOF: bool = false; [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `eof` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `WriteNote` should have a snake case name [INFO] [stdout] --> src/lib.rs:2402:8 [INFO] [stdout] | [INFO] [stdout] 2402 | fn WriteNote(f: &mut BufWriter, string: &String) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `write_note` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `TrainNum` should have a snake case name [INFO] [stdout] --> src/station.rs:143:12 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn TrainNum(&self) -> String {self.trainnum.clone()} [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `train_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `TrainNum2` should have a snake case name [INFO] [stdout] --> src/station.rs:145:12 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn TrainNum2(&self) -> String {self.trainnum2.clone()} [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `train_num2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `From` should have a snake case name [INFO] [stdout] --> src/station.rs:147:12 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn From(&self) -> f64 {self.from} [INFO] [stdout] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Until` should have a snake case name [INFO] [stdout] --> src/station.rs:149:12 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn Until(&self) -> f64 {self.until} [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `until` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ParseOccupied` should have a snake case name [INFO] [stdout] --> src/station.rs:150:12 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn ParseOccupied(string: &str) -> Result<(Self, usize), OccupiedParseError> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `parse_occupied` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Write` should have a snake case name [INFO] [stdout] --> src/station.rs:194:12 [INFO] [stdout] | [INFO] [stdout] 194 | pub fn Write(&self,f: &mut BufWriter) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Read` should have a snake case name [INFO] [stdout] --> src/station.rs:198:12 [INFO] [stdout] | [INFO] [stdout] 198 | pub fn Read(inp: &mut BufReader) -> std::io::Result> { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `From` should have a snake case name [INFO] [stdout] --> src/station.rs:346:12 [INFO] [stdout] | [INFO] [stdout] 346 | pub fn From (&self) -> f64 {self.from} [INFO] [stdout] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `To` should have a snake case name [INFO] [stdout] --> src/station.rs:348:12 [INFO] [stdout] | [INFO] [stdout] 348 | pub fn To (&self) -> f64 {self.to} [INFO] [stdout] | ^^ help: convert the identifier to snake case: `to` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ContainsTime` should have a snake case name [INFO] [stdout] --> src/station.rs:352:12 [INFO] [stdout] | [INFO] [stdout] 352 | pub fn ContainsTime(&self, time: f64 ) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `contains_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ParseTimeRange` should have a snake case name [INFO] [stdout] --> src/station.rs:355:12 [INFO] [stdout] | [INFO] [stdout] 355 | pub fn ParseTimeRange(string: &str) -> Result<(Self, usize), TimeRangeParseError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `parse_time_range` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Write` should have a snake case name [INFO] [stdout] --> src/station.rs:391:12 [INFO] [stdout] | [INFO] [stdout] 391 | pub fn Write(&self,f: &mut BufWriter) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Name` should have a snake case name [INFO] [stdout] --> src/station.rs:481:12 [INFO] [stdout] | [INFO] [stdout] 481 | pub fn Name(&self) -> String {self.name.clone()} [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `SetName` should have a snake case name [INFO] [stdout] --> src/station.rs:486:12 [INFO] [stdout] | [INFO] [stdout] 486 | pub fn SetName(&mut self, name_: String) { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `set_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `IncludesTime` should have a snake case name [INFO] [stdout] --> src/station.rs:493:12 [INFO] [stdout] | [INFO] [stdout] 493 | pub fn IncludesTime(&self, time: f64) -> Option<&Occupied> { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `includes_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `StoreTrain` should have a snake case name [INFO] [stdout] --> src/station.rs:508:12 [INFO] [stdout] | [INFO] [stdout] 508 | pub fn StoreTrain (&mut self, train: String, from: f64, to: f64, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `store_train` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newOccupied` should have a snake case name [INFO] [stdout] --> src/station.rs:511:13 [INFO] [stdout] | [INFO] [stdout] 511 | let newOccupied = Occupied::new(train,from,to,train2); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `new_occupied` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `RemovedStoredTrain` should have a snake case name [INFO] [stdout] --> src/station.rs:520:12 [INFO] [stdout] | [INFO] [stdout] 520 | pub fn RemovedStoredTrain (&mut self, from: f64, to: f64) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `removed_stored_train` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `UsedTimeRange` should have a snake case name [INFO] [stdout] --> src/station.rs:534:12 [INFO] [stdout] | [INFO] [stdout] 534 | pub fn UsedTimeRange(&self, from: f64, to: f64) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `used_time_range` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `FindOccupied` should have a snake case name [INFO] [stdout] --> src/station.rs:550:12 [INFO] [stdout] | [INFO] [stdout] 550 | pub fn FindOccupied(&self, from: f64, to: f64) -> Option<&Occupied> { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `find_occupied` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `UpdateStoredTrain` should have a snake case name [INFO] [stdout] --> src/station.rs:559:12 [INFO] [stdout] | [INFO] [stdout] 559 | pub fn UpdateStoredTrain(&mut self, from: f64, to: f64, train: String) -> Option<&Occupied> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `update_stored_train` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newOccupied` should have a snake case name [INFO] [stdout] --> src/station.rs:564:21 [INFO] [stdout] | [INFO] [stdout] 564 | let newOccupied = Occupied::new(train,from,to,occ.TrainNum2()); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `new_occupied` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `UpdateStoredTrain2` should have a snake case name [INFO] [stdout] --> src/station.rs:576:12 [INFO] [stdout] | [INFO] [stdout] 576 | pub fn UpdateStoredTrain2(&mut self, from: f64, to: f64, train: String) -> Option<&Occupied> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `update_stored_train2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newOccupied` should have a snake case name [INFO] [stdout] --> src/station.rs:581:21 [INFO] [stdout] | [INFO] [stdout] 581 | let newOccupied = Occupied::new(occ.TrainNum(),from,to,train); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `new_occupied` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `UpdateStoredTrainArrival` should have a snake case name [INFO] [stdout] --> src/station.rs:593:12 [INFO] [stdout] | [INFO] [stdout] 593 | pub fn UpdateStoredTrainArrival(&mut self, from: f64, to: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `update_stored_train_arrival` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newArrival` should have a snake case name [INFO] [stdout] --> src/station.rs:594:37 [INFO] [stdout] | [INFO] [stdout] 594 | ... newArrival: f64) -> Option<&Occupied> { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `new_arrival` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newOccupied` should have a snake case name [INFO] [stdout] --> src/station.rs:599:21 [INFO] [stdout] | [INFO] [stdout] 599 | let newOccupied = Occupied::new(occ.TrainNum(),newArrival,range.To(),occ.TrainNum2()); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `new_occupied` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `UpdateStoredTrainDeparture` should have a snake case name [INFO] [stdout] --> src/station.rs:613:12 [INFO] [stdout] | [INFO] [stdout] 613 | pub fn UpdateStoredTrainDeparture(&mut self, from: f64, to: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `update_stored_train_departure` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newDeparture` should have a snake case name [INFO] [stdout] --> src/station.rs:614:39 [INFO] [stdout] | [INFO] [stdout] 614 | ... newDeparture: f64) -> Option<&Occupied> { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `new_departure` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newOccupied` should have a snake case name [INFO] [stdout] --> src/station.rs:619:21 [INFO] [stdout] | [INFO] [stdout] 619 | let newOccupied = Occupied::new(occ.TrainNum(),range.From(),newDeparture,occ.TrainNum2()); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `new_occupied` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ParseStorageTrack` should have a snake case name [INFO] [stdout] --> src/station.rs:627:12 [INFO] [stdout] | [INFO] [stdout] 627 | pub fn ParseStorageTrack(string: &str) -> Result<(Self, usize), StorageTrackParseError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `parse_storage_track` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Write` should have a snake case name [INFO] [stdout] --> src/station.rs:708:12 [INFO] [stdout] | [INFO] [stdout] 708 | pub fn Write(&self,f: &mut BufWriter) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Read` should have a snake case name [INFO] [stdout] --> src/station.rs:717:12 [INFO] [stdout] | [INFO] [stdout] 717 | pub fn Read(inp: &mut BufReader) -> std::io::Result> { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `storageTracks` should have a snake case name [INFO] [stdout] --> src/station.rs:783:5 [INFO] [stdout] | [INFO] [stdout] 783 | storageTracks: StorageTrackMap, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `storage_tracks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/lib.rs:769:18 [INFO] [stdout] | [INFO] [stdout] 769 | Some(t) => return Err(AddTrainError::DuplicateTrain), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `duplicateStationIndex` should have a snake case name [INFO] [stdout] --> src/station.rs:785:5 [INFO] [stdout] | [INFO] [stdout] 785 | duplicateStationIndex: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `duplicate_station_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Name` should have a snake case name [INFO] [stdout] --> src/station.rs:872:12 [INFO] [stdout] | [INFO] [stdout] 872 | pub fn Name(&self) -> String {self.name.clone()} [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `SMile` should have a snake case name [INFO] [stdout] --> src/station.rs:875:12 [INFO] [stdout] | [INFO] [stdout] 875 | pub fn SMile(&self) -> f64 {self.smile} [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `smile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `DuplicateStationIndex` should have a snake case name [INFO] [stdout] --> src/station.rs:882:12 [INFO] [stdout] | [INFO] [stdout] 882 | pub fn DuplicateStationIndex(&self) -> Option {self.duplicateStationIndex} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `duplicate_station_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/lib.rs:817:25 [INFO] [stdout] | [INFO] [stdout] 817 | for i in 0..nstops { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `SetDuplicateStationIndex` should have a snake case name [INFO] [stdout] --> src/station.rs:887:12 [INFO] [stdout] | [INFO] [stdout] 887 | pub fn SetDuplicateStationIndex(&mut self, index: Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `set_duplicate_station_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `AddStorageTrack` should have a snake case name [INFO] [stdout] --> src/station.rs:894:12 [INFO] [stdout] | [INFO] [stdout] 894 | pub fn AddStorageTrack(&mut self, name_: &String) -> Option<&mut StorageTrack> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `add_storage_track` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `FindStorageTrack` should have a snake case name [INFO] [stdout] --> src/station.rs:904:12 [INFO] [stdout] | [INFO] [stdout] 904 | pub fn FindStorageTrack(&self,name: &String) -> Option<&StorageTrack> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `find_storage_track` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `FindStorageTrack_mut` should have a snake case name [INFO] [stdout] --> src/station.rs:911:12 [INFO] [stdout] | [INFO] [stdout] 911 | pub fn FindStorageTrack_mut(&mut self,name: &String) -> Option<&mut StorageTrack> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `find_storage_track_mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> src/lib.rs:936:25 [INFO] [stdout] | [INFO] [stdout] 936 | for i in 0..nstops { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `time_table` (lib) due to 2 previous errors; 330 warnings emitted [INFO] [stdout] warning: method `FindTrackTrainIsStoredOn` should have a snake case name [INFO] [stdout] --> src/station.rs:920:12 [INFO] [stdout] | [INFO] [stdout] 920 | pub fn FindTrackTrainIsStoredOn(&self,trainNumber: String, fromtime: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `find_track_train_is_stored_on` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: variable `trainNumber` should have a snake case name [INFO] [stdout] --> src/station.rs:920:43 [INFO] [stdout] | [INFO] [stdout] 920 | pub fn FindTrackTrainIsStoredOn(&self,trainNumber: String, fromtime: f64, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `train_number` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ST` should have a snake case name [INFO] [stdout] --> src/station.rs:922:20 [INFO] [stdout] | [INFO] [stdout] 922 | for (name, ST) in self.storageTracks.iter() { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `st` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `FindTrackTrainIsStoredOn_mut` should have a snake case name [INFO] [stdout] --> src/station.rs:942:12 [INFO] [stdout] | [INFO] [stdout] 942 | pub fn FindTrackTrainIsStoredOn_mut(&mut self,trainNumber: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `find_track_train_is_stored_on_mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `trainNumber` should have a snake case name [INFO] [stdout] --> src/station.rs:942:51 [INFO] [stdout] | [INFO] [stdout] 942 | pub fn FindTrackTrainIsStoredOn_mut(&mut self,trainNumber: String, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `train_number` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ST` should have a snake case name [INFO] [stdout] --> src/station.rs:944:20 [INFO] [stdout] | [INFO] [stdout] 944 | for (name, ST) in self.storageTracks.iter_mut() { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `st` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `NumberOfStorageTracks` should have a snake case name [INFO] [stdout] --> src/station.rs:959:12 [INFO] [stdout] | [INFO] [stdout] 959 | pub fn NumberOfStorageTracks(&self) -> usize {self.storageTracks.len()} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `number_of_storage_tracks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ParseStation` should have a snake case name [INFO] [stdout] --> src/station.rs:977:12 [INFO] [stdout] | [INFO] [stdout] 977 | pub fn ParseStation(string: &str) -> Result<(Self, usize), StationParseError> { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `parse_station` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Write` should have a snake case name [INFO] [stdout] --> src/station.rs:1078:12 [INFO] [stdout] | [INFO] [stdout] 1078 | pub fn Write(&self,f: &mut BufWriter) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Read` should have a snake case name [INFO] [stdout] --> src/station.rs:1090:12 [INFO] [stdout] | [INFO] [stdout] 1090 | pub fn Read(inp: &mut BufReader) -> std::io::Result> { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Name` should have a snake case name [INFO] [stdout] --> src/cab.rs:122:12 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn Name(&self) -> String {self.name.clone()} [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Color` should have a snake case name [INFO] [stdout] --> src/cab.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn Color(&self) -> String {self.color.clone()} [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ParseCab` should have a snake case name [INFO] [stdout] --> src/cab.rs:126:12 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn ParseCab(string: &str) -> Result<(Self, usize), CabParseError> { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `parse_cab` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Write` should have a snake case name [INFO] [stdout] --> src/cab.rs:158:12 [INFO] [stdout] | [INFO] [stdout] 158 | pub fn Write(&self,f: &mut BufWriter) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Read` should have a snake case name [INFO] [stdout] --> src/cab.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn Read(inp: &mut BufReader) -> std::io::Result> { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `IsAlpha` should have a snake case name [INFO] [stdout] --> src/train.rs:66:4 [INFO] [stdout] | [INFO] [stdout] 66 | fn IsAlpha(ch: char) -> bool { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `is_alpha` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Read` should have a snake case name [INFO] [stdout] --> src/train.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn Read(inp: &mut BufReader) -> std::io::Result> { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Layover` should have a snake case name [INFO] [stdout] --> src/train.rs:213:12 [INFO] [stdout] | [INFO] [stdout] 213 | pub fn Layover(&self) -> f64 {self.layover} [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `layover` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `SetLayover` should have a snake case name [INFO] [stdout] --> src/train.rs:218:12 [INFO] [stdout] | [INFO] [stdout] 218 | pub fn SetLayover(&mut self,period: f64) {self.layover = period;} [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `set_layover` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Departure` should have a snake case name [INFO] [stdout] --> src/train.rs:226:12 [INFO] [stdout] | [INFO] [stdout] 226 | pub fn Departure(&self, arrival: f64) -> f64 {arrival+self.layover} [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `departure` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `StationIndex` should have a snake case name [INFO] [stdout] --> src/train.rs:229:12 [INFO] [stdout] | [INFO] [stdout] 229 | pub fn StationIndex(&self) -> usize {self.stationindex} [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `station_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `TheCab` should have a snake case name [INFO] [stdout] --> src/train.rs:232:12 [INFO] [stdout] | [INFO] [stdout] 232 | pub fn TheCab(&self) -> Option {self.cab.clone()} [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `the_cab` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `SetCab` should have a snake case name [INFO] [stdout] --> src/train.rs:237:12 [INFO] [stdout] | [INFO] [stdout] 237 | pub fn SetCab(&mut self, newcab: Option<&Cab>) {self.cab = newcab.cloned();} [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `set_cab` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `NumberOfNotes` should have a snake case name [INFO] [stdout] --> src/train.rs:240:12 [INFO] [stdout] | [INFO] [stdout] 240 | pub fn NumberOfNotes(&self) -> usize {self.notes.len()} [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `number_of_notes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Note` should have a snake case name [INFO] [stdout] --> src/train.rs:245:12 [INFO] [stdout] | [INFO] [stdout] 245 | pub fn Note(&self,i: usize) -> Option<&usize> { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `note` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `NoteIter` should have a snake case name [INFO] [stdout] --> src/train.rs:248:12 [INFO] [stdout] | [INFO] [stdout] 248 | pub fn NoteIter(&self) -> Iter<'_, usize> { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `note_iter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `NoteIter_mut` should have a snake case name [INFO] [stdout] --> src/train.rs:251:12 [INFO] [stdout] | [INFO] [stdout] 251 | pub fn NoteIter_mut(&mut self) -> IterMut<'_, usize> { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `note_iter_mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `AddNote` should have a snake case name [INFO] [stdout] --> src/train.rs:258:12 [INFO] [stdout] | [INFO] [stdout] 258 | pub fn AddNote(&mut self,note: usize) { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `add_note` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `RemoveNote` should have a snake case name [INFO] [stdout] --> src/train.rs:268:12 [INFO] [stdout] | [INFO] [stdout] 268 | pub fn RemoveNote(&mut self,note: usize) { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `remove_note` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `o2` [INFO] [stdout] --> src/lib.rs:1243:41 [INFO] [stdout] | [INFO] [stdout] 1243 | ... let o2 = o2.unwrap(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_o2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Flag` should have a snake case name [INFO] [stdout] --> src/train.rs:278:12 [INFO] [stdout] | [INFO] [stdout] 278 | pub fn Flag(&self) -> StopFlagType {self.flag} [INFO] [stdout] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `flag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `o2` [INFO] [stdout] --> src/lib.rs:1255:41 [INFO] [stdout] | [INFO] [stdout] 1255 | ... let o2 = o2.unwrap(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_o2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `StorageTrackName` should have a snake case name [INFO] [stdout] --> src/train.rs:281:12 [INFO] [stdout] | [INFO] [stdout] 281 | pub fn StorageTrackName(&self) -> String {self.storage_track_name.clone()} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `storage_track_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `SetStorageTrackName` should have a snake case name [INFO] [stdout] --> src/train.rs:286:12 [INFO] [stdout] | [INFO] [stdout] 286 | pub fn SetStorageTrackName(&mut self,name: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `set_storage_track_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ParseStop` should have a snake case name [INFO] [stdout] --> src/train.rs:289:12 [INFO] [stdout] | [INFO] [stdout] 289 | pub fn ParseStop(string: &str) -> Result<(Self, usize), StopParseError> { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `parse_stop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Read` should have a snake case name [INFO] [stdout] --> src/train.rs:403:12 [INFO] [stdout] | [INFO] [stdout] 403 | pub fn Read(inp: &mut BufReader,cabs: &CabNameMap) -> std::io::Result> { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Write` should have a snake case name [INFO] [stdout] --> src/train.rs:467:12 [INFO] [stdout] | [INFO] [stdout] 467 | pub fn Write(&self,f: &mut BufWriter) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Name` should have a snake case name [INFO] [stdout] --> src/train.rs:629:12 [INFO] [stdout] | [INFO] [stdout] 629 | pub fn Name(&self) -> String {self.name.clone()} [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Number` should have a snake case name [INFO] [stdout] --> src/train.rs:632:12 [INFO] [stdout] | [INFO] [stdout] 632 | pub fn Number(&self) -> String {self.number.clone()} [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `number` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Departure` should have a snake case name [INFO] [stdout] --> src/train.rs:635:12 [INFO] [stdout] | [INFO] [stdout] 635 | pub fn Departure(&self) -> u32 {self.departure} [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `departure` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `SetDeparture` should have a snake case name [INFO] [stdout] --> src/train.rs:640:12 [INFO] [stdout] | [INFO] [stdout] 640 | pub fn SetDeparture(&mut self,depart: u32) {self.departure = depart;} [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `set_departure` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `DepartureCompare` should have a snake case name [INFO] [stdout] --> src/train.rs:641:12 [INFO] [stdout] | [INFO] [stdout] 641 | pub fn DepartureCompare(&self, other: &Self) -> Ordering { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `departure_compare` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Speed` should have a snake case name [INFO] [stdout] --> src/train.rs:646:12 [INFO] [stdout] | [INFO] [stdout] 646 | pub fn Speed(&self) -> u32 {self.speed} [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `speed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ClassNumber` should have a snake case name [INFO] [stdout] --> src/train.rs:649:12 [INFO] [stdout] | [INFO] [stdout] 649 | pub fn ClassNumber(&self) -> u32 {self.classnumber} [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `class_number` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `NumberOfNotes` should have a snake case name [INFO] [stdout] --> src/train.rs:652:12 [INFO] [stdout] | [INFO] [stdout] 652 | pub fn NumberOfNotes(&self) -> usize {self.notes.len()} [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `number_of_notes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Note` should have a snake case name [INFO] [stdout] --> src/train.rs:659:12 [INFO] [stdout] | [INFO] [stdout] 659 | pub fn Note(&self, i: usize) -> Option<&usize> { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `note` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `AddNoteToTrain` should have a snake case name [INFO] [stdout] --> src/train.rs:666:13 [INFO] [stdout] | [INFO] [stdout] 666 | pub fn AddNoteToTrain(&mut self,note: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `add_note_to_train` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `RemoveNoteFromTrain` should have a snake case name [INFO] [stdout] --> src/train.rs:676:12 [INFO] [stdout] | [INFO] [stdout] 676 | pub fn RemoveNoteFromTrain(&mut self,note: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `remove_note_from_train` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `NoteIter` should have a snake case name [INFO] [stdout] --> src/train.rs:684:12 [INFO] [stdout] | [INFO] [stdout] 684 | pub fn NoteIter(&self) -> Iter<'_, usize> { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `note_iter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `NoteIter_mut` should have a snake case name [INFO] [stdout] --> src/train.rs:687:12 [INFO] [stdout] | [INFO] [stdout] 687 | pub fn NoteIter_mut(&mut self) -> IterMut<'_, usize> { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `note_iter_mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `UpdateStopLayover` should have a snake case name [INFO] [stdout] --> src/train.rs:695:12 [INFO] [stdout] | [INFO] [stdout] 695 | pub fn UpdateStopLayover(&mut self,istop: usize,layover: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `update_stop_layover` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `UpdateStopCab` should have a snake case name [INFO] [stdout] --> src/train.rs:706:12 [INFO] [stdout] | [INFO] [stdout] 706 | pub fn UpdateStopCab(&mut self,istop: usize,cab: Option<&Cab>) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `update_stop_cab` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `AddNoteToStop` should have a snake case name [INFO] [stdout] --> src/train.rs:717:12 [INFO] [stdout] | [INFO] [stdout] 717 | pub fn AddNoteToStop(&mut self,istop: usize,note: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `add_note_to_stop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `RemoveNoteFromStop` should have a snake case name [INFO] [stdout] --> src/train.rs:728:12 [INFO] [stdout] | [INFO] [stdout] 728 | pub fn RemoveNoteFromStop(&mut self,istop: usize,note: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `remove_note_from_stop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `SetOriginStorageTrack` should have a snake case name [INFO] [stdout] --> src/train.rs:738:12 [INFO] [stdout] | [INFO] [stdout] 738 | pub fn SetOriginStorageTrack(&mut self,trackname: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `set_origin_storage_track` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `SetDestinationStorageTrack` should have a snake case name [INFO] [stdout] --> src/train.rs:748:12 [INFO] [stdout] | [INFO] [stdout] 748 | pub fn SetDestinationStorageTrack(&mut self,trackname: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `set_destination_storage_track` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `SetTransitStorageTrack` should have a snake case name [INFO] [stdout] --> src/train.rs:760:12 [INFO] [stdout] | [INFO] [stdout] 760 | pub fn SetTransitStorageTrack(&mut self,istop: usize,trackname: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `set_transit_storage_track` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `NumberOfStops` should have a snake case name [INFO] [stdout] --> src/train.rs:768:12 [INFO] [stdout] | [INFO] [stdout] 768 | pub fn NumberOfStops(&self) -> usize {self.stops.len()} [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `number_of_stops` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `StopI` should have a snake case name [INFO] [stdout] --> src/train.rs:774:12 [INFO] [stdout] | [INFO] [stdout] 774 | pub fn StopI(&self,i: usize) -> Option<&Stop> { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `stop_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `StopIter` should have a snake case name [INFO] [stdout] --> src/train.rs:777:12 [INFO] [stdout] | [INFO] [stdout] 777 | pub fn StopIter(&self) -> Iter<'_, Stop> { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `stop_iter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `StopIter_mut` should have a snake case name [INFO] [stdout] --> src/train.rs:780:12 [INFO] [stdout] | [INFO] [stdout] 780 | pub fn StopIter_mut(&mut self) -> IterMut<'_, Stop> { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `stop_iter_mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `StartSMile` should have a snake case name [INFO] [stdout] --> src/train.rs:785:12 [INFO] [stdout] | [INFO] [stdout] 785 | pub fn StartSMile(&self) -> f64 {self.startsmile} [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `start_smile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ParseTrain` should have a snake case name [INFO] [stdout] --> src/train.rs:786:12 [INFO] [stdout] | [INFO] [stdout] 786 | pub fn ParseTrain(string: &str) -> Result<(Self, usize), TrainParseError> { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `parse_train` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Read` should have a snake case name [INFO] [stdout] --> src/train.rs:915:12 [INFO] [stdout] | [INFO] [stdout] 915 | pub fn Read(inp: &mut BufReader,cabs: &CabNameMap) -> std::io::Result> { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Write` should have a snake case name [INFO] [stdout] --> src/train.rs:998:12 [INFO] [stdout] | [INFO] [stdout] 998 | pub fn Write(&self,f: &mut BufWriter) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ReadQuotedString` should have a snake case name [INFO] [stdout] --> src/primio.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn ReadQuotedString(inp: &mut BufReader) -> std::io::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `read_quoted_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `EOF` should have a snake case name [INFO] [stdout] --> src/primio.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | let mut EOF: bool = false; [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `eof` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `IsDigit` should have a snake case name [INFO] [stdout] --> src/primio.rs:86:4 [INFO] [stdout] | [INFO] [stdout] 86 | fn IsDigit(ch: char) -> bool { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `is_digit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `IsAlpha` should have a snake case name [INFO] [stdout] --> src/primio.rs:94:4 [INFO] [stdout] | [INFO] [stdout] 94 | fn IsAlpha(ch: char) -> bool { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `is_alpha` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ReadF64` should have a snake case name [INFO] [stdout] --> src/primio.rs:103:8 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn ReadF64(inp: &mut BufReader) -> std::io::Result> { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `read_f64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ReadISize` should have a snake case name [INFO] [stdout] --> src/primio.rs:143:8 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn ReadISize(inp: &mut BufReader) -> std::io::Result> { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `read_isize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ReadUSize` should have a snake case name [INFO] [stdout] --> src/primio.rs:180:8 [INFO] [stdout] | [INFO] [stdout] 180 | pub fn ReadUSize(inp: &mut BufReader) -> std::io::Result> { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `read_usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ReadU32` should have a snake case name [INFO] [stdout] --> src/primio.rs:217:8 [INFO] [stdout] | [INFO] [stdout] 217 | pub fn ReadU32(inp: &mut BufReader) -> std::io::Result> { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `read_u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `maxTrains` [INFO] [stdout] --> src/lib.rs:1791:35 [INFO] [stdout] | [INFO] [stdout] 1791 | ... maxTrains: usize,allTrains: &mut TrainList, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_maxTrains` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `allTrains` [INFO] [stdout] --> src/lib.rs:1883:30 [INFO] [stdout] | [INFO] [stdout] 1883 | ... allTrains: &TrainList,forwardTrains: &TrainList, [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_allTrains` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `itr` [INFO] [stdout] --> src/lib.rs:1922:13 [INFO] [stdout] | [INFO] [stdout] 1922 | for itr in 0..ntrains {write!(fp,"r|")?;} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_itr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `t` [INFO] [stdout] --> src/lib.rs:2001:26 [INFO] [stdout] | [INFO] [stdout] 2001 | Some(t) => (), [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `itr` [INFO] [stdout] --> src/lib.rs:2100:13 [INFO] [stdout] | [INFO] [stdout] 2100 | for itr in 0..nFtrains {write!(fp,"r|")?;} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_itr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `itr` [INFO] [stdout] --> src/lib.rs:2102:13 [INFO] [stdout] | [INFO] [stdout] 2102 | for itr in 0..nBtrains {write!(fp,"r|")?;} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_itr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `st` [INFO] [stdout] --> src/lib.rs:2212:26 [INFO] [stdout] | [INFO] [stdout] 2212 | Some(st) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_st` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `st` [INFO] [stdout] --> src/lib.rs:2244:26 [INFO] [stdout] | [INFO] [stdout] 2244 | Some(st) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_st` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constants `OPENBRACE` and `CLOSEBRACE` are never used [INFO] [stdout] --> src/lib.rs:1454:11 [INFO] [stdout] | [INFO] [stdout] 370 | impl TimeTableSystem { [INFO] [stdout] | -------------------- associated constants in this implementation [INFO] [stdout] ... [INFO] [stdout] 1454 | const OPENBRACE: char = '{'; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 1455 | const CLOSEBRACE: char = '}'; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Train_new_1` is never used [INFO] [stdout] --> src/train.rs:1136:8 [INFO] [stdout] | [INFO] [stdout] 1136 | fn Train_new_1 () { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Train_new_2` is never used [INFO] [stdout] --> src/train.rs:1142:8 [INFO] [stdout] | [INFO] [stdout] 1142 | fn Train_new_2 () { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `IsAlpha` is never used [INFO] [stdout] --> src/primio.rs:94:4 [INFO] [stdout] | [INFO] [stdout] 94 | fn IsAlpha(ch: char) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Arrival` should have a snake case name [INFO] [stdout] --> src/lib.rs:134:12 [INFO] [stdout] | [INFO] [stdout] 134 | pub fn Arrival(&self) -> f64 {self.arrival} [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `arrival` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Departure` should have a snake case name [INFO] [stdout] --> src/lib.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 137 | pub fn Departure(&self) -> f64 {self.departure} [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `departure` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Flag` should have a snake case name [INFO] [stdout] --> src/lib.rs:140:13 [INFO] [stdout] | [INFO] [stdout] 140 | pub fn Flag(&self) -> StopFlagType {self.flag} [INFO] [stdout] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `flag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `StringListToString` should have a snake case name [INFO] [stdout] --> src/lib.rs:186:8 [INFO] [stdout] | [INFO] [stdout] 186 | pub fn StringListToString(list: StringList) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `string_list_to_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `theString` should have a snake case name [INFO] [stdout] --> src/lib.rs:189:9 [INFO] [stdout] | [INFO] [stdout] 189 | for theString in list.iter() { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `the_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `StringListFromString` should have a snake case name [INFO] [stdout] --> src/lib.rs:211:8 [INFO] [stdout] | [INFO] [stdout] 211 | pub fn StringListFromString(strlinList: String) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `string_list_from_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `strlinList` should have a snake case name [INFO] [stdout] --> src/lib.rs:211:29 [INFO] [stdout] | [INFO] [stdout] 211 | pub fn StringListFromString(strlinList: String) -> Option { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `strlin_list` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `inString` should have a snake case name [INFO] [stdout] --> src/lib.rs:213:13 [INFO] [stdout] | [INFO] [stdout] 213 | let mut inString: bool = false; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `in_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `theString` should have a snake case name [INFO] [stdout] --> src/lib.rs:217:13 [INFO] [stdout] | [INFO] [stdout] 217 | let mut theString: String = String::new(); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `the_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:380:39 [INFO] [stdout] | [INFO] [stdout] 380 | let filepath: PathBuf = match PathBuf::from_str(filename) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-D unmustuse-in-always-ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `AddStation` should have a snake case name [INFO] [stdout] --> src/lib.rs:514:12 [INFO] [stdout] | [INFO] [stdout] 514 | pub fn AddStation(&mut self,name: String,smile: f64) -> Option { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `add_station` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `FindStationByName` should have a snake case name [INFO] [stdout] --> src/lib.rs:539:12 [INFO] [stdout] | [INFO] [stdout] 539 | pub fn FindStationByName(&self,name: String) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `find_station_by_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `NumberOfStations` should have a snake case name [INFO] [stdout] --> src/lib.rs:551:12 [INFO] [stdout] | [INFO] [stdout] 551 | pub fn NumberOfStations(&self) -> usize {self.stations.len()} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `number_of_stations` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `IthStation` should have a snake case name [INFO] [stdout] --> src/lib.rs:559:12 [INFO] [stdout] | [INFO] [stdout] 559 | pub fn IthStation(&self, i: usize) -> Option<&Station> { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `ith_station` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `IthStationMut` should have a snake case name [INFO] [stdout] --> src/lib.rs:562:12 [INFO] [stdout] | [INFO] [stdout] 562 | pub fn IthStationMut(&mut self, i: usize) -> Option<&mut Station> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `ith_station_mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `StationName` should have a snake case name [INFO] [stdout] --> src/lib.rs:572:12 [INFO] [stdout] | [INFO] [stdout] 572 | pub fn StationName(&self,i: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `station_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `SMile` should have a snake case name [INFO] [stdout] --> src/lib.rs:585:12 [INFO] [stdout] | [INFO] [stdout] 585 | pub fn SMile(&self,i: usize) -> Option { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `smile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `TotalLength` should have a snake case name [INFO] [stdout] --> src/lib.rs:596:12 [INFO] [stdout] | [INFO] [stdout] 596 | pub fn TotalLength(&self) -> f64 { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `total_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `DuplicateStationIndex` should have a snake case name [INFO] [stdout] --> src/lib.rs:613:12 [INFO] [stdout] | [INFO] [stdout] 613 | pub fn DuplicateStationIndex(&self,i: usize) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `duplicate_station_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `SetDuplicateStationIndex` should have a snake case name [INFO] [stdout] --> src/lib.rs:631:12 [INFO] [stdout] | [INFO] [stdout] 631 | pub fn SetDuplicateStationIndex(&mut self,i: usize,dup: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `set_duplicate_station_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `AddStorageTrack` should have a snake case name [INFO] [stdout] --> src/lib.rs:648:12 [INFO] [stdout] | [INFO] [stdout] 648 | pub fn AddStorageTrack(&mut self,i: usize,name: &String) -> Option<&mut StorageTrack> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `add_storage_track` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `FindStorageTrack` should have a snake case name [INFO] [stdout] --> src/lib.rs:665:12 [INFO] [stdout] | [INFO] [stdout] 665 | pub fn FindStorageTrack(&self,i: usize,name: &String) -> Option<&StorageTrack> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `find_storage_track` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `FindStorageTrack_mut` should have a snake case name [INFO] [stdout] --> src/lib.rs:671:12 [INFO] [stdout] | [INFO] [stdout] 671 | pub fn FindStorageTrack_mut(&mut self,i: usize,name: &String) -> Option<&mut StorageTrack> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `find_storage_track_mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `AddCab` should have a snake case name [INFO] [stdout] --> src/lib.rs:687:12 [INFO] [stdout] | [INFO] [stdout] 687 | pub fn AddCab(&mut self,name: String,color: String) -> &Cab { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `add_cab` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `FindCab` should have a snake case name [INFO] [stdout] --> src/lib.rs:697:12 [INFO] [stdout] | [INFO] [stdout] 697 | pub fn FindCab(&self,name: &String) -> Option<&Cab> { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `find_cab` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `NumberOfCabs` should have a snake case name [INFO] [stdout] --> src/lib.rs:702:12 [INFO] [stdout] | [INFO] [stdout] 702 | pub fn NumberOfCabs(&self) -> usize {self.cabs.len()} [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `number_of_cabs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `AddTrain` should have a snake case name [INFO] [stdout] --> src/lib.rs:721:12 [INFO] [stdout] | [INFO] [stdout] 721 | pub fn AddTrain(&mut self,name: String,number: String,speed: u32, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `add_train` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newTrain` should have a snake case name [INFO] [stdout] --> src/lib.rs:735:17 [INFO] [stdout] | [INFO] [stdout] 735 | let newTrain = Train::new(name,number.clone(),speed,classnumber,departure,startsmile,start,end); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `new_train` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `AddTrainLongVersion` should have a snake case name [INFO] [stdout] --> src/lib.rs:758:12 [INFO] [stdout] | [INFO] [stdout] 758 | pub fn AddTrainLongVersion(&mut self,name: String,number: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `add_train_long_version` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `layoverVector` should have a snake case name [INFO] [stdout] --> src/lib.rs:761:32 [INFO] [stdout] | [INFO] [stdout] 761 | ... layoverVector: &DoubleVector, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `layover_vector` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `cabnameVector` should have a snake case name [INFO] [stdout] --> src/lib.rs:762:32 [INFO] [stdout] | [INFO] [stdout] 762 | ... cabnameVector: &StringList, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `cabname_vector` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `storageTrackVector` should have a snake case name [INFO] [stdout] --> src/lib.rs:763:32 [INFO] [stdout] | [INFO] [stdout] 763 | ... storageTrackVector: &StringList) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `storage_track_vector` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `layoverIter` should have a snake case name [INFO] [stdout] --> src/lib.rs:812:29 [INFO] [stdout] | [INFO] [stdout] 812 | let mut layoverIter = layoverVector.iter(); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `layover_iter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `storageTrackIter` should have a snake case name [INFO] [stdout] --> src/lib.rs:814:29 [INFO] [stdout] | [INFO] [stdout] 814 | let mut storageTrackIter = storageTrackVector.iter(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `storage_track_iter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `oldDepart` should have a snake case name [INFO] [stdout] --> src/lib.rs:815:29 [INFO] [stdout] | [INFO] [stdout] 815 | let mut oldDepart: f64 = -1.0; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `old_depart` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `oldSmile` should have a snake case name [INFO] [stdout] --> src/lib.rs:816:29 [INFO] [stdout] | [INFO] [stdout] 816 | let mut oldSmile: f64 = -1.0; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `old_smile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `storageTrackName` should have a snake case name [INFO] [stdout] --> src/lib.rs:835:29 [INFO] [stdout] | [INFO] [stdout] 835 | let storageTrackName: &String = storageTrackIter.next().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `storage_track_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rStationIndex` should have a snake case name [INFO] [stdout] --> src/lib.rs:840:38 [INFO] [stdout] | [INFO] [stdout] 840 | ... Some(rStationIndex) => [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `r_station_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rStation` should have a snake case name [INFO] [stdout] --> src/lib.rs:838:33 [INFO] [stdout] | [INFO] [stdout] 838 | ... let rStation = match station.DuplicateStationIndex() { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `r_station` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rStorage` should have a snake case name [INFO] [stdout] --> src/lib.rs:843:33 [INFO] [stdout] | [INFO] [stdout] 843 | ... let rStorage = match rStation { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `r_storage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newTrain` should have a snake case name [INFO] [stdout] --> src/lib.rs:925:29 [INFO] [stdout] | [INFO] [stdout] 925 | let mut newTrain = Train::new(name,number.clone(),speed,classnumber,departure,startsmile,start,end); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `new_train` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `layoverIter` should have a snake case name [INFO] [stdout] --> src/lib.rs:931:29 [INFO] [stdout] | [INFO] [stdout] 931 | let mut layoverIter = layoverVector.iter(); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `layover_iter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `cabnameIter` should have a snake case name [INFO] [stdout] --> src/lib.rs:932:29 [INFO] [stdout] | [INFO] [stdout] 932 | let mut cabnameIter = cabnameVector.iter(); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `cabname_iter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `storageTrackIter` should have a snake case name [INFO] [stdout] --> src/lib.rs:933:29 [INFO] [stdout] | [INFO] [stdout] 933 | let mut storageTrackIter = storageTrackVector.iter(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `storage_track_iter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `oldDepart` should have a snake case name [INFO] [stdout] --> src/lib.rs:934:29 [INFO] [stdout] | [INFO] [stdout] 934 | let mut oldDepart: f64 = -1.0; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `old_depart` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `oldSmile` should have a snake case name [INFO] [stdout] --> src/lib.rs:935:29 [INFO] [stdout] | [INFO] [stdout] 935 | let mut oldSmile: f64 = -1.0; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `old_smile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `cabName` should have a snake case name [INFO] [stdout] --> src/lib.rs:939:29 [INFO] [stdout] | [INFO] [stdout] 939 | let cabName = cabnameIter.next().unwrap(); [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `cab_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `storageTrackName` should have a snake case name [INFO] [stdout] --> src/lib.rs:946:29 [INFO] [stdout] | [INFO] [stdout] 946 | let storageTrackName = storageTrackIter.next().unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `storage_track_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `UpdateTrainStorageAtStop` should have a snake case name [INFO] [stdout] --> src/lib.rs:978:8 [INFO] [stdout] | [INFO] [stdout] 978 | fn UpdateTrainStorageAtStop(istop: usize, start: usize, end: usize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `update_train_storage_at_stop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `storageTrackName` should have a snake case name [INFO] [stdout] --> src/lib.rs:980:33 [INFO] [stdout] | [INFO] [stdout] 980 | ... storageTrackName: &String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `storage_track_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newTrain` should have a snake case name [INFO] [stdout] --> src/lib.rs:983:33 [INFO] [stdout] | [INFO] [stdout] 983 | ... newTrain: &mut Train) { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `new_train` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rsI` should have a snake case name [INFO] [stdout] --> src/lib.rs:986:18 [INFO] [stdout] | [INFO] [stdout] 986 | Some(rsI) => stations [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `rs_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rStation` should have a snake case name [INFO] [stdout] --> src/lib.rs:984:23 [INFO] [stdout] | [INFO] [stdout] 984 | let (station, rStation) = match stations[istop].DuplicateStationIndex() { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `r_station` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rStorage` should have a snake case name [INFO] [stdout] --> src/lib.rs:992:13 [INFO] [stdout] | [INFO] [stdout] 992 | let rStorage = match rStation { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `r_storage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rStorage` should have a snake case name [INFO] [stdout] --> src/lib.rs:1017:22 [INFO] [stdout] | [INFO] [stdout] 1017 | Some(rStorage) => { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `r_storage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rStorage` should have a snake case name [INFO] [stdout] --> src/lib.rs:1052:30 [INFO] [stdout] | [INFO] [stdout] 1052 | Some(rStorage) => { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `r_storage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rStorage` should have a snake case name [INFO] [stdout] --> src/lib.rs:1075:22 [INFO] [stdout] | [INFO] [stdout] 1075 | Some(rStorage) => { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `r_storage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `DeleteTrain` should have a snake case name [INFO] [stdout] --> src/lib.rs:1090:12 [INFO] [stdout] | [INFO] [stdout] 1090 | pub fn DeleteTrain(&mut self,number: String) -> Result<(),DeleteTrainError> { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `delete_train` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `oldTrain` should have a snake case name [INFO] [stdout] --> src/lib.rs:1093:18 [INFO] [stdout] | [INFO] [stdout] 1093 | Some(oldTrain) => { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `old_train` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `oldDepart` should have a snake case name [INFO] [stdout] --> src/lib.rs:1099:25 [INFO] [stdout] | [INFO] [stdout] 1099 | let mut oldDepart: f64 = -1.0; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `old_depart` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `oldSmile` should have a snake case name [INFO] [stdout] --> src/lib.rs:1100:25 [INFO] [stdout] | [INFO] [stdout] 1100 | let mut oldSmile: f64 = -1.0; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `old_smile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rsI` should have a snake case name [INFO] [stdout] --> src/lib.rs:1106:30 [INFO] [stdout] | [INFO] [stdout] 1106 | Some(rsI) => self.stations [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `rs_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rStation` should have a snake case name [INFO] [stdout] --> src/lib.rs:1104:39 [INFO] [stdout] | [INFO] [stdout] 1104 | let (station, mut rStation) = match self.stations[istation].DuplicateStationIndex() { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `r_station` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `storageTrackName` should have a snake case name [INFO] [stdout] --> src/lib.rs:1122:25 [INFO] [stdout] | [INFO] [stdout] 1122 | let storageTrackName = stop.StorageTrackName(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `storage_track_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rStorage` should have a snake case name [INFO] [stdout] --> src/lib.rs:1125:25 [INFO] [stdout] | [INFO] [stdout] 1125 | let rStorage = match rStation { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `r_storage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rStorage` should have a snake case name [INFO] [stdout] --> src/lib.rs:1159:38 [INFO] [stdout] | [INFO] [stdout] 1159 | ... Some(rStorage) => { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `r_storage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rStorage` should have a snake case name [INFO] [stdout] --> src/lib.rs:1211:38 [INFO] [stdout] | [INFO] [stdout] 1211 | ... Some(rStorage) => { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `r_storage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `rStorage` should have a snake case name [INFO] [stdout] --> src/lib.rs:1248:37 [INFO] [stdout] | [INFO] [stdout] 1248 | ... let rStorage = rStorage.unwrap(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `r_storage` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `FindTrainByName` should have a snake case name [INFO] [stdout] --> src/lib.rs:1281:12 [INFO] [stdout] | [INFO] [stdout] 1281 | pub fn FindTrainByName(&self,name: &String) -> Option<&Train> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `find_train_by_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `FindTrainByNumber` should have a snake case name [INFO] [stdout] --> src/lib.rs:1296:12 [INFO] [stdout] | [INFO] [stdout] 1296 | pub fn FindTrainByNumber(&self, number: &String) -> Option<&Train> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `find_train_by_number` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `NumberOfTrains` should have a snake case name [INFO] [stdout] --> src/lib.rs:1301:12 [INFO] [stdout] | [INFO] [stdout] 1301 | pub fn NumberOfTrains(&self) -> usize {self.trains.len()} [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `number_of_trains` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `NumberOfNotes` should have a snake case name [INFO] [stdout] --> src/lib.rs:1304:12 [INFO] [stdout] | [INFO] [stdout] 1304 | pub fn NumberOfNotes(&self) -> usize {self.notes.len()} [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `number_of_notes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Note` should have a snake case name [INFO] [stdout] --> src/lib.rs:1311:12 [INFO] [stdout] | [INFO] [stdout] 1311 | pub fn Note(&self,i: usize) -> Option { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `note` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `AddNote` should have a snake case name [INFO] [stdout] --> src/lib.rs:1318:12 [INFO] [stdout] | [INFO] [stdout] 1318 | pub fn AddNote(&mut self,newnote: String) -> usize { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `add_note` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `SetNote` should have a snake case name [INFO] [stdout] --> src/lib.rs:1331:13 [INFO] [stdout] | [INFO] [stdout] 1331 | pub fn SetNote(&mut self,i: usize,note: String) -> bool { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `set_note` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `GetPrintOption` should have a snake case name [INFO] [stdout] --> src/lib.rs:1346:12 [INFO] [stdout] | [INFO] [stdout] 1346 | pub fn GetPrintOption(&self,key: &str) -> Option<&String> [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `get_print_option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `SetPrintOption` should have a snake case name [INFO] [stdout] --> src/lib.rs:1359:12 [INFO] [stdout] | [INFO] [stdout] 1359 | pub fn SetPrintOption(&mut self,key: &str,value: &str) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `set_print_option` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `WriteNewTimeTableFile` should have a snake case name [INFO] [stdout] --> src/lib.rs:1373:12 [INFO] [stdout] | [INFO] [stdout] 1373 | pub fn WriteNewTimeTableFile(&mut self,filename: &String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `write_new_time_table_file` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: this type will no longer be must used: Result [INFO] [stdout] --> src/lib.rs:1404:29 [INFO] [stdout] | [INFO] [stdout] 1404 | self.filepath = PathBuf::from_str(&filename).unwrap(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `TimeScale` should have a snake case name [INFO] [stdout] --> src/lib.rs:1410:12 [INFO] [stdout] | [INFO] [stdout] 1410 | pub fn TimeScale(&self) -> u32 {self.timescale} [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `time_scale` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `TimeInterval` should have a snake case name [INFO] [stdout] --> src/lib.rs:1413:12 [INFO] [stdout] | [INFO] [stdout] 1413 | pub fn TimeInterval(&self) -> u32 {self.timeinterval} [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `time_interval` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Name` should have a snake case name [INFO] [stdout] --> src/lib.rs:1416:12 [INFO] [stdout] | [INFO] [stdout] 1416 | pub fn Name(&self) -> String {self.name.clone()} [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Filename` should have a snake case name [INFO] [stdout] --> src/lib.rs:1419:12 [INFO] [stdout] | [INFO] [stdout] 1419 | pub fn Filename(&self) -> String {self.filepath.display().to_string()} [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `filename` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `StationsIter` should have a snake case name [INFO] [stdout] --> src/lib.rs:1420:12 [INFO] [stdout] | [INFO] [stdout] 1420 | pub fn StationsIter(&self) -> std::slice::Iter<'_, Station> { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `stations_iter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `StationsIter_mut` should have a snake case name [INFO] [stdout] --> src/lib.rs:1423:12 [INFO] [stdout] | [INFO] [stdout] 1423 | pub fn StationsIter_mut(&mut self) -> std::slice::IterMut<'_, Station> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `stations_iter_mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `CabsIter` should have a snake case name [INFO] [stdout] --> src/lib.rs:1426:12 [INFO] [stdout] | [INFO] [stdout] 1426 | pub fn CabsIter(&self) -> std::collections::hash_map::Iter<'_, String, Cab> { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `cabs_iter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `CabsIter_mut` should have a snake case name [INFO] [stdout] --> src/lib.rs:1429:12 [INFO] [stdout] | [INFO] [stdout] 1429 | pub fn CabsIter_mut(&mut self) -> std::collections::hash_map::IterMut<'_, String, Cab> { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `cabs_iter_mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `TrainsIter` should have a snake case name [INFO] [stdout] --> src/lib.rs:1432:12 [INFO] [stdout] | [INFO] [stdout] 1432 | pub fn TrainsIter(&self) -> std::collections::hash_map::Iter<'_, String, Train> { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `trains_iter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `TrainsIter_mut` should have a snake case name [INFO] [stdout] --> src/lib.rs:1435:12 [INFO] [stdout] | [INFO] [stdout] 1435 | pub fn TrainsIter_mut(&mut self) -> std::collections::hash_map::IterMut<'_, String, Train> { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `trains_iter_mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `NotesIter` should have a snake case name [INFO] [stdout] --> src/lib.rs:1438:12 [INFO] [stdout] | [INFO] [stdout] 1438 | pub fn NotesIter(&self) -> std::slice::Iter<'_, String> { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `notes_iter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `NotesIter_mut` should have a snake case name [INFO] [stdout] --> src/lib.rs:1441:12 [INFO] [stdout] | [INFO] [stdout] 1441 | pub fn NotesIter_mut(&mut self) -> std::slice::IterMut<'_, String> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `notes_iter_mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `PrintOptionsIter` should have a snake case name [INFO] [stdout] --> src/lib.rs:1444:12 [INFO] [stdout] | [INFO] [stdout] 1444 | pub fn PrintOptionsIter(&self) -> std::collections::hash_map::Iter<'_, String, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `print_options_iter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `PrintOptionsIter_mut` should have a snake case name [INFO] [stdout] --> src/lib.rs:1447:12 [INFO] [stdout] | [INFO] [stdout] 1447 | pub fn PrintOptionsIter_mut(&mut self) -> std::collections::hash_map::IterMut<'_, String, String> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `print_options_iter_mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `CreateLaTeXTimetable` should have a snake case name [INFO] [stdout] --> src/lib.rs:1471:12 [INFO] [stdout] | [INFO] [stdout] 1471 | pub fn CreateLaTeXTimetable(&mut self,filename: &str) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `create_la_te_xtimetable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `StationColWidth` should have a snake case name [INFO] [stdout] --> src/lib.rs:1477:17 [INFO] [stdout] | [INFO] [stdout] 1477 | let StationColWidth = Self::getdouble(self.GetPrintOption("StationColWidth"),1.5); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `station_col_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `TimeColWidth` should have a snake case name [INFO] [stdout] --> src/lib.rs:1478:17 [INFO] [stdout] | [INFO] [stdout] 1478 | let TimeColWidth = Self::getdouble(self.GetPrintOption("TimeColWidth"),0.5); [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `time_col_width` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `maxTrains` should have a snake case name [INFO] [stdout] --> src/lib.rs:1480:17 [INFO] [stdout] | [INFO] [stdout] 1480 | let maxTrains = ((7.0 - StationColWidth - TimeColWidth)/TimeColWidth) as usize; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `max_trains` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `UseMultipleTables` should have a snake case name [INFO] [stdout] --> src/lib.rs:1481:17 [INFO] [stdout] | [INFO] [stdout] 1481 | let UseMultipleTables: bool; // Use multiple tables??? [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `use_multiple_tables` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `GroupBy` should have a snake case name [INFO] [stdout] --> src/lib.rs:1482:21 [INFO] [stdout] | [INFO] [stdout] 1482 | let mut GroupBy: GroupMode = GroupMode::NoGrouping; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `group_by` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `NSides` should have a snake case name [INFO] [stdout] --> src/lib.rs:1518:17 [INFO] [stdout] | [INFO] [stdout] 1518 | let NSides = match self.GetPrintOption("NSides") { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `nsides` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `TimeFormat` should have a snake case name [INFO] [stdout] --> src/lib.rs:1527:17 [INFO] [stdout] | [INFO] [stdout] 1527 | let TimeFormat = match self.GetPrintOption("TimeFormat") { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `time_format` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `AMPMFormat` should have a snake case name [INFO] [stdout] --> src/lib.rs:1535:17 [INFO] [stdout] | [INFO] [stdout] 1535 | let AMPMFormat = match self.GetPrintOption("AMPMFormat") { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `ampmformat` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Title` should have a snake case name [INFO] [stdout] --> src/lib.rs:1544:17 [INFO] [stdout] | [INFO] [stdout] 1544 | let Title = match self.GetPrintOption("Title") { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `title` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `SubTitle` should have a snake case name [INFO] [stdout] --> src/lib.rs:1552:17 [INFO] [stdout] | [INFO] [stdout] 1552 | let SubTitle = match self.GetPrintOption("SubTitle") { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `sub_title` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Date` should have a snake case name [INFO] [stdout] --> src/lib.rs:1560:17 [INFO] [stdout] | [INFO] [stdout] 1560 | let Date = match self.GetPrintOption("Date") { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `date` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ExtraPreamble` should have a snake case name [INFO] [stdout] --> src/lib.rs:1569:17 [INFO] [stdout] | [INFO] [stdout] 1569 | let ExtraPreamble = match self.GetPrintOption("ExtraPreamble") { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `extra_preamble` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `BeforeTOC` should have a snake case name [INFO] [stdout] --> src/lib.rs:1576:17 [INFO] [stdout] | [INFO] [stdout] 1576 | let BeforeTOC = match self.GetPrintOption("BeforeTOC") { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `before_toc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `NotesTOP` should have a snake case name [INFO] [stdout] --> src/lib.rs:1583:17 [INFO] [stdout] | [INFO] [stdout] 1583 | let NotesTOP = match self.GetPrintOption("NotesTOP") { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `notes_top` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `allTrains` should have a snake case name [INFO] [stdout] --> src/lib.rs:1592:21 [INFO] [stdout] | [INFO] [stdout] 1592 | let mut allTrains: TrainList = Vec::new(); [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `all_trains` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `forwardTrains` should have a snake case name [INFO] [stdout] --> src/lib.rs:1593:21 [INFO] [stdout] | [INFO] [stdout] 1593 | let mut forwardTrains: TrainList = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `forward_trains` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `backwardTrains` should have a snake case name [INFO] [stdout] --> src/lib.rs:1594:21 [INFO] [stdout] | [INFO] [stdout] 1594 | let mut backwardTrains: TrainList = Vec::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `backward_trains` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sectionTOP` should have a snake case name [INFO] [stdout] --> src/lib.rs:1689:21 [INFO] [stdout] | [INFO] [stdout] 1689 | let sectionTOP = match self.GetPrintOption("AllTrainsSectionTOP") { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `section_top` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `MakeTimeTableGroupByClass` should have a snake case name [INFO] [stdout] --> src/lib.rs:1734:8 [INFO] [stdout] | [INFO] [stdout] 1734 | fn MakeTimeTableGroupByClass(&self,fp: &mut BufWriter, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `make_time_table_group_by_class` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `allTrains` should have a snake case name [INFO] [stdout] --> src/lib.rs:1735:34 [INFO] [stdout] | [INFO] [stdout] 1735 | ... allTrains: &TrainList, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `all_trains` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `forwardTrains` should have a snake case name [INFO] [stdout] --> src/lib.rs:1736:34 [INFO] [stdout] | [INFO] [stdout] 1736 | ... forwardTrains: &TrainList, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `forward_trains` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `backwardTrains` should have a snake case name [INFO] [stdout] --> src/lib.rs:1737:34 [INFO] [stdout] | [INFO] [stdout] 1737 | ... backwardTrains: &TrainList) [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `backward_trains` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `classI` should have a snake case name [INFO] [stdout] --> src/lib.rs:1750:13 [INFO] [stdout] | [INFO] [stdout] 1750 | for classI in classlist.iter() { [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `class_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `classHeader` should have a snake case name [INFO] [stdout] --> src/lib.rs:1765:17 [INFO] [stdout] | [INFO] [stdout] 1765 | let classHeader = match self.GetPrintOption(temp.as_str()) { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `class_header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sectionTOP` should have a snake case name [INFO] [stdout] --> src/lib.rs:1773:17 [INFO] [stdout] | [INFO] [stdout] 1773 | let sectionTOP = match self.GetPrintOption(temp.as_str()) { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `section_top` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `MakeTimeTableGroupManually` should have a snake case name [INFO] [stdout] --> src/lib.rs:1790:8 [INFO] [stdout] | [INFO] [stdout] 1790 | fn MakeTimeTableGroupManually(&self,fp: &mut BufWriter, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `make_time_table_group_manually` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `maxTrains` should have a snake case name [INFO] [stdout] --> src/lib.rs:1791:35 [INFO] [stdout] | [INFO] [stdout] 1791 | ... maxTrains: usize,allTrains: &mut TrainList, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `max_trains` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `allTrains` should have a snake case name [INFO] [stdout] --> src/lib.rs:1791:52 [INFO] [stdout] | [INFO] [stdout] 1791 | ... maxTrains: usize,allTrains: &mut TrainList, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `all_trains` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `forwardTrains` should have a snake case name [INFO] [stdout] --> src/lib.rs:1792:35 [INFO] [stdout] | [INFO] [stdout] 1792 | ... forwardTrains: &mut TrainList, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `forward_trains` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `backwardTrains` should have a snake case name [INFO] [stdout] --> src/lib.rs:1793:35 [INFO] [stdout] | [INFO] [stdout] 1793 | ... backwardTrains: &mut TrainList) [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `backward_trains` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `classHeader` should have a snake case name [INFO] [stdout] --> src/lib.rs:1801:17 [INFO] [stdout] | [INFO] [stdout] 1801 | let classHeader = match self.GetPrintOption(temp.as_str()) { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `class_header` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sectionTOP` should have a snake case name [INFO] [stdout] --> src/lib.rs:1809:17 [INFO] [stdout] | [INFO] [stdout] 1809 | let sectionTOP = match self.GetPrintOption(temp.as_str()) { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `section_top` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `listOfTrains` should have a snake case name [INFO] [stdout] --> src/lib.rs:1819:17 [INFO] [stdout] | [INFO] [stdout] 1819 | let listOfTrains = match StringListFromString(trainlist.to_string()) { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `list_of_trains` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `fclI` should have a snake case name [INFO] [stdout] --> src/lib.rs:1832:21 [INFO] [stdout] | [INFO] [stdout] 1832 | let mut fclI: Vec = Vec::new(); [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `fcl_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `bclI` should have a snake case name [INFO] [stdout] --> src/lib.rs:1833:21 [INFO] [stdout] | [INFO] [stdout] 1833 | let mut bclI: Vec = Vec::new(); [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `bcl_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `aclI` should have a snake case name [INFO] [stdout] --> src/lib.rs:1834:21 [INFO] [stdout] | [INFO] [stdout] 1834 | let mut aclI: Vec = Vec::new(); [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `acl_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `I` should have a snake case name [INFO] [stdout] --> src/lib.rs:1835:21 [INFO] [stdout] | [INFO] [stdout] 1835 | let mut I: usize = 0; [INFO] [stdout] | ^ help: convert the identifier to snake case (notice the capitalization): `i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `MakeTimeTableOneTable` should have a snake case name [INFO] [stdout] --> src/lib.rs:1882:8 [INFO] [stdout] | [INFO] [stdout] 1882 | fn MakeTimeTableOneTable(&self,fp: &mut BufWriter, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `make_time_table_one_table` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `allTrains` should have a snake case name [INFO] [stdout] --> src/lib.rs:1883:30 [INFO] [stdout] | [INFO] [stdout] 1883 | ... allTrains: &TrainList,forwardTrains: &TrainList, [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `all_trains` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `forwardTrains` should have a snake case name [INFO] [stdout] --> src/lib.rs:1883:52 [INFO] [stdout] | [INFO] [stdout] 1883 | ... allTrains: &TrainList,forwardTrains: &TrainList, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `forward_trains` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `backwardTrains` should have a snake case name [INFO] [stdout] --> src/lib.rs:1884:30 [INFO] [stdout] | [INFO] [stdout] 1884 | ... backwardTrains: &TrainList,header: &str, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `backward_trains` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sectionTOP` should have a snake case name [INFO] [stdout] --> src/lib.rs:1885:30 [INFO] [stdout] | [INFO] [stdout] 1885 | ... sectionTOP: &str) -> Result<(),CreateLaTeXError> { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `section_top` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `MakeTimeTableOneTableStationsLeft` should have a snake case name [INFO] [stdout] --> src/lib.rs:1896:8 [INFO] [stdout] | [INFO] [stdout] 1896 | fn MakeTimeTableOneTableStationsLeft(&self,fp: &mut BufWriter, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `make_time_table_one_table_stations_left` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sectionTOP` should have a snake case name [INFO] [stdout] --> src/lib.rs:1898:54 [INFO] [stdout] | [INFO] [stdout] 1898 | ... header: &str,sectionTOP: &str) [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `section_top` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `timesAtStations` should have a snake case name [INFO] [stdout] --> src/lib.rs:1900:17 [INFO] [stdout] | [INFO] [stdout] 1900 | let mut timesAtStations: TrainTimesAtStation = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `times_at_stations` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `origStop` should have a snake case name [INFO] [stdout] --> src/lib.rs:1986:25 [INFO] [stdout] | [INFO] [stdout] 1986 | let origStop = tr.StopI(0).unwrap(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `orig_stop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `destStop` should have a snake case name [INFO] [stdout] --> src/lib.rs:2038:25 [INFO] [stdout] | [INFO] [stdout] 2038 | let destStop = tr.StopI(tr.NumberOfStops()-1).unwrap(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `dest_stop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `MakeTimeTableOneTableStationsCenter` should have a snake case name [INFO] [stdout] --> src/lib.rs:2059:8 [INFO] [stdout] | [INFO] [stdout] 2059 | fn MakeTimeTableOneTableStationsCenter(&self,fp: &mut BufWriter, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `make_time_table_one_table_stations_center` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `forwardTrains` should have a snake case name [INFO] [stdout] --> src/lib.rs:2060:44 [INFO] [stdout] | [INFO] [stdout] 2060 | ... forwardTrains: &TrainList, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `forward_trains` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `backwardsTrains` should have a snake case name [INFO] [stdout] --> src/lib.rs:2061:44 [INFO] [stdout] | [INFO] [stdout] 2061 | ... backwardsTrains: &TrainList, [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `backwards_trains` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `sectionTOP` should have a snake case name [INFO] [stdout] --> src/lib.rs:2062:57 [INFO] [stdout] | [INFO] [stdout] 2062 | ... header: &str,sectionTOP: &str) [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `section_top` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `timesAtStationsForward` should have a snake case name [INFO] [stdout] --> src/lib.rs:2074:17 [INFO] [stdout] | [INFO] [stdout] 2074 | let mut timesAtStationsForward: TrainTimesAtStation = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `times_at_stations_forward` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `timesAtStationsBackward` should have a snake case name [INFO] [stdout] --> src/lib.rs:2075:17 [INFO] [stdout] | [INFO] [stdout] 2075 | let mut timesAtStationsBackward: TrainTimesAtStation = HashMap::new(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `times_at_stations_backward` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `nFtrains` should have a snake case name [INFO] [stdout] --> src/lib.rs:2079:13 [INFO] [stdout] | [INFO] [stdout] 2079 | let nFtrains = forwardTrains.len(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `n_ftrains` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `nBtrains` should have a snake case name [INFO] [stdout] --> src/lib.rs:2080:13 [INFO] [stdout] | [INFO] [stdout] 2080 | let nBtrains = backwardsTrains.len(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `n_btrains` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tasF` should have a snake case name [INFO] [stdout] --> src/lib.rs:2165:17 [INFO] [stdout] | [INFO] [stdout] 2165 | let tasF = timesAtStationsForward.get(&istation); [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `tas_f` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `tasB` should have a snake case name [INFO] [stdout] --> src/lib.rs:2166:17 [INFO] [stdout] | [INFO] [stdout] 2166 | let tasB = timesAtStationsBackward.get(&istation); [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `tas_b` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `origStop` should have a snake case name [INFO] [stdout] --> src/lib.rs:2177:33 [INFO] [stdout] | [INFO] [stdout] 2177 | ... let origStop = train.StopI(0).unwrap(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `orig_stop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `destStop` should have a snake case name [INFO] [stdout] --> src/lib.rs:2199:33 [INFO] [stdout] | [INFO] [stdout] 2199 | ... let destStop = train.StopI(train.NumberOfStops()-1).unwrap(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `dest_stop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `destStop` should have a snake case name [INFO] [stdout] --> src/lib.rs:2280:33 [INFO] [stdout] | [INFO] [stdout] 2280 | ... let destStop = train.StopI(train.NumberOfStops()-1).unwrap(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `dest_stop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `origStop` should have a snake case name [INFO] [stdout] --> src/lib.rs:2298:33 [INFO] [stdout] | [INFO] [stdout] 2298 | ... let origStop = train.StopI(0).unwrap(); [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `orig_stop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ComputeTimes` should have a snake case name [INFO] [stdout] --> src/lib.rs:2322:8 [INFO] [stdout] | [INFO] [stdout] 2322 | fn ComputeTimes(&self,trains: &TrainList, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `compute_times` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `timesAtStations` should have a snake case name [INFO] [stdout] --> src/lib.rs:2323:21 [INFO] [stdout] | [INFO] [stdout] 2323 | timesAtStations: &mut TrainTimesAtStation) { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `times_at_stations` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `oldDepart` should have a snake case name [INFO] [stdout] --> src/lib.rs:2328:21 [INFO] [stdout] | [INFO] [stdout] 2328 | let mut oldDepart: f64 = -1.0; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `old_depart` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `oldSmile` should have a snake case name [INFO] [stdout] --> src/lib.rs:2329:21 [INFO] [stdout] | [INFO] [stdout] 2329 | let mut oldSmile: f64 = -1.0; [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `old_smile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `stationTimes` should have a snake case name [INFO] [stdout] --> src/lib.rs:2349:21 [INFO] [stdout] | [INFO] [stdout] 2349 | let stationTimes = timesAtStations.entry(istop) [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `station_times` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ReadNote` should have a snake case name [INFO] [stdout] --> src/lib.rs:2370:8 [INFO] [stdout] | [INFO] [stdout] 2370 | fn ReadNote(inp: &mut BufReader) -> std::io::Result> { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `read_note` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `EOF` should have a snake case name [INFO] [stdout] --> src/lib.rs:2378:17 [INFO] [stdout] | [INFO] [stdout] 2378 | let mut EOF: bool = false; [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `eof` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `WriteNote` should have a snake case name [INFO] [stdout] --> src/lib.rs:2402:8 [INFO] [stdout] | [INFO] [stdout] 2402 | fn WriteNote(f: &mut BufWriter, string: &String) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `write_note` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `TrainNum` should have a snake case name [INFO] [stdout] --> src/station.rs:143:12 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn TrainNum(&self) -> String {self.trainnum.clone()} [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `train_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `TrainNum2` should have a snake case name [INFO] [stdout] --> src/station.rs:145:12 [INFO] [stdout] | [INFO] [stdout] 145 | pub fn TrainNum2(&self) -> String {self.trainnum2.clone()} [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `train_num2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `From` should have a snake case name [INFO] [stdout] --> src/station.rs:147:12 [INFO] [stdout] | [INFO] [stdout] 147 | pub fn From(&self) -> f64 {self.from} [INFO] [stdout] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Until` should have a snake case name [INFO] [stdout] --> src/station.rs:149:12 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn Until(&self) -> f64 {self.until} [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `until` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ParseOccupied` should have a snake case name [INFO] [stdout] --> src/station.rs:150:12 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn ParseOccupied(string: &str) -> Result<(Self, usize), OccupiedParseError> { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `parse_occupied` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Write` should have a snake case name [INFO] [stdout] --> src/station.rs:194:12 [INFO] [stdout] | [INFO] [stdout] 194 | pub fn Write(&self,f: &mut BufWriter) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Read` should have a snake case name [INFO] [stdout] --> src/station.rs:198:12 [INFO] [stdout] | [INFO] [stdout] 198 | pub fn Read(inp: &mut BufReader) -> std::io::Result> { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `From` should have a snake case name [INFO] [stdout] --> src/station.rs:346:12 [INFO] [stdout] | [INFO] [stdout] 346 | pub fn From (&self) -> f64 {self.from} [INFO] [stdout] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `To` should have a snake case name [INFO] [stdout] --> src/station.rs:348:12 [INFO] [stdout] | [INFO] [stdout] 348 | pub fn To (&self) -> f64 {self.to} [INFO] [stdout] | ^^ help: convert the identifier to snake case: `to` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ContainsTime` should have a snake case name [INFO] [stdout] --> src/station.rs:352:12 [INFO] [stdout] | [INFO] [stdout] 352 | pub fn ContainsTime(&self, time: f64 ) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `contains_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ParseTimeRange` should have a snake case name [INFO] [stdout] --> src/station.rs:355:12 [INFO] [stdout] | [INFO] [stdout] 355 | pub fn ParseTimeRange(string: &str) -> Result<(Self, usize), TimeRangeParseError> { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `parse_time_range` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Write` should have a snake case name [INFO] [stdout] --> src/station.rs:391:12 [INFO] [stdout] | [INFO] [stdout] 391 | pub fn Write(&self,f: &mut BufWriter) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Name` should have a snake case name [INFO] [stdout] --> src/station.rs:481:12 [INFO] [stdout] | [INFO] [stdout] 481 | pub fn Name(&self) -> String {self.name.clone()} [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `SetName` should have a snake case name [INFO] [stdout] --> src/station.rs:486:12 [INFO] [stdout] | [INFO] [stdout] 486 | pub fn SetName(&mut self, name_: String) { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `set_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `IncludesTime` should have a snake case name [INFO] [stdout] --> src/station.rs:493:12 [INFO] [stdout] | [INFO] [stdout] 493 | pub fn IncludesTime(&self, time: f64) -> Option<&Occupied> { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `includes_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `StoreTrain` should have a snake case name [INFO] [stdout] --> src/station.rs:508:12 [INFO] [stdout] | [INFO] [stdout] 508 | pub fn StoreTrain (&mut self, train: String, from: f64, to: f64, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `store_train` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newOccupied` should have a snake case name [INFO] [stdout] --> src/station.rs:511:13 [INFO] [stdout] | [INFO] [stdout] 511 | let newOccupied = Occupied::new(train,from,to,train2); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `new_occupied` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `RemovedStoredTrain` should have a snake case name [INFO] [stdout] --> src/station.rs:520:12 [INFO] [stdout] | [INFO] [stdout] 520 | pub fn RemovedStoredTrain (&mut self, from: f64, to: f64) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `removed_stored_train` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `UsedTimeRange` should have a snake case name [INFO] [stdout] --> src/station.rs:534:12 [INFO] [stdout] | [INFO] [stdout] 534 | pub fn UsedTimeRange(&self, from: f64, to: f64) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `used_time_range` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `FindOccupied` should have a snake case name [INFO] [stdout] --> src/station.rs:550:12 [INFO] [stdout] | [INFO] [stdout] 550 | pub fn FindOccupied(&self, from: f64, to: f64) -> Option<&Occupied> { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `find_occupied` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `UpdateStoredTrain` should have a snake case name [INFO] [stdout] --> src/station.rs:559:12 [INFO] [stdout] | [INFO] [stdout] 559 | pub fn UpdateStoredTrain(&mut self, from: f64, to: f64, train: String) -> Option<&Occupied> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `update_stored_train` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newOccupied` should have a snake case name [INFO] [stdout] --> src/station.rs:564:21 [INFO] [stdout] | [INFO] [stdout] 564 | let newOccupied = Occupied::new(train,from,to,occ.TrainNum2()); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `new_occupied` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `UpdateStoredTrain2` should have a snake case name [INFO] [stdout] --> src/station.rs:576:12 [INFO] [stdout] | [INFO] [stdout] 576 | pub fn UpdateStoredTrain2(&mut self, from: f64, to: f64, train: String) -> Option<&Occupied> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `update_stored_train2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newOccupied` should have a snake case name [INFO] [stdout] --> src/station.rs:581:21 [INFO] [stdout] | [INFO] [stdout] 581 | let newOccupied = Occupied::new(occ.TrainNum(),from,to,train); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `new_occupied` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `UpdateStoredTrainArrival` should have a snake case name [INFO] [stdout] --> src/station.rs:593:12 [INFO] [stdout] | [INFO] [stdout] 593 | pub fn UpdateStoredTrainArrival(&mut self, from: f64, to: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `update_stored_train_arrival` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newArrival` should have a snake case name [INFO] [stdout] --> src/station.rs:594:37 [INFO] [stdout] | [INFO] [stdout] 594 | ... newArrival: f64) -> Option<&Occupied> { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `new_arrival` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newOccupied` should have a snake case name [INFO] [stdout] --> src/station.rs:599:21 [INFO] [stdout] | [INFO] [stdout] 599 | let newOccupied = Occupied::new(occ.TrainNum(),newArrival,range.To(),occ.TrainNum2()); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `new_occupied` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `UpdateStoredTrainDeparture` should have a snake case name [INFO] [stdout] --> src/station.rs:613:12 [INFO] [stdout] | [INFO] [stdout] 613 | pub fn UpdateStoredTrainDeparture(&mut self, from: f64, to: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `update_stored_train_departure` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newDeparture` should have a snake case name [INFO] [stdout] --> src/station.rs:614:39 [INFO] [stdout] | [INFO] [stdout] 614 | ... newDeparture: f64) -> Option<&Occupied> { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `new_departure` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `newOccupied` should have a snake case name [INFO] [stdout] --> src/station.rs:619:21 [INFO] [stdout] | [INFO] [stdout] 619 | let newOccupied = Occupied::new(occ.TrainNum(),range.From(),newDeparture,occ.TrainNum2()); [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `new_occupied` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ParseStorageTrack` should have a snake case name [INFO] [stdout] --> src/station.rs:627:12 [INFO] [stdout] | [INFO] [stdout] 627 | pub fn ParseStorageTrack(string: &str) -> Result<(Self, usize), StorageTrackParseError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `parse_storage_track` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Write` should have a snake case name [INFO] [stdout] --> src/station.rs:708:12 [INFO] [stdout] | [INFO] [stdout] 708 | pub fn Write(&self,f: &mut BufWriter) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Read` should have a snake case name [INFO] [stdout] --> src/station.rs:717:12 [INFO] [stdout] | [INFO] [stdout] 717 | pub fn Read(inp: &mut BufReader) -> std::io::Result> { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `storageTracks` should have a snake case name [INFO] [stdout] --> src/station.rs:783:5 [INFO] [stdout] | [INFO] [stdout] 783 | storageTracks: StorageTrackMap, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `storage_tracks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `duplicateStationIndex` should have a snake case name [INFO] [stdout] --> src/station.rs:785:5 [INFO] [stdout] | [INFO] [stdout] 785 | duplicateStationIndex: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `duplicate_station_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Name` should have a snake case name [INFO] [stdout] --> src/station.rs:872:12 [INFO] [stdout] | [INFO] [stdout] 872 | pub fn Name(&self) -> String {self.name.clone()} [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `SMile` should have a snake case name [INFO] [stdout] --> src/station.rs:875:12 [INFO] [stdout] | [INFO] [stdout] 875 | pub fn SMile(&self) -> f64 {self.smile} [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `smile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `DuplicateStationIndex` should have a snake case name [INFO] [stdout] --> src/station.rs:882:12 [INFO] [stdout] | [INFO] [stdout] 882 | pub fn DuplicateStationIndex(&self) -> Option {self.duplicateStationIndex} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `duplicate_station_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `SetDuplicateStationIndex` should have a snake case name [INFO] [stdout] --> src/station.rs:887:12 [INFO] [stdout] | [INFO] [stdout] 887 | pub fn SetDuplicateStationIndex(&mut self, index: Option) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `set_duplicate_station_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `AddStorageTrack` should have a snake case name [INFO] [stdout] --> src/station.rs:894:12 [INFO] [stdout] | [INFO] [stdout] 894 | pub fn AddStorageTrack(&mut self, name_: &String) -> Option<&mut StorageTrack> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `add_storage_track` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `FindStorageTrack` should have a snake case name [INFO] [stdout] --> src/station.rs:904:12 [INFO] [stdout] | [INFO] [stdout] 904 | pub fn FindStorageTrack(&self,name: &String) -> Option<&StorageTrack> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `find_storage_track` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `FindStorageTrack_mut` should have a snake case name [INFO] [stdout] --> src/station.rs:911:12 [INFO] [stdout] | [INFO] [stdout] 911 | pub fn FindStorageTrack_mut(&mut self,name: &String) -> Option<&mut StorageTrack> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `find_storage_track_mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `FindTrackTrainIsStoredOn` should have a snake case name [INFO] [stdout] --> src/station.rs:920:12 [INFO] [stdout] | [INFO] [stdout] 920 | pub fn FindTrackTrainIsStoredOn(&self,trainNumber: String, fromtime: f64, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `find_track_train_is_stored_on` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `trainNumber` should have a snake case name [INFO] [stdout] --> src/station.rs:920:43 [INFO] [stdout] | [INFO] [stdout] 920 | pub fn FindTrackTrainIsStoredOn(&self,trainNumber: String, fromtime: f64, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `train_number` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ST` should have a snake case name [INFO] [stdout] --> src/station.rs:922:20 [INFO] [stdout] | [INFO] [stdout] 922 | for (name, ST) in self.storageTracks.iter() { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `st` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `FindTrackTrainIsStoredOn_mut` should have a snake case name [INFO] [stdout] --> src/station.rs:942:12 [INFO] [stdout] | [INFO] [stdout] 942 | pub fn FindTrackTrainIsStoredOn_mut(&mut self,trainNumber: String, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `find_track_train_is_stored_on_mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `trainNumber` should have a snake case name [INFO] [stdout] --> src/station.rs:942:51 [INFO] [stdout] | [INFO] [stdout] 942 | pub fn FindTrackTrainIsStoredOn_mut(&mut self,trainNumber: String, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `train_number` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `ST` should have a snake case name [INFO] [stdout] --> src/station.rs:944:20 [INFO] [stdout] | [INFO] [stdout] 944 | for (name, ST) in self.storageTracks.iter_mut() { [INFO] [stdout] | ^^ help: convert the identifier to snake case: `st` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `NumberOfStorageTracks` should have a snake case name [INFO] [stdout] --> src/station.rs:959:12 [INFO] [stdout] | [INFO] [stdout] 959 | pub fn NumberOfStorageTracks(&self) -> usize {self.storageTracks.len()} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `number_of_storage_tracks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ParseStation` should have a snake case name [INFO] [stdout] --> src/station.rs:977:12 [INFO] [stdout] | [INFO] [stdout] 977 | pub fn ParseStation(string: &str) -> Result<(Self, usize), StationParseError> { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `parse_station` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Write` should have a snake case name [INFO] [stdout] --> src/station.rs:1078:12 [INFO] [stdout] | [INFO] [stdout] 1078 | pub fn Write(&self,f: &mut BufWriter) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Read` should have a snake case name [INFO] [stdout] --> src/station.rs:1090:12 [INFO] [stdout] | [INFO] [stdout] 1090 | pub fn Read(inp: &mut BufReader) -> std::io::Result> { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Occupied_from_str` should have a snake case name [INFO] [stdout] --> src/station.rs:1161:8 [INFO] [stdout] | [INFO] [stdout] 1161 | fn Occupied_from_str () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `occupied_from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Occupied_Display` should have a snake case name [INFO] [stdout] --> src/station.rs:1167:8 [INFO] [stdout] | [INFO] [stdout] 1167 | fn Occupied_Display() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `occupied_display` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Occupied_TrainNum2` should have a snake case name [INFO] [stdout] --> src/station.rs:1173:8 [INFO] [stdout] | [INFO] [stdout] 1173 | fn Occupied_TrainNum2 () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `occupied_train_num2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Occupied_Until` should have a snake case name [INFO] [stdout] --> src/station.rs:1178:8 [INFO] [stdout] | [INFO] [stdout] 1178 | fn Occupied_Until () { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `occupied_until` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Occupied_From` should have a snake case name [INFO] [stdout] --> src/station.rs:1183:8 [INFO] [stdout] | [INFO] [stdout] 1183 | fn Occupied_From () { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `occupied_from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Occupied_TrainNum` should have a snake case name [INFO] [stdout] --> src/station.rs:1188:8 [INFO] [stdout] | [INFO] [stdout] 1188 | fn Occupied_TrainNum() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `occupied_train_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Occupied_new` should have a snake case name [INFO] [stdout] --> src/station.rs:1193:8 [INFO] [stdout] | [INFO] [stdout] 1193 | fn Occupied_new() { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `occupied_new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `TimeRange_new` should have a snake case name [INFO] [stdout] --> src/station.rs:1203:8 [INFO] [stdout] | [INFO] [stdout] 1203 | fn TimeRange_new () { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `time_range_new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `TimeRange_To` should have a snake case name [INFO] [stdout] --> src/station.rs:1209:8 [INFO] [stdout] | [INFO] [stdout] 1209 | fn TimeRange_To () { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `time_range_to` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `TimeRange_From` should have a snake case name [INFO] [stdout] --> src/station.rs:1214:8 [INFO] [stdout] | [INFO] [stdout] 1214 | fn TimeRange_From () { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `time_range_from` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `TimeRange_ContainsTimeIn` should have a snake case name [INFO] [stdout] --> src/station.rs:1219:8 [INFO] [stdout] | [INFO] [stdout] 1219 | fn TimeRange_ContainsTimeIn() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `time_range_contains_time_in` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `TimeRange_ContainsTimeOut` should have a snake case name [INFO] [stdout] --> src/station.rs:1224:8 [INFO] [stdout] | [INFO] [stdout] 1224 | fn TimeRange_ContainsTimeOut() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `time_range_contains_time_out` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `TimeRange_Eq_ab` should have a snake case name [INFO] [stdout] --> src/station.rs:1229:8 [INFO] [stdout] | [INFO] [stdout] 1229 | fn TimeRange_Eq_ab() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `time_range_eq_ab` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `TimeRange_Eq_ba` should have a snake case name [INFO] [stdout] --> src/station.rs:1235:8 [INFO] [stdout] | [INFO] [stdout] 1235 | fn TimeRange_Eq_ba() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `time_range_eq_ba` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `TimeRange_Ne_ab` should have a snake case name [INFO] [stdout] --> src/station.rs:1241:8 [INFO] [stdout] | [INFO] [stdout] 1241 | fn TimeRange_Ne_ab() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `time_range_ne_ab` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `TimeRange_Ne_ba` should have a snake case name [INFO] [stdout] --> src/station.rs:1247:8 [INFO] [stdout] | [INFO] [stdout] 1247 | fn TimeRange_Ne_ba() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `time_range_ne_ba` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `TimeRange_Lt_ab` should have a snake case name [INFO] [stdout] --> src/station.rs:1253:8 [INFO] [stdout] | [INFO] [stdout] 1253 | fn TimeRange_Lt_ab() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `time_range_lt_ab` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `TimeRange_Gt_ba` should have a snake case name [INFO] [stdout] --> src/station.rs:1259:8 [INFO] [stdout] | [INFO] [stdout] 1259 | fn TimeRange_Gt_ba() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `time_range_gt_ba` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `TimeRange_NotLt_ba` should have a snake case name [INFO] [stdout] --> src/station.rs:1265:8 [INFO] [stdout] | [INFO] [stdout] 1265 | fn TimeRange_NotLt_ba() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `time_range_not_lt_ba` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `TimeRange_NotGt_ab` should have a snake case name [INFO] [stdout] --> src/station.rs:1271:8 [INFO] [stdout] | [INFO] [stdout] 1271 | fn TimeRange_NotGt_ab() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `time_range_not_gt_ab` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `TimeRange_Display` should have a snake case name [INFO] [stdout] --> src/station.rs:1277:8 [INFO] [stdout] | [INFO] [stdout] 1277 | fn TimeRange_Display() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `time_range_display` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `TimeRange_from_str` should have a snake case name [INFO] [stdout] --> src/station.rs:1283:8 [INFO] [stdout] | [INFO] [stdout] 1283 | fn TimeRange_from_str () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `time_range_from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `StorageTrack_new` should have a snake case name [INFO] [stdout] --> src/station.rs:1290:8 [INFO] [stdout] | [INFO] [stdout] 1290 | fn StorageTrack_new () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `storage_track_new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `StorageTrack_Name` should have a snake case name [INFO] [stdout] --> src/station.rs:1296:8 [INFO] [stdout] | [INFO] [stdout] 1296 | fn StorageTrack_Name () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `storage_track_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `StorageTrack_SetName` should have a snake case name [INFO] [stdout] --> src/station.rs:1301:8 [INFO] [stdout] | [INFO] [stdout] 1301 | fn StorageTrack_SetName () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `storage_track_set_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `StorageTrack_StoreTrain` should have a snake case name [INFO] [stdout] --> src/station.rs:1307:8 [INFO] [stdout] | [INFO] [stdout] 1307 | fn StorageTrack_StoreTrain () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `storage_track_store_train` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `StorageTrack_IncludesTime` should have a snake case name [INFO] [stdout] --> src/station.rs:1313:8 [INFO] [stdout] | [INFO] [stdout] 1313 | fn StorageTrack_IncludesTime() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `storage_track_includes_time` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `StorageTrack_RemovedStoredTrain_true` should have a snake case name [INFO] [stdout] --> src/station.rs:1320:8 [INFO] [stdout] | [INFO] [stdout] 1320 | fn StorageTrack_RemovedStoredTrain_true() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `storage_track_removed_stored_train_true` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `StorageTrack_RemovedStoredTrain_false` should have a snake case name [INFO] [stdout] --> src/station.rs:1326:8 [INFO] [stdout] | [INFO] [stdout] 1326 | fn StorageTrack_RemovedStoredTrain_false() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `storage_track_removed_stored_train_false` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `StorageTrack_UsedTimeRange_true` should have a snake case name [INFO] [stdout] --> src/station.rs:1332:8 [INFO] [stdout] | [INFO] [stdout] 1332 | fn StorageTrack_UsedTimeRange_true() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `storage_track_used_time_range_true` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `StorageTrack_UsedTimeRange_false` should have a snake case name [INFO] [stdout] --> src/station.rs:1338:8 [INFO] [stdout] | [INFO] [stdout] 1338 | fn StorageTrack_UsedTimeRange_false() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `storage_track_used_time_range_false` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `StorageTrack_FindOccupied` should have a snake case name [INFO] [stdout] --> src/station.rs:1344:8 [INFO] [stdout] | [INFO] [stdout] 1344 | fn StorageTrack_FindOccupied() { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `storage_track_find_occupied` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `StorageTrack_UpdateStoredTrain` should have a snake case name [INFO] [stdout] --> src/station.rs:1350:8 [INFO] [stdout] | [INFO] [stdout] 1350 | fn StorageTrack_UpdateStoredTrain () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `storage_track_update_stored_train` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `StorageTrack_UpdateStoredTrain2` should have a snake case name [INFO] [stdout] --> src/station.rs:1357:8 [INFO] [stdout] | [INFO] [stdout] 1357 | fn StorageTrack_UpdateStoredTrain2 () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `storage_track_update_stored_train2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `StorageTrack_UpdateStoredTrainArrival` should have a snake case name [INFO] [stdout] --> src/station.rs:1364:8 [INFO] [stdout] | [INFO] [stdout] 1364 | fn StorageTrack_UpdateStoredTrainArrival () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `storage_track_update_stored_train_arrival` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `StorageTrack_UpdateStoredTrainDeparture` should have a snake case name [INFO] [stdout] --> src/station.rs:1371:8 [INFO] [stdout] | [INFO] [stdout] 1371 | fn StorageTrack_UpdateStoredTrainDeparture () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `storage_track_update_stored_train_departure` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `StorageTrack_Display` should have a snake case name [INFO] [stdout] --> src/station.rs:1378:8 [INFO] [stdout] | [INFO] [stdout] 1378 | fn StorageTrack_Display () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `storage_track_display` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `StorageTrack_from_str` should have a snake case name [INFO] [stdout] --> src/station.rs:1386:8 [INFO] [stdout] | [INFO] [stdout] 1386 | fn StorageTrack_from_str () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `storage_track_from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Station_new` should have a snake case name [INFO] [stdout] --> src/station.rs:1398:8 [INFO] [stdout] | [INFO] [stdout] 1398 | fn Station_new () { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `station_new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Station_Name` should have a snake case name [INFO] [stdout] --> src/station.rs:1406:8 [INFO] [stdout] | [INFO] [stdout] 1406 | fn Station_Name () { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `station_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Station_SMile` should have a snake case name [INFO] [stdout] --> src/station.rs:1411:8 [INFO] [stdout] | [INFO] [stdout] 1411 | fn Station_SMile () { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `station_smile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Station_DuplicateStationIndex` should have a snake case name [INFO] [stdout] --> src/station.rs:1416:8 [INFO] [stdout] | [INFO] [stdout] 1416 | fn Station_DuplicateStationIndex () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `station_duplicate_station_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Station_SetDuplicateStationIndex` should have a snake case name [INFO] [stdout] --> src/station.rs:1421:8 [INFO] [stdout] | [INFO] [stdout] 1421 | fn Station_SetDuplicateStationIndex () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `station_set_duplicate_station_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Station_AddStorageTrack` should have a snake case name [INFO] [stdout] --> src/station.rs:1427:8 [INFO] [stdout] | [INFO] [stdout] 1427 | fn Station_AddStorageTrack () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `station_add_storage_track` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Station_FindStorageTrack` should have a snake case name [INFO] [stdout] --> src/station.rs:1433:8 [INFO] [stdout] | [INFO] [stdout] 1433 | fn Station_FindStorageTrack () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `station_find_storage_track` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Station_FindStorageTrack_mut` should have a snake case name [INFO] [stdout] --> src/station.rs:1440:8 [INFO] [stdout] | [INFO] [stdout] 1440 | fn Station_FindStorageTrack_mut () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `station_find_storage_track_mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Station_FindTrackTrainIsStoredOn` should have a snake case name [INFO] [stdout] --> src/station.rs:1447:8 [INFO] [stdout] | [INFO] [stdout] 1447 | fn Station_FindTrackTrainIsStoredOn () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `station_find_track_train_is_stored_on` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Station_FindTrackTrainIsStoredOn_mut` should have a snake case name [INFO] [stdout] --> src/station.rs:1457:8 [INFO] [stdout] | [INFO] [stdout] 1457 | fn Station_FindTrackTrainIsStoredOn_mut () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `station_find_track_train_is_stored_on_mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Station_NumberOfStorageTracks` should have a snake case name [INFO] [stdout] --> src/station.rs:1467:8 [INFO] [stdout] | [INFO] [stdout] 1467 | fn Station_NumberOfStorageTracks () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `station_number_of_storage_tracks` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Station_Display` should have a snake case name [INFO] [stdout] --> src/station.rs:1473:8 [INFO] [stdout] | [INFO] [stdout] 1473 | fn Station_Display () { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `station_display` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Station_from_str` should have a snake case name [INFO] [stdout] --> src/station.rs:1481:8 [INFO] [stdout] | [INFO] [stdout] 1481 | fn Station_from_str () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `station_from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Name` should have a snake case name [INFO] [stdout] --> src/cab.rs:122:12 [INFO] [stdout] | [INFO] [stdout] 122 | pub fn Name(&self) -> String {self.name.clone()} [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Color` should have a snake case name [INFO] [stdout] --> src/cab.rs:125:12 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn Color(&self) -> String {self.color.clone()} [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ParseCab` should have a snake case name [INFO] [stdout] --> src/cab.rs:126:12 [INFO] [stdout] | [INFO] [stdout] 126 | pub fn ParseCab(string: &str) -> Result<(Self, usize), CabParseError> { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `parse_cab` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Write` should have a snake case name [INFO] [stdout] --> src/cab.rs:158:12 [INFO] [stdout] | [INFO] [stdout] 158 | pub fn Write(&self,f: &mut BufWriter) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Read` should have a snake case name [INFO] [stdout] --> src/cab.rs:161:12 [INFO] [stdout] | [INFO] [stdout] 161 | pub fn Read(inp: &mut BufReader) -> std::io::Result> { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Cab_new` should have a snake case name [INFO] [stdout] --> src/cab.rs:209:8 [INFO] [stdout] | [INFO] [stdout] 209 | fn Cab_new () { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `cab_new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Cab_Name` should have a snake case name [INFO] [stdout] --> src/cab.rs:214:8 [INFO] [stdout] | [INFO] [stdout] 214 | fn Cab_Name () { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `cab_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Cab_Color` should have a snake case name [INFO] [stdout] --> src/cab.rs:219:8 [INFO] [stdout] | [INFO] [stdout] 219 | fn Cab_Color () { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `cab_color` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Cab_Display` should have a snake case name [INFO] [stdout] --> src/cab.rs:224:8 [INFO] [stdout] | [INFO] [stdout] 224 | fn Cab_Display () { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `cab_display` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Cab_from_str` should have a snake case name [INFO] [stdout] --> src/cab.rs:230:8 [INFO] [stdout] | [INFO] [stdout] 230 | fn Cab_from_str () { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `cab_from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `IsAlpha` should have a snake case name [INFO] [stdout] --> src/train.rs:66:4 [INFO] [stdout] | [INFO] [stdout] 66 | fn IsAlpha(ch: char) -> bool { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `is_alpha` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Read` should have a snake case name [INFO] [stdout] --> src/train.rs:75:12 [INFO] [stdout] | [INFO] [stdout] 75 | pub fn Read(inp: &mut BufReader) -> std::io::Result> { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Layover` should have a snake case name [INFO] [stdout] --> src/train.rs:213:12 [INFO] [stdout] | [INFO] [stdout] 213 | pub fn Layover(&self) -> f64 {self.layover} [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `layover` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `SetLayover` should have a snake case name [INFO] [stdout] --> src/train.rs:218:12 [INFO] [stdout] | [INFO] [stdout] 218 | pub fn SetLayover(&mut self,period: f64) {self.layover = period;} [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `set_layover` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Departure` should have a snake case name [INFO] [stdout] --> src/train.rs:226:12 [INFO] [stdout] | [INFO] [stdout] 226 | pub fn Departure(&self, arrival: f64) -> f64 {arrival+self.layover} [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `departure` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `StationIndex` should have a snake case name [INFO] [stdout] --> src/train.rs:229:12 [INFO] [stdout] | [INFO] [stdout] 229 | pub fn StationIndex(&self) -> usize {self.stationindex} [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `station_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `TheCab` should have a snake case name [INFO] [stdout] --> src/train.rs:232:12 [INFO] [stdout] | [INFO] [stdout] 232 | pub fn TheCab(&self) -> Option {self.cab.clone()} [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `the_cab` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `SetCab` should have a snake case name [INFO] [stdout] --> src/train.rs:237:12 [INFO] [stdout] | [INFO] [stdout] 237 | pub fn SetCab(&mut self, newcab: Option<&Cab>) {self.cab = newcab.cloned();} [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `set_cab` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `NumberOfNotes` should have a snake case name [INFO] [stdout] --> src/train.rs:240:12 [INFO] [stdout] | [INFO] [stdout] 240 | pub fn NumberOfNotes(&self) -> usize {self.notes.len()} [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `number_of_notes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Note` should have a snake case name [INFO] [stdout] --> src/train.rs:245:12 [INFO] [stdout] | [INFO] [stdout] 245 | pub fn Note(&self,i: usize) -> Option<&usize> { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `note` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `NoteIter` should have a snake case name [INFO] [stdout] --> src/train.rs:248:12 [INFO] [stdout] | [INFO] [stdout] 248 | pub fn NoteIter(&self) -> Iter<'_, usize> { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `note_iter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `NoteIter_mut` should have a snake case name [INFO] [stdout] --> src/train.rs:251:12 [INFO] [stdout] | [INFO] [stdout] 251 | pub fn NoteIter_mut(&mut self) -> IterMut<'_, usize> { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `note_iter_mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `AddNote` should have a snake case name [INFO] [stdout] --> src/train.rs:258:12 [INFO] [stdout] | [INFO] [stdout] 258 | pub fn AddNote(&mut self,note: usize) { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `add_note` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `RemoveNote` should have a snake case name [INFO] [stdout] --> src/train.rs:268:12 [INFO] [stdout] | [INFO] [stdout] 268 | pub fn RemoveNote(&mut self,note: usize) { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `remove_note` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Flag` should have a snake case name [INFO] [stdout] --> src/train.rs:278:12 [INFO] [stdout] | [INFO] [stdout] 278 | pub fn Flag(&self) -> StopFlagType {self.flag} [INFO] [stdout] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `flag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `StorageTrackName` should have a snake case name [INFO] [stdout] --> src/train.rs:281:12 [INFO] [stdout] | [INFO] [stdout] 281 | pub fn StorageTrackName(&self) -> String {self.storage_track_name.clone()} [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `storage_track_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `SetStorageTrackName` should have a snake case name [INFO] [stdout] --> src/train.rs:286:12 [INFO] [stdout] | [INFO] [stdout] 286 | pub fn SetStorageTrackName(&mut self,name: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `set_storage_track_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ParseStop` should have a snake case name [INFO] [stdout] --> src/train.rs:289:12 [INFO] [stdout] | [INFO] [stdout] 289 | pub fn ParseStop(string: &str) -> Result<(Self, usize), StopParseError> { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `parse_stop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Read` should have a snake case name [INFO] [stdout] --> src/train.rs:403:12 [INFO] [stdout] | [INFO] [stdout] 403 | pub fn Read(inp: &mut BufReader,cabs: &CabNameMap) -> std::io::Result> { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Write` should have a snake case name [INFO] [stdout] --> src/train.rs:467:12 [INFO] [stdout] | [INFO] [stdout] 467 | pub fn Write(&self,f: &mut BufWriter) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Name` should have a snake case name [INFO] [stdout] --> src/train.rs:629:12 [INFO] [stdout] | [INFO] [stdout] 629 | pub fn Name(&self) -> String {self.name.clone()} [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Number` should have a snake case name [INFO] [stdout] --> src/train.rs:632:12 [INFO] [stdout] | [INFO] [stdout] 632 | pub fn Number(&self) -> String {self.number.clone()} [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `number` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Departure` should have a snake case name [INFO] [stdout] --> src/train.rs:635:12 [INFO] [stdout] | [INFO] [stdout] 635 | pub fn Departure(&self) -> u32 {self.departure} [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `departure` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `SetDeparture` should have a snake case name [INFO] [stdout] --> src/train.rs:640:12 [INFO] [stdout] | [INFO] [stdout] 640 | pub fn SetDeparture(&mut self,depart: u32) {self.departure = depart;} [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `set_departure` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `DepartureCompare` should have a snake case name [INFO] [stdout] --> src/train.rs:641:12 [INFO] [stdout] | [INFO] [stdout] 641 | pub fn DepartureCompare(&self, other: &Self) -> Ordering { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `departure_compare` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Speed` should have a snake case name [INFO] [stdout] --> src/train.rs:646:12 [INFO] [stdout] | [INFO] [stdout] 646 | pub fn Speed(&self) -> u32 {self.speed} [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `speed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ClassNumber` should have a snake case name [INFO] [stdout] --> src/train.rs:649:12 [INFO] [stdout] | [INFO] [stdout] 649 | pub fn ClassNumber(&self) -> u32 {self.classnumber} [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `class_number` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `NumberOfNotes` should have a snake case name [INFO] [stdout] --> src/train.rs:652:12 [INFO] [stdout] | [INFO] [stdout] 652 | pub fn NumberOfNotes(&self) -> usize {self.notes.len()} [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `number_of_notes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Note` should have a snake case name [INFO] [stdout] --> src/train.rs:659:12 [INFO] [stdout] | [INFO] [stdout] 659 | pub fn Note(&self, i: usize) -> Option<&usize> { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `note` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `AddNoteToTrain` should have a snake case name [INFO] [stdout] --> src/train.rs:666:13 [INFO] [stdout] | [INFO] [stdout] 666 | pub fn AddNoteToTrain(&mut self,note: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `add_note_to_train` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `RemoveNoteFromTrain` should have a snake case name [INFO] [stdout] --> src/train.rs:676:12 [INFO] [stdout] | [INFO] [stdout] 676 | pub fn RemoveNoteFromTrain(&mut self,note: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `remove_note_from_train` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `NoteIter` should have a snake case name [INFO] [stdout] --> src/train.rs:684:12 [INFO] [stdout] | [INFO] [stdout] 684 | pub fn NoteIter(&self) -> Iter<'_, usize> { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `note_iter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `NoteIter_mut` should have a snake case name [INFO] [stdout] --> src/train.rs:687:12 [INFO] [stdout] | [INFO] [stdout] 687 | pub fn NoteIter_mut(&mut self) -> IterMut<'_, usize> { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `note_iter_mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `UpdateStopLayover` should have a snake case name [INFO] [stdout] --> src/train.rs:695:12 [INFO] [stdout] | [INFO] [stdout] 695 | pub fn UpdateStopLayover(&mut self,istop: usize,layover: f64) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `update_stop_layover` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `UpdateStopCab` should have a snake case name [INFO] [stdout] --> src/train.rs:706:12 [INFO] [stdout] | [INFO] [stdout] 706 | pub fn UpdateStopCab(&mut self,istop: usize,cab: Option<&Cab>) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `update_stop_cab` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `AddNoteToStop` should have a snake case name [INFO] [stdout] --> src/train.rs:717:12 [INFO] [stdout] | [INFO] [stdout] 717 | pub fn AddNoteToStop(&mut self,istop: usize,note: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `add_note_to_stop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `RemoveNoteFromStop` should have a snake case name [INFO] [stdout] --> src/train.rs:728:12 [INFO] [stdout] | [INFO] [stdout] 728 | pub fn RemoveNoteFromStop(&mut self,istop: usize,note: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `remove_note_from_stop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `SetOriginStorageTrack` should have a snake case name [INFO] [stdout] --> src/train.rs:738:12 [INFO] [stdout] | [INFO] [stdout] 738 | pub fn SetOriginStorageTrack(&mut self,trackname: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `set_origin_storage_track` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `SetDestinationStorageTrack` should have a snake case name [INFO] [stdout] --> src/train.rs:748:12 [INFO] [stdout] | [INFO] [stdout] 748 | pub fn SetDestinationStorageTrack(&mut self,trackname: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `set_destination_storage_track` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `SetTransitStorageTrack` should have a snake case name [INFO] [stdout] --> src/train.rs:760:12 [INFO] [stdout] | [INFO] [stdout] 760 | pub fn SetTransitStorageTrack(&mut self,istop: usize,trackname: String) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `set_transit_storage_track` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `NumberOfStops` should have a snake case name [INFO] [stdout] --> src/train.rs:768:12 [INFO] [stdout] | [INFO] [stdout] 768 | pub fn NumberOfStops(&self) -> usize {self.stops.len()} [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `number_of_stops` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `StopI` should have a snake case name [INFO] [stdout] --> src/train.rs:774:12 [INFO] [stdout] | [INFO] [stdout] 774 | pub fn StopI(&self,i: usize) -> Option<&Stop> { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `stop_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `StopIter` should have a snake case name [INFO] [stdout] --> src/train.rs:777:12 [INFO] [stdout] | [INFO] [stdout] 777 | pub fn StopIter(&self) -> Iter<'_, Stop> { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case: `stop_iter` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `StopIter_mut` should have a snake case name [INFO] [stdout] --> src/train.rs:780:12 [INFO] [stdout] | [INFO] [stdout] 780 | pub fn StopIter_mut(&mut self) -> IterMut<'_, Stop> { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `stop_iter_mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `StartSMile` should have a snake case name [INFO] [stdout] --> src/train.rs:785:12 [INFO] [stdout] | [INFO] [stdout] 785 | pub fn StartSMile(&self) -> f64 {self.startsmile} [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `start_smile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ParseTrain` should have a snake case name [INFO] [stdout] --> src/train.rs:786:12 [INFO] [stdout] | [INFO] [stdout] 786 | pub fn ParseTrain(string: &str) -> Result<(Self, usize), TrainParseError> { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `parse_train` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Read` should have a snake case name [INFO] [stdout] --> src/train.rs:915:12 [INFO] [stdout] | [INFO] [stdout] 915 | pub fn Read(inp: &mut BufReader,cabs: &CabNameMap) -> std::io::Result> { [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `read` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `Write` should have a snake case name [INFO] [stdout] --> src/train.rs:998:12 [INFO] [stdout] | [INFO] [stdout] 998 | pub fn Write(&self,f: &mut BufWriter) -> std::io::Result<()> { [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `write` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Stop_new` should have a snake case name [INFO] [stdout] --> src/train.rs:1036:8 [INFO] [stdout] | [INFO] [stdout] 1036 | fn Stop_new () { [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `stop_new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Stop_Layover` should have a snake case name [INFO] [stdout] --> src/train.rs:1041:8 [INFO] [stdout] | [INFO] [stdout] 1041 | fn Stop_Layover () { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `stop_layover` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Stop_SetLayover` should have a snake case name [INFO] [stdout] --> src/train.rs:1046:8 [INFO] [stdout] | [INFO] [stdout] 1046 | fn Stop_SetLayover () { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `stop_set_layover` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Stop_Departure` should have a snake case name [INFO] [stdout] --> src/train.rs:1052:8 [INFO] [stdout] | [INFO] [stdout] 1052 | fn Stop_Departure () { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `stop_departure` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Stop_TheCab` should have a snake case name [INFO] [stdout] --> src/train.rs:1057:8 [INFO] [stdout] | [INFO] [stdout] 1057 | fn Stop_TheCab () { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `stop_the_cab` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Stop_SetCab` should have a snake case name [INFO] [stdout] --> src/train.rs:1062:8 [INFO] [stdout] | [INFO] [stdout] 1062 | fn Stop_SetCab () { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `stop_set_cab` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Stop_NumberOfNotes_1` should have a snake case name [INFO] [stdout] --> src/train.rs:1069:8 [INFO] [stdout] | [INFO] [stdout] 1069 | fn Stop_NumberOfNotes_1 () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `stop_number_of_notes_1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Stop_AddNote` should have a snake case name [INFO] [stdout] --> src/train.rs:1074:8 [INFO] [stdout] | [INFO] [stdout] 1074 | fn Stop_AddNote () { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `stop_add_note` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Stop_NumberOfNotes_2` should have a snake case name [INFO] [stdout] --> src/train.rs:1080:8 [INFO] [stdout] | [INFO] [stdout] 1080 | fn Stop_NumberOfNotes_2 () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `stop_number_of_notes_2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Stop_RemoveNote` should have a snake case name [INFO] [stdout] --> src/train.rs:1086:8 [INFO] [stdout] | [INFO] [stdout] 1086 | fn Stop_RemoveNote () { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `stop_remove_note` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Stop_StationIndex` should have a snake case name [INFO] [stdout] --> src/train.rs:1093:8 [INFO] [stdout] | [INFO] [stdout] 1093 | fn Stop_StationIndex () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `stop_station_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Stop_Flag` should have a snake case name [INFO] [stdout] --> src/train.rs:1098:8 [INFO] [stdout] | [INFO] [stdout] 1098 | fn Stop_Flag () { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `stop_flag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Stop_StorageTrackName` should have a snake case name [INFO] [stdout] --> src/train.rs:1103:8 [INFO] [stdout] | [INFO] [stdout] 1103 | fn Stop_StorageTrackName () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `stop_storage_track_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Stop_SetStorageTrackName` should have a snake case name [INFO] [stdout] --> src/train.rs:1108:8 [INFO] [stdout] | [INFO] [stdout] 1108 | fn Stop_SetStorageTrackName () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `stop_set_storage_track_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Stop_Display` should have a snake case name [INFO] [stdout] --> src/train.rs:1114:8 [INFO] [stdout] | [INFO] [stdout] 1114 | fn Stop_Display () { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `stop_display` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Stop_from_str` should have a snake case name [INFO] [stdout] --> src/train.rs:1124:8 [INFO] [stdout] | [INFO] [stdout] 1124 | fn Stop_from_str () { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `stop_from_str` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Train_new_1` should have a snake case name [INFO] [stdout] --> src/train.rs:1136:8 [INFO] [stdout] | [INFO] [stdout] 1136 | fn Train_new_1 () { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `train_new_1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Train_new_2` should have a snake case name [INFO] [stdout] --> src/train.rs:1142:8 [INFO] [stdout] | [INFO] [stdout] 1142 | fn Train_new_2 () { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `train_new_2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Train_Name` should have a snake case name [INFO] [stdout] --> src/train.rs:1148:8 [INFO] [stdout] | [INFO] [stdout] 1148 | fn Train_Name () { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `train_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Train_Number` should have a snake case name [INFO] [stdout] --> src/train.rs:1154:8 [INFO] [stdout] | [INFO] [stdout] 1154 | fn Train_Number () { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `train_number` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Train_Departure` should have a snake case name [INFO] [stdout] --> src/train.rs:1160:8 [INFO] [stdout] | [INFO] [stdout] 1160 | fn Train_Departure () { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `train_departure` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Train_SetDeparture` should have a snake case name [INFO] [stdout] --> src/train.rs:1166:8 [INFO] [stdout] | [INFO] [stdout] 1166 | fn Train_SetDeparture () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `train_set_departure` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Train_Speed` should have a snake case name [INFO] [stdout] --> src/train.rs:1173:8 [INFO] [stdout] | [INFO] [stdout] 1173 | fn Train_Speed () { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `train_speed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Train_ClassNumber` should have a snake case name [INFO] [stdout] --> src/train.rs:1179:8 [INFO] [stdout] | [INFO] [stdout] 1179 | fn Train_ClassNumber () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `train_class_number` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Train_NumberOfNotes` should have a snake case name [INFO] [stdout] --> src/train.rs:1185:8 [INFO] [stdout] | [INFO] [stdout] 1185 | fn Train_NumberOfNotes () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `train_number_of_notes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Train_AddNoteToTrain` should have a snake case name [INFO] [stdout] --> src/train.rs:1191:8 [INFO] [stdout] | [INFO] [stdout] 1191 | fn Train_AddNoteToTrain () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `train_add_note_to_train` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Train_Note` should have a snake case name [INFO] [stdout] --> src/train.rs:1198:8 [INFO] [stdout] | [INFO] [stdout] 1198 | fn Train_Note () { [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to snake case: `train_note` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Train_RemoveNoteFromTrain` should have a snake case name [INFO] [stdout] --> src/train.rs:1205:8 [INFO] [stdout] | [INFO] [stdout] 1205 | fn Train_RemoveNoteFromTrain () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `train_remove_note_from_train` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Train_StopI` should have a snake case name [INFO] [stdout] --> src/train.rs:1213:8 [INFO] [stdout] | [INFO] [stdout] 1213 | fn Train_StopI () { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case: `train_stop_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Train_NumberOfStops` should have a snake case name [INFO] [stdout] --> src/train.rs:1220:8 [INFO] [stdout] | [INFO] [stdout] 1220 | fn Train_NumberOfStops () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `train_number_of_stops` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Train_UpdateStopLayover` should have a snake case name [INFO] [stdout] --> src/train.rs:1226:8 [INFO] [stdout] | [INFO] [stdout] 1226 | fn Train_UpdateStopLayover () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `train_update_stop_layover` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Train_UpdateStopCab` should have a snake case name [INFO] [stdout] --> src/train.rs:1234:8 [INFO] [stdout] | [INFO] [stdout] 1234 | fn Train_UpdateStopCab () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `train_update_stop_cab` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Train_AddNoteToStop` should have a snake case name [INFO] [stdout] --> src/train.rs:1242:8 [INFO] [stdout] | [INFO] [stdout] 1242 | fn Train_AddNoteToStop () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `train_add_note_to_stop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Train_RemoveNoteFromStop` should have a snake case name [INFO] [stdout] --> src/train.rs:1250:8 [INFO] [stdout] | [INFO] [stdout] 1250 | fn Train_RemoveNoteFromStop () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `train_remove_note_from_stop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Train_SetOriginStorageTrack` should have a snake case name [INFO] [stdout] --> src/train.rs:1259:8 [INFO] [stdout] | [INFO] [stdout] 1259 | fn Train_SetOriginStorageTrack () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `train_set_origin_storage_track` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Train_SetDestinationStorageTrack` should have a snake case name [INFO] [stdout] --> src/train.rs:1267:8 [INFO] [stdout] | [INFO] [stdout] 1267 | fn Train_SetDestinationStorageTrack () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `train_set_destination_storage_track` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Train_SetTransitStorageTrack` should have a snake case name [INFO] [stdout] --> src/train.rs:1275:8 [INFO] [stdout] | [INFO] [stdout] 1275 | fn Train_SetTransitStorageTrack () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `train_set_transit_storage_track` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Train_StartSMile` should have a snake case name [INFO] [stdout] --> src/train.rs:1283:8 [INFO] [stdout] | [INFO] [stdout] 1283 | fn Train_StartSMile () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `train_start_smile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Train_Display` should have a snake case name [INFO] [stdout] --> src/train.rs:1289:8 [INFO] [stdout] | [INFO] [stdout] 1289 | fn Train_Display () { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `train_display` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `Train_from_scr` should have a snake case name [INFO] [stdout] --> src/train.rs:1296:8 [INFO] [stdout] | [INFO] [stdout] 1296 | fn Train_from_scr () { [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `train_from_scr` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ReadQuotedString` should have a snake case name [INFO] [stdout] --> src/primio.rs:48:8 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn ReadQuotedString(inp: &mut BufReader) -> std::io::Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `read_quoted_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `EOF` should have a snake case name [INFO] [stdout] --> src/primio.rs:60:13 [INFO] [stdout] | [INFO] [stdout] 60 | let mut EOF: bool = false; [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `eof` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `IsDigit` should have a snake case name [INFO] [stdout] --> src/primio.rs:86:4 [INFO] [stdout] | [INFO] [stdout] 86 | fn IsDigit(ch: char) -> bool { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `is_digit` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `IsAlpha` should have a snake case name [INFO] [stdout] --> src/primio.rs:94:4 [INFO] [stdout] | [INFO] [stdout] 94 | fn IsAlpha(ch: char) -> bool { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `is_alpha` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ReadF64` should have a snake case name [INFO] [stdout] --> src/primio.rs:103:8 [INFO] [stdout] | [INFO] [stdout] 103 | pub fn ReadF64(inp: &mut BufReader) -> std::io::Result> { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `read_f64` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ReadISize` should have a snake case name [INFO] [stdout] --> src/primio.rs:143:8 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn ReadISize(inp: &mut BufReader) -> std::io::Result> { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `read_isize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ReadUSize` should have a snake case name [INFO] [stdout] --> src/primio.rs:180:8 [INFO] [stdout] | [INFO] [stdout] 180 | pub fn ReadUSize(inp: &mut BufReader) -> std::io::Result> { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `read_usize` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `ReadU32` should have a snake case name [INFO] [stdout] --> src/primio.rs:217:8 [INFO] [stdout] | [INFO] [stdout] 217 | pub fn ReadU32(inp: &mut BufReader) -> std::io::Result> { [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `read_u32` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `StationTimes_new` should have a snake case name [INFO] [stdout] --> src/lib.rs:2427:8 [INFO] [stdout] | [INFO] [stdout] 2427 | fn StationTimes_new () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `station_times_new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `StationTimes_Arrival` should have a snake case name [INFO] [stdout] --> src/lib.rs:2432:8 [INFO] [stdout] | [INFO] [stdout] 2432 | fn StationTimes_Arrival () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `station_times_arrival` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `StationTimes_Departure` should have a snake case name [INFO] [stdout] --> src/lib.rs:2437:8 [INFO] [stdout] | [INFO] [stdout] 2437 | fn StationTimes_Departure () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `station_times_departure` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `StationTimes_Flag` should have a snake case name [INFO] [stdout] --> src/lib.rs:2442:8 [INFO] [stdout] | [INFO] [stdout] 2442 | fn StationTimes_Flag () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `station_times_flag` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pub_StringListToString` should have a snake case name [INFO] [stdout] --> src/lib.rs:2448:8 [INFO] [stdout] | [INFO] [stdout] 2448 | fn pub_StringListToString () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `pub_string_list_to_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `pub_StringListFromString` should have a snake case name [INFO] [stdout] --> src/lib.rs:2456:8 [INFO] [stdout] | [INFO] [stdout] 2456 | fn pub_StringListFromString () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `pub_string_list_from_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `TimeTableSystem_new` should have a snake case name [INFO] [stdout] --> src/lib.rs:2478:8 [INFO] [stdout] | [INFO] [stdout] 2478 | fn TimeTableSystem_new () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `time_table_system_new` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `TimeTableSystem_AddStation` should have a snake case name [INFO] [stdout] --> src/lib.rs:2492:8 [INFO] [stdout] | [INFO] [stdout] 2492 | fn TimeTableSystem_AddStation () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `time_table_system_add_station` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `TimeTableSystem_FindStationByName` should have a snake case name [INFO] [stdout] --> src/lib.rs:2497:8 [INFO] [stdout] | [INFO] [stdout] 2497 | fn TimeTableSystem_FindStationByName () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `time_table_system_find_station_by_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `TimeTableSystem_NumberOfStations` should have a snake case name [INFO] [stdout] --> src/lib.rs:2503:8 [INFO] [stdout] | [INFO] [stdout] 2503 | fn TimeTableSystem_NumberOfStations () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `time_table_system_number_of_stations` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `TimeTableSystem_IthStation` should have a snake case name [INFO] [stdout] --> src/lib.rs:2509:8 [INFO] [stdout] | [INFO] [stdout] 2509 | fn TimeTableSystem_IthStation () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `time_table_system_ith_station` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `TimeTableSystem_StationName` should have a snake case name [INFO] [stdout] --> src/lib.rs:2515:8 [INFO] [stdout] | [INFO] [stdout] 2515 | fn TimeTableSystem_StationName () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `time_table_system_station_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `TimeTableSystem_SMile` should have a snake case name [INFO] [stdout] --> src/lib.rs:2521:8 [INFO] [stdout] | [INFO] [stdout] 2521 | fn TimeTableSystem_SMile () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `time_table_system_smile` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `TimeTableSystem_TotalLength` should have a snake case name [INFO] [stdout] --> src/lib.rs:2527:8 [INFO] [stdout] | [INFO] [stdout] 2527 | fn TimeTableSystem_TotalLength () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `time_table_system_total_length` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `TimeTableSystem_DuplicateStationIndex` should have a snake case name [INFO] [stdout] --> src/lib.rs:2534:8 [INFO] [stdout] | [INFO] [stdout] 2534 | fn TimeTableSystem_DuplicateStationIndex () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `time_table_system_duplicate_station_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `TimeTableSystem_SetDuplicateStationIndex` should have a snake case name [INFO] [stdout] --> src/lib.rs:2540:8 [INFO] [stdout] | [INFO] [stdout] 2540 | fn TimeTableSystem_SetDuplicateStationIndex () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `time_table_system_set_duplicate_station_index` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `TimeTableSystem_AddStorageTrack` should have a snake case name [INFO] [stdout] --> src/lib.rs:2551:8 [INFO] [stdout] | [INFO] [stdout] 2551 | fn TimeTableSystem_AddStorageTrack () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `time_table_system_add_storage_track` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `TimeTableSystem_FindStorageTrack` should have a snake case name [INFO] [stdout] --> src/lib.rs:2558:8 [INFO] [stdout] | [INFO] [stdout] 2558 | fn TimeTableSystem_FindStorageTrack () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `time_table_system_find_storage_track` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `TimeTableSystem_AddCab` should have a snake case name [INFO] [stdout] --> src/lib.rs:2566:8 [INFO] [stdout] | [INFO] [stdout] 2566 | fn TimeTableSystem_AddCab () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `time_table_system_add_cab` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `TimeTableSystem_FindCab` should have a snake case name [INFO] [stdout] --> src/lib.rs:2572:8 [INFO] [stdout] | [INFO] [stdout] 2572 | fn TimeTableSystem_FindCab () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `time_table_system_find_cab` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `TimeTableSystem_NumberOfCabs` should have a snake case name [INFO] [stdout] --> src/lib.rs:2579:8 [INFO] [stdout] | [INFO] [stdout] 2579 | fn TimeTableSystem_NumberOfCabs () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `time_table_system_number_of_cabs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `TimeTableSystem_AddTrain` should have a snake case name [INFO] [stdout] --> src/lib.rs:2585:8 [INFO] [stdout] | [INFO] [stdout] 2585 | fn TimeTableSystem_AddTrain () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `time_table_system_add_train` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `time_table` (lib test) due to 2 previous errors; 464 warnings emitted [INFO] running `Command { std: "docker" "inspect" "329b9d81de3b811baac9d77c8498208fb9b4441c88c2d70f4bfdf7bc0a963ef6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "329b9d81de3b811baac9d77c8498208fb9b4441c88c2d70f4bfdf7bc0a963ef6", kill_on_drop: false }` [INFO] [stdout] 329b9d81de3b811baac9d77c8498208fb9b4441c88c2d70f4bfdf7bc0a963ef6