[INFO] cloning repository https://github.com/SpicyRicecaker/hometown-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/SpicyRicecaker/hometown-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSpicyRicecaker%2Fhometown-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSpicyRicecaker%2Fhometown-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 92845c3632e8b474073a8376be357288f6c05586 [INFO] building SpicyRicecaker/hometown-rs against master#eb171a227f9e5de5d376b6edb56b174bc8235fb3 for pr-149937 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSpicyRicecaker%2Fhometown-rs" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/SpicyRicecaker/hometown-rs [INFO] finished tweaking git repo https://github.com/SpicyRicecaker/hometown-rs [INFO] tweaked toml for git repo https://github.com/SpicyRicecaker/hometown-rs written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/SpicyRicecaker/hometown-rs on toolchain eb171a227f9e5de5d376b6edb56b174bc8235fb3 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+eb171a227f9e5de5d376b6edb56b174bc8235fb3" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/SpicyRicecaker/hometown-rs 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" "+eb171a227f9e5de5d376b6edb56b174bc8235fb3" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libloading v0.7.0 [INFO] [stderr] Downloaded thiserror-impl v1.0.29 [INFO] [stderr] Downloaded thiserror v1.0.29 [INFO] [stderr] Downloaded instant v0.1.11 [INFO] [stderr] Downloaded ordered-float v2.8.0 [INFO] [stderr] Downloaded mio-misc v1.2.1 [INFO] [stderr] Downloaded slab v0.4.4 [INFO] [stderr] Downloaded twox-hash v1.6.1 [INFO] [stderr] Downloaded futures-task v0.3.17 [INFO] [stderr] Downloaded gpu-descriptor v0.2.1 [INFO] [stderr] Downloaded futures-sink v0.3.17 [INFO] [stderr] Downloaded futures-macro v0.3.17 [INFO] [stderr] Downloaded futures-executor v0.3.17 [INFO] [stderr] Downloaded futures-channel v0.3.17 [INFO] [stderr] Downloaded futures v0.3.17 [INFO] [stderr] Downloaded tinyvec v1.5.0 [INFO] [stderr] Downloaded bumpalo v3.7.1 [INFO] [stderr] Downloaded wgpu_glyph v0.14.1 [INFO] [stderr] Downloaded wgpu-core v0.10.4 [INFO] [stderr] Downloaded combine v4.6.1 [INFO] [stderr] Downloaded glow v0.11.0 [INFO] [stderr] Downloaded wgpu v0.10.2 [INFO] [stderr] Downloaded futures-util v0.3.17 [INFO] [stderr] Downloaded wgpu-hal v0.10.7 [INFO] [stderr] Downloaded nom v7.0.0 [INFO] [stderr] Downloaded syn v1.0.77 [INFO] [stderr] Downloaded glyph_brush v0.7.2 [INFO] [stderr] Downloaded glyph_brush_draw_cache v0.1.4 [INFO] [stderr] Downloaded cc v1.0.70 [INFO] [stderr] Downloaded naga v0.6.3 [INFO] [stderr] Downloaded wgpu-types v0.10.0 [INFO] [stderr] Downloaded minimal-lexical v0.1.3 [INFO] [stderr] Downloaded libc v0.2.102 [INFO] [stderr] Downloaded profiling v1.0.3 [INFO] [stderr] Downloaded rodio v0.14.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+eb171a227f9e5de5d376b6edb56b174bc8235fb3" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 2a229aed702b51857aaf9f8b9379003387e4eea50a17d2b18d5ba53d25525625 [INFO] running `Command { std: "docker" "start" "-a" "2a229aed702b51857aaf9f8b9379003387e4eea50a17d2b18d5ba53d25525625", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "2a229aed702b51857aaf9f8b9379003387e4eea50a17d2b18d5ba53d25525625", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2a229aed702b51857aaf9f8b9379003387e4eea50a17d2b18d5ba53d25525625", kill_on_drop: false }` [INFO] [stdout] 2a229aed702b51857aaf9f8b9379003387e4eea50a17d2b18d5ba53d25525625 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+eb171a227f9e5de5d376b6edb56b174bc8235fb3" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4a1a5325e269351a4a6a78115648a75735929ad32b69dcb5f170728c7aa5c068 [INFO] running `Command { std: "docker" "start" "-a" "4a1a5325e269351a4a6a78115648a75735929ad32b69dcb5f170728c7aa5c068", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.102 [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling syn v1.0.77 [INFO] [stderr] Compiling pkg-config v0.3.19 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling smallvec v1.6.1 [INFO] [stderr] Compiling libloading v0.7.0 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling instant v0.1.11 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.4 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling ahash v0.4.7 [INFO] [stderr] Compiling nom v7.0.0 [INFO] [stderr] Compiling fixedbitset v0.4.0 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling ttf-parser v0.12.3 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling dlib v0.5.0 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling petgraph v0.6.0 [INFO] [stderr] Compiling spirv v0.2.0+1.5.4 [INFO] [stderr] Compiling gpu-descriptor-types v0.1.1 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling cc v1.0.70 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling crossbeam-queue v0.3.2 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling ttf-parser v0.6.2 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling minimal-lexical v0.1.3 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling gpu-descriptor v0.2.1 [INFO] [stderr] Compiling wgpu-core v0.10.4 [INFO] [stderr] Compiling gpu-alloc v0.5.2 [INFO] [stderr] Compiling ash v0.33.3+1.2.191 [INFO] [stderr] Compiling wgpu-types v0.10.0 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Compiling nix v0.20.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling owned_ttf_parser v0.12.1 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling minimp3-sys v0.3.2 [INFO] [stderr] Compiling owned_ttf_parser v0.6.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling ab_glyph v0.2.11 [INFO] [stderr] Compiling khronos-egl v4.1.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling inplace_it v0.3.3 [INFO] [stderr] Compiling renderdoc-sys v0.7.1 [INFO] [stderr] Compiling arrayvec v0.7.1 [INFO] [stderr] Compiling futures-sink v0.3.17 [INFO] [stderr] Compiling glow v0.11.0 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling rusttype v0.9.2 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling x11-dl v2.19.1 [INFO] [stderr] Compiling approx v0.5.0 [INFO] [stderr] Compiling libloading v0.6.7 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Compiling futures-io v0.3.17 [INFO] [stderr] Compiling profiling v1.0.3 [INFO] [stderr] Compiling slab v0.4.4 [INFO] [stderr] Compiling xdg v2.2.0 [INFO] [stderr] Compiling copyless v0.1.5 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling xi-unicode v0.3.0 [INFO] [stderr] Compiling cpal v0.13.4 [INFO] [stderr] Compiling twox-hash v1.6.1 [INFO] [stderr] Compiling glyph_brush_layout v0.2.3 [INFO] [stderr] Compiling tinyvec v1.5.0 [INFO] [stderr] Compiling xcursor v0.3.4 [INFO] [stderr] Compiling andrew v0.3.1 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling crossbeam v0.8.1 [INFO] [stderr] Compiling slice-deque v0.3.0 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling mio v0.7.13 [INFO] [stderr] Compiling ordered-float v2.8.0 [INFO] [stderr] Compiling ogg v0.8.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling winit v0.25.0 [INFO] [stderr] Compiling cgmath v0.18.0 [INFO] [stderr] Compiling gif v0.11.2 [INFO] [stderr] Compiling wayland-commons v0.28.6 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling glyph_brush_draw_cache v0.1.4 [INFO] [stderr] Compiling alsa v0.5.0 [INFO] [stderr] Compiling mio-misc v1.2.1 [INFO] [stderr] Compiling lewton v0.10.2 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling glyph_brush v0.7.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling approx v0.4.0 [INFO] [stderr] Compiling hound v3.4.0 [INFO] [stderr] Compiling claxon v0.4.3 [INFO] [stderr] Compiling calloop v0.6.5 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling thiserror-impl v1.0.29 [INFO] [stderr] Compiling bytemuck_derive v1.0.1 [INFO] [stderr] Compiling wayland-cursor v0.28.6 [INFO] [stderr] Compiling bytemuck v1.7.2 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling thiserror v1.0.29 [INFO] [stderr] Compiling naga v0.6.3 [INFO] [stderr] Compiling minimp3 v0.5.1 [INFO] [stderr] Compiling rodio v0.14.0 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling wgpu-hal v0.10.7 [INFO] [stderr] Compiling futures-executor v0.3.17 [INFO] [stderr] Compiling futures v0.3.17 [INFO] [stderr] Compiling wgpu v0.10.2 [INFO] [stderr] Compiling wgpu_glyph v0.14.1 [INFO] [stderr] Compiling smithay-client-toolkit v0.12.3 [INFO] [stderr] Compiling thomas v0.1.0 (/opt/rustwide/workdir/thomas) [INFO] [stdout] warning: unused import: `context::Context` [INFO] [stdout] --> thomas/src/debugger.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{context::Context, graphics::backend::State}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lr_dz` [INFO] [stdout] --> thomas/src/graphics/frontend/mod.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | let lr_dz = lr_p.cos() + lr_p.sin(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lr_dz` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fb_p` [INFO] [stdout] --> thomas/src/graphics/frontend/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] 124 | let fb_p = fb_angle + PI / 2.0; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_fb_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fb_r` [INFO] [stdout] --> thomas/src/graphics/frontend/mod.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | let fb_r = thickness / 2.0; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_fb_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fb_dx` [INFO] [stdout] --> thomas/src/graphics/frontend/mod.rs:128:13 [INFO] [stdout] | [INFO] [stdout] 128 | let fb_dx = lr_p.cos() * lr_r; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_fb_dx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fb_dy` [INFO] [stdout] --> thomas/src/graphics/frontend/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | let fb_dy = lr_p.sin() * lr_r; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_fb_dy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fb_dz` [INFO] [stdout] --> thomas/src/graphics/frontend/mod.rs:130:13 [INFO] [stdout] | [INFO] [stdout] 130 | let fb_dz = lr_p.cos() + lr_p.sin(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_fb_dz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> thomas/src/graphics/backend/buffers.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Vertex { [INFO] [stdout] | ^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> thomas/src/graphics/backend/buffers.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / #[repr(C)] [INFO] [stdout] 6 | | #[derive(Copy, Clone, Debug, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stdout] 7 | | // All vertices will have pos. and color [INFO] [stdout] 8 | | pub struct Vertex { [INFO] [stdout] ... | [INFO] [stdout] 12 | | pub color: [f32; 4], [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> thomas/src/graphics/backend/buffers.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Uniforms { [INFO] [stdout] | ^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> thomas/src/graphics/backend/buffers.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | / #[repr(C)] [INFO] [stdout] 45 | | #[derive(Debug, Clone, Copy, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stdout] 46 | | pub struct Uniforms { [INFO] [stdout] 47 | | view: [[f32; 4]; 4] [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling hometown v0.1.0 (/opt/rustwide/workdir/hometown) [INFO] [stdout] warning: unused imports: `distributions::Uniform` and `prelude::ThreadRng` [INFO] [stdout] --> hometown/src/rain.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use rand::{distributions::Uniform, prelude::ThreadRng}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> hometown/src/rain.rs:64:28 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn tick(&mut self, ctx: &mut Context) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> hometown/src/rain.rs:142:28 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn tick(&mut self, ctx: &mut Context) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> hometown/src/rain.rs:143:26 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn render(&self, ctx: &mut Context) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> hometown/src/rain.rs:164:28 [INFO] [stdout] | [INFO] [stdout] 164 | pub fn tick(&mut self, ctx: &mut Context) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> hometown/src/rain.rs:165:26 [INFO] [stdout] | [INFO] [stdout] 165 | pub fn render(&self, ctx: &mut Context) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `thickness` [INFO] [stdout] --> hometown/src/game/mod.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | let thickness = 2; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_thickness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Frustrum` is never constructed [INFO] [stdout] --> hometown/src/lib.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | struct Frustrum { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Any` is never constructed [INFO] [stdout] --> hometown/src/lib.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | struct Any { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `y` is never read [INFO] [stdout] --> hometown/src/lib.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 27 | struct CoordRange { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 28 | x_range: Uniform, [INFO] [stdout] 29 | y: f32, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `endy` is never read [INFO] [stdout] --> hometown/src/rain.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 101 | pub struct Falling { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 109 | endy: f32, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Falling` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> hometown/src/rain.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 124 | pub struct Colliding { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 125 | // Length, should get modified as its being inserted into the puddle [INFO] [stdout] 126 | length: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 127 | x: f32, [INFO] [stdout] | ^ [INFO] [stdout] 128 | y: f32, [INFO] [stdout] | ^ [INFO] [stdout] 129 | // The z is fixed at this point [INFO] [stdout] 130 | z: f32, [INFO] [stdout] | ^ [INFO] [stdout] 131 | dx: f32, [INFO] [stdout] | ^^ [INFO] [stdout] 132 | dy: f32, [INFO] [stdout] | ^^ [INFO] [stdout] 133 | dz: f32, [INFO] [stdout] | ^^ [INFO] [stdout] 134 | // We no know z declares the tip of the water [INFO] [stdout] 135 | thickness: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | spreading: Spreading, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Colliding` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> hometown/src/rain.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 147 | pub struct Spreading { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 148 | // The location of the puddle [INFO] [stdout] 149 | x: f32, [INFO] [stdout] | ^ [INFO] [stdout] 150 | y: f32, [INFO] [stdout] | ^ [INFO] [stdout] 151 | z: f32, [INFO] [stdout] | ^ [INFO] [stdout] 152 | // The thickness of the edges of the water [INFO] [stdout] 153 | thickness: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 154 | // The radius [INFO] [stdout] 155 | r: f32, [INFO] [stdout] | ^ [INFO] [stdout] 156 | // The rate at which the radius is changing [INFO] [stdout] 157 | dr: u32, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 160 | lifetime: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Spreading` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `x_angle` and `z_angle` are never read [INFO] [stdout] --> hometown/src/game/mod.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Game { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | x_angle: f32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 20 | z_angle: f32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `direction` and `camera_controller` are never read [INFO] [stdout] --> hometown/src/player.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Player { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | direction: cgmath::Vector3, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 13 | camera_controller: CameraController, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 37s [INFO] running `Command { std: "docker" "inspect" "4a1a5325e269351a4a6a78115648a75735929ad32b69dcb5f170728c7aa5c068", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4a1a5325e269351a4a6a78115648a75735929ad32b69dcb5f170728c7aa5c068", kill_on_drop: false }` [INFO] [stdout] 4a1a5325e269351a4a6a78115648a75735929ad32b69dcb5f170728c7aa5c068 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+eb171a227f9e5de5d376b6edb56b174bc8235fb3" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f580f89057d446314258d6a173582ac5362bc17b0dba51236fdfacfca9f3f147 [INFO] running `Command { std: "docker" "start" "-a" "f580f89057d446314258d6a173582ac5362bc17b0dba51236fdfacfca9f3f147", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `context::Context` [INFO] [stdout] --> thomas/src/debugger.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{context::Context, graphics::backend::State}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lr_dz` [INFO] [stdout] --> thomas/src/graphics/frontend/mod.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | let lr_dz = lr_p.cos() + lr_p.sin(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lr_dz` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fb_p` [INFO] [stdout] --> thomas/src/graphics/frontend/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] 124 | let fb_p = fb_angle + PI / 2.0; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_fb_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fb_r` [INFO] [stdout] --> thomas/src/graphics/frontend/mod.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | let fb_r = thickness / 2.0; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_fb_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fb_dx` [INFO] [stdout] --> thomas/src/graphics/frontend/mod.rs:128:13 [INFO] [stdout] | [INFO] [stdout] 128 | let fb_dx = lr_p.cos() * lr_r; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_fb_dx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fb_dy` [INFO] [stdout] --> thomas/src/graphics/frontend/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | let fb_dy = lr_p.sin() * lr_r; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_fb_dy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fb_dz` [INFO] [stdout] --> thomas/src/graphics/frontend/mod.rs:130:13 [INFO] [stdout] | [INFO] [stdout] 130 | let fb_dz = lr_p.cos() + lr_p.sin(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_fb_dz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> thomas/src/graphics/backend/buffers.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Vertex { [INFO] [stdout] | ^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> thomas/src/graphics/backend/buffers.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / #[repr(C)] [INFO] [stdout] 6 | | #[derive(Copy, Clone, Debug, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stdout] 7 | | // All vertices will have pos. and color [INFO] [stdout] 8 | | pub struct Vertex { [INFO] [stdout] ... | [INFO] [stdout] 12 | | pub color: [f32; 4], [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> thomas/src/graphics/backend/buffers.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Uniforms { [INFO] [stdout] | ^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> thomas/src/graphics/backend/buffers.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | / #[repr(C)] [INFO] [stdout] 45 | | #[derive(Debug, Clone, Copy, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stdout] 46 | | pub struct Uniforms { [INFO] [stdout] 47 | | view: [[f32; 4]; 4] [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling thomas v0.1.0 (/opt/rustwide/workdir/thomas) [INFO] [stdout] warning: unused imports: `distributions::Uniform` and `prelude::ThreadRng` [INFO] [stdout] --> hometown/src/rain.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use rand::{distributions::Uniform, prelude::ThreadRng}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> hometown/src/rain.rs:64:28 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn tick(&mut self, ctx: &mut Context) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> hometown/src/rain.rs:142:28 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn tick(&mut self, ctx: &mut Context) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> hometown/src/rain.rs:143:26 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn render(&self, ctx: &mut Context) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> hometown/src/rain.rs:164:28 [INFO] [stdout] | [INFO] [stdout] 164 | pub fn tick(&mut self, ctx: &mut Context) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> hometown/src/rain.rs:165:26 [INFO] [stdout] | [INFO] [stdout] 165 | pub fn render(&self, ctx: &mut Context) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `thickness` [INFO] [stdout] --> hometown/src/game/mod.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | let thickness = 2; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_thickness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Frustrum` is never constructed [INFO] [stdout] --> hometown/src/lib.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | struct Frustrum { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Any` is never constructed [INFO] [stdout] --> hometown/src/lib.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | struct Any { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `y` is never read [INFO] [stdout] --> hometown/src/lib.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 27 | struct CoordRange { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 28 | x_range: Uniform, [INFO] [stdout] 29 | y: f32, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `endy` is never read [INFO] [stdout] --> hometown/src/rain.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 101 | pub struct Falling { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 109 | endy: f32, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Falling` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> hometown/src/rain.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 124 | pub struct Colliding { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 125 | // Length, should get modified as its being inserted into the puddle [INFO] [stdout] 126 | length: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 127 | x: f32, [INFO] [stdout] | ^ [INFO] [stdout] 128 | y: f32, [INFO] [stdout] | ^ [INFO] [stdout] 129 | // The z is fixed at this point [INFO] [stdout] 130 | z: f32, [INFO] [stdout] | ^ [INFO] [stdout] 131 | dx: f32, [INFO] [stdout] | ^^ [INFO] [stdout] 132 | dy: f32, [INFO] [stdout] | ^^ [INFO] [stdout] 133 | dz: f32, [INFO] [stdout] | ^^ [INFO] [stdout] 134 | // We no know z declares the tip of the water [INFO] [stdout] 135 | thickness: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | spreading: Spreading, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Colliding` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> hometown/src/rain.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 147 | pub struct Spreading { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 148 | // The location of the puddle [INFO] [stdout] 149 | x: f32, [INFO] [stdout] | ^ [INFO] [stdout] 150 | y: f32, [INFO] [stdout] | ^ [INFO] [stdout] 151 | z: f32, [INFO] [stdout] | ^ [INFO] [stdout] 152 | // The thickness of the edges of the water [INFO] [stdout] 153 | thickness: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 154 | // The radius [INFO] [stdout] 155 | r: f32, [INFO] [stdout] | ^ [INFO] [stdout] 156 | // The rate at which the radius is changing [INFO] [stdout] 157 | dr: u32, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 160 | lifetime: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Spreading` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `x_angle` and `z_angle` are never read [INFO] [stdout] --> hometown/src/game/mod.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Game { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | x_angle: f32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 20 | z_angle: f32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `direction` and `camera_controller` are never read [INFO] [stdout] --> hometown/src/player.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Player { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | direction: cgmath::Vector3, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 13 | camera_controller: CameraController, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling hometown v0.1.0 (/opt/rustwide/workdir/hometown) [INFO] [stdout] warning: unused import: `context::Context` [INFO] [stdout] --> thomas/src/debugger.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::{context::Context, graphics::backend::State}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `distributions::Uniform` and `prelude::ThreadRng` [INFO] [stdout] --> hometown/src/rain.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | use rand::{distributions::Uniform, prelude::ThreadRng}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> hometown/src/rain.rs:64:28 [INFO] [stdout] | [INFO] [stdout] 64 | pub fn tick(&mut self, ctx: &mut Context) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> hometown/src/rain.rs:142:28 [INFO] [stdout] | [INFO] [stdout] 142 | pub fn tick(&mut self, ctx: &mut Context) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> hometown/src/rain.rs:143:26 [INFO] [stdout] | [INFO] [stdout] 143 | pub fn render(&self, ctx: &mut Context) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> hometown/src/rain.rs:164:28 [INFO] [stdout] | [INFO] [stdout] 164 | pub fn tick(&mut self, ctx: &mut Context) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> hometown/src/rain.rs:165:26 [INFO] [stdout] | [INFO] [stdout] 165 | pub fn render(&self, ctx: &mut Context) {} [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `thickness` [INFO] [stdout] --> hometown/src/game/mod.rs:27:13 [INFO] [stdout] | [INFO] [stdout] 27 | let thickness = 2; [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_thickness` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Frustrum` is never constructed [INFO] [stdout] --> hometown/src/lib.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | struct Frustrum { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Any` is never constructed [INFO] [stdout] --> hometown/src/lib.rs:18:8 [INFO] [stdout] | [INFO] [stdout] 18 | struct Any { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `y` is never read [INFO] [stdout] --> hometown/src/lib.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 27 | struct CoordRange { [INFO] [stdout] | ---------- field in this struct [INFO] [stdout] 28 | x_range: Uniform, [INFO] [stdout] 29 | y: f32, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `endy` is never read [INFO] [stdout] --> hometown/src/rain.rs:109:5 [INFO] [stdout] | [INFO] [stdout] 101 | pub struct Falling { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 109 | endy: f32, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Falling` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> hometown/src/rain.rs:126:5 [INFO] [stdout] | [INFO] [stdout] 124 | pub struct Colliding { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 125 | // Length, should get modified as its being inserted into the puddle [INFO] [stdout] 126 | length: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 127 | x: f32, [INFO] [stdout] | ^ [INFO] [stdout] 128 | y: f32, [INFO] [stdout] | ^ [INFO] [stdout] 129 | // The z is fixed at this point [INFO] [stdout] 130 | z: f32, [INFO] [stdout] | ^ [INFO] [stdout] 131 | dx: f32, [INFO] [stdout] | ^^ [INFO] [stdout] 132 | dy: f32, [INFO] [stdout] | ^^ [INFO] [stdout] 133 | dz: f32, [INFO] [stdout] | ^^ [INFO] [stdout] 134 | // We no know z declares the tip of the water [INFO] [stdout] 135 | thickness: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 138 | spreading: Spreading, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Colliding` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple fields are never read [INFO] [stdout] --> hometown/src/rain.rs:149:5 [INFO] [stdout] | [INFO] [stdout] 147 | pub struct Spreading { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 148 | // The location of the puddle [INFO] [stdout] 149 | x: f32, [INFO] [stdout] | ^ [INFO] [stdout] 150 | y: f32, [INFO] [stdout] | ^ [INFO] [stdout] 151 | z: f32, [INFO] [stdout] | ^ [INFO] [stdout] 152 | // The thickness of the edges of the water [INFO] [stdout] 153 | thickness: u32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 154 | // The radius [INFO] [stdout] 155 | r: f32, [INFO] [stdout] | ^ [INFO] [stdout] 156 | // The rate at which the radius is changing [INFO] [stdout] 157 | dr: u32, [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 160 | lifetime: u32, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Spreading` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `x_angle` and `z_angle` are never read [INFO] [stdout] --> hometown/src/game/mod.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Game { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | x_angle: f32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 20 | z_angle: f32, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `direction` and `camera_controller` are never read [INFO] [stdout] --> hometown/src/player.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Player { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] ... [INFO] [stdout] 12 | direction: cgmath::Vector3, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 13 | camera_controller: CameraController, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lr_dz` [INFO] [stdout] --> thomas/src/graphics/frontend/mod.rs:119:13 [INFO] [stdout] | [INFO] [stdout] 119 | let lr_dz = lr_p.cos() + lr_p.sin(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lr_dz` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fb_p` [INFO] [stdout] --> thomas/src/graphics/frontend/mod.rs:124:13 [INFO] [stdout] | [INFO] [stdout] 124 | let fb_p = fb_angle + PI / 2.0; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_fb_p` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fb_r` [INFO] [stdout] --> thomas/src/graphics/frontend/mod.rs:126:13 [INFO] [stdout] | [INFO] [stdout] 126 | let fb_r = thickness / 2.0; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_fb_r` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fb_dx` [INFO] [stdout] --> thomas/src/graphics/frontend/mod.rs:128:13 [INFO] [stdout] | [INFO] [stdout] 128 | let fb_dx = lr_p.cos() * lr_r; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_fb_dx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fb_dy` [INFO] [stdout] --> thomas/src/graphics/frontend/mod.rs:129:13 [INFO] [stdout] | [INFO] [stdout] 129 | let fb_dy = lr_p.sin() * lr_r; [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_fb_dy` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `fb_dz` [INFO] [stdout] --> thomas/src/graphics/frontend/mod.rs:130:13 [INFO] [stdout] | [INFO] [stdout] 130 | let fb_dz = lr_p.cos() + lr_p.sin(); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_fb_dz` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> thomas/src/graphics/backend/buffers.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Vertex { [INFO] [stdout] | ^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> thomas/src/graphics/backend/buffers.rs:5:1 [INFO] [stdout] | [INFO] [stdout] 5 | / #[repr(C)] [INFO] [stdout] 6 | | #[derive(Copy, Clone, Debug, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stdout] 7 | | // All vertices will have pos. and color [INFO] [stdout] 8 | | pub struct Vertex { [INFO] [stdout] ... | [INFO] [stdout] 12 | | pub color: [f32; 4], [INFO] [stdout] 13 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> thomas/src/graphics/backend/buffers.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 46 | pub struct Uniforms { [INFO] [stdout] | ^^^^^^^^ field in this struct [INFO] [stdout] | [INFO] [stdout] = help: consider removing this field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `check` is never used [INFO] [stdout] --> thomas/src/graphics/backend/buffers.rs:44:1 [INFO] [stdout] | [INFO] [stdout] 44 | / #[repr(C)] [INFO] [stdout] 45 | | #[derive(Debug, Clone, Copy, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stdout] 46 | | pub struct Uniforms { [INFO] [stdout] 47 | | view: [[f32; 4]; 4] [INFO] [stdout] 48 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 2.35s [INFO] running `Command { std: "docker" "inspect" "f580f89057d446314258d6a173582ac5362bc17b0dba51236fdfacfca9f3f147", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f580f89057d446314258d6a173582ac5362bc17b0dba51236fdfacfca9f3f147", kill_on_drop: false }` [INFO] [stdout] f580f89057d446314258d6a173582ac5362bc17b0dba51236fdfacfca9f3f147