[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 try#377afada703be70d3fdff9164a481570a3cba7fe for pr-113240 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faboluo11%2Fcar-simulation" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/aboluo11/car-simulation on toolchain 377afada703be70d3fdff9164a481570a3cba7fe [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+377afada703be70d3fdff9164a481570a3cba7fe" "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-4-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+377afada703be70d3fdff9164a481570a3cba7fe" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:a420fdec406141845121210faa381f8029b0be6d4170deff7c4445a424f67918" "/opt/rustwide/cargo-home/bin/cargo" "+377afada703be70d3fdff9164a481570a3cba7fe" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 7bee011a47914968707a0e7df8a9963de7c4903bb360a42310db76dd58239eea [INFO] running `Command { std: "docker" "start" "-a" "7bee011a47914968707a0e7df8a9963de7c4903bb360a42310db76dd58239eea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7bee011a47914968707a0e7df8a9963de7c4903bb360a42310db76dd58239eea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7bee011a47914968707a0e7df8a9963de7c4903bb360a42310db76dd58239eea", kill_on_drop: false }` [INFO] [stdout] 7bee011a47914968707a0e7df8a9963de7c4903bb360a42310db76dd58239eea [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:a420fdec406141845121210faa381f8029b0be6d4170deff7c4445a424f67918" "/opt/rustwide/cargo-home/bin/cargo" "+377afada703be70d3fdff9164a481570a3cba7fe" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 60ecd285aeda886c3ddbf53d1d96dee502e11082eb953e18da3c4a7c04311067 [INFO] running `Command { std: "docker" "start" "-a" "60ecd285aeda886c3ddbf53d1d96dee502e11082eb953e18da3c4a7c04311067", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.105 [INFO] [stderr] Compiling pkg-config v0.3.22 [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 cc v1.0.71 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Checking smallvec v1.7.0 [INFO] [stderr] Compiling libloading v0.7.1 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling bindgen v0.56.0 [INFO] [stderr] Checking bytemuck v1.7.3 [INFO] [stderr] Compiling ansi_term v0.11.0 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling arrayvec v0.4.12 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Compiling servo-fontconfig-sys v4.0.6 [INFO] [stderr] Compiling clang-sys v1.3.0 [INFO] [stderr] Compiling nom v7.0.0 [INFO] [stderr] Compiling cmake v0.1.46 [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] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.10 [INFO] [stderr] Checking ttf-parser v0.12.3 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Checking minimal-lexical v0.1.4 [INFO] [stderr] Checking ppv-lite86 v0.2.15 [INFO] [stderr] Compiling x11-dl v2.19.1 [INFO] [stderr] Checking deflate v0.9.1 [INFO] [stderr] Checking unicode-ccc v0.1.2 [INFO] [stderr] Checking siphasher v0.3.7 [INFO] [stderr] Checking unicode-bidi-mirroring v0.1.0 [INFO] [stderr] Checking arrayvec v0.7.2 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Checking unicode-script v0.5.4 [INFO] [stderr] Checking xmlparser v0.13.3 [INFO] [stderr] Compiling servo-freetype-sys v4.0.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling expat-sys v2.1.6 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Checking png v0.17.2 [INFO] [stderr] Checking kurbo v0.8.2 [INFO] [stderr] Checking svgtypes v0.8.0 [INFO] [stderr] Checking roxmltree v0.14.1 [INFO] [stderr] Compiling minifb v0.19.3 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Checking euclid v0.20.14 [INFO] [stderr] Checking data-url v0.1.1 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking simplecss v0.2.1 [INFO] [stderr] Checking nix v0.20.0 [INFO] [stderr] Checking getrandom v0.2.3 [INFO] [stderr] Checking memmap2 v0.5.0 [INFO] [stderr] Checking dirs-sys v0.3.6 [INFO] [stderr] Checking fontdb v0.7.0 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Checking rustybuzz v0.4.0 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking servo-fontconfig v0.4.0 [INFO] [stderr] Checking freetype v0.4.1 [INFO] [stderr] Checking flate2 v1.0.22 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rgb v0.8.30 [INFO] [stderr] Checking safe_arch v0.5.2 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking unicode-vo v0.1.0 [INFO] [stderr] Checking float-ord v0.2.0 [INFO] [stderr] Checking xmlwriter v0.1.0 [INFO] [stderr] Checking rand v0.8.4 [INFO] [stderr] Checking arrayref v0.3.6 [INFO] [stderr] Checking unicode-bidi v0.3.7 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking pico-args v0.4.2 [INFO] [stderr] Checking lyon_geom v0.14.1 [INFO] [stderr] Checking rctree v0.4.0 [INFO] [stderr] Checking png v0.15.3 [INFO] [stderr] Checking xcursor v0.3.4 [INFO] [stderr] Checking lyon_geom v0.15.3 [INFO] [stderr] Checking tiny-skia v0.6.1 [INFO] [stderr] Checking svgfilters v0.4.0 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking tempfile v3.2.0 [INFO] [stderr] Checking sw-composite v0.7.14 [INFO] [stderr] Checking lyon_path v0.14.0 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Checking typed-arena v2.0.1 [INFO] [stderr] Checking font-kit v0.5.0 [INFO] [stderr] Checking raqote v0.7.14 [INFO] [stderr] Checking wayland-commons v0.28.6 [INFO] [stderr] Checking usvg v0.19.0 [INFO] [stderr] Checking wayland-cursor v0.28.6 [INFO] [stderr] Checking resvg v0.19.0 [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: `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: `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: 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] = 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] = note: `#[warn(private_in_public)]` 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] = 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] = note: `#[warn(private_in_public)]` on by default [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: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 `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 `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.43s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "60ecd285aeda886c3ddbf53d1d96dee502e11082eb953e18da3c4a7c04311067", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "60ecd285aeda886c3ddbf53d1d96dee502e11082eb953e18da3c4a7c04311067", kill_on_drop: false }` [INFO] [stdout] 60ecd285aeda886c3ddbf53d1d96dee502e11082eb953e18da3c4a7c04311067