[INFO] cloning repository https://github.com/harry97uk/smart-road-01F [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/harry97uk/smart-road-01F" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fharry97uk%2Fsmart-road-01F", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fharry97uk%2Fsmart-road-01F'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 91741a292c2849ad6c5bccdcff991f883dfd5531 [INFO] checking harry97uk/smart-road-01F against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fharry97uk%2Fsmart-road-01F" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/harry97uk/smart-road-01F 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/harry97uk/smart-road-01F [INFO] finished tweaking git repo https://github.com/harry97uk/smart-road-01F [INFO] tweaked toml for git repo https://github.com/harry97uk/smart-road-01F written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/harry97uk/smart-road-01F 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] Downloading crates ... [INFO] [stderr] Downloaded fdeflate v0.3.1 [INFO] [stderr] Downloaded rayon-core v1.12.0 [INFO] [stderr] Downloaded exr v1.71.0 [INFO] [stderr] Downloaded rayon v1.8.0 [INFO] [stderr] Downloaded sdl2-sys v0.34.5 [INFO] [stderr] Downloaded sdl2 v0.34.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] df6f92e9cc30e389edbaa4608acdef944bfe76d1b354ceb5d1d3f789b19d20b5 [INFO] running `Command { std: "docker" "start" "-a" "df6f92e9cc30e389edbaa4608acdef944bfe76d1b354ceb5d1d3f789b19d20b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "df6f92e9cc30e389edbaa4608acdef944bfe76d1b354ceb5d1d3f789b19d20b5", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df6f92e9cc30e389edbaa4608acdef944bfe76d1b354ceb5d1d3f789b19d20b5", kill_on_drop: false }` [INFO] [stdout] df6f92e9cc30e389edbaa4608acdef944bfe76d1b354ceb5d1d3f789b19d20b5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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] 4c7f7d8ed910fbe770892d05ef7e764215798059f031017e7f4c38d8aaa7fa76 [INFO] running `Command { std: "docker" "start" "-a" "4c7f7d8ed910fbe770892d05ef7e764215798059f031017e7f4c38d8aaa7fa76", kill_on_drop: false }` [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling version-compare v0.0.10 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Compiling sdl2-sys v0.34.5 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking getrandom v0.2.11 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking fdeflate v0.3.1 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Checking half v2.2.1 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Compiling sdl2 v0.34.5 [INFO] [stderr] Checking bytemuck v1.14.0 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking gif v0.12.0 [INFO] [stderr] Checking png v0.17.10 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Checking rayon v1.8.0 [INFO] [stderr] Checking exr v1.71.0 [INFO] [stderr] Checking jpeg-decoder v0.3.0 [INFO] [stderr] Checking tiff v0.9.0 [INFO] [stderr] Checking image v0.24.7 [INFO] [stderr] Checking smart-road v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `VEHICLE_HEIGHT`, `VEHICLE_WIDTH` [INFO] [stdout] --> src/physics.rs:3:34 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{ vehicle::{ Vehicle, VEHICLE_HEIGHT, VEHICLE_WIDTH }, WINDOW_WIDTH, WINDOW_HEIGHT }; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `VEHICLE_HEIGHT`, `VEHICLE_WIDTH` [INFO] [stdout] --> src/physics.rs:3:34 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{ vehicle::{ Vehicle, VEHICLE_HEIGHT, VEHICLE_WIDTH }, WINDOW_WIDTH, WINDOW_HEIGHT }; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_remaining_finished_vehicles` and `find_min_max_times` are never used [INFO] [stdout] --> src/intersection.rs:182:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl Intersection { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 182 | pub fn add_remaining_finished_vehicles(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 191 | pub fn find_min_max_times(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `direction` and `vehicles` are never read [INFO] [stdout] --> src/intersection.rs:211:9 [INFO] [stdout] | [INFO] [stdout] 209 | pub struct Lane { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 210 | pub origin: Direction, [INFO] [stdout] 211 | pub direction: Direction, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 212 | pub vehicles: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_vehicle` is never used [INFO] [stdout] --> src/intersection.rs:224:12 [INFO] [stdout] | [INFO] [stdout] 215 | impl Lane { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 224 | pub fn add_vehicle(&mut self, vehicle: Vehicle) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_in_intersection` is never used [INFO] [stdout] --> src/vehicle.rs:139:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl Vehicle { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 139 | pub fn is_in_intersection(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_closer_to_center` is never used [INFO] [stdout] --> src/physics.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn is_closer_to_center(point_a: Point, point_b: Point) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_remaining_finished_vehicles` and `find_min_max_times` are never used [INFO] [stdout] --> src/intersection.rs:182:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl Intersection { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 182 | pub fn add_remaining_finished_vehicles(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 191 | pub fn find_min_max_times(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `direction` and `vehicles` are never read [INFO] [stdout] --> src/intersection.rs:211:9 [INFO] [stdout] | [INFO] [stdout] 209 | pub struct Lane { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 210 | pub origin: Direction, [INFO] [stdout] 211 | pub direction: Direction, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 212 | pub vehicles: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_vehicle` is never used [INFO] [stdout] --> src/intersection.rs:224:12 [INFO] [stdout] | [INFO] [stdout] 215 | impl Lane { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 224 | pub fn add_vehicle(&mut self, vehicle: Vehicle) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_in_intersection` is never used [INFO] [stdout] --> src/vehicle.rs:139:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl Vehicle { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 139 | pub fn is_in_intersection(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_closer_to_center` is never used [INFO] [stdout] --> src/physics.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn is_closer_to_center(point_a: Point, point_b: Point) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 18.32s [INFO] running `Command { std: "docker" "inspect" "4c7f7d8ed910fbe770892d05ef7e764215798059f031017e7f4c38d8aaa7fa76", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4c7f7d8ed910fbe770892d05ef7e764215798059f031017e7f4c38d8aaa7fa76", kill_on_drop: false }` [INFO] [stdout] 4c7f7d8ed910fbe770892d05ef7e764215798059f031017e7f4c38d8aaa7fa76 [INFO] checking harry97uk/smart-road-01F against try#645bb72776a6a56a1a8f52631a44bd082b2ba509 for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fharry97uk%2Fsmart-road-01F" "/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/harry97uk/smart-road-01F on toolchain 645bb72776a6a56a1a8f52631a44bd082b2ba509 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/harry97uk/smart-road-01F [INFO] finished tweaking git repo https://github.com/harry97uk/smart-road-01F [INFO] tweaked toml for git repo https://github.com/harry97uk/smart-road-01F written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/harry97uk/smart-road-01F 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" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1e37b675a8423b4cac30a5f078c26f5faf49546e5c60c99b615abd475b0c568f [INFO] running `Command { std: "docker" "start" "-a" "1e37b675a8423b4cac30a5f078c26f5faf49546e5c60c99b615abd475b0c568f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1e37b675a8423b4cac30a5f078c26f5faf49546e5c60c99b615abd475b0c568f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e37b675a8423b4cac30a5f078c26f5faf49546e5c60c99b615abd475b0c568f", kill_on_drop: false }` [INFO] [stdout] 1e37b675a8423b4cac30a5f078c26f5faf49546e5c60c99b615abd475b0c568f [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+645bb72776a6a56a1a8f52631a44bd082b2ba509" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 97c7114beef46dedd6f08f80142f57cd88605706f049ae85a3d8ebfcfc628b82 [INFO] running `Command { std: "docker" "start" "-a" "97c7114beef46dedd6f08f80142f57cd88605706f049ae85a3d8ebfcfc628b82", kill_on_drop: false }` [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling version-compare v0.0.10 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Compiling sdl2-sys v0.34.5 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking getrandom v0.2.11 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Checking fdeflate v0.3.1 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking half v2.2.1 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking bytemuck v1.14.0 [INFO] [stderr] Compiling sdl2 v0.34.5 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking gif v0.12.0 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking png v0.17.10 [INFO] [stderr] Checking rayon v1.8.0 [INFO] [stderr] Checking exr v1.71.0 [INFO] [stderr] Checking jpeg-decoder v0.3.0 [INFO] [stderr] Checking tiff v0.9.0 [INFO] [stderr] Checking image v0.24.7 [INFO] [stderr] Checking smart-road v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `VEHICLE_HEIGHT`, `VEHICLE_WIDTH` [INFO] [stdout] --> src/physics.rs:3:34 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{ vehicle::{ Vehicle, VEHICLE_HEIGHT, VEHICLE_WIDTH }, WINDOW_WIDTH, WINDOW_HEIGHT }; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `VEHICLE_HEIGHT`, `VEHICLE_WIDTH` [INFO] [stdout] --> src/physics.rs:3:34 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{ vehicle::{ Vehicle, VEHICLE_HEIGHT, VEHICLE_WIDTH }, WINDOW_WIDTH, WINDOW_HEIGHT }; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_remaining_finished_vehicles` and `find_min_max_times` are never used [INFO] [stdout] --> src/intersection.rs:182:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl Intersection { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 182 | pub fn add_remaining_finished_vehicles(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 191 | pub fn find_min_max_times(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `direction` and `vehicles` are never read [INFO] [stdout] --> src/intersection.rs:211:9 [INFO] [stdout] | [INFO] [stdout] 209 | pub struct Lane { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 210 | pub origin: Direction, [INFO] [stdout] 211 | pub direction: Direction, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 212 | pub vehicles: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_vehicle` is never used [INFO] [stdout] --> src/intersection.rs:224:12 [INFO] [stdout] | [INFO] [stdout] 215 | impl Lane { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 224 | pub fn add_vehicle(&mut self, vehicle: Vehicle) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_in_intersection` is never used [INFO] [stdout] --> src/vehicle.rs:139:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl Vehicle { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 139 | pub fn is_in_intersection(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_closer_to_center` is never used [INFO] [stdout] --> src/physics.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn is_closer_to_center(point_a: Point, point_b: Point) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add_remaining_finished_vehicles` and `find_min_max_times` are never used [INFO] [stdout] --> src/intersection.rs:182:12 [INFO] [stdout] | [INFO] [stdout] 32 | impl Intersection { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 182 | pub fn add_remaining_finished_vehicles(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 191 | pub fn find_min_max_times(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `direction` and `vehicles` are never read [INFO] [stdout] --> src/intersection.rs:211:9 [INFO] [stdout] | [INFO] [stdout] 209 | pub struct Lane { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 210 | pub origin: Direction, [INFO] [stdout] 211 | pub direction: Direction, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 212 | pub vehicles: Vec, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_vehicle` is never used [INFO] [stdout] --> src/intersection.rs:224:12 [INFO] [stdout] | [INFO] [stdout] 215 | impl Lane { [INFO] [stdout] | --------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 224 | pub fn add_vehicle(&mut self, vehicle: Vehicle) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_in_intersection` is never used [INFO] [stdout] --> src/vehicle.rs:139:12 [INFO] [stdout] | [INFO] [stdout] 29 | impl Vehicle { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 139 | pub fn is_in_intersection(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_closer_to_center` is never used [INFO] [stdout] --> src/physics.rs:42:8 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn is_closer_to_center(point_a: Point, point_b: Point) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 6 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 20.02s [INFO] running `Command { std: "docker" "inspect" "97c7114beef46dedd6f08f80142f57cd88605706f049ae85a3d8ebfcfc628b82", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "97c7114beef46dedd6f08f80142f57cd88605706f049ae85a3d8ebfcfc628b82", kill_on_drop: false }` [INFO] [stdout] 97c7114beef46dedd6f08f80142f57cd88605706f049ae85a3d8ebfcfc628b82