[INFO] cloning repository https://github.com/devkilyungi/f1-race-simulator-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/devkilyungi/f1-race-simulator-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdevkilyungi%2Ff1-race-simulator-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdevkilyungi%2Ff1-race-simulator-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d684494450fc796d2898d44f17b196fc6d83ab99 [INFO] checking devkilyungi/f1-race-simulator-rust against try#6cbf54b1453b438241487f195740266bb9d8c8ba for pr-139587-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdevkilyungi%2Ff1-race-simulator-rust" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/devkilyungi/f1-race-simulator-rust on toolchain 6cbf54b1453b438241487f195740266bb9d8c8ba [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6cbf54b1453b438241487f195740266bb9d8c8ba" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/devkilyungi/f1-race-simulator-rust [INFO] finished tweaking git repo https://github.com/devkilyungi/f1-race-simulator-rust [INFO] tweaked toml for git repo https://github.com/devkilyungi/f1-race-simulator-rust written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/devkilyungi/f1-race-simulator-rust 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" "+6cbf54b1453b438241487f195740266bb9d8c8ba" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+6cbf54b1453b438241487f195740266bb9d8c8ba" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6b8fd6012bfad47ce9c00441a7c56893a72b5c1fb0ff1ff274078fafc50ba6e1 [INFO] running `Command { std: "docker" "start" "-a" "6b8fd6012bfad47ce9c00441a7c56893a72b5c1fb0ff1ff274078fafc50ba6e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6b8fd6012bfad47ce9c00441a7c56893a72b5c1fb0ff1ff274078fafc50ba6e1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6b8fd6012bfad47ce9c00441a7c56893a72b5c1fb0ff1ff274078fafc50ba6e1", kill_on_drop: false }` [INFO] [stdout] 6b8fd6012bfad47ce9c00441a7c56893a72b5c1fb0ff1ff274078fafc50ba6e1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:b0b074c097205a61b89e8ad263052f976b2b332c4dc5f02aef1fe52501660d6e" "/opt/rustwide/cargo-home/bin/cargo" "+6cbf54b1453b438241487f195740266bb9d8c8ba" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1fad5788bd1d04eff54e8c4529d61c83fba1ad11d56815ef2a1cf4c37ac9378a [INFO] running `Command { std: "docker" "start" "-a" "1fad5788bd1d04eff54e8c4529d61c83fba1ad11d56815ef2a1cf4c37ac9378a", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.171 [INFO] [stderr] Checking getrandom v0.3.2 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Checking rand v0.9.0 [INFO] [stderr] Checking f1_team_and_race_simulator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `fp1_results` [INFO] [stdout] --> src/main.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | let fp1_results = simulate_practice_session(&drivers, &cars, "FP1"); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fp1_results` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fp2_results` [INFO] [stdout] --> src/main.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let fp2_results = simulate_practice_session(&drivers, &cars, "FP2"); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fp2_results` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fp3_results` [INFO] [stdout] --> src/main.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let fp3_results = simulate_practice_session(&drivers, &cars, "FP3"); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fp3_results` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/models/driver.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Driver { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 5 | pub first_name: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 6 | pub last_name: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 7 | pub full_name: String, [INFO] [stdout] 8 | pub name_acronym: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 9 | pub age: u8, [INFO] [stdout] | ^^^ [INFO] [stdout] 10 | pub country: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 11 | pub driver_number: u8, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 12 | pub skill_level: u8, [INFO] [stdout] 13 | pub experience_level: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | pub aggression_level: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | pub consistency_level: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Driver` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `info`, `overall_rating`, `simulated_lap_time`, and `chance_of_dnf` are never used [INFO] [stdout] --> src/models/driver.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Driver { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn info(&self) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn overall_rating(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn simulated_lap_time(&self, car: &Car) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn chance_of_dnf(&self, car: &Car) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `aerodynamics` are never read [INFO] [stdout] --> src/models/car.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Car { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 5 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | pub aerodynamics: u8, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Car` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `info`, and `overall_performance` are never used [INFO] [stdout] --> src/models/car.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Car { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 13 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn info(&self) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn overall_performance(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `team_color`, `nationality`, `drivers`, and `car` are never read [INFO] [stdout] --> src/models/team.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Team { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 5 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 6 | pub team_color: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 7 | pub nationality: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 8 | pub drivers: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 9 | pub car: Car, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Team` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `info`, `average_driver_rating`, and `team_performance_score` are never used [INFO] [stdout] --> src/models/team.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Team { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 13 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn info(&self) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn average_driver_rating(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn team_performance_score(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `info` are never used [INFO] [stdout] --> src/models/race_result.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl RaceResult { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 11 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn info(&self) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fp1_results` [INFO] [stdout] --> src/main.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | let fp1_results = simulate_practice_session(&drivers, &cars, "FP1"); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fp1_results` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fp2_results` [INFO] [stdout] --> src/main.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let fp2_results = simulate_practice_session(&drivers, &cars, "FP2"); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fp2_results` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fp3_results` [INFO] [stdout] --> src/main.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let fp3_results = simulate_practice_session(&drivers, &cars, "FP3"); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_fp3_results` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> src/models/driver.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Driver { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 5 | pub first_name: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 6 | pub last_name: String, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 7 | pub full_name: String, [INFO] [stdout] 8 | pub name_acronym: String, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 9 | pub age: u8, [INFO] [stdout] | ^^^ [INFO] [stdout] 10 | pub country: String, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 11 | pub driver_number: u8, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 12 | pub skill_level: u8, [INFO] [stdout] 13 | pub experience_level: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 14 | pub aggression_level: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 15 | pub consistency_level: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Driver` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `info`, `overall_rating`, `simulated_lap_time`, and `chance_of_dnf` are never used [INFO] [stdout] --> src/models/driver.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 19 | impl Driver { [INFO] [stdout] | ----------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn info(&self) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 78 | pub fn overall_rating(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 87 | pub fn simulated_lap_time(&self, car: &Car) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 96 | pub fn chance_of_dnf(&self, car: &Car) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `aerodynamics` are never read [INFO] [stdout] --> src/models/car.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Car { [INFO] [stdout] | --- fields in this struct [INFO] [stdout] 5 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 9 | pub aerodynamics: u8, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Car` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `info`, and `overall_performance` are never used [INFO] [stdout] --> src/models/car.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Car { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 13 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn info(&self) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 45 | pub fn overall_performance(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `team_color`, `nationality`, `drivers`, and `car` are never read [INFO] [stdout] --> src/models/team.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Team { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 5 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 6 | pub team_color: String, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 7 | pub nationality: String, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 8 | pub drivers: Vec, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 9 | pub car: Car, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Team` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `info`, `average_driver_rating`, and `team_performance_score` are never used [INFO] [stdout] --> src/models/team.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl Team { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 13 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn info(&self) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn average_driver_rating(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 57 | pub fn team_performance_score(&self) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `info` are never used [INFO] [stdout] --> src/models/race_result.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl RaceResult { [INFO] [stdout] | --------------- associated items in this implementation [INFO] [stdout] 11 | pub fn new( [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn info(&self) -> String { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.62s [INFO] running `Command { std: "docker" "inspect" "1fad5788bd1d04eff54e8c4529d61c83fba1ad11d56815ef2a1cf4c37ac9378a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1fad5788bd1d04eff54e8c4529d61c83fba1ad11d56815ef2a1cf4c37ac9378a", kill_on_drop: false }` [INFO] [stdout] 1fad5788bd1d04eff54e8c4529d61c83fba1ad11d56815ef2a1cf4c37ac9378a