[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#46424fb5054f211ec836c5c03159f92e46bb35ac for pr-139042
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fharry97uk%2Fsmart-road-01F" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/harry97uk/smart-road-01F on toolchain 46424fb5054f211ec836c5c03159f92e46bb35ac
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+46424fb5054f211ec836c5c03159f92e46bb35ac" "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-1-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" "+46424fb5054f211ec836c5c03159f92e46bb35ac" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+46424fb5054f211ec836c5c03159f92e46bb35ac" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 111d8cbbc1664a94716755d7bdfa60d8b5e392233cfb20f25cb0f52f6b543959
[INFO] running `Command { std: "docker" "start" "-a" "111d8cbbc1664a94716755d7bdfa60d8b5e392233cfb20f25cb0f52f6b543959", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "111d8cbbc1664a94716755d7bdfa60d8b5e392233cfb20f25cb0f52f6b543959", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "111d8cbbc1664a94716755d7bdfa60d8b5e392233cfb20f25cb0f52f6b543959", kill_on_drop: false }`
[INFO] [stdout] 111d8cbbc1664a94716755d7bdfa60d8b5e392233cfb20f25cb0f52f6b543959
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:4b26683ee3c49f365255c425c23003cbf4366de097804722c29c5bbbee3624d2" "/opt/rustwide/cargo-home/bin/cargo" "+46424fb5054f211ec836c5c03159f92e46bb35ac" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] c20e2abbf94833d2e5bcf2ca3aa7b3db5d8207af2d1c898ac90ce06858ce835f
[INFO] running `Command { std: "docker" "start" "-a" "c20e2abbf94833d2e5bcf2ca3aa7b3db5d8207af2d1c898ac90ce06858ce835f", kill_on_drop: false }`
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]     Checking scopeguard v1.2.0
[INFO] [stderr]    Compiling crossbeam-utils v0.8.16
[INFO] [stderr]    Compiling libc v0.2.150
[INFO] [stderr]     Checking simd-adler32 v0.3.7
[INFO] [stderr]    Compiling rayon-core v1.12.0
[INFO] [stderr]     Checking adler v1.0.2
[INFO] [stderr]    Compiling crc32fast v1.3.2
[INFO] [stderr]    Compiling cfg-if v0.1.10
[INFO] [stderr]    Compiling version-compare v0.0.10
[INFO] [stderr]     Checking either v1.9.0
[INFO] [stderr]     Checking bitflags v1.3.2
[INFO] [stderr]     Checking weezl v0.1.7
[INFO] [stderr]     Checking color_quant v1.1.0
[INFO] [stderr]     Checking ppv-lite86 v0.2.17
[INFO] [stderr]     Checking half v2.2.1
[INFO] [stderr]    Compiling sdl2 v0.34.5
[INFO] [stderr]     Checking smallvec v1.11.2
[INFO] [stderr]     Checking lebe v0.5.2
[INFO] [stderr]     Checking bit_field v0.10.2
[INFO] [stderr]     Checking bytemuck v1.14.0
[INFO] [stderr]     Checking miniz_oxide v0.7.1
[INFO] [stderr]     Checking fdeflate v0.3.1
[INFO] [stderr]     Checking zune-inflate v0.2.54
[INFO] [stderr]     Checking byteorder v1.5.0
[INFO] [stderr]    Compiling sdl2-sys v0.34.5
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]     Checking gif v0.12.0
[INFO] [stderr]     Checking qoi v0.4.1
[INFO] [stderr]    Compiling memoffset v0.9.0
[INFO] [stderr]    Compiling crossbeam-epoch v0.9.15
[INFO] [stderr]    Compiling lock_api v0.4.11
[INFO] [stderr]    Compiling num-traits v0.2.17
[INFO] [stderr]    Compiling num-integer v0.1.45
[INFO] [stderr]    Compiling num-rational v0.4.1
[INFO] [stderr]     Checking flate2 v1.0.28
[INFO] [stderr]     Checking spin v0.9.8
[INFO] [stderr]     Checking crossbeam-deque v0.8.3
[INFO] [stderr]     Checking png v0.17.10
[INFO] [stderr]     Checking flume v0.11.0
[INFO] [stderr]     Checking getrandom v0.2.11
[INFO] [stderr]     Checking rand_core v0.6.4
[INFO] [stderr]     Checking rand_chacha v0.3.1
[INFO] [stderr]     Checking rand v0.8.5
[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` and `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` and `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<Vehicle>,
[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<Vehicle>,
[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] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.96s
[INFO] running `Command { std: "docker" "inspect" "c20e2abbf94833d2e5bcf2ca3aa7b3db5d8207af2d1c898ac90ce06858ce835f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c20e2abbf94833d2e5bcf2ca3aa7b3db5d8207af2d1c898ac90ce06858ce835f", kill_on_drop: false }`
[INFO] [stdout] c20e2abbf94833d2e5bcf2ca3aa7b3db5d8207af2d1c898ac90ce06858ce835f
