[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] checking aboluo11/car-simulation against master#1ab98933fa75d72e882b86feac1a0be3a5b02cb0 for pr-83850 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faboluo11%2Fcar-simulation" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/aboluo11/car-simulation on toolchain 1ab98933fa75d72e882b86feac1a0be3a5b02cb0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1ab98933fa75d72e882b86feac1a0be3a5b02cb0" "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-6/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" "+1ab98933fa75d72e882b86feac1a0be3a5b02cb0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded fontdb v0.7.0 [INFO] [stderr] Downloaded usvg v0.19.0 [INFO] [stderr] Downloaded tiny-skia v0.6.1 [INFO] [stderr] Downloaded sw-composite v0.7.14 [INFO] [stderr] Downloaded lyon_geom v0.15.3 [INFO] [stderr] Downloaded xkbcommon-sys v0.7.5 [INFO] [stderr] Downloaded unidiff v0.3.3 [INFO] [stderr] Downloaded rgb v0.8.30 [INFO] [stderr] Downloaded kurbo v0.8.2 [INFO] [stderr] Downloaded raqote v0.7.14 [INFO] [stderr] Downloaded euclid v0.20.14 [INFO] [stderr] Downloaded minifb v0.19.3 [INFO] [stderr] Downloaded xkb v0.2.1 [INFO] [stderr] Downloaded sdl2 v0.34.5 [INFO] [stderr] Downloaded sdl2-sys v0.34.5 [INFO] [stderr] Downloaded orbclient v0.3.31 [INFO] [stderr] Downloaded servo-fontconfig-sys v4.0.6 [INFO] [stderr] Downloaded servo-freetype-sys v4.0.3 [INFO] [stderr] Downloaded resvg v0.19.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+1ab98933fa75d72e882b86feac1a0be3a5b02cb0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] eecec1672d98307d2569a384880a84eec38fc4a641e3e32e11c2c0c3c1fbec72 [INFO] running `Command { std: "docker" "start" "-a" "eecec1672d98307d2569a384880a84eec38fc4a641e3e32e11c2c0c3c1fbec72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "eecec1672d98307d2569a384880a84eec38fc4a641e3e32e11c2c0c3c1fbec72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eecec1672d98307d2569a384880a84eec38fc4a641e3e32e11c2c0c3c1fbec72", kill_on_drop: false }` [INFO] [stdout] eecec1672d98307d2569a384880a84eec38fc4a641e3e32e11c2c0c3c1fbec72 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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" "+1ab98933fa75d72e882b86feac1a0be3a5b02cb0" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 92dacf2beab4c687fdffcc9aa09d2f05484ce98d4101a5e53b7e0683a5f7562f [INFO] running `Command { std: "docker" "start" "-a" "92dacf2beab4c687fdffcc9aa09d2f05484ce98d4101a5e53b7e0683a5f7562f", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.105 [INFO] [stderr] Compiling pkg-config v0.3.22 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling cc v1.0.71 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Checking encoding_index_tests v0.1.4 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Checking smallvec v1.7.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking bytemuck v1.7.3 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling bindgen v0.56.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Checking nodrop v0.1.14 [INFO] [stderr] Compiling unicode-general-category v0.4.0 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Checking ttf-parser v0.12.3 [INFO] [stderr] Checking minimal-lexical v0.1.4 [INFO] [stderr] Checking ppv-lite86 v0.2.15 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking xmlparser v0.13.3 [INFO] [stderr] Checking siphasher v0.3.7 [INFO] [stderr] Checking arrayvec v0.7.2 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking unicode-ccc v0.1.2 [INFO] [stderr] Checking unicode-bidi-mirroring v0.1.0 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking matches v0.1.9 [INFO] [stderr] Checking unicode-script v0.5.4 [INFO] [stderr] Checking rctree v0.4.0 [INFO] [stderr] Checking float-ord v0.2.0 [INFO] [stderr] Checking base64 v0.13.0 [INFO] [stderr] Checking arrayref v0.3.6 [INFO] [stderr] Checking unicode-vo v0.1.0 [INFO] [stderr] Checking pico-args v0.4.2 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking xmlwriter v0.1.0 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Checking typed-arena v2.0.1 [INFO] [stderr] Checking sw-composite v0.7.14 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Compiling libloading v0.7.1 [INFO] [stderr] Checking encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Checking encoding-index-japanese v1.20141219.5 [INFO] [stderr] Checking encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Checking encoding-index-korean v1.20141219.5 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Checking deflate v0.9.1 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking rgb v0.8.30 [INFO] [stderr] Checking safe_arch v0.5.2 [INFO] [stderr] Compiling cmake v0.1.46 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling nom v7.0.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Checking svgtypes v0.8.0 [INFO] [stderr] Checking kurbo v0.8.2 [INFO] [stderr] Checking roxmltree v0.14.1 [INFO] [stderr] Compiling clang-sys v1.3.0 [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] Checking data-url v0.1.1 [INFO] [stderr] Checking walkdir v2.3.2 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking encoding v0.2.33 [INFO] [stderr] Checking svgfilters v0.4.0 [INFO] [stderr] Compiling minifb v0.19.3 [INFO] [stderr] Compiling servo-freetype-sys v4.0.3 [INFO] [stderr] Compiling expat-sys v2.1.6 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Checking rustybuzz v0.4.0 [INFO] [stderr] Checking nix v0.20.0 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking dirs-sys v0.3.6 [INFO] [stderr] Checking memmap2 v0.5.0 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Checking png v0.15.3 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking freetype v0.4.1 [INFO] [stderr] Checking simplecss v0.2.1 [INFO] [stderr] Checking fontdb v0.7.0 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Checking servo-fontconfig v0.4.0 [INFO] [stderr] Checking xcursor v0.3.4 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking png v0.17.2 [INFO] [stderr] Checking flate2 v1.0.22 [INFO] [stderr] Checking euclid v0.20.14 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking tiny-skia v0.6.1 [INFO] [stderr] Checking lyon_geom v0.14.1 [INFO] [stderr] Checking lyon_geom v0.15.3 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Checking usvg v0.19.0 [INFO] [stderr] Checking lyon_path v0.14.0 [INFO] [stderr] Checking font-kit v0.5.0 [INFO] [stderr] Checking raqote v0.7.14 [INFO] [stderr] Checking resvg v0.19.0 [INFO] [stderr] Checking wayland-commons v0.28.6 [INFO] [stderr] Checking wayland-cursor v0.28.6 [INFO] [stderr] Compiling xkbcommon-sys v0.7.5 [INFO] [stderr] Checking xkb v0.2.1 [INFO] [stderr] Checking 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: `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: 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: 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: 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: 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] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 34.35s [INFO] running `Command { std: "docker" "inspect" "92dacf2beab4c687fdffcc9aa09d2f05484ce98d4101a5e53b7e0683a5f7562f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92dacf2beab4c687fdffcc9aa09d2f05484ce98d4101a5e53b7e0683a5f7562f", kill_on_drop: false }` [INFO] [stdout] 92dacf2beab4c687fdffcc9aa09d2f05484ce98d4101a5e53b7e0683a5f7562f