[INFO] cloning repository https://github.com/scripts-richard/rusty-renderer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/scripts-richard/rusty-renderer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fscripts-richard%2Frusty-renderer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fscripts-richard%2Frusty-renderer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6015f74d513c09ab427997d73f2a93a8398dc6ad [INFO] building scripts-richard/rusty-renderer against master#c7f6aa2869acdbf014d094c6e427e554e160b6db for pr-146237-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fscripts-richard%2Frusty-renderer" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/scripts-richard/rusty-renderer [INFO] finished tweaking git repo https://github.com/scripts-richard/rusty-renderer [INFO] tweaked toml for git repo https://github.com/scripts-richard/rusty-renderer written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/scripts-richard/rusty-renderer on toolchain c7f6aa2869acdbf014d094c6e427e554e160b6db [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/scripts-richard/rusty-renderer 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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-shared v0.2.78 [INFO] [stderr] Downloaded instant v0.1.11 [INFO] [stderr] Downloaded memmap2 v0.3.1 [INFO] [stderr] Downloaded proc-macro2 v1.0.29 [INFO] [stderr] Downloaded wasm-bindgen-macro v0.2.78 [INFO] [stderr] Downloaded wasm-bindgen-macro-support v0.2.78 [INFO] [stderr] Downloaded wasm-bindgen-backend v0.2.78 [INFO] [stderr] Downloaded wasm-bindgen v0.2.78 [INFO] [stderr] Downloaded cgmath v0.18.0 [INFO] [stderr] Downloaded gpu-alloc v0.5.2 [INFO] [stderr] Downloaded thiserror-impl v1.0.29 [INFO] [stderr] Downloaded anyhow v1.0.44 [INFO] [stderr] Downloaded calloop v0.9.3 [INFO] [stderr] Downloaded wayland-cursor v0.29.4 [INFO] [stderr] Downloaded os_str_bytes v6.0.0 [INFO] [stderr] Downloaded bytemuck v1.7.2 [INFO] [stderr] Downloaded naga v0.8.1 [INFO] [stderr] Downloaded wgpu-hal v0.12.1 [INFO] [stderr] Downloaded nfd v0.0.4 [INFO] [stderr] Downloaded approx v0.4.0 [INFO] [stderr] Downloaded weezl v0.1.5 [INFO] [stderr] Downloaded clap v3.0.4 [INFO] [stderr] Downloaded smithay-client-toolkit v0.15.3 [INFO] [stderr] Downloaded wayland-client v0.29.4 [INFO] [stderr] Downloaded bumpalo v3.7.1 [INFO] [stderr] Downloaded wayland-protocols v0.29.4 [INFO] [stderr] Downloaded js-sys v0.3.55 [INFO] [stderr] Downloaded minimal-lexical v0.1.3 [INFO] [stderr] Downloaded cc v1.0.70 [INFO] [stderr] Downloaded ahash v0.7.4 [INFO] [stderr] Downloaded wasm-bindgen-futures v0.4.28 [INFO] [stderr] Downloaded nix v0.22.0 [INFO] [stderr] Downloaded wgpu-core v0.12.1 [INFO] [stderr] Downloaded gpu-descriptor v0.2.1 [INFO] [stderr] Downloaded num_enum_derive v0.5.4 [INFO] [stderr] Downloaded num_enum v0.5.4 [INFO] [stderr] Downloaded serde v1.0.130 [INFO] [stderr] Downloaded web-sys v0.3.55 [INFO] [stderr] Downloaded smallvec v1.7.0 [INFO] [stderr] Downloaded wayland-sys v0.29.4 [INFO] [stderr] Downloaded wayland-scanner v0.29.4 [INFO] [stderr] Downloaded textwrap v0.14.2 [INFO] [stderr] Downloaded fs_extra v1.2.0 [INFO] [stderr] Downloaded gif v0.11.2 [INFO] [stderr] Downloaded gcc v0.3.55 [INFO] [stderr] Downloaded pollster v0.2.4 [INFO] [stderr] Downloaded tobj v3.2.0 [INFO] [stderr] Downloaded arrayvec v0.7.1 [INFO] [stderr] Downloaded core-graphics v0.22.2 [INFO] [stderr] Downloaded thiserror v1.0.29 [INFO] [stderr] Downloaded wayland-commons v0.29.4 [INFO] [stderr] Downloaded libc v0.2.103 [INFO] [stderr] Downloaded clap_derive v3.0.2 [INFO] [stderr] Downloaded pkg-config v0.3.20 [INFO] [stderr] Downloaded syn v1.0.77 [INFO] [stderr] Downloaded profiling v1.0.3 [INFO] [stderr] Downloaded nom v7.0.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e286fcb42b8bfca948079992161753db8f891bec8f12cc80ac4da5e1e3839d6c [INFO] running `Command { std: "docker" "start" "-a" "e286fcb42b8bfca948079992161753db8f891bec8f12cc80ac4da5e1e3839d6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e286fcb42b8bfca948079992161753db8f891bec8f12cc80ac4da5e1e3839d6c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e286fcb42b8bfca948079992161753db8f891bec8f12cc80ac4da5e1e3839d6c", kill_on_drop: false }` [INFO] [stdout] e286fcb42b8bfca948079992161753db8f891bec8f12cc80ac4da5e1e3839d6c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 020692472eadf863df138ebe477c122506845854e76ad8495600cf584cb59bf7 [INFO] running `Command { std: "docker" "start" "-a" "020692472eadf863df138ebe477c122506845854e76ad8495600cf584cb59bf7", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.103 [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling memoffset v0.6.4 [INFO] [stderr] Compiling pkg-config v0.3.20 [INFO] [stderr] Compiling syn v1.0.77 [INFO] [stderr] Compiling libloading v0.7.0 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling once_cell v1.8.0 [INFO] [stderr] Compiling dlib v0.5.0 [INFO] [stderr] Compiling indexmap v1.7.0 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling instant v0.1.11 [INFO] [stderr] Compiling wayland-sys v0.29.4 [INFO] [stderr] Compiling nom v7.0.0 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling ash v0.34.0+1.2.203 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling khronos-egl v4.1.0 [INFO] [stderr] Compiling minimal-lexical v0.1.3 [INFO] [stderr] Compiling ahash v0.4.7 [INFO] [stderr] Compiling wayland-scanner v0.29.4 [INFO] [stderr] Compiling raw-window-handle v0.4.2 [INFO] [stderr] Compiling codespan-reporting v0.11.1 [INFO] [stderr] Compiling hashbrown v0.9.1 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling nix v0.22.0 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling spirv v0.2.0+1.5.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling gpu-descriptor-types v0.1.1 [INFO] [stderr] Compiling gpu-alloc-types v0.2.0 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling hexf-parse v0.2.1 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling anyhow v1.0.44 [INFO] [stderr] Compiling either v1.6.1 [INFO] [stderr] Compiling wayland-client v0.29.4 [INFO] [stderr] Compiling wayland-protocols v0.29.4 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling crc32fast v1.2.1 [INFO] [stderr] Compiling wgpu-core v0.12.1 [INFO] [stderr] Compiling gpu-alloc v0.5.2 [INFO] [stderr] Compiling gpu-descriptor v0.2.1 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling xcursor v0.3.4 [INFO] [stderr] Compiling x11-dl v2.19.1 [INFO] [stderr] Compiling smithay-client-toolkit v0.15.3 [INFO] [stderr] Compiling wgpu-types v0.12.0 [INFO] [stderr] Compiling ahash v0.7.4 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling arrayvec v0.7.1 [INFO] [stderr] Compiling renderdoc-sys v0.7.1 [INFO] [stderr] Compiling wayland-commons v0.29.4 [INFO] [stderr] Compiling inplace_it v0.3.3 [INFO] [stderr] Compiling profiling v1.0.3 [INFO] [stderr] Compiling weezl v0.1.5 [INFO] [stderr] Compiling glow v0.11.2 [INFO] [stderr] Compiling gcc v0.3.55 [INFO] [stderr] Compiling calloop v0.9.3 [INFO] [stderr] Compiling nfd v0.0.4 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling thiserror-impl v1.0.29 [INFO] [stderr] Compiling bytemuck_derive v1.0.1 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling wayland-cursor v0.29.4 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling thiserror v1.0.29 [INFO] [stderr] Compiling memmap2 v0.3.1 [INFO] [stderr] Compiling naga v0.8.1 [INFO] [stderr] Compiling fs_extra v1.2.0 [INFO] [stderr] Compiling heck v0.4.0 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling copyless v0.1.5 [INFO] [stderr] Compiling winit v0.26.1 [INFO] [stderr] Compiling cgmath v0.18.0 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling gif v0.11.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling tarnish v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling clap_derive v3.0.2 [INFO] [stderr] Compiling bytemuck v1.7.2 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling mio v0.8.0 [INFO] [stderr] Compiling os_str_bytes v6.0.0 [INFO] [stderr] Compiling approx v0.4.0 [INFO] [stderr] Compiling textwrap v0.14.2 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling clap v3.0.4 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling tobj v3.2.0 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling pollster v0.2.4 [INFO] [stderr] Compiling wgpu-hal v0.12.1 [INFO] [stderr] Compiling wgpu v0.12.0 [INFO] [stdout] warning: unused imports: `FPSCameraController` and `FPSCamera` [INFO] [stdout] --> src/camera/mod.rs:18:22 [INFO] [stdout] | [INFO] [stdout] 18 | pub use fps_camera::{FPSCamera, FPSCameraController}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/camera/mod.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct CameraUniform { [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] --> src/camera/mod.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | / #[repr(C)] [INFO] [stdout] 61 | | #[derive(Debug, Copy, Clone, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stdout] 62 | | pub struct CameraUniform { [INFO] [stdout] 63 | | view_position: [f32; 4], [INFO] [stdout] 64 | | view_proj: [[f32; 4]; 4], [INFO] [stdout] 65 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FPSCamera` is never constructed [INFO] [stdout] --> src/camera/fps_camera.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct FPSCamera { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/camera/fps_camera.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 27 | impl FPSCamera { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 28 | pub fn new< [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FPSCameraController` is never constructed [INFO] [stdout] --> src/camera/fps_camera.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct FPSCameraController { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/camera/fps_camera.rs:83:10 [INFO] [stdout] | [INFO] [stdout] 82 | impl FPSCameraController { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] 83 | pub fn new(speed: f32, sensitivity: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/color.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct ColorUniform { [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] --> src/color.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / #[repr(C)] [INFO] [stdout] 2 | | #[derive(Debug, Copy, Clone, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stdout] 3 | | pub struct ColorUniform { [INFO] [stdout] 4 | | pub color: [f32; 4], [INFO] [stdout] 5 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `draw_mesh` and `draw_model` are never used [INFO] [stdout] --> src/draw.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait DrawModel<'a> { [INFO] [stdout] | --------- methods in this trait [INFO] [stdout] 9 | fn draw_mesh( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | fn draw_model( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `draw_light_mesh` is never used [INFO] [stdout] --> src/draw.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 95 | pub trait DrawLight<'a> { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] 96 | fn draw_light_mesh( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/instance.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct InstanceRaw { [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] --> src/instance.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / #[repr(C)] [INFO] [stdout] 22 | | #[derive(Copy, Clone, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stdout] 23 | | pub struct InstanceRaw { [INFO] [stdout] 24 | | model: [[f32; 4]; 4], [INFO] [stdout] 25 | | normal: [[f32; 3]; 3], [INFO] [stdout] 26 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/light.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct LightUniform { [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] --> src/light.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / #[repr(C)] [INFO] [stdout] 2 | | #[derive(Debug, Copy, Clone, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stdout] 3 | | pub struct LightUniform { [INFO] [stdout] 4 | | pub position: [f32; 3], [INFO] [stdout] ... | [INFO] [stdout] 7 | | pub _color_padding: u32, [INFO] [stdout] 8 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `material` are never read [INFO] [stdout] --> src/mesh.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Mesh { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 11 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | pub material: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/mesh.rs:120:12 [INFO] [stdout] | [INFO] [stdout] 120 | pub struct MeshVertex { [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] --> src/mesh.rs:118:1 [INFO] [stdout] | [INFO] [stdout] 118 | / #[repr(C)] [INFO] [stdout] 119 | | #[derive(Copy, Clone, Debug, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stdout] 120 | | pub struct MeshVertex { [INFO] [stdout] 121 | | pub position: [f32; 3], [INFO] [stdout] 122 | | pub normal: [f32; 3], [INFO] [stdout] 123 | | pub color: [f32; 4], [INFO] [stdout] 124 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `add_post` is never used [INFO] [stdout] --> src/model.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 22 | impl Model { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 23 | pub fn add_post(builder: &mut MeshBuilder, position: Vector3, width: f32, length: f32, height: f32) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `texture` and `sampler` are never read [INFO] [stdout] --> src/texture.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Texture { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 6 | pub texture: wgpu::Texture, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 7 | pub view: wgpu::TextureView, [INFO] [stdout] 8 | pub sampler: wgpu::Sampler, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 38s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: fs_extra v1.2.0, nfd v0.0.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 5` [INFO] running `Command { std: "docker" "inspect" "020692472eadf863df138ebe477c122506845854e76ad8495600cf584cb59bf7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "020692472eadf863df138ebe477c122506845854e76ad8495600cf584cb59bf7", kill_on_drop: false }` [INFO] [stdout] 020692472eadf863df138ebe477c122506845854e76ad8495600cf584cb59bf7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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" "+c7f6aa2869acdbf014d094c6e427e554e160b6db" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4adf34d363445da00685eefc7b20035ff52dbd6f65e17690e59920b5158472ff [INFO] running `Command { std: "docker" "start" "-a" "4adf34d363445da00685eefc7b20035ff52dbd6f65e17690e59920b5158472ff", kill_on_drop: false }` [INFO] [stderr] Compiling tarnish v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `FPSCameraController` and `FPSCamera` [INFO] [stdout] --> src/camera/mod.rs:18:22 [INFO] [stdout] | [INFO] [stdout] 18 | pub use fps_camera::{FPSCamera, FPSCameraController}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/camera/mod.rs:62:12 [INFO] [stdout] | [INFO] [stdout] 62 | pub struct CameraUniform { [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] --> src/camera/mod.rs:60:1 [INFO] [stdout] | [INFO] [stdout] 60 | / #[repr(C)] [INFO] [stdout] 61 | | #[derive(Debug, Copy, Clone, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stdout] 62 | | pub struct CameraUniform { [INFO] [stdout] 63 | | view_position: [f32; 4], [INFO] [stdout] 64 | | view_proj: [[f32; 4]; 4], [INFO] [stdout] 65 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FPSCamera` is never constructed [INFO] [stdout] --> src/camera/fps_camera.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct FPSCamera { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/camera/fps_camera.rs:28:10 [INFO] [stdout] | [INFO] [stdout] 27 | impl FPSCamera { [INFO] [stdout] | -------------- associated function in this implementation [INFO] [stdout] 28 | pub fn new< [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `FPSCameraController` is never constructed [INFO] [stdout] --> src/camera/fps_camera.rs:68:12 [INFO] [stdout] | [INFO] [stdout] 68 | pub struct FPSCameraController { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/camera/fps_camera.rs:83:10 [INFO] [stdout] | [INFO] [stdout] 82 | impl FPSCameraController { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] 83 | pub fn new(speed: f32, sensitivity: f32) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/color.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct ColorUniform { [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] --> src/color.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / #[repr(C)] [INFO] [stdout] 2 | | #[derive(Debug, Copy, Clone, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stdout] 3 | | pub struct ColorUniform { [INFO] [stdout] 4 | | pub color: [f32; 4], [INFO] [stdout] 5 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `draw_mesh` and `draw_model` are never used [INFO] [stdout] --> src/draw.rs:9:6 [INFO] [stdout] | [INFO] [stdout] 8 | pub trait DrawModel<'a> { [INFO] [stdout] | --------- methods in this trait [INFO] [stdout] 9 | fn draw_mesh( [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | fn draw_model( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `draw_light_mesh` is never used [INFO] [stdout] --> src/draw.rs:96:8 [INFO] [stdout] | [INFO] [stdout] 95 | pub trait DrawLight<'a> { [INFO] [stdout] | --------- method in this trait [INFO] [stdout] 96 | fn draw_light_mesh( [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/instance.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct InstanceRaw { [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] --> src/instance.rs:21:1 [INFO] [stdout] | [INFO] [stdout] 21 | / #[repr(C)] [INFO] [stdout] 22 | | #[derive(Copy, Clone, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stdout] 23 | | pub struct InstanceRaw { [INFO] [stdout] 24 | | model: [[f32; 4]; 4], [INFO] [stdout] 25 | | normal: [[f32; 3]; 3], [INFO] [stdout] 26 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/light.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | pub struct LightUniform { [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] --> src/light.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | / #[repr(C)] [INFO] [stdout] 2 | | #[derive(Debug, Copy, Clone, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stdout] 3 | | pub struct LightUniform { [INFO] [stdout] 4 | | pub position: [f32; 3], [INFO] [stdout] ... | [INFO] [stdout] 7 | | pub _color_padding: u32, [INFO] [stdout] 8 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name` and `material` are never read [INFO] [stdout] --> src/mesh.rs:11:7 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Mesh { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 11 | pub name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 15 | pub material: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/mesh.rs:120:12 [INFO] [stdout] | [INFO] [stdout] 120 | pub struct MeshVertex { [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] --> src/mesh.rs:118:1 [INFO] [stdout] | [INFO] [stdout] 118 | / #[repr(C)] [INFO] [stdout] 119 | | #[derive(Copy, Clone, Debug, bytemuck::Pod, bytemuck::Zeroable)] [INFO] [stdout] 120 | | pub struct MeshVertex { [INFO] [stdout] 121 | | pub position: [f32; 3], [INFO] [stdout] 122 | | pub normal: [f32; 3], [INFO] [stdout] 123 | | pub color: [f32; 4], [INFO] [stdout] 124 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `add_post` is never used [INFO] [stdout] --> src/model.rs:23:10 [INFO] [stdout] | [INFO] [stdout] 22 | impl Model { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 23 | pub fn add_post(builder: &mut MeshBuilder, position: Vector3, width: f32, length: f32, height: f32) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `texture` and `sampler` are never read [INFO] [stdout] --> src/texture.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub struct Texture { [INFO] [stdout] | ------- fields in this struct [INFO] [stdout] 6 | pub texture: wgpu::Texture, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 7 | pub view: wgpu::TextureView, [INFO] [stdout] 8 | pub sampler: wgpu::Sampler, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 1.32s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: fs_extra v1.2.0, nfd v0.0.4 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 5` [INFO] running `Command { std: "docker" "inspect" "4adf34d363445da00685eefc7b20035ff52dbd6f65e17690e59920b5158472ff", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4adf34d363445da00685eefc7b20035ff52dbd6f65e17690e59920b5158472ff", kill_on_drop: false }` [INFO] [stdout] 4adf34d363445da00685eefc7b20035ff52dbd6f65e17690e59920b5158472ff