[INFO] cloning repository https://github.com/arvsrn/game-engine [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/arvsrn/game-engine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farvsrn%2Fgame-engine", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farvsrn%2Fgame-engine'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d5d36f099830a87d78735e9387b5bccd241937f7 [INFO] checking arvsrn/game-engine against try#0f31acebf540c89e4a4d5d114959fe91973419cb for pr-147017 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Farvsrn%2Fgame-engine" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/arvsrn/game-engine [INFO] finished tweaking git repo https://github.com/arvsrn/game-engine [INFO] tweaked toml for git repo https://github.com/arvsrn/game-engine written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/arvsrn/game-engine on toolchain 0f31acebf540c89e4a4d5d114959fe91973419cb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0f31acebf540c89e4a4d5d114959fe91973419cb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/arvsrn/game-engine 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" "+0f31acebf540c89e4a4d5d114959fe91973419cb" "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 wasm-bindgen-shared v0.2.86 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.86 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.86 [INFO] [stderr] Downloaded proc-macro2 v1.0.60 [INFO] [stderr] Downloaded xml-rs v0.8.14 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.86 [INFO] [stderr] Downloaded js-sys v0.3.63 [INFO] [stderr] Downloaded wasm-bindgen v0.2.86 [INFO] [stderr] Downloaded minifb v0.24.0 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.36 [INFO] [stderr] Downloaded web-sys v0.3.63 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+0f31acebf540c89e4a4d5d114959fe91973419cb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 58fdbaf54f4592597ac1172cf9c11eb1987c6432e105a71fc45a0a4895e169d6 [INFO] running `Command { std: "docker" "start" "-a" "58fdbaf54f4592597ac1172cf9c11eb1987c6432e105a71fc45a0a4895e169d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "58fdbaf54f4592597ac1172cf9c11eb1987c6432e105a71fc45a0a4895e169d6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "58fdbaf54f4592597ac1172cf9c11eb1987c6432e105a71fc45a0a4895e169d6", kill_on_drop: false }` [INFO] [stdout] 58fdbaf54f4592597ac1172cf9c11eb1987c6432e105a71fc45a0a4895e169d6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+0f31acebf540c89e4a4d5d114959fe91973419cb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 92e849d1e53fb733667372ffbfb30228ba5c9f655a1fcc4f929d6990de84fa0e [INFO] running `Command { std: "docker" "start" "-a" "92e849d1e53fb733667372ffbfb30228ba5c9f655a1fcc4f929d6990de84fa0e", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.146 [INFO] [stderr] Compiling proc-macro2 v1.0.60 [INFO] [stderr] Compiling quote v1.0.28 [INFO] [stderr] Compiling xml-rs v0.8.14 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling rustix v0.37.20 [INFO] [stderr] Checking libloading v0.8.0 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling tempfile v3.6.0 [INFO] [stderr] Compiling minifb v0.24.0 [INFO] [stderr] Checking cty v0.2.2 [INFO] [stderr] Checking raw-window-handle v0.4.3 [INFO] [stderr] Checking dlib v0.5.2 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Checking nix v0.24.3 [INFO] [stderr] Checking io-lifetimes v1.0.11 [INFO] [stderr] Checking xcursor v0.3.4 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Checking wayland-commons v0.29.5 [INFO] [stderr] Checking wayland-cursor v0.29.5 [INFO] [stderr] Checking Game v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `mix` [INFO] [stdout] --> src/render.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | color::{mix, RGB}, [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: `mix` [INFO] [stdout] --> src/render.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | color::{mix, RGB}, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/render.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | let mut window = Window_::new(name, WIDTH, HEIGHT, WindowOptions::default()).unwrap(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/render.rs:58:13 [INFO] [stdout] | [INFO] [stdout] 58 | let mut window = Window_::new(name, WIDTH, HEIGHT, WindowOptions::default()).unwrap(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/render.rs:275:19 [INFO] [stdout] | [INFO] [stdout] 275 | Some((x, y)) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/render.rs:275:22 [INFO] [stdout] | [INFO] [stdout] 275 | Some((x, y)) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `x` [INFO] [stdout] --> src/render.rs:275:19 [INFO] [stdout] | [INFO] [stdout] 275 | Some((x, y)) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_x` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `y` [INFO] [stdout] --> src/render.rs:275:22 [INFO] [stdout] | [INFO] [stdout] 275 | Some((x, y)) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_y` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `RGBA` is never used [INFO] [stdout] --> src/color.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | pub type RGBA = (u8, u8, u8, u8); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mix` is never used [INFO] [stdout] --> src/color.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn mix(color1: RGB, color2: RGB, mix: f32) -> RGB { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `a`, `b`, `c`, and `shader` are never read [INFO] [stdout] --> src/render.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 31 | Triangle { [INFO] [stdout] | -------- fields in this variant [INFO] [stdout] 32 | a: Vec2, [INFO] [stdout] | ^ [INFO] [stdout] 33 | b: Vec2, [INFO] [stdout] | ^ [INFO] [stdout] 34 | c: Vec2, [INFO] [stdout] | ^ [INFO] [stdout] 35 | shader: fn(u32, u32, u32) -> RGB, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Shape` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `last_mouse_position` is never read [INFO] [stdout] --> src/render.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Window { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 52 | last_mouse_position: Vec2, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `draw_polygons` is never used [INFO] [stdout] --> src/render.rs:140:12 [INFO] [stdout] | [INFO] [stdout] 55 | impl Window { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 140 | pub fn draw_polygons(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `sub`, `mul`, `len`, `transform`, `euclid_distance`, and `l1_distance` are never used [INFO] [stdout] --> src/vector.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Vec2 { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn sub(&self, other: Vec2) -> Vec2 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn mul(&self, other: f32) -> Vec2 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn len(&self) -> f32 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn transform(&self, basis: (Vec2, Vec2)) -> Vec2 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn euclid_distance(&self, other: Vec2) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn l1_distance(&self, other: Vec2) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add`, `len`, and `as_vec2` are never used [INFO] [stdout] --> src/vector.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 63 | impl Vec3 { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn add(&self, other: Vec3) -> Vec3 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn len(&self) -> f32 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn as_vec2(&self) -> Vec2 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `RGBA` is never used [INFO] [stdout] --> src/color.rs:2:10 [INFO] [stdout] | [INFO] [stdout] 2 | pub type RGBA = (u8, u8, u8, u8); [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `mix` is never used [INFO] [stdout] --> src/color.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn mix(color1: RGB, color2: RGB, mix: f32) -> RGB { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `a`, `b`, `c`, and `shader` are never read [INFO] [stdout] --> src/render.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 31 | Triangle { [INFO] [stdout] | -------- fields in this variant [INFO] [stdout] 32 | a: Vec2, [INFO] [stdout] | ^ [INFO] [stdout] 33 | b: Vec2, [INFO] [stdout] | ^ [INFO] [stdout] 34 | c: Vec2, [INFO] [stdout] | ^ [INFO] [stdout] 35 | shader: fn(u32, u32, u32) -> RGB, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Shape` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `last_mouse_position` is never read [INFO] [stdout] --> src/render.rs:52:5 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Window { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 52 | last_mouse_position: Vec2, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `draw_polygons` is never used [INFO] [stdout] --> src/render.rs:140:12 [INFO] [stdout] | [INFO] [stdout] 55 | impl Window { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 140 | pub fn draw_polygons(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `sub`, `mul`, `len`, `transform`, `euclid_distance`, and `l1_distance` are never used [INFO] [stdout] --> src/vector.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Vec2 { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 21 | pub fn sub(&self, other: Vec2) -> Vec2 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn mul(&self, other: f32) -> Vec2 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | pub fn len(&self) -> f32 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn transform(&self, basis: (Vec2, Vec2)) -> Vec2 { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 47 | pub fn euclid_distance(&self, other: Vec2) -> f32 { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub fn l1_distance(&self, other: Vec2) -> u32 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `add`, `len`, and `as_vec2` are never used [INFO] [stdout] --> src/vector.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 63 | impl Vec3 { [INFO] [stdout] | --------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 68 | pub fn add(&self, other: Vec3) -> Vec3 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | pub fn len(&self) -> f32 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 97 | pub fn as_vec2(&self) -> Vec2 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 29.31s [INFO] running `Command { std: "docker" "inspect" "92e849d1e53fb733667372ffbfb30228ba5c9f655a1fcc4f929d6990de84fa0e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "92e849d1e53fb733667372ffbfb30228ba5c9f655a1fcc4f929d6990de84fa0e", kill_on_drop: false }` [INFO] [stdout] 92e849d1e53fb733667372ffbfb30228ba5c9f655a1fcc4f929d6990de84fa0e