[INFO] cloning repository https://github.com/LukeZimm/Traffic-Sim-Rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LukeZimm/Traffic-Sim-Rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLukeZimm%2FTraffic-Sim-Rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLukeZimm%2FTraffic-Sim-Rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c06dcc4fcf810e4c8b407096202f6596fb0fbab2 [INFO] building LukeZimm/Traffic-Sim-Rust against try#615edd3ad1cf6871c977dc900317cb6c2070fd6b for pr-97334 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLukeZimm%2FTraffic-Sim-Rust" "/workspace/builds/worker-33/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-33/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LukeZimm/Traffic-Sim-Rust on toolchain 615edd3ad1cf6871c977dc900317cb6c2070fd6b [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/LukeZimm/Traffic-Sim-Rust [INFO] finished tweaking git repo https://github.com/LukeZimm/Traffic-Sim-Rust [INFO] tweaked toml for git repo https://github.com/LukeZimm/Traffic-Sim-Rust written to /workspace/builds/worker-33/source/Cargo.toml [INFO] crate git repo https://github.com/LukeZimm/Traffic-Sim-Rust already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-33/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-33/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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8a41c545d0ed82bef670017c8d86374025bf146f9ae562e57d1301b26d0df6fb [INFO] running `Command { std: "docker" "start" "-a" "8a41c545d0ed82bef670017c8d86374025bf146f9ae562e57d1301b26d0df6fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8a41c545d0ed82bef670017c8d86374025bf146f9ae562e57d1301b26d0df6fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a41c545d0ed82bef670017c8d86374025bf146f9ae562e57d1301b26d0df6fb", kill_on_drop: false }` [INFO] [stdout] 8a41c545d0ed82bef670017c8d86374025bf146f9ae562e57d1301b26d0df6fb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-33/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-33/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" "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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6a529f73e3636a31fe2aff513bb401528545caf02300094e059a554a34bc8849 [INFO] running `Command { std: "docker" "start" "-a" "6a529f73e3636a31fe2aff513bb401528545caf02300094e059a554a34bc8849", kill_on_drop: false }` [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling libc v0.2.100 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling proc-macro2 v1.0.28 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling minimal-lexical v0.1.2 [INFO] [stderr] Compiling ttf-parser v0.6.2 [INFO] [stderr] Compiling piston-float v1.0.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.4 [INFO] [stderr] Compiling syn v1.0.75 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling serde v1.0.129 [INFO] [stderr] Compiling serde_derive v1.0.129 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling piston-graphics_api_version v1.0.0 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling xdg v2.2.0 [INFO] [stderr] Compiling slab v0.4.4 [INFO] [stderr] Compiling weezl v0.1.5 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling percent-encoding v2.1.0 [INFO] [stderr] Compiling bytemuck v1.7.2 [INFO] [stderr] Compiling piston-texture v0.8.0 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling fnv v1.0.7 [INFO] [stderr] Compiling interpolation v0.2.0 [INFO] [stderr] Compiling read_color v1.0.0 [INFO] [stderr] Compiling spin_sleep v1.0.0 [INFO] [stderr] Compiling piston-shaders_graphics2d v0.4.0 [INFO] [stderr] Compiling time v0.3.2 [INFO] [stderr] Compiling find_folder v0.3.0 [INFO] [stderr] Compiling fps_counter v2.0.0 [INFO] [stderr] Compiling libloading v0.7.0 [INFO] [stderr] Compiling instant v0.1.10 [INFO] [stderr] Compiling libloading v0.6.7 [INFO] [stderr] Compiling draw_state v0.8.0 [INFO] [stderr] Compiling lock_api v0.4.4 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling dlib v0.5.0 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling shader_version v0.7.0 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling piston-viewport v1.0.0 [INFO] [stderr] Compiling vecmath v1.0.0 [INFO] [stderr] Compiling gif v0.11.2 [INFO] [stderr] Compiling gfx_core v0.9.2 [INFO] [stderr] Compiling owned_ttf_parser v0.6.0 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Compiling nom v7.0.0 [INFO] [stderr] Compiling rusttype v0.9.2 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling andrew v0.3.1 [INFO] [stderr] Compiling piston2d-graphics v0.40.0 [INFO] [stderr] Compiling gfx v0.18.2 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling nix v0.20.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling parking_lot_core v0.8.3 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling parking_lot v0.11.1 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Compiling gfx_gl v0.6.1 [INFO] [stderr] Compiling mio-extras v2.0.6 [INFO] [stderr] Compiling gl v0.13.0 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Compiling xcursor v0.3.4 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling calloop v0.6.5 [INFO] [stderr] Compiling wayland-commons v0.28.6 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling gfx_device_gl v0.16.2 [INFO] [stderr] Compiling piston-gfx_texture v0.41.0 [INFO] [stderr] Compiling piston2d-gfx_graphics v0.73.0 [INFO] [stderr] Compiling wayland-cursor v0.28.6 [INFO] [stderr] Compiling wayland-egl v0.28.6 [INFO] [stderr] Compiling pistoncore-input v1.0.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.12.3 [INFO] [stderr] Compiling pistoncore-window v0.47.0 [INFO] [stderr] Compiling pistoncore-event_loop v0.53.0 [INFO] [stderr] Compiling piston v0.53.0 [INFO] [stderr] Compiling winit v0.24.0 [INFO] [stderr] Compiling glutin v0.26.0 [INFO] [stderr] Compiling pistoncore-glutin_window v0.69.0 [INFO] [stderr] Compiling piston_window v0.120.0 [INFO] [stderr] Compiling traffic_sim v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `piston_window::*` [INFO] [stdout] --> src/runtime.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use piston_window::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Instant` [INFO] [stdout] --> src/runtime.rs:4:27 [INFO] [stdout] | [INFO] [stdout] 4 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `now` [INFO] [stdout] --> src/runtime.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | let now = time::Instant::now(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_now` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `runtime` [INFO] [stdout] --> src/sim.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | runtime: &mut RunTime, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_runtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `vel` [INFO] [stdout] --> src/car.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | vel: f64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `acc` [INFO] [stdout] --> src/car.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | acc: f64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `angle` [INFO] [stdout] --> src/car.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | angle: f64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `delta` [INFO] [stdout] --> src/car.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | delta: f64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `step` [INFO] [stdout] --> src/car.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn step(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `direction` [INFO] [stdout] --> src/lane.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | direction: f64, // radians from +x [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `lifetime` [INFO] [stdout] --> src/runtime.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | lifetime: time::Instant, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `frame_int` [INFO] [stdout] --> src/runtime.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | frame_int: time::Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `prev_frame` [INFO] [stdout] --> src/runtime.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | prev_frame: time::Instant, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print` [INFO] [stdout] --> src/runtime.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn print(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `frame_delay` [INFO] [stdout] --> src/runtime.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn frame_delay(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `fps` [INFO] [stdout] --> src/runtime.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn fps(&mut self) -> u32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `scale_up` [INFO] [stdout] --> src/sim.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn scale_up(&mut self, add: f64) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `scale_down` [INFO] [stdout] --> src/sim.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn scale_down(&mut self, sub: f64) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 25s [INFO] running `Command { std: "docker" "inspect" "6a529f73e3636a31fe2aff513bb401528545caf02300094e059a554a34bc8849", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a529f73e3636a31fe2aff513bb401528545caf02300094e059a554a34bc8849", kill_on_drop: false }` [INFO] [stdout] 6a529f73e3636a31fe2aff513bb401528545caf02300094e059a554a34bc8849 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-33/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-33/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" "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:ac0d0aa6ec8ed129e241004a6179c99fa0d2616f50ba759c5b60bd26d0fafa02" "/opt/rustwide/cargo-home/bin/cargo" "+615edd3ad1cf6871c977dc900317cb6c2070fd6b" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 47c51fd2c1d2e277479aebb4dc6d4508bf2f416097e2c983295ee8ac8323ec64 [INFO] running `Command { std: "docker" "start" "-a" "47c51fd2c1d2e277479aebb4dc6d4508bf2f416097e2c983295ee8ac8323ec64", kill_on_drop: false }` [INFO] [stderr] Compiling traffic_sim v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `piston_window::*` [INFO] [stdout] --> src/runtime.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use piston_window::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Instant` [INFO] [stdout] --> src/runtime.rs:4:27 [INFO] [stdout] | [INFO] [stdout] 4 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `now` [INFO] [stdout] --> src/runtime.rs:24:13 [INFO] [stdout] | [INFO] [stdout] 24 | let now = time::Instant::now(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_now` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `runtime` [INFO] [stdout] --> src/sim.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | runtime: &mut RunTime, [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_runtime` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `vel` [INFO] [stdout] --> src/car.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | vel: f64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `acc` [INFO] [stdout] --> src/car.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | acc: f64, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `angle` [INFO] [stdout] --> src/car.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | angle: f64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `delta` [INFO] [stdout] --> src/car.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | delta: f64, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `step` [INFO] [stdout] --> src/car.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn step(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `direction` [INFO] [stdout] --> src/lane.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | direction: f64, // radians from +x [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `lifetime` [INFO] [stdout] --> src/runtime.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | lifetime: time::Instant, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `frame_int` [INFO] [stdout] --> src/runtime.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | frame_int: time::Duration, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `prev_frame` [INFO] [stdout] --> src/runtime.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | prev_frame: time::Instant, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `print` [INFO] [stdout] --> src/runtime.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | pub fn print(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `frame_delay` [INFO] [stdout] --> src/runtime.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub fn frame_delay(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `fps` [INFO] [stdout] --> src/runtime.rs:35:12 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn fps(&mut self) -> u32 { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `scale_up` [INFO] [stdout] --> src/sim.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 32 | pub fn scale_up(&mut self, add: f64) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `scale_down` [INFO] [stdout] --> src/sim.rs:39:12 [INFO] [stdout] | [INFO] [stdout] 39 | pub fn scale_down(&mut self, sub: f64) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 6.24s [INFO] [stderr] Executable unittests src/lib.rs (/opt/rustwide/target/debug/deps/traffic_sim-64b79a73f13a5d65) [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/traffic_sim-c4318e5d412645ec) [INFO] running `Command { std: "docker" "inspect" "47c51fd2c1d2e277479aebb4dc6d4508bf2f416097e2c983295ee8ac8323ec64", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "47c51fd2c1d2e277479aebb4dc6d4508bf2f416097e2c983295ee8ac8323ec64", kill_on_drop: false }` [INFO] [stdout] 47c51fd2c1d2e277479aebb4dc6d4508bf2f416097e2c983295ee8ac8323ec64