[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 try#998b6603a58e47f42ccce7a67943234e96b6839e for pr-143170 [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] 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] validating manifest of git repo https://github.com/harry97uk/smart-road-01F on toolchain 998b6603a58e47f42ccce7a67943234e96b6839e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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" "+998b6603a58e47f42ccce7a67943234e96b6839e" "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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 590620cbdc1b8d542dcb68c1dd9a6a703a14d8e948692a6361f6b295129f25c6 [INFO] running `Command { std: "docker" "start" "-a" "590620cbdc1b8d542dcb68c1dd9a6a703a14d8e948692a6361f6b295129f25c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "590620cbdc1b8d542dcb68c1dd9a6a703a14d8e948692a6361f6b295129f25c6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "590620cbdc1b8d542dcb68c1dd9a6a703a14d8e948692a6361f6b295129f25c6", kill_on_drop: false }` [INFO] [stdout] 590620cbdc1b8d542dcb68c1dd9a6a703a14d8e948692a6361f6b295129f25c6 [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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+998b6603a58e47f42ccce7a67943234e96b6839e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e8307c1718d150cb3d96790a55e1de5d21d057962e86cc0c45c9c174d062a3ca [INFO] running `Command { std: "docker" "start" "-a" "e8307c1718d150cb3d96790a55e1de5d21d057962e86cc0c45c9c174d062a3ca", kill_on_drop: false }` [INFO] [stderr] Checking scopeguard v1.2.0 [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] Compiling libc v0.2.150 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Checking miniz_oxide v0.7.1 [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] Compiling sdl2-sys v0.34.5 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Checking weezl v0.1.7 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking fdeflate v0.3.1 [INFO] [stderr] Checking half v2.2.1 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Compiling sdl2 v0.34.5 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking bytemuck v1.14.0 [INFO] [stderr] Checking getrandom v0.2.11 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking gif v0.12.0 [INFO] [stderr] Checking png v0.17.10 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking rayon v1.8.0 [INFO] [stderr] Checking exr v1.71.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [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, [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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/main.rs:116:40 [INFO] [stdout] | [INFO] [stdout] 116 | fn create_car_texture(texture_creator: &TextureCreator) -> Texture { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 116 | fn create_car_texture(texture_creator: &TextureCreator) -> Texture<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/main.rs:121:41 [INFO] [stdout] | [INFO] [stdout] 121 | fn create_road_texture(texture_creator: &TextureCreator) -> Texture { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 121 | fn create_road_texture(texture_creator: &TextureCreator) -> Texture<'_> { [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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/main.rs:116:40 [INFO] [stdout] | [INFO] [stdout] 116 | fn create_car_texture(texture_creator: &TextureCreator) -> Texture { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 116 | fn create_car_texture(texture_creator: &TextureCreator) -> Texture<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/main.rs:121:41 [INFO] [stdout] | [INFO] [stdout] 121 | fn create_road_texture(texture_creator: &TextureCreator) -> Texture { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 121 | fn create_road_texture(texture_creator: &TextureCreator) -> Texture<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 22.94s [INFO] running `Command { std: "docker" "inspect" "e8307c1718d150cb3d96790a55e1de5d21d057962e86cc0c45c9c174d062a3ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e8307c1718d150cb3d96790a55e1de5d21d057962e86cc0c45c9c174d062a3ca", kill_on_drop: false }` [INFO] [stdout] e8307c1718d150cb3d96790a55e1de5d21d057962e86cc0c45c9c174d062a3ca