[INFO] cloning repository https://github.com/ToastBreadMan/rust_3d_rendering [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ToastBreadMan/rust_3d_rendering" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FToastBreadMan%2Frust_3d_rendering", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FToastBreadMan%2Frust_3d_rendering'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c3183d0bb8871fa904129f0d1a3c76dde709c8cb [INFO] checking ToastBreadMan/rust_3d_rendering against master#84e729a59f216cc64755788a470f165429a731f4 for pr-123737-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FToastBreadMan%2Frust_3d_rendering" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ToastBreadMan/rust_3d_rendering on toolchain 84e729a59f216cc64755788a470f165429a731f4 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+84e729a59f216cc64755788a470f165429a731f4" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ToastBreadMan/rust_3d_rendering [INFO] finished tweaking git repo https://github.com/ToastBreadMan/rust_3d_rendering [INFO] tweaked toml for git repo https://github.com/ToastBreadMan/rust_3d_rendering written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ToastBreadMan/rust_3d_rendering 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" "+84e729a59f216cc64755788a470f165429a731f4" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded cc v1.0.70 [INFO] [stderr] Downloaded num-complex v0.4.0 [INFO] [stderr] Downloaded pkg-config v0.3.20 [INFO] [stderr] Downloaded proc-macro2 v1.0.29 [INFO] [stderr] Downloaded matrixmultiply v0.3.1 [INFO] [stderr] Downloaded instant v0.1.11 [INFO] [stderr] Downloaded smallvec v1.7.0 [INFO] [stderr] Downloaded pollster v0.2.4 [INFO] [stderr] Downloaded gpu-descriptor v0.2.1 [INFO] [stderr] Downloaded gpu-descriptor-types v0.1.1 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.28 [INFO] [stderr] Downloaded arrayvec v0.7.1 [INFO] [stderr] Downloaded bytemuck v1.7.2 [INFO] [stderr] Downloaded wgpu-core v0.10.4 [INFO] [stderr] Downloaded ash v0.33.3+1.2.191 [INFO] [stderr] Downloaded naga v0.6.3 [INFO] [stderr] Downloaded web-sys v0.3.51 [INFO] [stderr] Downloaded libc v0.2.103 [INFO] [stderr] Downloaded ndarray v0.15.3 [INFO] [stderr] Downloaded js-sys v0.3.55 [INFO] [stderr] Downloaded bumpalo v3.7.1 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.78 [INFO] [stderr] Downloaded profiling v1.0.3 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.78 [INFO] [stderr] Downloaded wasm-bindgen v0.2.78 [INFO] [stderr] Downloaded indexmap v1.7.0 [INFO] [stderr] Downloaded petgraph v0.6.0 [INFO] [stderr] Downloaded wgpu-hal v0.10.7 [INFO] [stderr] Downloaded wgpu-types v0.10.0 [INFO] [stderr] Downloaded wgpu v0.10.2 [INFO] [stderr] Downloaded serde v1.0.130 [INFO] [stderr] Downloaded syn v1.0.77 [INFO] [stderr] Downloaded minimal-lexical v0.1.3 [INFO] [stderr] Downloaded nom v7.0.0 [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.78 [INFO] [stderr] Downloaded glow v0.11.0 [INFO] [stderr] Downloaded gpu-alloc v0.5.2 [INFO] [stderr] Downloaded ahash v0.4.7 [INFO] [stderr] Downloaded inplace_it v0.3.3 [INFO] [stderr] Downloaded fixedbitset v0.4.0 [INFO] [stderr] Downloaded hashbrown v0.11.2 [INFO] [stderr] Downloaded proc-macro-crate v1.1.0 [INFO] [stderr] Downloaded lock_api v0.4.5 [INFO] [stderr] Downloaded unicode-width v0.1.9 [INFO] [stderr] Downloaded pixels v0.6.0 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.78 [INFO] [stderr] Downloaded thiserror-impl v1.0.29 [INFO] [stderr] Downloaded thiserror v1.0.29 [INFO] [stderr] Downloaded termcolor v1.1.2 [INFO] [stderr] Downloaded bit-set v0.5.2 [INFO] [stderr] Downloaded range-alloc v0.1.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+84e729a59f216cc64755788a470f165429a731f4" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3d62caadf947b2fa56e725b7c5a33c2eaea620af6b021d74a31cf13664c52c09 [INFO] running `Command { std: "docker" "start" "-a" "3d62caadf947b2fa56e725b7c5a33c2eaea620af6b021d74a31cf13664c52c09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3d62caadf947b2fa56e725b7c5a33c2eaea620af6b021d74a31cf13664c52c09", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3d62caadf947b2fa56e725b7c5a33c2eaea620af6b021d74a31cf13664c52c09", kill_on_drop: false }` [INFO] [stdout] 3d62caadf947b2fa56e725b7c5a33c2eaea620af6b021d74a31cf13664c52c09 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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" "+84e729a59f216cc64755788a470f165429a731f4" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 34ccaf264367558a7ff24cbbda17a0f1354f87c565545747b357b07a52af4981 [INFO] running `Command { std: "docker" "start" "-a" "34ccaf264367558a7ff24cbbda17a0f1354f87c565545747b357b07a52af4981", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.103 [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling pkg-config v0.3.20 [INFO] [stderr] Checking smallvec v1.7.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling syn v1.0.77 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Checking instant v0.1.11 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling nom v7.0.0 [INFO] [stderr] Checking fixedbitset v0.4.0 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking ahash v0.4.7 [INFO] [stderr] Checking lock_api v0.4.5 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking bit-set v0.5.2 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking gpu-descriptor-types v0.1.1 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Checking gpu-alloc-types v0.2.0 [INFO] [stderr] Checking minimal-lexical v0.1.3 [INFO] [stderr] Compiling wgpu-core v0.10.4 [INFO] [stderr] Checking crossbeam-epoch v0.9.5 [INFO] [stderr] Checking ash v0.33.3+1.2.191 [INFO] [stderr] Checking wgpu-types v0.10.0 [INFO] [stderr] Checking gpu-alloc v0.5.2 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Checking inplace_it v0.3.3 [INFO] [stderr] Checking gpu-descriptor v0.2.1 [INFO] [stderr] Checking renderdoc-sys v0.7.1 [INFO] [stderr] Checking glow v0.11.0 [INFO] [stderr] Checking arrayvec v0.7.1 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking bytemuck v1.7.2 [INFO] [stderr] Checking matrixmultiply v0.3.1 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Compiling x11-dl v2.19.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking safe_arch v0.5.2 [INFO] [stderr] Checking copyless v0.1.5 [INFO] [stderr] Checking petgraph v0.6.0 [INFO] [stderr] Checking profiling v1.0.3 [INFO] [stderr] Checking pollster v0.2.4 [INFO] [stderr] Checking andrew v0.3.1 [INFO] [stderr] Checking crossbeam v0.8.1 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Checking wide v0.6.5 [INFO] [stderr] Checking spirv v0.2.0+1.5.4 [INFO] [stderr] Checking num-complex v0.4.0 [INFO] [stderr] Checking nix v0.20.0 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking khronos-egl v4.1.0 [INFO] [stderr] Checking nix v0.18.0 [INFO] [stderr] Checking memmap2 v0.1.0 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking ndarray v0.15.3 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Checking mio-misc v1.2.1 [INFO] [stderr] Checking xcursor v0.3.4 [INFO] [stderr] Checking ultraviolet v0.8.1 [INFO] [stderr] Compiling thiserror-impl v1.0.29 [INFO] [stderr] Checking thiserror v1.0.29 [INFO] [stderr] Checking naga v0.6.3 [INFO] [stderr] Checking models v0.1.0 (/opt/rustwide/workdir/models) [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> models/src/World.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> models/src/World.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> models/src/World.rs:10:23 [INFO] [stdout] | [INFO] [stdout] 10 | pub world:Vec>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 10 | pub world:Vec>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> models/src/World.rs:22:38 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn add(&mut self, object:Box){ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 22 | pub fn add(&mut self, object:Box){ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> models/src/World.rs:26:55 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn change(&mut self, index: usize, object:Box)->Box { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 | pub fn change(&mut self, index: usize, object:Box)->Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> models/src/World.rs:26:69 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn change(&mut self, index: usize, object:Box)->Box { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 | pub fn change(&mut self, index: usize, object:Box)->Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> models/src/World.rs:10:23 [INFO] [stdout] | [INFO] [stdout] 10 | pub world:Vec>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 10 | pub world:Vec>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> models/src/World.rs:22:38 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn add(&mut self, object:Box){ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 22 | pub fn add(&mut self, object:Box){ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> models/src/World.rs:26:55 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn change(&mut self, index: usize, object:Box)->Box { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 | pub fn change(&mut self, index: usize, object:Box)->Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> models/src/World.rs:26:69 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn change(&mut self, index: usize, object:Box)->Box { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 | pub fn change(&mut self, index: usize, object:Box)->Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking wayland-commons v0.28.6 [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> models/src/World.rs:49:14 [INFO] [stdout] | [INFO] [stdout] 49 | for (i, pixel) in frame.chunks_exact_mut(4).enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dist` [INFO] [stdout] --> models/src/Circle.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | let dist = proc.sqrt(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dist` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v1` [INFO] [stdout] --> models/src/Polygon.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | let v1:Vec = vectors.clone(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_v1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `background` is never read [INFO] [stdout] --> models/src/World.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct World { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | background:Box<[u8]>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_min_max` is never used [INFO] [stdout] --> models/src/Polygon.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 15 | impl Polygon { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 39 | fn get_min_max(&self, vectors:Vec) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Rectangle` should have a snake case name [INFO] [stdout] --> models/src/lib.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub mod Rectangle; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `rectangle` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `World` should have a snake case name [INFO] [stdout] --> models/src/lib.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub mod World; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Circle` should have a snake case name [INFO] [stdout] --> models/src/lib.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub mod Circle; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `circle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Polygon` should have a snake case name [INFO] [stdout] --> models/src/lib.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub mod Polygon; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `polygon` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Vector` should have a snake case name [INFO] [stdout] --> models/src/lib.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub mod Vector; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `vector` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Line` should have a snake case name [INFO] [stdout] --> models/src/lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub mod Line; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Mats` should have a snake case name [INFO] [stdout] --> models/src/lib.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub mod Mats; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `mats` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Camera` should have a snake case name [INFO] [stdout] --> models/src/dim3/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub mod Camera; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `camera` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Cube` should have a snake case name [INFO] [stdout] --> models/src/dim3/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub mod Cube; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `cube` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> models/src/World.rs:49:14 [INFO] [stdout] | [INFO] [stdout] 49 | for (i, pixel) in frame.chunks_exact_mut(4).enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dist` [INFO] [stdout] --> models/src/Circle.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | let dist = proc.sqrt(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dist` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v1` [INFO] [stdout] --> models/src/Polygon.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | let v1:Vec = vectors.clone(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_v1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `background` is never read [INFO] [stdout] --> models/src/World.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct World { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | background:Box<[u8]>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_min_max` is never used [INFO] [stdout] --> models/src/Polygon.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 15 | impl Polygon { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 39 | fn get_min_max(&self, vectors:Vec) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Rectangle` should have a snake case name [INFO] [stdout] --> models/src/lib.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub mod Rectangle; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `rectangle` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `World` should have a snake case name [INFO] [stdout] --> models/src/lib.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub mod World; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Circle` should have a snake case name [INFO] [stdout] --> models/src/lib.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub mod Circle; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `circle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Polygon` should have a snake case name [INFO] [stdout] --> models/src/lib.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub mod Polygon; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `polygon` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Vector` should have a snake case name [INFO] [stdout] --> models/src/lib.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub mod Vector; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `vector` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Line` should have a snake case name [INFO] [stdout] --> models/src/lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub mod Line; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Mats` should have a snake case name [INFO] [stdout] --> models/src/lib.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub mod Mats; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `mats` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Camera` should have a snake case name [INFO] [stdout] --> models/src/dim3/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub mod Camera; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `camera` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Cube` should have a snake case name [INFO] [stdout] --> models/src/dim3/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub mod Cube; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `cube` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking calloop v0.6.5 [INFO] [stderr] Checking wayland-cursor v0.28.6 [INFO] [stderr] Checking wgpu-hal v0.10.7 [INFO] [stderr] Checking smithay-client-toolkit v0.12.3 [INFO] [stderr] Checking winit v0.25.0 [INFO] [stderr] Checking wgpu v0.10.2 [INFO] [stderr] Checking pixels v0.6.0 [INFO] [stderr] Checking engine_3d v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/main.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | use pixels::{Error, Pixels, SurfaceTexture}; [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:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Circle::Circle`, `Line::Line`, `Polygon::Polygon`, `Rectangle::Rect`, `Vector::Vec2d` [INFO] [stdout] --> src/main.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | use models::{Rectangle::Rect, World::World, Circle::Circle, Polygon::Polygon, Vector::Vec2d,Vector::Vec3d, Line::Line, Mats::Mats, dim3::... [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/main.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | use pixels::{Error, Pixels, SurfaceTexture}; [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:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Circle::Circle`, `Line::Line`, `Polygon::Polygon`, `Rectangle::Rect`, `Vector::Vec2d` [INFO] [stdout] --> src/main.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | use models::{Rectangle::Rect, World::World, Circle::Circle, Polygon::Polygon, Vector::Vec2d,Vector::Vec3d, Line::Line, Mats::Mats, dim3::... [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `projection_matrix` [INFO] [stdout] --> src/main.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let projection_matrix = Mats::projection_matrix(ar, fov as f64, far,near, q); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_projection_matrix` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rgba` [INFO] [stdout] --> src/main.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | let rgba = [0,0xff,0,0xff]; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rgba` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_id` [INFO] [stdout] --> src/main.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | window_id [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `window_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `projection_matrix` [INFO] [stdout] --> src/main.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let projection_matrix = Mats::projection_matrix(ar, fov as f64, far,near, q); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_projection_matrix` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rgba` [INFO] [stdout] --> src/main.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | let rgba = [0,0xff,0,0xff]; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rgba` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_id` [INFO] [stdout] --> src/main.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | window_id [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `window_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | let mut a = 10.0; [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 `WIDTH` should have a snake case name [INFO] [stdout] --> src/main.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | let WIDTH:u32 = 600; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `width` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `HEIGHT` should have a snake case name [INFO] [stdout] --> src/main.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let HEIGHT:u32 = 600; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | let mut a = 10.0; [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 `WIDTH` should have a snake case name [INFO] [stdout] --> src/main.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | let WIDTH:u32 = 600; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `width` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `HEIGHT` should have a snake case name [INFO] [stdout] --> src/main.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let HEIGHT:u32 = 600; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 46.10s [INFO] running `Command { std: "docker" "inspect" "34ccaf264367558a7ff24cbbda17a0f1354f87c565545747b357b07a52af4981", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "34ccaf264367558a7ff24cbbda17a0f1354f87c565545747b357b07a52af4981", kill_on_drop: false }` [INFO] [stdout] 34ccaf264367558a7ff24cbbda17a0f1354f87c565545747b357b07a52af4981 [INFO] checking ToastBreadMan/rust_3d_rendering against try#8d9ad7790f77ffaa434059a58807949d4583c045 for pr-123737-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FToastBreadMan%2Frust_3d_rendering" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ToastBreadMan/rust_3d_rendering on toolchain 8d9ad7790f77ffaa434059a58807949d4583c045 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8d9ad7790f77ffaa434059a58807949d4583c045" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ToastBreadMan/rust_3d_rendering [INFO] finished tweaking git repo https://github.com/ToastBreadMan/rust_3d_rendering [INFO] tweaked toml for git repo https://github.com/ToastBreadMan/rust_3d_rendering written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/ToastBreadMan/rust_3d_rendering 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" "+8d9ad7790f77ffaa434059a58807949d4583c045" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+8d9ad7790f77ffaa434059a58807949d4583c045" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 827e2b1ec8d81671612083fab0df3fceb1b5dd5a8e5a73b333ec14da9a13acc3 [INFO] running `Command { std: "docker" "start" "-a" "827e2b1ec8d81671612083fab0df3fceb1b5dd5a8e5a73b333ec14da9a13acc3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "827e2b1ec8d81671612083fab0df3fceb1b5dd5a8e5a73b333ec14da9a13acc3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "827e2b1ec8d81671612083fab0df3fceb1b5dd5a8e5a73b333ec14da9a13acc3", kill_on_drop: false }` [INFO] [stdout] 827e2b1ec8d81671612083fab0df3fceb1b5dd5a8e5a73b333ec14da9a13acc3 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+8d9ad7790f77ffaa434059a58807949d4583c045" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1069abd48bc91c0e4b62c449df6b33bffb1a088ba726abc3445d98b548db10f1 [INFO] running `Command { std: "docker" "start" "-a" "1069abd48bc91c0e4b62c449df6b33bffb1a088ba726abc3445d98b548db10f1", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.103 [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Checking smallvec v1.7.0 [INFO] [stderr] Compiling pkg-config v0.3.20 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling syn v1.0.77 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Checking instant v0.1.11 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Checking hashbrown v0.11.2 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling nom v7.0.0 [INFO] [stderr] Checking termcolor v1.1.2 [INFO] [stderr] Checking fixedbitset v0.4.0 [INFO] [stderr] Checking bit-vec v0.6.3 [INFO] [stderr] Checking lock_api v0.4.5 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking ahash v0.4.7 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking codespan-reporting v0.11.1 [INFO] [stderr] Checking bit-set v0.5.2 [INFO] [stderr] Checking gpu-alloc-types v0.2.0 [INFO] [stderr] Checking hashbrown v0.9.1 [INFO] [stderr] Checking gpu-descriptor-types v0.1.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Checking minimal-lexical v0.1.3 [INFO] [stderr] Compiling wgpu-core v0.10.4 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Checking gpu-alloc v0.5.2 [INFO] [stderr] Checking crossbeam-epoch v0.9.5 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking ash v0.33.3+1.2.191 [INFO] [stderr] Checking wgpu-types v0.10.0 [INFO] [stderr] Checking inplace_it v0.3.3 [INFO] [stderr] Checking renderdoc-sys v0.7.1 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking bytemuck v1.7.2 [INFO] [stderr] Checking arrayvec v0.7.1 [INFO] [stderr] Checking glow v0.11.0 [INFO] [stderr] Checking safe_arch v0.5.2 [INFO] [stderr] Checking matrixmultiply v0.3.1 [INFO] [stderr] Checking gpu-descriptor v0.2.1 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Compiling x11-dl v2.19.1 [INFO] [stderr] Checking profiling v1.0.3 [INFO] [stderr] Checking copyless v0.1.5 [INFO] [stderr] Checking pollster v0.2.4 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Checking petgraph v0.6.0 [INFO] [stderr] Checking crossbeam v0.8.1 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Checking wide v0.6.5 [INFO] [stderr] Checking spirv v0.2.0+1.5.4 [INFO] [stderr] Checking num-complex v0.4.0 [INFO] [stderr] Checking andrew v0.3.1 [INFO] [stderr] Checking nix v0.20.0 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking khronos-egl v4.1.0 [INFO] [stderr] Checking nix v0.18.0 [INFO] [stderr] Checking mio v0.7.13 [INFO] [stderr] Checking memmap2 v0.1.0 [INFO] [stderr] Checking ndarray v0.15.3 [INFO] [stderr] Checking parking_lot v0.11.2 [INFO] [stderr] Checking mio-misc v1.2.1 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Checking xcursor v0.3.4 [INFO] [stderr] Compiling thiserror-impl v1.0.29 [INFO] [stderr] Checking ultraviolet v0.8.1 [INFO] [stderr] Checking wayland-commons v0.28.6 [INFO] [stderr] Checking thiserror v1.0.29 [INFO] [stderr] Checking naga v0.6.3 [INFO] [stderr] Checking calloop v0.6.5 [INFO] [stderr] Checking models v0.1.0 (/opt/rustwide/workdir/models) [INFO] [stderr] Checking wayland-cursor v0.28.6 [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> models/src/World.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> models/src/World.rs:10:23 [INFO] [stdout] | [INFO] [stdout] 10 | pub world:Vec>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 10 | pub world:Vec>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> models/src/World.rs:22:38 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn add(&mut self, object:Box){ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 22 | pub fn add(&mut self, object:Box){ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> models/src/World.rs:26:55 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn change(&mut self, index: usize, object:Box)->Box { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 | pub fn change(&mut self, index: usize, object:Box)->Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> models/src/World.rs:26:69 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn change(&mut self, index: usize, object:Box)->Box { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 | pub fn change(&mut self, index: usize, object:Box)->Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> models/src/World.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> models/src/World.rs:10:23 [INFO] [stdout] | [INFO] [stdout] 10 | pub world:Vec>, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 10 | pub world:Vec>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> models/src/World.rs:22:38 [INFO] [stdout] | [INFO] [stdout] 22 | pub fn add(&mut self, object:Box){ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 22 | pub fn add(&mut self, object:Box){ [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> models/src/World.rs:26:55 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn change(&mut self, index: usize, object:Box)->Box { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 | pub fn change(&mut self, index: usize, object:Box)->Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> models/src/World.rs:26:69 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn change(&mut self, index: usize, object:Box)->Box { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2018) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 | pub fn change(&mut self, index: usize, object:Box)->Box { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> models/src/World.rs:49:14 [INFO] [stdout] | [INFO] [stdout] 49 | for (i, pixel) in frame.chunks_exact_mut(4).enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dist` [INFO] [stdout] --> models/src/Circle.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | let dist = proc.sqrt(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dist` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v1` [INFO] [stdout] --> models/src/Polygon.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | let v1:Vec = vectors.clone(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_v1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `background` is never read [INFO] [stdout] --> models/src/World.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct World { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | background:Box<[u8]>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_min_max` is never used [INFO] [stdout] --> models/src/Polygon.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 15 | impl Polygon { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 39 | fn get_min_max(&self, vectors:Vec) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Rectangle` should have a snake case name [INFO] [stdout] --> models/src/lib.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub mod Rectangle; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `rectangle` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `World` should have a snake case name [INFO] [stdout] --> models/src/lib.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub mod World; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Circle` should have a snake case name [INFO] [stdout] --> models/src/lib.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub mod Circle; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `circle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Polygon` should have a snake case name [INFO] [stdout] --> models/src/lib.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub mod Polygon; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `polygon` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Vector` should have a snake case name [INFO] [stdout] --> models/src/lib.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub mod Vector; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `vector` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Line` should have a snake case name [INFO] [stdout] --> models/src/lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub mod Line; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Mats` should have a snake case name [INFO] [stdout] --> models/src/lib.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub mod Mats; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `mats` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Camera` should have a snake case name [INFO] [stdout] --> models/src/dim3/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub mod Camera; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `camera` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Cube` should have a snake case name [INFO] [stdout] --> models/src/dim3/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub mod Cube; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `cube` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> models/src/World.rs:49:14 [INFO] [stdout] | [INFO] [stdout] 49 | for (i, pixel) in frame.chunks_exact_mut(4).enumerate() { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dist` [INFO] [stdout] --> models/src/Circle.rs:20:17 [INFO] [stdout] | [INFO] [stdout] 20 | let dist = proc.sqrt(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_dist` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v1` [INFO] [stdout] --> models/src/Polygon.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | let v1:Vec = vectors.clone(); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_v1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `background` is never read [INFO] [stdout] --> models/src/World.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 7 | pub struct World { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 11 | background:Box<[u8]>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `get_min_max` is never used [INFO] [stdout] --> models/src/Polygon.rs:39:8 [INFO] [stdout] | [INFO] [stdout] 15 | impl Polygon { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 39 | fn get_min_max(&self, vectors:Vec) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Rectangle` should have a snake case name [INFO] [stdout] --> models/src/lib.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | pub mod Rectangle; [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `rectangle` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `World` should have a snake case name [INFO] [stdout] --> models/src/lib.rs:10:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub mod World; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case (notice the capitalization): `world` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Circle` should have a snake case name [INFO] [stdout] --> models/src/lib.rs:11:9 [INFO] [stdout] | [INFO] [stdout] 11 | pub mod Circle; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `circle` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Polygon` should have a snake case name [INFO] [stdout] --> models/src/lib.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | pub mod Polygon; [INFO] [stdout] | ^^^^^^^ help: convert the identifier to snake case: `polygon` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Vector` should have a snake case name [INFO] [stdout] --> models/src/lib.rs:13:9 [INFO] [stdout] | [INFO] [stdout] 13 | pub mod Vector; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `vector` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Line` should have a snake case name [INFO] [stdout] --> models/src/lib.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | pub mod Line; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `line` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Mats` should have a snake case name [INFO] [stdout] --> models/src/lib.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | pub mod Mats; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `mats` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Camera` should have a snake case name [INFO] [stdout] --> models/src/dim3/mod.rs:7:9 [INFO] [stdout] | [INFO] [stdout] 7 | pub mod Camera; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case (notice the capitalization): `camera` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `Cube` should have a snake case name [INFO] [stdout] --> models/src/dim3/mod.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub mod Cube; [INFO] [stdout] | ^^^^ help: convert the identifier to snake case (notice the capitalization): `cube` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking wgpu-hal v0.10.7 [INFO] [stderr] Checking smithay-client-toolkit v0.12.3 [INFO] [stderr] Checking wgpu v0.10.2 [INFO] [stderr] Checking winit v0.25.0 [INFO] [stderr] Checking pixels v0.6.0 [INFO] [stderr] Checking engine_3d v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/main.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | use pixels::{Error, Pixels, SurfaceTexture}; [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:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Circle::Circle`, `Line::Line`, `Polygon::Polygon`, `Rectangle::Rect`, `Vector::Vec2d` [INFO] [stdout] --> src/main.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | use models::{Rectangle::Rect, World::World, Circle::Circle, Polygon::Polygon, Vector::Vec2d,Vector::Vec3d, Line::Line, Mats::Mats, dim3::... [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/main.rs:8:14 [INFO] [stdout] | [INFO] [stdout] 8 | use pixels::{Error, Pixels, SurfaceTexture}; [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:11:17 [INFO] [stdout] | [INFO] [stdout] 11 | use std::time::{Duration, Instant}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Circle::Circle`, `Line::Line`, `Polygon::Polygon`, `Rectangle::Rect`, `Vector::Vec2d` [INFO] [stdout] --> src/main.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | use models::{Rectangle::Rect, World::World, Circle::Circle, Polygon::Polygon, Vector::Vec2d,Vector::Vec3d, Line::Line, Mats::Mats, dim3::... [INFO] [stdout] | ^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `projection_matrix` [INFO] [stdout] --> src/main.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let projection_matrix = Mats::projection_matrix(ar, fov as f64, far,near, q); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_projection_matrix` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rgba` [INFO] [stdout] --> src/main.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | let rgba = [0,0xff,0,0xff]; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rgba` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_id` [INFO] [stdout] --> src/main.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | window_id [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `window_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | let mut a = 10.0; [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 `WIDTH` should have a snake case name [INFO] [stdout] --> src/main.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | let WIDTH:u32 = 600; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `width` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `HEIGHT` should have a snake case name [INFO] [stdout] --> src/main.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let HEIGHT:u32 = 600; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `projection_matrix` [INFO] [stdout] --> src/main.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | let projection_matrix = Mats::projection_matrix(ar, fov as f64, far,near, q); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_projection_matrix` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rgba` [INFO] [stdout] --> src/main.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | let rgba = [0,0xff,0,0xff]; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_rgba` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_id` [INFO] [stdout] --> src/main.rs:72:17 [INFO] [stdout] | [INFO] [stdout] 72 | window_id [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `window_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:32:9 [INFO] [stdout] | [INFO] [stdout] 32 | let mut a = 10.0; [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 `WIDTH` should have a snake case name [INFO] [stdout] --> src/main.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | let WIDTH:u32 = 600; [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `width` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `HEIGHT` should have a snake case name [INFO] [stdout] --> src/main.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let HEIGHT:u32 = 600; [INFO] [stdout] | ^^^^^^ help: convert the identifier to snake case: `height` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 46.27s [INFO] running `Command { std: "docker" "inspect" "1069abd48bc91c0e4b62c449df6b33bffb1a088ba726abc3445d98b548db10f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1069abd48bc91c0e4b62c449df6b33bffb1a088ba726abc3445d98b548db10f1", kill_on_drop: false }` [INFO] [stdout] 1069abd48bc91c0e4b62c449df6b33bffb1a088ba726abc3445d98b548db10f1