[INFO] cloning repository https://github.com/AnotherJulia/EleosRef [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AnotherJulia/EleosRef" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnotherJulia%2FEleosRef", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnotherJulia%2FEleosRef'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 40cc2384dc3339add51ecf5805d5f94a66d42b07 [INFO] checking AnotherJulia/EleosRef against master#385fa9d845dd326c6bbfd58c22244215e431948a for never-type-fallback-to-never [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnotherJulia%2FEleosRef" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AnotherJulia/EleosRef on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/AnotherJulia/EleosRef [INFO] finished tweaking git repo https://github.com/AnotherJulia/EleosRef [INFO] tweaked toml for git repo https://github.com/AnotherJulia/EleosRef written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/AnotherJulia/EleosRef 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded time-macros v0.2.16 [INFO] [stderr] Downloaded is-terminal v0.4.10 [INFO] [stderr] Downloaded msdos_time v0.1.6 [INFO] [stderr] Downloaded podio v0.1.7 [INFO] [stderr] Downloaded serde_derive v1.0.194 [INFO] [stderr] Downloaded serde_json v1.0.110 [INFO] [stderr] Downloaded figment v0.10.13 [INFO] [stderr] Downloaded office v0.8.1 [INFO] [stderr] Downloaded syn v2.0.46 [INFO] [stderr] Downloaded time v0.3.31 [INFO] [stderr] Downloaded backtrace-sys v0.1.37 [INFO] [stderr] Downloaded serde v1.0.194 [INFO] [stderr] Downloaded zip v0.2.8 [INFO] [stderr] Downloaded error-chain v0.5.0 [INFO] [stderr] Downloaded quick-xml v0.4.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5c25ff27beb52fbe898f8e887034d21dc7dbef9593121188c9bfe406894ee076 [INFO] running `Command { std: "docker" "start" "-a" "5c25ff27beb52fbe898f8e887034d21dc7dbef9593121188c9bfe406894ee076", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5c25ff27beb52fbe898f8e887034d21dc7dbef9593121188c9bfe406894ee076", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5c25ff27beb52fbe898f8e887034d21dc7dbef9593121188c9bfe406894ee076", kill_on_drop: false }` [INFO] [stdout] 5c25ff27beb52fbe898f8e887034d21dc7dbef9593121188c9bfe406894ee076 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 34c54747b92081738fc9269793e0d33c35dceff1e4da7db3d7fa6c7795741f93 [INFO] running `Command { std: "docker" "start" "-a" "34c54747b92081738fc9269793e0d33c35dceff1e4da7db3d7fa6c7795741f93", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.194 [INFO] [stderr] Compiling yansi v1.0.0-rc.1 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling rustix v0.38.28 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling cookie v0.18.0 [INFO] [stderr] Checking encoding_index_tests v0.1.4 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Compiling ref-cast v1.0.22 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling dbghelp-sys v0.2.0 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling time-macros v0.2.16 [INFO] [stderr] Compiling syn v2.0.46 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling uncased v0.9.9 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling http v0.2.11 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Checking inlinable_string v0.1.15 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Compiling mio v0.8.10 [INFO] [stderr] Compiling backtrace v0.2.3 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Compiling figment v0.10.13 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Compiling tokio v1.35.1 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Compiling smallvec v1.11.2 [INFO] [stderr] Compiling time v0.3.31 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Compiling serde_json v1.0.110 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking msdos_time v0.1.6 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking encoding-index-japanese v1.20141219.5 [INFO] [stderr] Checking encoding-index-korean v1.20141219.5 [INFO] [stderr] Checking encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Checking encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Compiling rocket v0.5.0 [INFO] [stderr] Checking podio v0.1.7 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking encoding v0.2.33 [INFO] [stderr] Checking zip v0.2.8 [INFO] [stderr] Compiling backtrace-sys v0.1.37 [INFO] [stderr] Checking quick-xml v0.4.2 [INFO] [stderr] Checking csv-core v0.1.11 [INFO] [stderr] Checking byteorder v0.5.3 [INFO] [stderr] Checking atomic v0.5.3 [INFO] [stderr] Checking is-terminal v0.4.10 [INFO] [stderr] Checking tempfile v3.9.0 [INFO] [stderr] Checking iana-time-zone v0.1.59 [INFO] [stderr] Checking binascii v0.1.4 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Checking error-chain v0.5.0 [INFO] [stderr] Checking office v0.8.1 [INFO] [stderr] Compiling hyper v0.14.28 [INFO] [stderr] Compiling devise_core v0.4.1 [INFO] [stderr] Compiling serde_derive v1.0.194 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling pear_codegen v0.2.8 [INFO] [stderr] Compiling ref-cast-impl v1.0.22 [INFO] [stderr] Compiling devise_codegen v0.4.1 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Compiling devise v0.4.1 [INFO] [stderr] Checking pear v0.2.8 [INFO] [stderr] Compiling rocket_http v0.5.0 [INFO] [stderr] Compiling rocket_codegen v0.5.0 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tokio-stream v0.1.14 [INFO] [stderr] Checking toml_datetime v0.6.5 [INFO] [stderr] Checking serde_spanned v0.6.5 [INFO] [stderr] Checking ubyte v0.10.4 [INFO] [stderr] Checking csv v1.3.0 [INFO] [stderr] Checking chrono v0.4.31 [INFO] [stderr] Checking h2 v0.3.22 [INFO] [stderr] Checking toml_edit v0.21.0 [INFO] [stderr] Checking toml v0.8.8 [INFO] [stderr] Checking eleos-api v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Hasher` [INFO] [stdout] --> src/models/team.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use std::hash::{Hash, Hasher}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WEIGHT_REMAINING_TURNS` [INFO] [stdout] --> src/scheduler/scheduler.rs:4:32 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{MAX_GAP_THRESHOLD, WEIGHT_REMAINING_TURNS}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PlayTimes` [INFO] [stdout] --> src/scheduler/scheduler.rs:5:61 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::models::availability::{Availability, HashmapSet, PlayTimes, TeamSchedule, Timeslots}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `determine_team_hashmap`, `find_team_from_str` [INFO] [stdout] --> src/scheduler/scheduler.rs:8:50 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::utils::hash::{find_team_from_timeset, determine_team_hashmap, find_team_from_str}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Hasher` [INFO] [stdout] --> src/models/team.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use std::hash::{Hash, Hasher}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WEIGHT_REMAINING_TURNS` [INFO] [stdout] --> src/scheduler/scheduler.rs:4:32 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{MAX_GAP_THRESHOLD, WEIGHT_REMAINING_TURNS}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PlayTimes` [INFO] [stdout] --> src/scheduler/scheduler.rs:5:61 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::models::availability::{Availability, HashmapSet, PlayTimes, TeamSchedule, Timeslots}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `determine_team_hashmap`, `find_team_from_str` [INFO] [stdout] --> src/scheduler/scheduler.rs:8:50 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::utils::hash::{find_team_from_timeset, determine_team_hashmap, find_team_from_str}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `per_team_adjustment` [INFO] [stdout] --> src/parser/json.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 77 | let per_team_adjustment = adjustment / teams.len() as i32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_per_team_adjustment` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `exclusion_teams` [INFO] [stdout] --> src/parser/filter.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let exclusion_teams: Vec<&str> = vec!["Volley2B HS 1", "Volley2B HS 2", "Volley2B DS 1"]; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_exclusion_teams` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time1` [INFO] [stdout] --> src/utils/time.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn compare_timeslots(time1: NaiveTime, time2: NaiveTime) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_time1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time2` [INFO] [stdout] --> src/utils/time.rs:15:44 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn compare_timeslots(time1: NaiveTime, time2: NaiveTime) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_time2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `matches` [INFO] [stdout] --> src/utils/hash.rs:46:31 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn determine_date_hashmap(matches: Match, teams: &Vec) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `teams` [INFO] [stdout] --> src/utils/hash.rs:46:47 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn determine_date_hashmap(matches: Match, teams: &Vec) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_teams` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ok` [INFO] [stdout] --> src/main.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | let ok = prepare_and_write_schedule(schedule, "test.csv"); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print` is never used [INFO] [stdout] --> src/models/matches.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Match { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 21 | /// Print out the match data [INFO] [stdout] 22 | pub fn print(&self) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `TeamsMatches` is never used [INFO] [stdout] --> src/models/matches.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | pub type TeamsMatches = HashMap>; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init` is never used [INFO] [stdout] --> src/parser/filter.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn init() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_schedule_to_csv` is never used [INFO] [stdout] --> src/parser/export.rs:39:4 [INFO] [stdout] | [INFO] [stdout] 39 | fn write_schedule_to_csv(schedule: Vec, file_path: &str) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compare_timeslots` is never used [INFO] [stdout] --> src/utils/time.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn compare_timeslots(time1: NaiveTime, time2: NaiveTime) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `determine_team_hashmap` is never used [INFO] [stdout] --> src/utils/hash.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn determine_team_hashmap(matches: &Vec, teams: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_team_from_str` is never used [INFO] [stdout] --> src/utils/hash.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn find_team_from_str(name: &str, teams: &Vec) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `determine_date_hashmap` is never used [INFO] [stdout] --> src/utils/hash.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn determine_date_hashmap(matches: Match, teams: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `teams` and `team_infos` are never read [INFO] [stdout] --> src/scheduler/scheduler.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct ScheduleResults { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 12 | pub(crate) schedule: Vec, [INFO] [stdout] 13 | pub(crate) teams: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 14 | pub(crate) team_infos: HashMap, // Added field [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `per_team_adjustment` [INFO] [stdout] --> src/parser/json.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 77 | let per_team_adjustment = adjustment / teams.len() as i32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_per_team_adjustment` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `exclusion_teams` [INFO] [stdout] --> src/parser/filter.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let exclusion_teams: Vec<&str> = vec!["Volley2B HS 1", "Volley2B HS 2", "Volley2B DS 1"]; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_exclusion_teams` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time1` [INFO] [stdout] --> src/utils/time.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn compare_timeslots(time1: NaiveTime, time2: NaiveTime) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_time1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time2` [INFO] [stdout] --> src/utils/time.rs:15:44 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn compare_timeslots(time1: NaiveTime, time2: NaiveTime) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_time2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `matches` [INFO] [stdout] --> src/utils/hash.rs:46:31 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn determine_date_hashmap(matches: Match, teams: &Vec) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `teams` [INFO] [stdout] --> src/utils/hash.rs:46:47 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn determine_date_hashmap(matches: Match, teams: &Vec) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_teams` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ok` [INFO] [stdout] --> src/main.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | let ok = prepare_and_write_schedule(schedule, "test.csv"); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print` is never used [INFO] [stdout] --> src/models/matches.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Match { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 21 | /// Print out the match data [INFO] [stdout] 22 | pub fn print(&self) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `TeamsMatches` is never used [INFO] [stdout] --> src/models/matches.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | pub type TeamsMatches = HashMap>; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init` is never used [INFO] [stdout] --> src/parser/filter.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn init() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_schedule_to_csv` is never used [INFO] [stdout] --> src/parser/export.rs:39:4 [INFO] [stdout] | [INFO] [stdout] 39 | fn write_schedule_to_csv(schedule: Vec, file_path: &str) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compare_timeslots` is never used [INFO] [stdout] --> src/utils/time.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn compare_timeslots(time1: NaiveTime, time2: NaiveTime) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `determine_team_hashmap` is never used [INFO] [stdout] --> src/utils/hash.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn determine_team_hashmap(matches: &Vec, teams: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_team_from_str` is never used [INFO] [stdout] --> src/utils/hash.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn find_team_from_str(name: &str, teams: &Vec) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `determine_date_hashmap` is never used [INFO] [stdout] --> src/utils/hash.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn determine_date_hashmap(matches: Match, teams: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `teams` and `team_infos` are never read [INFO] [stdout] --> src/scheduler/scheduler.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct ScheduleResults { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 12 | pub(crate) schedule: Vec, [INFO] [stdout] 13 | pub(crate) teams: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 14 | pub(crate) team_infos: HashMap, // Added field [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 44.21s [INFO] running `Command { std: "docker" "inspect" "34c54747b92081738fc9269793e0d33c35dceff1e4da7db3d7fa6c7795741f93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34c54747b92081738fc9269793e0d33c35dceff1e4da7db3d7fa6c7795741f93", kill_on_drop: false }` [INFO] [stdout] 34c54747b92081738fc9269793e0d33c35dceff1e4da7db3d7fa6c7795741f93 [INFO] checking AnotherJulia/EleosRef against try#2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2 for never-type-fallback-to-never [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAnotherJulia%2FEleosRef" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AnotherJulia/EleosRef on toolchain 2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/AnotherJulia/EleosRef [INFO] finished tweaking git repo https://github.com/AnotherJulia/EleosRef [INFO] tweaked toml for git repo https://github.com/AnotherJulia/EleosRef written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/AnotherJulia/EleosRef 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" "+2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2" "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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ac0aed63f96e2e0d40cb7dfab06e0d5589653fd66bf3f9aaa0b61002bd9b1b8f [INFO] running `Command { std: "docker" "start" "-a" "ac0aed63f96e2e0d40cb7dfab06e0d5589653fd66bf3f9aaa0b61002bd9b1b8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ac0aed63f96e2e0d40cb7dfab06e0d5589653fd66bf3f9aaa0b61002bd9b1b8f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ac0aed63f96e2e0d40cb7dfab06e0d5589653fd66bf3f9aaa0b61002bd9b1b8f", kill_on_drop: false }` [INFO] [stdout] ac0aed63f96e2e0d40cb7dfab06e0d5589653fd66bf3f9aaa0b61002bd9b1b8f [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" "-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+2d84f2737f3bd9ebfcb07f75aa198d6cf7c715d2" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ec132d3c535c29ef0e2d6059bf2d07dc6ab228b9aaac6e215c042eafe58c90d1 [INFO] running `Command { std: "docker" "start" "-a" "ec132d3c535c29ef0e2d6059bf2d07dc6ab228b9aaac6e215c042eafe58c90d1", kill_on_drop: false }` [INFO] [stderr] Compiling serde v1.0.194 [INFO] [stderr] Compiling yansi v1.0.0-rc.1 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling proc-macro2-diagnostics v0.10.1 [INFO] [stderr] Compiling rustix v0.38.28 [INFO] [stderr] Compiling time-core v0.1.2 [INFO] [stderr] Compiling itoa v1.0.10 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling libc v0.2.151 [INFO] [stderr] Compiling cookie v0.18.0 [INFO] [stderr] Compiling ref-cast v1.0.22 [INFO] [stderr] Checking encoding_index_tests v0.1.4 [INFO] [stderr] Compiling futures-sink v0.3.30 [INFO] [stderr] Compiling futures-core v0.3.30 [INFO] [stderr] Checking futures-util v0.3.30 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling dbghelp-sys v0.2.0 [INFO] [stderr] Compiling bytes v1.5.0 [INFO] [stderr] Compiling futures-task v0.3.30 [INFO] [stderr] Compiling time-macros v0.2.16 [INFO] [stderr] Compiling powerfmt v0.2.0 [INFO] [stderr] Compiling futures-channel v0.3.30 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling uncased v0.9.9 [INFO] [stderr] Compiling syn v2.0.46 [INFO] [stderr] Compiling deranged v0.3.11 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Compiling try-lock v0.2.5 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling want v0.3.1 [INFO] [stderr] Compiling httparse v1.8.0 [INFO] [stderr] Compiling futures-io v0.3.30 [INFO] [stderr] Compiling equivalent v1.0.1 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Checking inlinable_string v0.1.15 [INFO] [stderr] Compiling httpdate v1.0.3 [INFO] [stderr] Compiling backtrace v0.2.3 [INFO] [stderr] Compiling http v0.2.11 [INFO] [stderr] Compiling tower-service v0.3.2 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling hashbrown v0.14.3 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling mio v0.8.10 [INFO] [stderr] Compiling socket2 v0.5.5 [INFO] [stderr] Checking time v0.1.45 [INFO] [stderr] Compiling figment v0.10.13 [INFO] [stderr] Compiling multer v2.1.0 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling stable-pattern v0.1.0 [INFO] [stderr] Compiling serde_json v1.0.110 [INFO] [stderr] Compiling tokio v1.35.1 [INFO] [stderr] Compiling smallvec v1.11.2 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling http-body v0.4.6 [INFO] [stderr] Compiling state v0.6.0 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Checking rustc-demangle v0.1.23 [INFO] [stderr] Compiling async-trait v0.1.77 [INFO] [stderr] Compiling indexmap v2.1.0 [INFO] [stderr] Checking msdos_time v0.1.6 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking log v0.3.9 [INFO] [stderr] Checking encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-korean v1.20141219.5 [INFO] [stderr] Checking encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Checking encoding-index-japanese v1.20141219.5 [INFO] [stderr] Compiling rocket v0.5.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Checking podio v0.1.7 [INFO] [stderr] Checking encoding v0.2.33 [INFO] [stderr] Checking quick-xml v0.4.2 [INFO] [stderr] Compiling time v0.3.31 [INFO] [stderr] Checking zip v0.2.8 [INFO] [stderr] Checking csv-core v0.1.11 [INFO] [stderr] Compiling futures v0.3.30 [INFO] [stderr] Checking binascii v0.1.4 [INFO] [stderr] Checking byteorder v0.5.3 [INFO] [stderr] Checking iana-time-zone v0.1.59 [INFO] [stderr] Checking atomic v0.5.3 [INFO] [stderr] Compiling backtrace-sys v0.1.37 [INFO] [stderr] Checking is-terminal v0.4.10 [INFO] [stderr] Checking tempfile v3.9.0 [INFO] [stderr] Checking error-chain v0.5.0 [INFO] [stderr] Checking office v0.8.1 [INFO] [stderr] Compiling hyper v0.14.28 [INFO] [stderr] Compiling devise_core v0.4.1 [INFO] [stderr] Compiling serde_derive v1.0.194 [INFO] [stderr] Compiling tokio-macros v2.2.0 [INFO] [stderr] Compiling pear_codegen v0.2.8 [INFO] [stderr] Compiling ref-cast-impl v1.0.22 [INFO] [stderr] Compiling devise_codegen v0.4.1 [INFO] [stderr] Compiling async-stream-impl v0.3.5 [INFO] [stderr] Compiling pear v0.2.8 [INFO] [stderr] Checking async-stream v0.3.5 [INFO] [stderr] Compiling devise v0.4.1 [INFO] [stderr] Compiling rocket_http v0.5.0 [INFO] [stderr] Compiling rocket_codegen v0.5.0 [INFO] [stderr] Checking tokio-util v0.7.10 [INFO] [stderr] Checking tokio-stream v0.1.14 [INFO] [stderr] Checking serde_spanned v0.6.5 [INFO] [stderr] Checking toml_datetime v0.6.5 [INFO] [stderr] Checking ubyte v0.10.4 [INFO] [stderr] Checking csv v1.3.0 [INFO] [stderr] Checking chrono v0.4.31 [INFO] [stderr] Checking h2 v0.3.22 [INFO] [stderr] Checking toml_edit v0.21.0 [INFO] [stderr] Checking toml v0.8.8 [INFO] [stderr] Checking eleos-api v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Hasher` [INFO] [stdout] --> src/models/team.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use std::hash::{Hash, Hasher}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WEIGHT_REMAINING_TURNS` [INFO] [stdout] --> src/scheduler/scheduler.rs:4:32 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{MAX_GAP_THRESHOLD, WEIGHT_REMAINING_TURNS}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PlayTimes` [INFO] [stdout] --> src/scheduler/scheduler.rs:5:61 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::models::availability::{Availability, HashmapSet, PlayTimes, TeamSchedule, Timeslots}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `determine_team_hashmap`, `find_team_from_str` [INFO] [stdout] --> src/scheduler/scheduler.rs:8:50 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::utils::hash::{find_team_from_timeset, determine_team_hashmap, find_team_from_str}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Hasher` [INFO] [stdout] --> src/models/team.rs:1:23 [INFO] [stdout] | [INFO] [stdout] 1 | use std::hash::{Hash, Hasher}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WEIGHT_REMAINING_TURNS` [INFO] [stdout] --> src/scheduler/scheduler.rs:4:32 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::{MAX_GAP_THRESHOLD, WEIGHT_REMAINING_TURNS}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PlayTimes` [INFO] [stdout] --> src/scheduler/scheduler.rs:5:61 [INFO] [stdout] | [INFO] [stdout] 5 | use crate::models::availability::{Availability, HashmapSet, PlayTimes, TeamSchedule, Timeslots}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `determine_team_hashmap`, `find_team_from_str` [INFO] [stdout] --> src/scheduler/scheduler.rs:8:50 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::utils::hash::{find_team_from_timeset, determine_team_hashmap, find_team_from_str}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `per_team_adjustment` [INFO] [stdout] --> src/parser/json.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 77 | let per_team_adjustment = adjustment / teams.len() as i32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_per_team_adjustment` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `exclusion_teams` [INFO] [stdout] --> src/parser/filter.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let exclusion_teams: Vec<&str> = vec!["Volley2B HS 1", "Volley2B HS 2", "Volley2B DS 1"]; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_exclusion_teams` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time1` [INFO] [stdout] --> src/utils/time.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn compare_timeslots(time1: NaiveTime, time2: NaiveTime) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_time1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time2` [INFO] [stdout] --> src/utils/time.rs:15:44 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn compare_timeslots(time1: NaiveTime, time2: NaiveTime) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_time2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `matches` [INFO] [stdout] --> src/utils/hash.rs:46:31 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn determine_date_hashmap(matches: Match, teams: &Vec) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `teams` [INFO] [stdout] --> src/utils/hash.rs:46:47 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn determine_date_hashmap(matches: Match, teams: &Vec) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_teams` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ok` [INFO] [stdout] --> src/main.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | let ok = prepare_and_write_schedule(schedule, "test.csv"); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `per_team_adjustment` [INFO] [stdout] --> src/parser/json.rs:77:13 [INFO] [stdout] | [INFO] [stdout] 77 | let per_team_adjustment = adjustment / teams.len() as i32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_per_team_adjustment` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print` is never used [INFO] [stdout] --> src/models/matches.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Match { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 21 | /// Print out the match data [INFO] [stdout] 22 | pub fn print(&self) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `TeamsMatches` is never used [INFO] [stdout] --> src/models/matches.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | pub type TeamsMatches = HashMap>; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init` is never used [INFO] [stdout] --> src/parser/filter.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn init() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_schedule_to_csv` is never used [INFO] [stdout] --> src/parser/export.rs:39:4 [INFO] [stdout] | [INFO] [stdout] 39 | fn write_schedule_to_csv(schedule: Vec, file_path: &str) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compare_timeslots` is never used [INFO] [stdout] --> src/utils/time.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn compare_timeslots(time1: NaiveTime, time2: NaiveTime) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `determine_team_hashmap` is never used [INFO] [stdout] --> src/utils/hash.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn determine_team_hashmap(matches: &Vec, teams: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_team_from_str` is never used [INFO] [stdout] --> src/utils/hash.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn find_team_from_str(name: &str, teams: &Vec) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `determine_date_hashmap` is never used [INFO] [stdout] --> src/utils/hash.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn determine_date_hashmap(matches: Match, teams: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `teams` and `team_infos` are never read [INFO] [stdout] --> src/scheduler/scheduler.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct ScheduleResults { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 12 | pub(crate) schedule: Vec, [INFO] [stdout] 13 | pub(crate) teams: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 14 | pub(crate) team_infos: HashMap, // Added field [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `exclusion_teams` [INFO] [stdout] --> src/parser/filter.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | let exclusion_teams: Vec<&str> = vec!["Volley2B HS 1", "Volley2B HS 2", "Volley2B DS 1"]; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_exclusion_teams` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time1` [INFO] [stdout] --> src/utils/time.rs:15:26 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn compare_timeslots(time1: NaiveTime, time2: NaiveTime) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_time1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `time2` [INFO] [stdout] --> src/utils/time.rs:15:44 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn compare_timeslots(time1: NaiveTime, time2: NaiveTime) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_time2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `matches` [INFO] [stdout] --> src/utils/hash.rs:46:31 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn determine_date_hashmap(matches: Match, teams: &Vec) { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_matches` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `teams` [INFO] [stdout] --> src/utils/hash.rs:46:47 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn determine_date_hashmap(matches: Match, teams: &Vec) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_teams` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ok` [INFO] [stdout] --> src/main.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | let ok = prepare_and_write_schedule(schedule, "test.csv"); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ok` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `print` is never used [INFO] [stdout] --> src/models/matches.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Match { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] 21 | /// Print out the match data [INFO] [stdout] 22 | pub fn print(&self) -> String { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `TeamsMatches` is never used [INFO] [stdout] --> src/models/matches.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | pub type TeamsMatches = HashMap>; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init` is never used [INFO] [stdout] --> src/parser/filter.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn init() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `write_schedule_to_csv` is never used [INFO] [stdout] --> src/parser/export.rs:39:4 [INFO] [stdout] | [INFO] [stdout] 39 | fn write_schedule_to_csv(schedule: Vec, file_path: &str) -> Result<(), Box> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compare_timeslots` is never used [INFO] [stdout] --> src/utils/time.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn compare_timeslots(time1: NaiveTime, time2: NaiveTime) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `determine_team_hashmap` is never used [INFO] [stdout] --> src/utils/hash.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn determine_team_hashmap(matches: &Vec, teams: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `find_team_from_str` is never used [INFO] [stdout] --> src/utils/hash.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn find_team_from_str(name: &str, teams: &Vec) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `determine_date_hashmap` is never used [INFO] [stdout] --> src/utils/hash.rs:46:8 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn determine_date_hashmap(matches: Match, teams: &Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `teams` and `team_infos` are never read [INFO] [stdout] --> src/scheduler/scheduler.rs:13:16 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct ScheduleResults { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] 12 | pub(crate) schedule: Vec, [INFO] [stdout] 13 | pub(crate) teams: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 14 | pub(crate) team_infos: HashMap, // Added field [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 47.34s [INFO] running `Command { std: "docker" "inspect" "ec132d3c535c29ef0e2d6059bf2d07dc6ab228b9aaac6e215c042eafe58c90d1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ec132d3c535c29ef0e2d6059bf2d07dc6ab228b9aaac6e215c042eafe58c90d1", kill_on_drop: false }` [INFO] [stdout] ec132d3c535c29ef0e2d6059bf2d07dc6ab228b9aaac6e215c042eafe58c90d1