[INFO] cloning repository https://github.com/aboluo11/car-simulation [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aboluo11/car-simulation" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faboluo11%2Fcar-simulation", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faboluo11%2Fcar-simulation'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c179d228f2c4b35009010d0095feff82403c6abe [INFO] testing aboluo11/car-simulation against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faboluo11%2Fcar-simulation" "/workspace/builds/worker-9/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-9/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/aboluo11/car-simulation on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/aboluo11/car-simulation [INFO] finished tweaking git repo https://github.com/aboluo11/car-simulation [INFO] tweaked toml for git repo https://github.com/aboluo11/car-simulation written to /workspace/builds/worker-9/source/Cargo.toml [INFO] crate git repo https://github.com/aboluo11/car-simulation already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "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-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 53bc87f94dc3dcec5825608cee87c645174f0b5b1b0effafd1f32173548116b8 [INFO] running `Command { std: "docker" "start" "-a" "53bc87f94dc3dcec5825608cee87c645174f0b5b1b0effafd1f32173548116b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "53bc87f94dc3dcec5825608cee87c645174f0b5b1b0effafd1f32173548116b8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "53bc87f94dc3dcec5825608cee87c645174f0b5b1b0effafd1f32173548116b8", kill_on_drop: false }` [INFO] [stdout] 53bc87f94dc3dcec5825608cee87c645174f0b5b1b0effafd1f32173548116b8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 7bbe2a7deda95a60a3117d3d9cd8e1c397c29a8b332c91d1680c5846ad46b0f0 [INFO] running `Command { std: "docker" "start" "-a" "7bbe2a7deda95a60a3117d3d9cd8e1c397c29a8b332c91d1680c5846ad46b0f0", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.105 [INFO] [stderr] Compiling pkg-config v0.3.22 [INFO] [stderr] Compiling cc v1.0.71 [INFO] [stderr] Compiling encoding_index_tests v0.1.4 [INFO] [stderr] Compiling bytemuck v1.7.3 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling unicode-general-category v0.4.0 [INFO] [stderr] Compiling ttf-parser v0.12.3 [INFO] [stderr] Compiling minimal-lexical v0.1.4 [INFO] [stderr] Compiling xmlparser v0.13.3 [INFO] [stderr] Compiling unicode-bidi-mirroring v0.1.0 [INFO] [stderr] Compiling float-cmp v0.9.0 [INFO] [stderr] Compiling unicode-ccc v0.1.2 [INFO] [stderr] Compiling unicode-script v0.5.4 [INFO] [stderr] Compiling rctree v0.4.0 [INFO] [stderr] Compiling xmlwriter v0.1.0 [INFO] [stderr] Compiling unicode-vo v0.1.0 [INFO] [stderr] Compiling pico-args v0.4.2 [INFO] [stderr] Compiling float-ord v0.2.0 [INFO] [stderr] Compiling sw-composite v0.7.14 [INFO] [stderr] Compiling typed-arena v2.0.1 [INFO] [stderr] Compiling clang-sys v1.3.0 [INFO] [stderr] Compiling libloading v0.7.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling deflate v0.9.1 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling deflate v0.7.20 [INFO] [stderr] Compiling data-url v0.1.1 [INFO] [stderr] Compiling svgtypes v0.8.0 [INFO] [stderr] Compiling kurbo v0.8.2 [INFO] [stderr] Compiling encoding-index-korean v1.20141219.5 [INFO] [stderr] Compiling encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-japanese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Compiling encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Compiling rgb v0.8.30 [INFO] [stderr] Compiling safe_arch v0.5.2 [INFO] [stderr] Compiling roxmltree v0.14.1 [INFO] [stderr] Compiling cmake v0.1.46 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Compiling servo-fontconfig-sys v4.0.6 [INFO] [stderr] Compiling x11-dl v2.19.1 [INFO] [stderr] Compiling simplecss v0.2.1 [INFO] [stderr] Compiling nom v7.0.0 [INFO] [stderr] Compiling bindgen v0.56.0 [INFO] [stderr] Compiling png v0.15.3 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Compiling encoding v0.2.33 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Compiling euclid v0.20.14 [INFO] [stderr] Compiling svgfilters v0.4.0 [INFO] [stderr] Compiling servo-freetype-sys v4.0.3 [INFO] [stderr] Compiling expat-sys v2.1.6 [INFO] [stderr] Compiling minifb v0.19.3 [INFO] [stderr] Compiling png v0.17.2 [INFO] [stderr] Compiling lyon_geom v0.14.1 [INFO] [stderr] Compiling lyon_geom v0.15.3 [INFO] [stderr] Compiling rustybuzz v0.4.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 tiny-skia v0.6.1 [INFO] [stderr] Compiling lyon_path v0.14.0 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling nix v0.20.0 [INFO] [stderr] Compiling memmap2 v0.5.0 [INFO] [stderr] Compiling dirs-sys v0.3.6 [INFO] [stderr] Compiling flate2 v1.0.22 [INFO] [stderr] Compiling servo-fontconfig v0.4.0 [INFO] [stderr] Compiling freetype v0.4.1 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling fontdb v0.7.0 [INFO] [stderr] Compiling dirs v2.0.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling font-kit v0.5.0 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling raqote v0.7.14 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling usvg v0.19.0 [INFO] [stderr] Compiling wayland-commons v0.28.6 [INFO] [stderr] Compiling resvg v0.19.0 [INFO] [stderr] Compiling wayland-cursor v0.28.6 [INFO] [stderr] Compiling xkbcommon-sys v0.7.5 [INFO] [stderr] Compiling xkb v0.2.1 [INFO] [stderr] Compiling car-simulation v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/main.rs:7:35 [INFO] [stdout] | [INFO] [stdout] 7 | use std::{ops, time::{SystemTime, Duration}}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rotation` [INFO] [stdout] --> src/back_parking.rs:3:50 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{CAR_HEIGHT, CAR_WIDTH, Rect, point2, Rotation, Car, MIRROR_HEIGHT, MIRROR_ANGLE, Map, WINDOW_WIDTH, WINDOW_HEIGHT, View, MENU... [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/back_parking.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | let mut road = Rect::new(point2(MAP_WIDTH/2., MAP_HEIGHT/2.), MAP_WIDTH, ROAD_WIDTH, Some(color)); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private trait `Map` in public interface (error E0445) [INFO] [stdout] --> src/button.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | / pub fn new(origin: Point, width: f32, height: f32, [INFO] [stdout] 15 | | call_back: &'a dyn Fn() -> Box, text: &'static str, font: &'a Font) -> Button<'a> { [INFO] [stdout] | |__________________________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(private_in_public)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private trait `Map` in public interface (error E0445) [INFO] [stdout] --> src/button.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn on_click(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `L` should have a snake case name [INFO] [stdout] --> src/main.rs:439:8 [INFO] [stdout] | [INFO] [stdout] 439 | fn L(&self) -> f32 { [INFO] [stdout] | ^ help: convert the identifier to snake case: `l` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `T` should have a snake case name [INFO] [stdout] --> src/main.rs:443:8 [INFO] [stdout] | [INFO] [stdout] 443 | fn T(&self) -> f32 { [INFO] [stdout] | ^ help: convert the identifier to snake case: `t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 43s [INFO] running `Command { std: "docker" "inspect" "7bbe2a7deda95a60a3117d3d9cd8e1c397c29a8b332c91d1680c5846ad46b0f0", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7bbe2a7deda95a60a3117d3d9cd8e1c397c29a8b332c91d1680c5846ad46b0f0", kill_on_drop: false }` [INFO] [stdout] 7bbe2a7deda95a60a3117d3d9cd8e1c397c29a8b332c91d1680c5846ad46b0f0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] df8cd1b121fa352e4ca4da8b6f1236deabf56da084f185dc71de0e5d32838d0d [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "df8cd1b121fa352e4ca4da8b6f1236deabf56da084f185dc71de0e5d32838d0d", kill_on_drop: false }` [INFO] [stderr] Compiling car-simulation v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Duration` [INFO] [stdout] --> src/main.rs:7:35 [INFO] [stdout] | [INFO] [stdout] 7 | use std::{ops, time::{SystemTime, Duration}}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rotation` [INFO] [stdout] --> src/back_parking.rs:3:50 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::{CAR_HEIGHT, CAR_WIDTH, Rect, point2, Rotation, Car, MIRROR_HEIGHT, MIRROR_ANGLE, Map, WINDOW_WIDTH, WINDOW_HEIGHT, View, MENU... [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/back_parking.rs:22:13 [INFO] [stdout] | [INFO] [stdout] 22 | let mut road = Rect::new(point2(MAP_WIDTH/2., MAP_HEIGHT/2.), MAP_WIDTH, ROAD_WIDTH, Some(color)); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private trait `Map` in public interface (error E0445) [INFO] [stdout] --> src/button.rs:14:5 [INFO] [stdout] | [INFO] [stdout] 14 | / pub fn new(origin: Point, width: f32, height: f32, [INFO] [stdout] 15 | | call_back: &'a dyn Fn() -> Box, text: &'static str, font: &'a Font) -> Button<'a> { [INFO] [stdout] | |__________________________________________________________________________________________________^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(private_in_public)]` on by default [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: private trait `Map` in public interface (error E0445) [INFO] [stdout] --> src/button.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn on_click(&self) -> Box { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #34537 [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `L` should have a snake case name [INFO] [stdout] --> src/main.rs:439:8 [INFO] [stdout] | [INFO] [stdout] 439 | fn L(&self) -> f32 { [INFO] [stdout] | ^ help: convert the identifier to snake case: `l` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `T` should have a snake case name [INFO] [stdout] --> src/main.rs:443:8 [INFO] [stdout] | [INFO] [stdout] 443 | fn T(&self) -> f32 { [INFO] [stdout] | ^ help: convert the identifier to snake case: `t` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 1.44s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/car_simulation-1579ee79046dbd99) [INFO] running `Command { std: "docker" "inspect" "df8cd1b121fa352e4ca4da8b6f1236deabf56da084f185dc71de0e5d32838d0d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "df8cd1b121fa352e4ca4da8b6f1236deabf56da084f185dc71de0e5d32838d0d", kill_on_drop: false }` [INFO] [stdout] df8cd1b121fa352e4ca4da8b6f1236deabf56da084f185dc71de0e5d32838d0d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-9/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 979213f429314fae358fc808e45fddfbde53217bbc767b04c274a900bae86211 [INFO] running `Command { std: "docker" "start" "-a" "979213f429314fae358fc808e45fddfbde53217bbc767b04c274a900bae86211", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `Duration` [INFO] [stderr] --> src/main.rs:7:35 [INFO] [stderr] | [INFO] [stderr] 7 | use std::{ops, time::{SystemTime, Duration}}; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Rotation` [INFO] [stderr] --> src/back_parking.rs:3:50 [INFO] [stderr] | [INFO] [stderr] 3 | use crate::{CAR_HEIGHT, CAR_WIDTH, Rect, point2, Rotation, Car, MIRROR_HEIGHT, MIRROR_ANGLE, Map, WINDOW_WIDTH, WINDOW_HEIGHT, View, MENU... [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/back_parking.rs:22:13 [INFO] [stderr] | [INFO] [stderr] 22 | let mut road = Rect::new(point2(MAP_WIDTH/2., MAP_HEIGHT/2.), MAP_WIDTH, ROAD_WIDTH, Some(color)); [INFO] [stderr] | ----^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` on by default [INFO] [stderr] [INFO] [stderr] warning: private trait `Map` in public interface (error E0445) [INFO] [stderr] --> src/button.rs:14:5 [INFO] [stderr] | [INFO] [stderr] 14 | / pub fn new(origin: Point, width: f32, height: f32, [INFO] [stderr] 15 | | call_back: &'a dyn Fn() -> Box, text: &'static str, font: &'a Font) -> Button<'a> { [INFO] [stderr] | |__________________________________________________________________________________________________^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(private_in_public)]` on by default [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #34537 [INFO] [stderr] [INFO] [stderr] warning: private trait `Map` in public interface (error E0445) [INFO] [stderr] --> src/button.rs:25:5 [INFO] [stderr] | [INFO] [stderr] 25 | pub fn on_click(&self) -> Box { [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stderr] = note: for more information, see issue #34537 [INFO] [stderr] [INFO] [stderr] warning: method `L` should have a snake case name [INFO] [stderr] --> src/main.rs:439:8 [INFO] [stderr] | [INFO] [stderr] 439 | fn L(&self) -> f32 { [INFO] [stderr] | ^ help: convert the identifier to snake case: `l` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: method `T` should have a snake case name [INFO] [stderr] --> src/main.rs:443:8 [INFO] [stderr] | [INFO] [stderr] 443 | fn T(&self) -> f32 { [INFO] [stderr] | ^ help: convert the identifier to snake case: `t` [INFO] [stderr] [INFO] [stderr] warning: `car-simulation` (bin "car-simulation" test) generated 7 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.20s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/car_simulation-1579ee79046dbd99) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "979213f429314fae358fc808e45fddfbde53217bbc767b04c274a900bae86211", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "979213f429314fae358fc808e45fddfbde53217bbc767b04c274a900bae86211", kill_on_drop: false }` [INFO] [stdout] 979213f429314fae358fc808e45fddfbde53217bbc767b04c274a900bae86211