[INFO] cloning repository https://github.com/molnattila991/rust_physics_engine_2d [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/molnattila991/rust_physics_engine_2d" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmolnattila991%2Frust_physics_engine_2d", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmolnattila991%2Frust_physics_engine_2d'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] aa90fb94fd4db02971f480d40054515cd1efe408 [INFO] checking molnattila991/rust_physics_engine_2d against try#b1f2594eac607c1f051534800237eeedb5590a49 for pr-139493-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fmolnattila991%2Frust_physics_engine_2d" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/molnattila991/rust_physics_engine_2d [INFO] finished tweaking git repo https://github.com/molnattila991/rust_physics_engine_2d [INFO] tweaked toml for git repo https://github.com/molnattila991/rust_physics_engine_2d written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/molnattila991/rust_physics_engine_2d on toolchain b1f2594eac607c1f051534800237eeedb5590a49 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/molnattila991/rust_physics_engine_2d 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" "+b1f2594eac607c1f051534800237eeedb5590a49" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4451d9e978fbfa54b4e0da60cce5b1f375425d56691e70b280b94007fba2cf29 [INFO] running `Command { std: "docker" "start" "-a" "4451d9e978fbfa54b4e0da60cce5b1f375425d56691e70b280b94007fba2cf29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4451d9e978fbfa54b4e0da60cce5b1f375425d56691e70b280b94007fba2cf29", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4451d9e978fbfa54b4e0da60cce5b1f375425d56691e70b280b94007fba2cf29", kill_on_drop: false }` [INFO] [stdout] 4451d9e978fbfa54b4e0da60cce5b1f375425d56691e70b280b94007fba2cf29 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6e3b7364e75e851f2ee5fa1e5d235a46663958726a650bbc6b20f55077d15d24 [INFO] running `Command { std: "docker" "start" "-a" "6e3b7364e75e851f2ee5fa1e5d235a46663958726a650bbc6b20f55077d15d24", kill_on_drop: false }` [INFO] [stderr] Checking getrandom v0.2.6 [INFO] [stderr] Checking sdl2-sys v0.35.2 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking sdl2 v0.35.2 [INFO] [stderr] Checking physics_engine_2d v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `WHITE` [INFO] [stdout] --> src/game/capsule.rs:2:36 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::graphics::colors::{RED, WHITE}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `render::Canvas` and `video::Window` [INFO] [stdout] --> src/game/capsule.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | use sdl2::{pixels::Color, render::Canvas, video::Window}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `WHITE` [INFO] [stdout] --> src/game/capsule.rs:2:36 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::graphics::colors::{RED, WHITE}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `render::Canvas` and `video::Window` [INFO] [stdout] --> src/game/capsule.rs:7:27 [INFO] [stdout] | [INFO] [stdout] 7 | use sdl2::{pixels::Color, render::Canvas, video::Window}; [INFO] [stdout] | ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ref_start` and `ref_end` are never read [INFO] [stdout] --> src/game/wall.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Wall { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | ref_start: Vector2D, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 12 | ref_end: Vector2D, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `ref_start` and `ref_end` are never read [INFO] [stdout] --> src/game/wall.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Wall { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | ref_start: Vector2D, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 12 | ref_end: Vector2D, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ref_unit` is never read [INFO] [stdout] --> src/game/capsule.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct Capsule { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 68 | ref_unit: Vector2D, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `ref_unit` is never read [INFO] [stdout] --> src/game/capsule.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct Capsule { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 68 | ref_unit: Vector2D, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/main.rs:7:137 [INFO] [stdout] | [INFO] [stdout] 7 | ...all, game_entity::{GameEntity, GameEntityMoving}, wall::{Wall, self}, capsule::Capsule}, physics::vector2d::{Vector2D, ExtendedVec... [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/main.rs:7:137 [INFO] [stdout] | [INFO] [stdout] 7 | ...all, game_entity::{GameEntity, GameEntityMoving}, wall::{Wall, self}, capsule::Capsule}, physics::vector2d::{Vector2D, ExtendedVec... [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Draw` is never used [INFO] [stdout] --> src/graphics/draw.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait Draw { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `DrawCircle` is never used [INFO] [stdout] --> src/graphics/draw.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait DrawCircle { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LIGHT_BLUE` is never used [INFO] [stdout] --> src/graphics/colors.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub const LIGHT_BLUE: Color = Color::RGB(0, 110, 255); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RED` is never used [INFO] [stdout] --> src/graphics/colors.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const RED: Color = Color::RGB(255, 0, 0); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WHITE` is never used [INFO] [stdout] --> src/graphics/colors.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const WHITE: Color = Color::RGB(255, 255, 255); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LIGHT_GREEN` is never used [INFO] [stdout] --> src/graphics/colors.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const LIGHT_GREEN: Color = Color::RGB(0, 255, 110); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `UP` should have a snake case name [INFO] [stdout] --> src/main.rs:62:18 [INFO] [stdout] | [INFO] [stdout] 62 | let (mut UP,mut DOWN,mut LEFT,mut RIGHT) = (false, false, false, false); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `up` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `DOWN` should have a snake case name [INFO] [stdout] --> src/main.rs:62:25 [INFO] [stdout] | [INFO] [stdout] 62 | let (mut UP,mut DOWN,mut LEFT,mut RIGHT) = (false, false, false, false); [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `down` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `LEFT` should have a snake case name [INFO] [stdout] --> src/main.rs:62:34 [INFO] [stdout] | [INFO] [stdout] 62 | let (mut UP,mut DOWN,mut LEFT,mut RIGHT) = (false, false, false, false); [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `left` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `RIGHT` should have a snake case name [INFO] [stdout] --> src/main.rs:62:43 [INFO] [stdout] | [INFO] [stdout] 62 | let (mut UP,mut DOWN,mut LEFT,mut RIGHT) = (false, false, false, false); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `right` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `Draw` is never used [INFO] [stdout] --> src/graphics/draw.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub trait Draw { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait `DrawCircle` is never used [INFO] [stdout] --> src/graphics/draw.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait DrawCircle { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LIGHT_BLUE` is never used [INFO] [stdout] --> src/graphics/colors.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub const LIGHT_BLUE: Color = Color::RGB(0, 110, 255); [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RED` is never used [INFO] [stdout] --> src/graphics/colors.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const RED: Color = Color::RGB(255, 0, 0); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WHITE` is never used [INFO] [stdout] --> src/graphics/colors.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const WHITE: Color = Color::RGB(255, 255, 255); [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `LIGHT_GREEN` is never used [INFO] [stdout] --> src/graphics/colors.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const LIGHT_GREEN: Color = Color::RGB(0, 255, 110); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `UP` should have a snake case name [INFO] [stdout] --> src/main.rs:62:18 [INFO] [stdout] | [INFO] [stdout] 62 | let (mut UP,mut DOWN,mut LEFT,mut RIGHT) = (false, false, false, false); [INFO] [stdout] | ^^ help: convert the identifier to snake case: `up` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `DOWN` should have a snake case name [INFO] [stdout] --> src/main.rs:62:25 [INFO] [stdout] | [INFO] [stdout] 62 | let (mut UP,mut DOWN,mut LEFT,mut RIGHT) = (false, false, false, false); [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `down` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `LEFT` should have a snake case name [INFO] [stdout] --> src/main.rs:62:34 [INFO] [stdout] | [INFO] [stdout] 62 | let (mut UP,mut DOWN,mut LEFT,mut RIGHT) = (false, false, false, false); [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `left` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `RIGHT` should have a snake case name [INFO] [stdout] --> src/main.rs:62:43 [INFO] [stdout] | [INFO] [stdout] 62 | let (mut UP,mut DOWN,mut LEFT,mut RIGHT) = (false, false, false, false); [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `right` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.31s [INFO] running `Command { std: "docker" "inspect" "6e3b7364e75e851f2ee5fa1e5d235a46663958726a650bbc6b20f55077d15d24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e3b7364e75e851f2ee5fa1e5d235a46663958726a650bbc6b20f55077d15d24", kill_on_drop: false }` [INFO] [stdout] 6e3b7364e75e851f2ee5fa1e5d235a46663958726a650bbc6b20f55077d15d24