[INFO] cloning repository https://github.com/BsoftLimited/grafx_engine [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/BsoftLimited/grafx_engine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBsoftLimited%2Fgrafx_engine", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBsoftLimited%2Fgrafx_engine'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 587f92ef87b4545cd15492b061d5979e40654bf6 [INFO] checking BsoftLimited/grafx_engine against master#c2239bca5b89a8d3573cc0fc0f2fa65c50edb79c for pr-123737 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBsoftLimited%2Fgrafx_engine" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/BsoftLimited/grafx_engine on toolchain c2239bca5b89a8d3573cc0fc0f2fa65c50edb79c [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c2239bca5b89a8d3573cc0fc0f2fa65c50edb79c" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/BsoftLimited/grafx_engine [INFO] finished tweaking git repo https://github.com/BsoftLimited/grafx_engine [INFO] tweaked toml for git repo https://github.com/BsoftLimited/grafx_engine written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/BsoftLimited/grafx_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" "+c2239bca5b89a8d3573cc0fc0f2fa65c50edb79c" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.78 [INFO] [stderr] Downloaded glutin v0.28.0 [INFO] [stderr] Downloaded pkg-config v0.3.19 [INFO] [stderr] Downloaded x11-dl v2.18.5 [INFO] [stderr] Downloaded proc-macro-crate v1.1.0 [INFO] [stderr] Downloaded unicode-xid v0.2.1 [INFO] [stderr] Downloaded wayland-sys v0.29.1 [INFO] [stderr] Downloaded num_enum_derive v0.5.4 [INFO] [stderr] Downloaded ndk-glue v0.5.0 [INFO] [stderr] Downloaded libloading v0.7.0 [INFO] [stderr] Downloaded darling_macro v0.13.0 [INFO] [stderr] Downloaded wayland-cursor v0.29.1 [INFO] [stderr] Downloaded parking_lot_core v0.8.3 [INFO] [stderr] Downloaded bitflags v1.2.1 [INFO] [stderr] Downloaded redox_syscall v0.2.5 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.78 [INFO] [stderr] Downloaded gl v0.14.0 [INFO] [stderr] Downloaded ntapi v0.3.6 [INFO] [stderr] Downloaded lock_api v0.4.2 [INFO] [stderr] Downloaded cocoa v0.24.0 [INFO] [stderr] Downloaded nix v0.22.2 [INFO] [stderr] Downloaded web-sys v0.3.55 [INFO] [stderr] Downloaded libc v0.2.108 [INFO] [stderr] Downloaded core-foundation-sys v0.8.2 [INFO] [stderr] Downloaded core-foundation v0.9.1 [INFO] [stderr] Downloaded core-graphics v0.22.2 [INFO] [stderr] Downloaded mio v0.8.0 [INFO] [stderr] Downloaded num_enum v0.5.4 [INFO] [stderr] Downloaded ndk v0.5.0 [INFO] [stderr] Downloaded darling_core v0.13.0 [INFO] [stderr] Downloaded darling v0.13.0 [INFO] [stderr] Downloaded thiserror-impl v1.0.24 [INFO] [stderr] Downloaded thiserror v1.0.24 [INFO] [stderr] Downloaded calloop v0.9.1 [INFO] [stderr] Downloaded nom v6.1.2 [INFO] [stderr] Downloaded smithay-client-toolkit v0.15.2 [INFO] [stderr] Downloaded cc v1.0.67 [INFO] [stderr] Downloaded wayland-commons v0.29.1 [INFO] [stderr] Downloaded wayland-protocols v0.29.1 [INFO] [stderr] Downloaded js-sys v0.3.55 [INFO] [stderr] Downloaded bumpalo v3.8.0 [INFO] [stderr] Downloaded winit v0.26.0 [INFO] [stderr] Downloaded wayland-egl v0.29.1 [INFO] [stderr] Downloaded miow v0.3.7 [INFO] [stderr] Downloaded serde v1.0.124 [INFO] [stderr] Downloaded instant v0.1.9 [INFO] [stderr] Downloaded memmap2 v0.3.1 [INFO] [stderr] Downloaded version_check v0.9.2 [INFO] [stderr] Downloaded xcursor v0.3.3 [INFO] [stderr] Downloaded memoffset v0.6.4 [INFO] [stderr] Downloaded xml-rs v0.8.3 [INFO] [stderr] Downloaded quote v1.0.9 [INFO] [stderr] Downloaded wasm-bindgen v0.2.78 [INFO] [stderr] Downloaded parking_lot v0.11.1 [INFO] [stderr] Downloaded memchr v2.3.4 [INFO] [stderr] Downloaded wayland-client v0.29.1 [INFO] [stderr] Downloaded once_cell v1.7.2 [INFO] [stderr] Downloaded smallvec v1.6.1 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.78 [INFO] [stderr] Downloaded wayland-scanner v0.29.1 [INFO] [stderr] Downloaded proc-macro2 v1.0.32 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.78 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+c2239bca5b89a8d3573cc0fc0f2fa65c50edb79c" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 24d3aa71d4c16a9812797f477c03f5de34b5866ea375373bd5395f36a3543d49 [INFO] running `Command { std: "docker" "start" "-a" "24d3aa71d4c16a9812797f477c03f5de34b5866ea375373bd5395f36a3543d49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "24d3aa71d4c16a9812797f477c03f5de34b5866ea375373bd5395f36a3543d49", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "24d3aa71d4c16a9812797f477c03f5de34b5866ea375373bd5395f36a3543d49", kill_on_drop: false }` [INFO] [stdout] 24d3aa71d4c16a9812797f477c03f5de34b5866ea375373bd5395f36a3543d49 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+c2239bca5b89a8d3573cc0fc0f2fa65c50edb79c" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7866db1fc19e9cefe4e6ee0b8c1519fb27725c12e35a092c1c078479284c1834 [INFO] running `Command { std: "docker" "start" "-a" "7866db1fc19e9cefe4e6ee0b8c1519fb27725c12e35a092c1c078479284c1834", kill_on_drop: false }` [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Checking libloading v0.7.0 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Compiling wayland-sys v0.29.1 [INFO] [stderr] Checking dlib v0.5.0 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling smithay-client-toolkit v0.15.2 [INFO] [stderr] Compiling wayland-scanner v0.29.1 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Checking cty v0.2.2 [INFO] [stderr] Checking lock_api v0.4.2 [INFO] [stderr] Compiling winit v0.26.0 [INFO] [stderr] Checking raw-window-handle v0.4.2 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Checking nix v0.22.2 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking memmap2 v0.3.1 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking mio v0.8.0 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Compiling wayland-client v0.29.1 [INFO] [stderr] Compiling wayland-protocols v0.29.1 [INFO] [stderr] Checking xcursor v0.3.3 [INFO] [stderr] Checking wayland-commons v0.29.1 [INFO] [stderr] Checking calloop v0.9.1 [INFO] [stderr] Checking wayland-cursor v0.29.1 [INFO] [stderr] Checking wayland-egl v0.29.1 [INFO] [stderr] Checking glutin v0.28.0 [INFO] [stderr] Checking grafx_engine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `ContextWrapper`, `PossiblyCurrent`, `WindowedContext` [INFO] [stdout] --> src/main.rs:7:30 [INFO] [stdout] | [INFO] [stdout] 7 | use glutin::{ContextBuilder, WindowedContext, PossiblyCurrent, ContextWrapper}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ContextWrapper`, `PossiblyCurrent`, `WindowedContext` [INFO] [stdout] --> src/main.rs:7:30 [INFO] [stdout] | [INFO] [stdout] 7 | use glutin::{ContextBuilder, WindowedContext, PossiblyCurrent, ContextWrapper}; [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:443:13 [INFO] [stdout] | [INFO] [stdout] 443 | let mut cameraUp = &cameraDirection * &cameraRight; [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/main.rs:598:13 [INFO] [stdout] | [INFO] [stdout] 598 | ... let mut mat = Matrix4::TranslateMatrix(&self.position) * Matrix4::RotationMatrix(&self.rotation) * Matrix4::ScaleMatrix(&self.scale); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:443:13 [INFO] [stdout] | [INFO] [stdout] 443 | let mut cameraUp = &cameraDirection * &cameraRight; [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: associated functions `new`, `White`, `Black`, `Blue`, and `Green` are never used [INFO] [stdout] --> src/main.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Color{ [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] 25 | pub fn new(red:f32, green:f32, blue:f32, alpha:f32)->Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn White()->Self{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn Black()->Self{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn Blue()->Self{ [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn Green()->Self{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `setX`, `setY`, `setZ`, `sub`, and `dot` are never used [INFO] [stdout] --> src/main.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 49 | impl Vector3{ [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 50 | pub fn new(x:f32, y:f32, z:f32)->Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn setX(&mut self, value:f32){ [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn setY(&mut self, value:f32){ [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn setZ(&mut self, value:f32){ [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn sub(&mut self, x:f32, y:f32, z:f32){ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn dot(&self, vector: Vector3)->f32{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `determinant`, `transpose`, `coefficient`, and `inverse` are never used [INFO] [stdout] --> src/main.rs:149:8 [INFO] [stdout] | [INFO] [stdout] 144 | trait Matrix{ [INFO] [stdout] | ------ methods in this trait [INFO] [stdout] ... [INFO] [stdout] 149 | fn determinant(&self)->f32; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 150 | fn transpose(&self)->Self; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 151 | fn coefficient(&self)->Self; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 152 | fn inverse(&self)->Self; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `rowCount` and `columnCount` are never read [INFO] [stdout] --> src/main.rs:156:17 [INFO] [stdout] | [INFO] [stdout] 156 | struct Matrix2{ rowCount: usize, columnCount: usize, data:[[f32; 2]; 2], } [INFO] [stdout] | ------- ^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `rowCount` and `columnCount` are never read [INFO] [stdout] --> src/main.rs:240:17 [INFO] [stdout] | [INFO] [stdout] 240 | struct Matrix3{ rowCount: usize, columnCount: usize, data:[[f32; 3]; 3], } [INFO] [stdout] | ------- ^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `rowCount` and `columnCount` are never read [INFO] [stdout] --> src/main.rs:369:17 [INFO] [stdout] | [INFO] [stdout] 369 | struct Matrix4{ rowCount: usize, columnCount: usize, data:[[f32; 4]; 4], } [INFO] [stdout] | ------- ^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:598:13 [INFO] [stdout] | [INFO] [stdout] 598 | ... let mut mat = Matrix4::TranslateMatrix(&self.position) * Matrix4::RotationMatrix(&self.rotation) * Matrix4::ScaleMatrix(&self.scale); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set` is never used [INFO] [stdout] --> src/main.rs:373:12 [INFO] [stdout] | [INFO] [stdout] 372 | impl Matrix4{ [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 373 | pub fn set(&mut self, matrix:&Matrix4){ self.data = matrix.data; } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `setPosition`, `translate`, `setRotation`, `setScale`, and `scale` are never used [INFO] [stdout] --> src/main.rs:603:12 [INFO] [stdout] | [INFO] [stdout] 587 | impl Transformation{ [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 603 | pub fn setPosition(&mut self, x:f32, y:f32, z:f32){ self.position.set(x, y, z); } [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 604 | pub fn translate(&mut self, x:f32, y:f32, z:f32){ self.position.addV(x, y, z); } [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 605 | pub fn setRotation(&mut self, x:f32, y:f32, z:f32){ self.rotation.set(x, y, z); } [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 606 | pub fn rotate(&mut self, x:f32, y:f32, z:f32){ self.rotation.addV(x, y, z); } [INFO] [stdout] 607 | pub fn setScale(&mut self, x:f32, y:f32, z:f32){ self.scale.set(x, y, z); } [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 608 | pub fn scale(&mut self, x:f32, y:f32, z:f32){ self.scale.set(self.scale.getX() * x, self.scale.getY() * y, self.scale.getZ() * z); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `fov`, `viewPointWidth`, and `viewPointHeight` are never read [INFO] [stdout] --> src/main.rs:612:84 [INFO] [stdout] | [INFO] [stdout] 612 | struct Camera{ view:Matrix4, projection:Matrix4, position:Vector3, target:Vector3, fov:f32, viewPointWidth:f32, viewPointHeight:f32 } [INFO] [stdout] | ------ fields in this struct ^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `translate` is never used [INFO] [stdout] --> src/main.rs:629:12 [INFO] [stdout] | [INFO] [stdout] 614 | impl Camera{ [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 629 | pub fn translate(&mut self, x:f32, y:f32, z:f32){ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `setUniformValue` is never used [INFO] [stdout] --> src/main.rs:695:19 [INFO] [stdout] | [INFO] [stdout] 641 | impl Shader{ [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 695 | pub unsafe fn setUniformValue(&self, name:&str, value: f32){ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new`, `White`, `Black`, `Blue`, and `Green` are never used [INFO] [stdout] --> src/main.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl Color{ [INFO] [stdout] | ---------- associated functions in this implementation [INFO] [stdout] 25 | pub fn new(red:f32, green:f32, blue:f32, alpha:f32)->Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn White()->Self{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn Black()->Self{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn Blue()->Self{ [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn Green()->Self{ [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `setX`, `setY`, `setZ`, `sub`, and `dot` are never used [INFO] [stdout] --> src/main.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 49 | impl Vector3{ [INFO] [stdout] | ------------ associated items in this implementation [INFO] [stdout] 50 | pub fn new(x:f32, y:f32, z:f32)->Self{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 73 | pub fn setX(&mut self, value:f32){ [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn setY(&mut self, value:f32){ [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 79 | pub fn setZ(&mut self, value:f32){ [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | pub fn sub(&mut self, x:f32, y:f32, z:f32){ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 100 | pub fn dot(&self, vector: Vector3)->f32{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `determinant`, `transpose`, `coefficient`, and `inverse` are never used [INFO] [stdout] --> src/main.rs:149:8 [INFO] [stdout] | [INFO] [stdout] 144 | trait Matrix{ [INFO] [stdout] | ------ methods in this trait [INFO] [stdout] ... [INFO] [stdout] 149 | fn determinant(&self)->f32; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 150 | fn transpose(&self)->Self; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 151 | fn coefficient(&self)->Self; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 152 | fn inverse(&self)->Self; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `rowCount` and `columnCount` are never read [INFO] [stdout] --> src/main.rs:156:17 [INFO] [stdout] | [INFO] [stdout] 156 | struct Matrix2{ rowCount: usize, columnCount: usize, data:[[f32; 2]; 2], } [INFO] [stdout] | ------- ^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `rowCount` and `columnCount` are never read [INFO] [stdout] --> src/main.rs:240:17 [INFO] [stdout] | [INFO] [stdout] 240 | struct Matrix3{ rowCount: usize, columnCount: usize, data:[[f32; 3]; 3], } [INFO] [stdout] | ------- ^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `rowCount` and `columnCount` are never read [INFO] [stdout] --> src/main.rs:369:17 [INFO] [stdout] | [INFO] [stdout] 369 | struct Matrix4{ rowCount: usize, columnCount: usize, data:[[f32; 4]; 4], } [INFO] [stdout] | ------- ^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this struct [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `set` is never used [INFO] [stdout] --> src/main.rs:373:12 [INFO] [stdout] | [INFO] [stdout] 372 | impl Matrix4{ [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 373 | pub fn set(&mut self, matrix:&Matrix4){ self.data = matrix.data; } [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `setPosition`, `translate`, `setRotation`, `setScale`, and `scale` are never used [INFO] [stdout] --> src/main.rs:603:12 [INFO] [stdout] | [INFO] [stdout] 587 | impl Transformation{ [INFO] [stdout] | ------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 603 | pub fn setPosition(&mut self, x:f32, y:f32, z:f32){ self.position.set(x, y, z); } [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 604 | pub fn translate(&mut self, x:f32, y:f32, z:f32){ self.position.addV(x, y, z); } [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 605 | pub fn setRotation(&mut self, x:f32, y:f32, z:f32){ self.rotation.set(x, y, z); } [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 606 | pub fn rotate(&mut self, x:f32, y:f32, z:f32){ self.rotation.addV(x, y, z); } [INFO] [stdout] 607 | pub fn setScale(&mut self, x:f32, y:f32, z:f32){ self.scale.set(x, y, z); } [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 608 | pub fn scale(&mut self, x:f32, y:f32, z:f32){ self.scale.set(self.scale.getX() * x, self.scale.getY() * y, self.scale.getZ() * z); } [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `fov`, `viewPointWidth`, and `viewPointHeight` are never read [INFO] [stdout] --> src/main.rs:612:84 [INFO] [stdout] | [INFO] [stdout] 612 | struct Camera{ view:Matrix4, projection:Matrix4, position:Vector3, target:Vector3, fov:f32, viewPointWidth:f32, viewPointHeight:f32 } [INFO] [stdout] | ------ fields in this struct ^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `translate` is never used [INFO] [stdout] --> src/main.rs:629:12 [INFO] [stdout] | [INFO] [stdout] 614 | impl Camera{ [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 629 | pub fn translate(&mut self, x:f32, y:f32, z:f32){ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `setUniformValue` is never used [INFO] [stdout] --> src/main.rs:695:19 [INFO] [stdout] | [INFO] [stdout] 641 | impl Shader{ [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 695 | pub unsafe fn setUniformValue(&self, name:&str, value: f32){ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 14 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 41.62s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v6.1.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "7866db1fc19e9cefe4e6ee0b8c1519fb27725c12e35a092c1c078479284c1834", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7866db1fc19e9cefe4e6ee0b8c1519fb27725c12e35a092c1c078479284c1834", kill_on_drop: false }` [INFO] [stdout] 7866db1fc19e9cefe4e6ee0b8c1519fb27725c12e35a092c1c078479284c1834 [INFO] checking BsoftLimited/grafx_engine against try#5946bac294aa8e579f74aa4a4d1f443d3b5d89f8 for pr-123737 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FBsoftLimited%2Fgrafx_engine" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/BsoftLimited/grafx_engine on toolchain 5946bac294aa8e579f74aa4a4d1f443d3b5d89f8 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+5946bac294aa8e579f74aa4a4d1f443d3b5d89f8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/BsoftLimited/grafx_engine [INFO] finished tweaking git repo https://github.com/BsoftLimited/grafx_engine [INFO] tweaked toml for git repo https://github.com/BsoftLimited/grafx_engine written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/BsoftLimited/grafx_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" "+5946bac294aa8e579f74aa4a4d1f443d3b5d89f8" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5946bac294aa8e579f74aa4a4d1f443d3b5d89f8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 00364643125cf71dfacb92982189791ed0d228866340221d92477a739894426a [INFO] running `Command { std: "docker" "start" "-a" "00364643125cf71dfacb92982189791ed0d228866340221d92477a739894426a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "00364643125cf71dfacb92982189791ed0d228866340221d92477a739894426a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "00364643125cf71dfacb92982189791ed0d228866340221d92477a739894426a", kill_on_drop: false }` [INFO] [stdout] 00364643125cf71dfacb92982189791ed0d228866340221d92477a739894426a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+5946bac294aa8e579f74aa4a4d1f443d3b5d89f8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5d473a21bf6a5220820efedc765ff6835aa3d623652b9495d83f09be50c15d28 [INFO] running `Command { std: "docker" "start" "-a" "5d473a21bf6a5220820efedc765ff6835aa3d623652b9495d83f09be50c15d28", kill_on_drop: false }` [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling libc v0.2.108 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling proc-macro2 v1.0.32 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking libloading v0.7.0 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling wayland-sys v0.29.1 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Checking dlib v0.5.0 [INFO] [stderr] Checking once_cell v1.7.2 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling nom v6.1.2 [INFO] [stderr] Compiling wayland-scanner v0.29.1 [INFO] [stderr] Compiling smithay-client-toolkit v0.15.2 [INFO] [stderr] Checking instant v0.1.9 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Compiling winit v0.26.0 [INFO] [stderr] Checking lock_api v0.4.2 [INFO] [stderr] Checking cty v0.2.2 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Checking raw-window-handle v0.4.2 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking nix v0.22.2 [INFO] [stderr] Checking memmap2 v0.3.1 [INFO] [stderr] Checking parking_lot_core v0.8.3 [INFO] [stderr] Checking parking_lot v0.11.1 [INFO] [stderr] Checking mio v0.8.0 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Compiling wayland-client v0.29.1 [INFO] [stderr] Compiling wayland-protocols v0.29.1 [INFO] [stderr] Checking xcursor v0.3.3 [INFO] [stderr] Checking wayland-commons v0.29.1 [INFO] [stderr] Checking calloop v0.9.1 [INFO] [stderr] Checking wayland-cursor v0.29.1 [INFO] [stderr] Checking wayland-egl v0.29.1 [INFO] [stdout] error[E0310]: the associated type `::UserEvent` may not live long enough [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/winit-0.26.0/src/platform/run_return.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | F: FnMut( [INFO] [stdout] | ____________^ [INFO] [stdout] 39 | | Event<'_, Self::UserEvent>, [INFO] [stdout] 40 | | &EventLoopWindowTarget, [INFO] [stdout] 41 | | &mut ControlFlow, [INFO] [stdout] 42 | | ); [INFO] [stdout] | | ^ [INFO] [stdout] | | | [INFO] [stdout] | |_________the associated type `::UserEvent` must be valid for the static lifetime... [INFO] [stdout] | ...so that the type `::UserEvent` will meet its required lifetime bounds... [INFO] [stdout] | [INFO] [stdout] note: ...that is required by this bound [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/winit-0.26.0/src/event.rs:49:23 [INFO] [stdout] | [INFO] [stdout] 49 | pub enum Event<'a, T: 'static> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] help: consider adding an explicit lifetime bound [INFO] [stdout] | [INFO] [stdout] 42 | ), ::UserEvent: 'static; [INFO] [stdout] | +++++++++++++++++++++++++++++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0310`. [INFO] [stdout] [INFO] [stderr] error: could not compile `winit` (lib) due to 2 previous errors [INFO] running `Command { std: "docker" "inspect" "5d473a21bf6a5220820efedc765ff6835aa3d623652b9495d83f09be50c15d28", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5d473a21bf6a5220820efedc765ff6835aa3d623652b9495d83f09be50c15d28", kill_on_drop: false }` [INFO] [stdout] 5d473a21bf6a5220820efedc765ff6835aa3d623652b9495d83f09be50c15d28