[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] testing SpicyRicecaker/hometown-rs against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145330-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FSpicyRicecaker%2Fhometown-rs" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-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-3-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/SpicyRicecaker/hometown-rs on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded linked-hash-map v0.5.4 [INFO] [stderr] Downloaded core-graphics v0.22.2 [INFO] [stderr] Downloaded nom v7.0.0 [INFO] [stderr] Downloaded minimp3-sys v0.3.2 [INFO] [stderr] Downloaded wgpu-core v0.10.4 [INFO] [stderr] Downloaded clang-sys v1.2.2 [INFO] [stderr] Downloaded owned_ttf_parser v0.12.1 [INFO] [stderr] Downloaded ab_glyph_rasterizer v0.1.4 [INFO] [stderr] Downloaded oboe-sys v0.4.4 [INFO] [stderr] Downloaded cc v1.0.70 [INFO] [stderr] Downloaded miniz_oxide v0.4.4 [INFO] [stderr] Downloaded mio-misc v1.2.1 [INFO] [stderr] Downloaded slice-deque v0.3.0 [INFO] [stderr] Downloaded wgpu-types v0.10.0 [INFO] [stderr] Downloaded xdg v2.2.0 [INFO] [stderr] Downloaded num_enum v0.5.4 [INFO] [stderr] Downloaded cgmath v0.18.0 [INFO] [stderr] Downloaded glyph_brush v0.7.2 [INFO] [stderr] Downloaded combine v4.6.1 [INFO] [stderr] Downloaded twox-hash v1.6.1 [INFO] [stderr] Downloaded naga v0.6.3 [INFO] [stderr] Downloaded owned_ttf_parser v0.6.0 [INFO] [stderr] Downloaded hound v3.4.0 [INFO] [stderr] Downloaded wgpu_glyph v0.14.1 [INFO] [stderr] Downloaded ndk-sys v0.2.1 [INFO] [stderr] Downloaded proc-macro2 v1.0.29 [INFO] [stderr] Downloaded thiserror v1.0.29 [INFO] [stderr] Downloaded ab_glyph v0.2.11 [INFO] [stderr] Downloaded glow v0.11.0 [INFO] [stderr] Downloaded weezl v0.1.5 [INFO] [stderr] Downloaded glyph_brush_draw_cache v0.1.4 [INFO] [stderr] Downloaded cpal v0.13.4 [INFO] [stderr] Downloaded bumpalo v3.7.1 [INFO] [stderr] Downloaded minimal-lexical v0.1.3 [INFO] [stderr] Downloaded ordered-float v2.8.0 [INFO] [stderr] Downloaded gpu-descriptor v0.2.1 [INFO] [stderr] Downloaded ndk v0.4.0 [INFO] [stderr] Downloaded tinyvec v1.5.0 [INFO] [stderr] Downloaded arrayvec v0.7.1 [INFO] [stderr] Downloaded instant v0.1.11 [INFO] [stderr] Downloaded wgpu v0.10.2 [INFO] [stderr] Downloaded anyhow v1.0.44 [INFO] [stderr] Downloaded alsa v0.5.0 [INFO] [stderr] Downloaded ttf-parser v0.6.2 [INFO] [stderr] Downloaded num_enum_derive v0.5.4 [INFO] [stderr] Downloaded ndk-glue v0.4.0 [INFO] [stderr] Downloaded minimp3 v0.5.1 [INFO] [stderr] Downloaded coreaudio-sys v0.2.8 [INFO] [stderr] Downloaded wgpu-hal v0.10.7 [INFO] [stderr] Downloaded syn v1.0.77 [INFO] [stderr] Downloaded ttf-parser v0.12.3 [INFO] [stderr] Downloaded oboe v0.4.4 [INFO] [stderr] Downloaded rusttype v0.9.2 [INFO] [stderr] Downloaded crc32fast v1.2.1 [INFO] [stderr] Downloaded thiserror-impl v1.0.29 [INFO] [stderr] Downloaded raw-window-handle v0.3.3 [INFO] [stderr] Downloaded gif v0.11.2 [INFO] [stderr] Downloaded crossbeam-queue v0.3.2 [INFO] [stderr] Downloaded ahash v0.4.7 [INFO] [stderr] Downloaded tiff v0.6.1 [INFO] [stderr] Downloaded libc v0.2.102 [INFO] [stderr] Downloaded profiling v1.0.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f129b7bd3ab0f762108ca0ed8249cd03adccbb8d0e1dbba5a0ed57c49058b0d2 [INFO] running `Command { std: "docker" "start" "-a" "f129b7bd3ab0f762108ca0ed8249cd03adccbb8d0e1dbba5a0ed57c49058b0d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f129b7bd3ab0f762108ca0ed8249cd03adccbb8d0e1dbba5a0ed57c49058b0d2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f129b7bd3ab0f762108ca0ed8249cd03adccbb8d0e1dbba5a0ed57c49058b0d2", kill_on_drop: false }` [INFO] [stdout] f129b7bd3ab0f762108ca0ed8249cd03adccbb8d0e1dbba5a0ed57c49058b0d2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 871a856ebb7c77a7450ca31ac4278882f9be51c83dfb0f890c767ca7584296e7 [INFO] running `Command { std: "docker" "start" "-a" "871a856ebb7c77a7450ca31ac4278882f9be51c83dfb0f890c767ca7584296e7", 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 smallvec v1.6.1 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling libloading v0.7.0 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling instant v0.1.11 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.4 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling hashbrown v0.11.2 [INFO] [stderr] Compiling version_check v0.9.3 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling dlib v0.5.0 [INFO] [stderr] Compiling ttf-parser v0.12.3 [INFO] [stderr] Compiling ahash v0.4.7 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling futures-core v0.3.17 [INFO] [stderr] Compiling fixedbitset v0.4.0 [INFO] [stderr] Compiling proc-macro-hack v0.5.19 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling fxhash v0.2.1 [INFO] [stderr] Compiling gpu-descriptor-types v0.1.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling nom v7.0.0 [INFO] [stderr] Compiling futures-macro v0.3.17 [INFO] [stderr] Compiling ppv-lite86 v0.2.10 [INFO] [stderr] Compiling futures-channel v0.3.17 [INFO] [stderr] Compiling futures-task v0.3.17 [INFO] [stderr] Compiling proc-macro-nested v0.1.7 [INFO] [stderr] Compiling petgraph v0.6.0 [INFO] [stderr] Compiling crossbeam-queue v0.3.2 [INFO] [stderr] Compiling spirv v0.2.0+1.5.4 [INFO] [stderr] Compiling scoped-tls v1.0.0 [INFO] [stderr] Compiling cc v1.0.70 [INFO] [stderr] Compiling minimal-lexical v0.1.3 [INFO] [stderr] Compiling ttf-parser v0.6.2 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling wgpu-core v0.10.4 [INFO] [stderr] Compiling gpu-descriptor v0.2.1 [INFO] [stderr] Compiling num-integer v0.1.44 [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 miniz_oxide v0.4.4 [INFO] [stderr] Compiling futures-util v0.3.17 [INFO] [stderr] Compiling arrayvec v0.7.1 [INFO] [stderr] Compiling inplace_it v0.3.3 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling glow v0.11.0 [INFO] [stderr] Compiling futures-sink v0.3.17 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling owned_ttf_parser v0.12.1 [INFO] [stderr] Compiling ab_glyph v0.2.11 [INFO] [stderr] Compiling nix v0.20.0 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling khronos-egl v4.1.0 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling minimp3-sys v0.3.2 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling owned_ttf_parser v0.6.0 [INFO] [stderr] Compiling rusttype v0.9.2 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling approx v0.5.0 [INFO] [stderr] Compiling x11-dl v2.19.1 [INFO] [stderr] Compiling libloading v0.6.7 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling xcursor v0.3.4 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling weezl v0.1.5 [INFO] [stderr] Compiling xdg v2.2.0 [INFO] [stderr] Compiling pin-project-lite v0.2.7 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling tinyvec_macros v0.1.0 [INFO] [stderr] Compiling slab v0.4.4 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling profiling v1.0.3 [INFO] [stderr] Compiling xi-unicode v0.3.0 [INFO] [stderr] Compiling futures-io v0.3.17 [INFO] [stderr] Compiling cpal v0.13.4 [INFO] [stderr] Compiling andrew v0.3.1 [INFO] [stderr] Compiling tinyvec v1.5.0 [INFO] [stderr] Compiling glyph_brush_layout v0.2.3 [INFO] [stderr] Compiling twox-hash v1.6.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 mio v0.7.13 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling ordered-float v2.8.0 [INFO] [stderr] Compiling ogg v0.8.0 [INFO] [stderr] Compiling anyhow v1.0.44 [INFO] [stderr] Compiling cgmath v0.18.0 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling mio-misc v1.2.1 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling lewton v0.10.2 [INFO] [stderr] Compiling gif v0.11.2 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling approx v0.4.0 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling hound v3.4.0 [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 percent-encoding v2.1.0 [INFO] [stderr] Compiling claxon v0.4.3 [INFO] [stderr] Compiling bytemuck v1.7.2 [INFO] [stderr] Compiling wayland-commons v0.28.6 [INFO] [stderr] Compiling alsa v0.5.0 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling glyph_brush_draw_cache v0.1.4 [INFO] [stderr] Compiling calloop v0.6.5 [INFO] [stderr] Compiling thiserror v1.0.29 [INFO] [stderr] Compiling glyph_brush v0.7.2 [INFO] [stderr] Compiling naga v0.6.3 [INFO] [stderr] Compiling minimp3 v0.5.1 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling rodio v0.14.0 [INFO] [stderr] Compiling wayland-cursor v0.28.6 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling futures-executor v0.3.17 [INFO] [stderr] Compiling futures v0.3.17 [INFO] [stderr] Compiling wgpu-hal v0.10.7 [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 winit v0.25.0 [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)]` 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)]` 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)]` 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)]` 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)]` 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)]` 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 33s [INFO] running `Command { std: "docker" "inspect" "871a856ebb7c77a7450ca31ac4278882f9be51c83dfb0f890c767ca7584296e7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "871a856ebb7c77a7450ca31ac4278882f9be51c83dfb0f890c767ca7584296e7", kill_on_drop: false }` [INFO] [stdout] 871a856ebb7c77a7450ca31ac4278882f9be51c83dfb0f890c767ca7584296e7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 2f35fbbff2f80a82afe3e3b31e7e34ae9d49014e1196d1974ccf67a85b8e7e93 [INFO] running `Command { std: "docker" "start" "-a" "2f35fbbff2f80a82afe3e3b31e7e34ae9d49014e1196d1974ccf67a85b8e7e93", 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)]` 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)]` 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)]` 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)]` 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)]` 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)]` 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] [stderr] Compiling hometown v0.1.0 (/opt/rustwide/workdir/hometown) [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 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)]` on by default [INFO] [stdout] [INFO] [stdout] [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)]` 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)]` 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)]` 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)]` 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)]` 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 1.96s [INFO] running `Command { std: "docker" "inspect" "2f35fbbff2f80a82afe3e3b31e7e34ae9d49014e1196d1974ccf67a85b8e7e93", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "2f35fbbff2f80a82afe3e3b31e7e34ae9d49014e1196d1974ccf67a85b8e7e93", kill_on_drop: false }` [INFO] [stdout] 2f35fbbff2f80a82afe3e3b31e7e34ae9d49014e1196d1974ccf67a85b8e7e93 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] e4007b94b70d8885c5c401e54ddd53748f76607b4e6ed8ea14aa68f343eb556d [INFO] running `Command { std: "docker" "start" "-a" "e4007b94b70d8885c5c401e54ddd53748f76607b4e6ed8ea14aa68f343eb556d", kill_on_drop: false }` [INFO] [stderr] warning: unused import: `context::Context` [INFO] [stderr] --> thomas/src/debugger.rs:1:13 [INFO] [stderr] | [INFO] [stderr] 1 | use crate::{context::Context, graphics::backend::State}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `lr_dz` [INFO] [stderr] --> thomas/src/graphics/frontend/mod.rs:119:13 [INFO] [stderr] | [INFO] [stderr] 119 | let lr_dz = lr_p.cos() + lr_p.sin(); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_lr_dz` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `fb_p` [INFO] [stderr] --> thomas/src/graphics/frontend/mod.rs:124:13 [INFO] [stderr] | [INFO] [stderr] 124 | let fb_p = fb_angle + PI / 2.0; [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_fb_p` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `fb_r` [INFO] [stderr] --> thomas/src/graphics/frontend/mod.rs:126:13 [INFO] [stderr] | [INFO] [stderr] 126 | let fb_r = thickness / 2.0; [INFO] [stderr] | ^^^^ help: if this is intentional, prefix it with an underscore: `_fb_r` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `fb_dx` [INFO] [stderr] --> thomas/src/graphics/frontend/mod.rs:128:13 [INFO] [stderr] | [INFO] [stderr] 128 | let fb_dx = lr_p.cos() * lr_r; [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_fb_dx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `fb_dy` [INFO] [stderr] --> thomas/src/graphics/frontend/mod.rs:129:13 [INFO] [stderr] | [INFO] [stderr] 129 | let fb_dy = lr_p.sin() * lr_r; [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_fb_dy` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `fb_dz` [INFO] [stderr] --> thomas/src/graphics/frontend/mod.rs:130:13 [INFO] [stderr] | [INFO] [stderr] 130 | let fb_dz = lr_p.cos() + lr_p.sin(); [INFO] [stderr] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_fb_dz` [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> thomas/src/graphics/backend/buffers.rs:8:12 [INFO] [stderr] | [INFO] [stderr] 8 | pub struct Vertex { [INFO] [stderr] | ^^^^^^ field in this struct [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: function `check` is never used [INFO] [stderr] --> thomas/src/graphics/backend/buffers.rs:5:1 [INFO] [stderr] | [INFO] [stderr] 5 | / #[repr(C)] [INFO] [stderr] 6 | | #[derive(Copy, Clone, Debug, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stderr] 7 | | // All vertices will have pos. and color [INFO] [stderr] 8 | | pub struct Vertex { [INFO] [stderr] ... | [INFO] [stderr] 12 | | pub color: [f32; 4], [INFO] [stderr] 13 | | } [INFO] [stderr] | |_^ [INFO] [stderr] [INFO] [stderr] warning: field `0` is never read [INFO] [stderr] --> thomas/src/graphics/backend/buffers.rs:46:12 [INFO] [stderr] | [INFO] [stderr] 46 | pub struct Uniforms { [INFO] [stderr] | ^^^^^^^^ field in this struct [INFO] [stderr] | [INFO] [stderr] = help: consider removing this field [INFO] [stderr] [INFO] [stderr] warning: function `check` is never used [INFO] [stderr] --> thomas/src/graphics/backend/buffers.rs:44:1 [INFO] [stderr] | [INFO] [stderr] 44 | / #[repr(C)] [INFO] [stderr] 45 | | #[derive(Debug, Clone, Copy, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stderr] 46 | | pub struct Uniforms { [INFO] [stderr] 47 | | view: [[f32; 4]; 4] [INFO] [stderr] 48 | | } [INFO] [stderr] | |_^ [INFO] [stderr] [INFO] [stderr] warning: `thomas` (lib) generated 11 warnings (run `cargo fix --lib -p thomas` to apply 1 suggestion) [INFO] [stderr] warning: `thomas` (lib test) generated 11 warnings (11 duplicates) [INFO] [stderr] warning: unused imports: `distributions::Uniform` and `prelude::ThreadRng` [INFO] [stderr] --> hometown/src/rain.rs:1:12 [INFO] [stderr] | [INFO] [stderr] 1 | use rand::{distributions::Uniform, prelude::ThreadRng}; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> hometown/src/rain.rs:64:28 [INFO] [stderr] | [INFO] [stderr] 64 | pub fn tick(&mut self, ctx: &mut Context) { [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> hometown/src/rain.rs:142:28 [INFO] [stderr] | [INFO] [stderr] 142 | pub fn tick(&mut self, ctx: &mut Context) {} [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> hometown/src/rain.rs:143:26 [INFO] [stderr] | [INFO] [stderr] 143 | pub fn render(&self, ctx: &mut Context) {} [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> hometown/src/rain.rs:164:28 [INFO] [stderr] | [INFO] [stderr] 164 | pub fn tick(&mut self, ctx: &mut Context) {} [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `ctx` [INFO] [stderr] --> hometown/src/rain.rs:165:26 [INFO] [stderr] | [INFO] [stderr] 165 | pub fn render(&self, ctx: &mut Context) {} [INFO] [stderr] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stderr] [INFO] [stderr] warning: unused variable: `thickness` [INFO] [stderr] --> hometown/src/game/mod.rs:27:13 [INFO] [stderr] | [INFO] [stderr] 27 | let thickness = 2; [INFO] [stderr] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_thickness` [INFO] [stderr] [INFO] [stderr] warning: struct `Frustrum` is never constructed [INFO] [stderr] --> hometown/src/lib.rs:11:8 [INFO] [stderr] | [INFO] [stderr] 11 | struct Frustrum { [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: struct `Any` is never constructed [INFO] [stderr] --> hometown/src/lib.rs:18:8 [INFO] [stderr] | [INFO] [stderr] 18 | struct Any { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: field `y` is never read [INFO] [stderr] --> hometown/src/lib.rs:29:5 [INFO] [stderr] | [INFO] [stderr] 27 | struct CoordRange { [INFO] [stderr] | ---------- field in this struct [INFO] [stderr] 28 | x_range: Uniform, [INFO] [stderr] 29 | y: f32, [INFO] [stderr] | ^ [INFO] [stderr] [INFO] [stderr] warning: field `endy` is never read [INFO] [stderr] --> hometown/src/rain.rs:109:5 [INFO] [stderr] | [INFO] [stderr] 101 | pub struct Falling { [INFO] [stderr] | ------- field in this struct [INFO] [stderr] ... [INFO] [stderr] 109 | endy: f32, [INFO] [stderr] | ^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Falling` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: multiple fields are never read [INFO] [stderr] --> hometown/src/rain.rs:126:5 [INFO] [stderr] | [INFO] [stderr] 124 | pub struct Colliding { [INFO] [stderr] | --------- fields in this struct [INFO] [stderr] 125 | // Length, should get modified as its being inserted into the puddle [INFO] [stderr] 126 | length: u32, [INFO] [stderr] | ^^^^^^ [INFO] [stderr] 127 | x: f32, [INFO] [stderr] | ^ [INFO] [stderr] 128 | y: f32, [INFO] [stderr] | ^ [INFO] [stderr] 129 | // The z is fixed at this point [INFO] [stderr] 130 | z: f32, [INFO] [stderr] | ^ [INFO] [stderr] 131 | dx: f32, [INFO] [stderr] | ^^ [INFO] [stderr] 132 | dy: f32, [INFO] [stderr] | ^^ [INFO] [stderr] 133 | dz: f32, [INFO] [stderr] | ^^ [INFO] [stderr] 134 | // We no know z declares the tip of the water [INFO] [stderr] 135 | thickness: u32, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] ... [INFO] [stderr] 138 | spreading: Spreading, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Colliding` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: multiple fields are never read [INFO] [stderr] --> hometown/src/rain.rs:149:5 [INFO] [stderr] | [INFO] [stderr] 147 | pub struct Spreading { [INFO] [stderr] | --------- fields in this struct [INFO] [stderr] 148 | // The location of the puddle [INFO] [stderr] 149 | x: f32, [INFO] [stderr] | ^ [INFO] [stderr] 150 | y: f32, [INFO] [stderr] | ^ [INFO] [stderr] 151 | z: f32, [INFO] [stderr] | ^ [INFO] [stderr] 152 | // The thickness of the edges of the water [INFO] [stderr] 153 | thickness: u32, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 154 | // The radius [INFO] [stderr] 155 | r: f32, [INFO] [stderr] | ^ [INFO] [stderr] 156 | // The rate at which the radius is changing [INFO] [stderr] 157 | dr: u32, [INFO] [stderr] | ^^ [INFO] [stderr] ... [INFO] [stderr] 160 | lifetime: u32, [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `Spreading` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] [INFO] [stderr] warning: fields `x_angle` and `z_angle` are never read [INFO] [stderr] --> hometown/src/game/mod.rs:19:5 [INFO] [stderr] | [INFO] [stderr] 4 | pub struct Game { [INFO] [stderr] | ---- fields in this struct [INFO] [stderr] ... [INFO] [stderr] 19 | x_angle: f32, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] 20 | z_angle: f32, [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: fields `direction` and `camera_controller` are never read [INFO] [stderr] --> hometown/src/player.rs:12:5 [INFO] [stderr] | [INFO] [stderr] 4 | pub struct Player { [INFO] [stderr] | ------ fields in this struct [INFO] [stderr] ... [INFO] [stderr] 12 | direction: cgmath::Vector3, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] 13 | camera_controller: CameraController, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `hometown` (lib) generated 15 warnings (run `cargo fix --lib -p hometown` to apply 1 suggestion) [INFO] [stderr] warning: `hometown` (lib test) generated 15 warnings (15 duplicates) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.26s [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/hometown-67c0a79173a3db3f) [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/hometown-a3b2d16026530462) [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] [stderr] Running unittests src/lib.rs (/opt/rustwide/target/debug/deps/thomas-c5ae04c1f35598b2) [INFO] [stdout] [INFO] [stdout] running 2 tests [INFO] [stdout] test graphics::frontend::color::test::test_color_from_hex ... ok [INFO] [stdout] test graphics::frontend::color::test::test_color_to_wgpu_color ... FAILED [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] [INFO] [stdout] ---- graphics::frontend::color::test::test_color_to_wgpu_color stdout ---- [INFO] [stdout] [INFO] [stdout] thread 'graphics::frontend::color::test::test_color_to_wgpu_color' (28) panicked at thomas/src/graphics/frontend/color.rs:98:9: [INFO] [stdout] assertion `left == right` failed [INFO] [stdout] left: Color { r: 0.017782653290274876, g: 0.016842403094008966, b: 0.016842403094008966, a: 1.0 } [INFO] [stdout] right: Color { r: 0.16015625, g: 0.15625, b: 0.15625, a: 1.0 } [INFO] [stdout] stack backtrace: [INFO] [stdout] 0: 0x63d499755fd2 - std::backtrace_rs::backtrace::libunwind::trace::h0fb8082ca5562a61 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/../../backtrace/src/backtrace/libunwind.rs:117:9 [INFO] [stdout] 1: 0x63d499755fd2 - std::backtrace_rs::backtrace::trace_unsynchronized::hfaa258994374a3cd [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/../../backtrace/src/backtrace/mod.rs:66:14 [INFO] [stdout] 2: 0x63d499755fd2 - std::sys::backtrace::_print_fmt::h11496fe34963a885 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/sys/backtrace.rs:66:9 [INFO] [stdout] 3: 0x63d499755fd2 - ::fmt::hff1a9408d012ee89 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/sys/backtrace.rs:39:26 [INFO] [stdout] 4: 0x63d499779bcf - core::fmt::rt::Argument::fmt::hf11195b61445f5d1 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/fmt/rt.rs:173:76 [INFO] [stdout] 5: 0x63d499779bcf - core::fmt::write::h2f1fc679f228cc52 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/fmt/mod.rs:1468:25 [INFO] [stdout] 6: 0x63d499742c73 - std::io::default_write_fmt::h12bd533187bc883d [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/io/mod.rs:639:11 [INFO] [stdout] 7: 0x63d499742c73 - std::io::Write::write_fmt::h926a1fdfdcb90065 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/io/mod.rs:1954:13 [INFO] [stdout] 8: 0x63d499755e22 - std::sys::backtrace::BacktraceLock::print::h28bfdbcac6d3828b [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/sys/backtrace.rs:42:9 [INFO] [stdout] 9: 0x63d4997414dc - std::panicking::default_hook::{{closure}}::h1f968e3a24b0e3b4 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panicking.rs:301:27 [INFO] [stdout] 10: 0x63d499741359 - std::panicking::default_hook::h43da101644971931 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panicking.rs:325:9 [INFO] [stdout] 11: 0x63d4996e95ee - as core::ops::function::Fn>::call::h4b2012949041da5d [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 12: 0x63d4996e95ee - test::test_main_with_exit_callback::{{closure}}::h53c9154cdc260357 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/test/src/lib.rs:145:21 [INFO] [stdout] 13: 0x63d499741ae3 - as core::ops::function::Fn>::call::h911f2e3e7e84b764 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/alloc/src/boxed.rs:1985:9 [INFO] [stdout] 14: 0x63d499741ae3 - std::panicking::panic_with_hook::hb4e916c3e65eccec [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panicking.rs:842:13 [INFO] [stdout] 15: 0x63d4997559aa - std::panicking::panic_handler::{{closure}}::hbff715d0475cf1bd [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panicking.rs:707:13 [INFO] [stdout] 16: 0x63d499755909 - std::sys::backtrace::__rust_end_short_backtrace::hd6f43484e45a4955 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/sys/backtrace.rs:174:18 [INFO] [stdout] 17: 0x63d49974204d - __rustc[b29d3319de9a3146]::rust_begin_unwind [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panicking.rs:698:5 [INFO] [stdout] 18: 0x63d499780010 - core::panicking::panic_fmt::h5f8d281875be5ff1 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/panicking.rs:75:14 [INFO] [stdout] 19: 0x63d49977fe53 - core::panicking::assert_failed_inner::he2d6c07cd4513ee3 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/panicking.rs:448:17 [INFO] [stdout] 20: 0x63d4996df9ab - core::panicking::assert_failed::h8af59b784c72593b [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/panicking.rs:403:5 [INFO] [stdout] 21: 0x63d4996de971 - thomas::graphics::frontend::color::test::test_color_to_wgpu_color::h7c50f1bb78ce0304 [INFO] [stdout] at /opt/rustwide/workdir/thomas/src/graphics/frontend/color.rs:98:9 [INFO] [stdout] 22: 0x63d4996de6e7 - thomas::graphics::frontend::color::test::test_color_to_wgpu_color::{{closure}}::h41213f04de2ab7ba [INFO] [stdout] at /opt/rustwide/workdir/thomas/src/graphics/frontend/color.rs:96:34 [INFO] [stdout] 23: 0x63d4996de2b6 - core::ops::function::FnOnce::call_once::ha639b20c8cf6d99a [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 24: 0x63d4996eeb2b - core::ops::function::FnOnce::call_once::haf4e03bb51ef1351 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 25: 0x63d4996eeb2b - test::__rust_begin_short_backtrace::h50f5566ee84f2f21 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/test/src/lib.rs:663:18 [INFO] [stdout] 26: 0x63d4996f1d25 - test::run_test_in_process::{{closure}}::heb3733b71d876eca [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/test/src/lib.rs:686:74 [INFO] [stdout] 27: 0x63d4996f1d25 - as core::ops::function::FnOnce<()>>::call_once::he2fe41e1b161faa9 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 28: 0x63d4996f1d25 - std::panicking::catch_unwind::do_call::h00aa383d8fd97a09 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panicking.rs:590:40 [INFO] [stdout] 29: 0x63d4996f1d25 - std::panicking::catch_unwind::he482e1914bc21641 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panicking.rs:553:19 [INFO] [stdout] 30: 0x63d4996f1d25 - std::panic::catch_unwind::h86ac9705098f4f22 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panic.rs:359:14 [INFO] [stdout] 31: 0x63d4996f1d25 - test::run_test_in_process::h636a992821e3c6aa [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/test/src/lib.rs:686:27 [INFO] [stdout] 32: 0x63d4996f1d25 - test::run_test::{{closure}}::he454cc9a192df79f [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/test/src/lib.rs:607:43 [INFO] [stdout] 33: 0x63d4997176d4 - test::run_test::{{closure}}::haec47455908dff86 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/test/src/lib.rs:637:41 [INFO] [stdout] 34: 0x63d4997176d4 - std::sys::backtrace::__rust_begin_short_backtrace::h230785972524cdc1 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/sys/backtrace.rs:158:18 [INFO] [stdout] 35: 0x63d4996fe2ea - std::thread::Builder::spawn_unchecked_::{{closure}}::{{closure}}::haa5a562db4cde838 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/thread/mod.rs:559:17 [INFO] [stdout] 36: 0x63d4996fe2ea - as core::ops::function::FnOnce<()>>::call_once::h89254f37a55d0a87 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/panic/unwind_safe.rs:272:9 [INFO] [stdout] 37: 0x63d4996fe2ea - std::panicking::catch_unwind::do_call::h499f5a462f019d9d [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panicking.rs:590:40 [INFO] [stdout] 38: 0x63d4996fe2ea - std::panicking::catch_unwind::h6736fbbb1a264383 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panicking.rs:553:19 [INFO] [stdout] 39: 0x63d4996fe2ea - std::panic::catch_unwind::h49ea7bdd1cbee572 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/panic.rs:359:14 [INFO] [stdout] 40: 0x63d4996fe2ea - std::thread::Builder::spawn_unchecked_::{{closure}}::h653dfa62acf32f5a [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/thread/mod.rs:557:30 [INFO] [stdout] 41: 0x63d4996fe2ea - core::ops::function::FnOnce::call_once{{vtable.shim}}::h82582a626a045a45 [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/core/src/ops/function.rs:253:5 [INFO] [stdout] 42: 0x63d49972c71f - as core::ops::function::FnOnce>::call_once::h4ab26c07513156cc [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/alloc/src/boxed.rs:1971:9 [INFO] [stdout] 43: 0x63d49972c71f - std::sys::pal::unix::thread::Thread::new::thread_start::h66ff1bba185a50cf [INFO] [stdout] at /rustc/350d0ef0ec0493e6d21cfb265cb8211a0e74d766/library/std/src/sys/pal/unix/thread.rs:107:17 [INFO] [stdout] 44: 0x7fb967552aa4 - [INFO] [stdout] 45: 0x7fb9675dfa34 - clone [INFO] [stdout] 46: 0x0 - [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] failures: [INFO] [stdout] graphics::frontend::color::test::test_color_to_wgpu_color [INFO] [stdout] [INFO] [stdout] test result: FAILED. 1 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.20s [INFO] [stdout] [INFO] [stderr] error: test failed, to rerun pass `-p thomas --lib` [INFO] running `Command { std: "docker" "inspect" "e4007b94b70d8885c5c401e54ddd53748f76607b4e6ed8ea14aa68f343eb556d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e4007b94b70d8885c5c401e54ddd53748f76607b4e6ed8ea14aa68f343eb556d", kill_on_drop: false }` [INFO] [stdout] e4007b94b70d8885c5c401e54ddd53748f76607b4e6ed8ea14aa68f343eb556d