[INFO] cloning repository https://github.com/JoelWaterworth/rust_game_engine [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JoelWaterworth/rust_game_engine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJoelWaterworth%2Frust_game_engine", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJoelWaterworth%2Frust_game_engine'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 610827c2757a72eaadb31fceac3e803f833c75f7 [INFO] checking JoelWaterworth/rust_game_engine/610827c2757a72eaadb31fceac3e803f833c75f7 against master#0b278a539440be291466ea463a9b6310eaf4d7bb for pr-145108-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJoelWaterworth%2Frust_game_engine" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/JoelWaterworth/rust_game_engine [INFO] finished tweaking git repo https://github.com/JoelWaterworth/rust_game_engine [INFO] tweaked toml for git repo https://github.com/JoelWaterworth/rust_game_engine written to /workspace/builds/worker-4-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/JoelWaterworth/rust_game_engine on toolchain 0b278a539440be291466ea463a9b6310eaf4d7bb [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0b278a539440be291466ea463a9b6310eaf4d7bb" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/JoelWaterworth/rust_game_engine already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0b278a539440be291466ea463a9b6310eaf4d7bb" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Updating git repository `https://github.com/brendanzab/cgmath.git` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wayland-protocols v0.9.10 [INFO] [stderr] Downloaded wayland-kbd v0.9.1 [INFO] [stderr] Downloaded wayland-sys v0.9.10 [INFO] [stderr] Downloaded core-foundation-sys v0.3.1 [INFO] [stderr] Downloaded wayland-window v0.8.0 [INFO] [stderr] Downloaded winit v0.8.3 [INFO] [stderr] Downloaded deflate v0.7.17 [INFO] [stderr] Downloaded libc v0.2.33 [INFO] [stderr] Downloaded scoped_threadpool v0.1.8 [INFO] [stderr] Downloaded core-graphics v0.8.2 [INFO] [stderr] Downloaded wayland-scanner v0.9.10 [INFO] [stderr] Downloaded num_cpus v1.7.0 [INFO] [stderr] Downloaded cc v1.0.3 [INFO] [stderr] Downloaded rayon-core v1.3.0 [INFO] [stderr] Downloaded num-rational v0.1.40 [INFO] [stderr] Downloaded tempfile v2.2.0 [INFO] [stderr] Downloaded fuchsia-zircon-sys v0.2.0 [INFO] [stderr] Downloaded fuchsia-zircon v0.2.1 [INFO] [stderr] Downloaded rand v0.3.18 [INFO] [stderr] Downloaded serde_json v0.9.10 [INFO] [stderr] Downloaded tobj v0.1.6 [INFO] [stderr] Downloaded core-foundation-sys v0.4.4 [INFO] [stderr] Downloaded core-foundation v0.3.0 [INFO] [stderr] Downloaded wayland-client v0.9.10 [INFO] [stderr] Downloaded xml-rs v0.6.1 [INFO] [stderr] Downloaded target_build_utils v0.3.1 [INFO] [stderr] Downloaded lazy_static v0.2.10 [INFO] [stderr] Downloaded jpeg-decoder v0.1.13 [INFO] [stderr] Downloaded libloading v0.3.4 [INFO] [stderr] Downloaded x11-dl v2.16.0 [INFO] [stderr] Downloaded png v0.7.0 [INFO] [stderr] Downloaded either v1.4.0 [INFO] [stderr] Downloaded core-foundation v0.4.4 [INFO] [stderr] Downloaded shared_library v0.1.7 [INFO] [stderr] Downloaded inflate v0.2.0 [INFO] [stderr] Downloaded image v0.13.0 [INFO] [stderr] Downloaded ash v0.20.1 [INFO] [stderr] Downloaded rayon v0.8.2 [INFO] [stderr] Downloaded cocoa v0.9.2 [INFO] [stderr] Downloaded cmake v0.1.28 [INFO] [stderr] Downloaded glsl-to-spirv v0.1.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+0b278a539440be291466ea463a9b6310eaf4d7bb" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3ff778bb24296f0eef232ebe60eb5ce333377a53e0926ad5bc78c70b1607dc43 [INFO] running `Command { std: "docker" "start" "-a" "3ff778bb24296f0eef232ebe60eb5ce333377a53e0926ad5bc78c70b1607dc43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3ff778bb24296f0eef232ebe60eb5ce333377a53e0926ad5bc78c70b1607dc43", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ff778bb24296f0eef232ebe60eb5ce333377a53e0926ad5bc78c70b1607dc43", kill_on_drop: false }` [INFO] [stdout] 3ff778bb24296f0eef232ebe60eb5ce333377a53e0926ad5bc78c70b1607dc43 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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" "+0b278a539440be291466ea463a9b6310eaf4d7bb" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9f5bde3f12472ea049a5e3ca624d41c2907c810bc55aaa7629eef639dc288957 [INFO] running `Command { std: "docker" "start" "-a" "9f5bde3f12472ea049a5e3ca624d41c2907c810bc55aaa7629eef639dc288957", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Checking libc v0.2.33 [INFO] [stderr] Compiling siphasher v0.2.2 [INFO] [stderr] Checking lazy_static v0.2.10 [INFO] [stderr] Compiling serde v0.9.15 [INFO] [stderr] Compiling dtoa v0.4.2 [INFO] [stderr] Compiling num-traits v0.1.40 [INFO] [stderr] Compiling itoa v0.3.4 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling phf_shared v0.7.21 [INFO] [stderr] Compiling xml-rs v0.6.1 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling phf v0.7.21 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking byteorder v1.1.0 [INFO] [stderr] Compiling rand v0.3.18 [INFO] [stderr] Checking winapi v0.2.8 [INFO] [stderr] Compiling rayon-core v1.3.0 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Checking either v1.4.0 [INFO] [stderr] Checking num-integer v0.1.35 [INFO] [stderr] Checking num_cpus v1.7.0 [INFO] [stderr] Checking coco v0.1.1 [INFO] [stderr] Compiling cc v1.0.3 [INFO] [stderr] Checking bitflags v0.7.0 [INFO] [stderr] Compiling pkg-config v0.3.9 [INFO] [stderr] Checking fs2 v0.2.5 [INFO] [stderr] Checking adler32 v1.0.2 [INFO] [stderr] Compiling wayland-scanner v0.9.10 [INFO] [stderr] Checking tempfile v2.2.0 [INFO] [stderr] Compiling x11-dl v2.16.0 [INFO] [stderr] Compiling cmake v0.1.28 [INFO] [stderr] Compiling phf_generator v0.7.21 [INFO] [stderr] Checking rayon v0.8.2 [INFO] [stderr] Checking deflate v0.7.17 [INFO] [stderr] Compiling phf_codegen v0.7.21 [INFO] [stderr] Compiling target_build_utils v0.3.1 [INFO] [stderr] Checking memmap v0.4.0 [INFO] [stderr] Compiling glsl-to-spirv v0.1.3 [INFO] [stderr] Checking num-iter v0.1.34 [INFO] [stderr] Compiling wayland-client v0.9.10 [INFO] [stderr] Compiling wayland-protocols v0.9.10 [INFO] [stderr] Checking color_quant v1.0.0 [INFO] [stderr] Checking inflate v0.2.0 [INFO] [stderr] Compiling cgmath v0.15.0 (https://github.com/brendanzab/cgmath.git#43a6b2be) [INFO] [stderr] Checking gif v0.9.2 [INFO] [stderr] Checking jpeg-decoder v0.1.13 [INFO] [stderr] Checking tempdir v0.3.5 [INFO] [stderr] Checking png v0.7.0 [INFO] [stderr] Compiling serde_json v0.9.10 [INFO] [stderr] Checking num-rational v0.1.40 [INFO] [stderr] Checking enum_primitive v0.1.1 [INFO] [stderr] Checking shared_library v0.1.7 [INFO] [stderr] Checking memchr v1.0.2 [INFO] [stderr] Checking scoped_threadpool v0.1.8 [INFO] [stderr] Checking ash v0.20.1 [INFO] [stderr] Checking nom v3.2.1 [INFO] [stderr] Checking image v0.13.0 [INFO] [stderr] Checking tobj v0.1.6 [INFO] [stderr] Compiling libloading v0.3.4 [INFO] [stderr] Checking dlib v0.3.1 [INFO] [stderr] Checking wayland-sys v0.9.10 [INFO] [stderr] Checking wayland-kbd v0.9.1 [INFO] [stderr] Checking wayland-window v0.8.0 [INFO] [stderr] Checking winit v0.8.3 [INFO] [stderr] Checking rust_game_engine v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `V1_0` [INFO] [stdout] --> src/renderer/surface/mod.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | pub use ash::version::{V1_0, InstanceV1_0, DeviceV1_0, EntryV1_0}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `libc` [INFO] [stdout] --> src/renderer/surface/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use libc; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EntryV1_0`, `InstanceV1_0`, and `V1_0` [INFO] [stdout] --> src/renderer/shader/mod.rs:14:24 [INFO] [stdout] | [INFO] [stdout] 14 | pub use ash::version::{V1_0, InstanceV1_0, DeviceV1_0, EntryV1_0}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EntryV1_0`, `InstanceV1_0`, and `V1_0` [INFO] [stdout] --> src/renderer/shader/uniform.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | pub use ash::version::{V1_0, InstanceV1_0, DeviceV1_0, EntryV1_0}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EntryV1_0`, `InstanceV1_0`, and `V1_0` [INFO] [stdout] --> src/renderer/mesh/mod.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | pub use ash::version::{V1_0, InstanceV1_0, DeviceV1_0, EntryV1_0}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DebugReport` [INFO] [stdout] --> src/renderer/device/mod.rs:8:34 [INFO] [stdout] | [INFO] [stdout] 8 | use ash::extensions::{Swapchain, DebugReport}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EntryV1_0`, `InstanceV1_0`, and `V1_0` [INFO] [stdout] --> src/renderer/texture/mod.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | pub use ash::version::{V1_0, InstanceV1_0, DeviceV1_0, EntryV1_0}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EntryV1_0`, `InstanceV1_0`, and `V1_0` [INFO] [stdout] --> src/renderer/vk_commands/mod.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | pub use ash::version::{V1_0, InstanceV1_0, DeviceV1_0, EntryV1_0}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EntryV1_0`, `InstanceV1_0`, and `V1_0` [INFO] [stdout] --> src/renderer/g_buffer/mod.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | pub use ash::version::{V1_0, InstanceV1_0, DeviceV1_0, EntryV1_0}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/renderer/g_buffer/mod.rs:329:59 [INFO] [stdout] | [INFO] [stdout] 329 | ... device.bind_image_memory(images[i].0, memory, ((0..i).fold(0, |sum, x| sum + sizes[x]))).expect("Unable to bind depth image memory"); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 329 - device.bind_image_memory(images[i].0, memory, ((0..i).fold(0, |sum, x| sum + sizes[x]))).expect("Unable to bind depth image memory"); [INFO] [stdout] 329 + device.bind_image_memory(images[i].0, memory, (0..i).fold(0, |sum, x| sum + sizes[x]) ).expect("Unable to bind depth image memory"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/renderer/g_buffer/mod.rs:424:59 [INFO] [stdout] | [INFO] [stdout] 424 | ... device.bind_image_memory(images[i].0, memory, ((0..i).fold(0, |sum, x| sum + sizes[x]))).expect("Unable to bind depth image memory"); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 424 - device.bind_image_memory(images[i].0, memory, ((0..i).fold(0, |sum, x| sum + sizes[x]))).expect("Unable to bind depth image memory"); [INFO] [stdout] 424 + device.bind_image_memory(images[i].0, memory, (0..i).fold(0, |sum, x| sum + sizes[x]) ).expect("Unable to bind depth image memory"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/scene_object/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `renderer::resource::ResourceManager` [INFO] [stdout] --> src/world/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use renderer::resource::ResourceManager; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/renderer/shader/mod.rs:36:37 [INFO] [stdout] | [INFO] [stdout] 36 | let b: $base = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 252 | offset: offset_of!(Vertex, pos) as u32, [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/renderer/shader/mod.rs:36:37 [INFO] [stdout] | [INFO] [stdout] 36 | let b: $base = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 258 | offset: offset_of!(Vertex, tangent) as u32, [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/renderer/shader/mod.rs:36:37 [INFO] [stdout] | [INFO] [stdout] 36 | let b: $base = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 264 | offset: offset_of!(Vertex, normal) as u32, [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/renderer/shader/mod.rs:36:37 [INFO] [stdout] | [INFO] [stdout] 36 | let b: $base = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 270 | offset: offset_of!(Vertex, uv) as u32, [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/renderer/shader/mod.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 25 | pub data: Arc, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 25 | pub data: Arc, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene_object/mod.rs:26:44 [INFO] [stdout] | [INFO] [stdout] 26 | components: HashMap>>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 | components: HashMap>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/world/mod.rs:9:35 [INFO] [stdout] | [INFO] [stdout] 9 | static_actors: Vec>>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 | static_actors: Vec>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `V1_0` [INFO] [stdout] --> src/renderer/surface/mod.rs:7:24 [INFO] [stdout] | [INFO] [stdout] 7 | pub use ash::version::{V1_0, InstanceV1_0, DeviceV1_0, EntryV1_0}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `libc` [INFO] [stdout] --> src/renderer/surface/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use libc; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EntryV1_0`, `InstanceV1_0`, and `V1_0` [INFO] [stdout] --> src/renderer/shader/mod.rs:14:24 [INFO] [stdout] | [INFO] [stdout] 14 | pub use ash::version::{V1_0, InstanceV1_0, DeviceV1_0, EntryV1_0}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EntryV1_0`, `InstanceV1_0`, and `V1_0` [INFO] [stdout] --> src/renderer/shader/uniform.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | pub use ash::version::{V1_0, InstanceV1_0, DeviceV1_0, EntryV1_0}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EntryV1_0`, `InstanceV1_0`, and `V1_0` [INFO] [stdout] --> src/renderer/mesh/mod.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | pub use ash::version::{V1_0, InstanceV1_0, DeviceV1_0, EntryV1_0}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DebugReport` [INFO] [stdout] --> src/renderer/device/mod.rs:8:34 [INFO] [stdout] | [INFO] [stdout] 8 | use ash::extensions::{Swapchain, DebugReport}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EntryV1_0`, `InstanceV1_0`, and `V1_0` [INFO] [stdout] --> src/renderer/texture/mod.rs:3:24 [INFO] [stdout] | [INFO] [stdout] 3 | pub use ash::version::{V1_0, InstanceV1_0, DeviceV1_0, EntryV1_0}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EntryV1_0`, `InstanceV1_0`, and `V1_0` [INFO] [stdout] --> src/renderer/vk_commands/mod.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | pub use ash::version::{V1_0, InstanceV1_0, DeviceV1_0, EntryV1_0}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `EntryV1_0`, `InstanceV1_0`, and `V1_0` [INFO] [stdout] --> src/renderer/g_buffer/mod.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | pub use ash::version::{V1_0, InstanceV1_0, DeviceV1_0, EntryV1_0}; [INFO] [stdout] | ^^^^ ^^^^^^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/renderer/g_buffer/mod.rs:329:59 [INFO] [stdout] | [INFO] [stdout] 329 | ... device.bind_image_memory(images[i].0, memory, ((0..i).fold(0, |sum, x| sum + sizes[x]))).expect("Unable to bind depth image memory"); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 329 - device.bind_image_memory(images[i].0, memory, ((0..i).fold(0, |sum, x| sum + sizes[x]))).expect("Unable to bind depth image memory"); [INFO] [stdout] 329 + device.bind_image_memory(images[i].0, memory, (0..i).fold(0, |sum, x| sum + sizes[x]) ).expect("Unable to bind depth image memory"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around method argument [INFO] [stdout] --> src/renderer/g_buffer/mod.rs:424:59 [INFO] [stdout] | [INFO] [stdout] 424 | ... device.bind_image_memory(images[i].0, memory, ((0..i).fold(0, |sum, x| sum + sizes[x]))).expect("Unable to bind depth image memory"); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 424 - device.bind_image_memory(images[i].0, memory, ((0..i).fold(0, |sum, x| sum + sizes[x]))).expect("Unable to bind depth image memory"); [INFO] [stdout] 424 + device.bind_image_memory(images[i].0, memory, (0..i).fold(0, |sum, x| sum + sizes[x]) ).expect("Unable to bind depth image memory"); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::path::Path` [INFO] [stdout] --> src/scene_object/mod.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::path::Path; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `renderer::resource::ResourceManager` [INFO] [stdout] --> src/world/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use renderer::resource::ResourceManager; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/renderer/shader/mod.rs:36:37 [INFO] [stdout] | [INFO] [stdout] 36 | let b: $base = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 252 | offset: offset_of!(Vertex, pos) as u32, [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/renderer/shader/mod.rs:36:37 [INFO] [stdout] | [INFO] [stdout] 36 | let b: $base = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 258 | offset: offset_of!(Vertex, tangent) as u32, [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/renderer/shader/mod.rs:36:37 [INFO] [stdout] | [INFO] [stdout] 36 | let b: $base = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 264 | offset: offset_of!(Vertex, normal) as u32, [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/renderer/shader/mod.rs:36:37 [INFO] [stdout] | [INFO] [stdout] 36 | let b: $base = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 270 | offset: offset_of!(Vertex, uv) as u32, [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/renderer/shader/mod.rs:25:19 [INFO] [stdout] | [INFO] [stdout] 25 | pub data: Arc, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 25 | pub data: Arc, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/scene_object/mod.rs:26:44 [INFO] [stdout] | [INFO] [stdout] 26 | components: HashMap>>, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 | components: HashMap>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/world/mod.rs:9:35 [INFO] [stdout] | [INFO] [stdout] 9 | static_actors: Vec>>, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 | static_actors: Vec>>, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst_access_mask` [INFO] [stdout] --> src/renderer/texture/mod.rs:383:13 [INFO] [stdout] | [INFO] [stdout] 383 | let dst_access_mask = match self.usage { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dst_access_mask` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `transform` [INFO] [stdout] --> src/world/mod.rs:17:76 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn add(&mut self, actor_fn: fn() -> A, transform: Transform) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transform` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `loader::Vertex` does not permit being left uninitialized [INFO] [stdout] --> src/renderer/shader/mod.rs:36:32 [INFO] [stdout] | [INFO] [stdout] 36 | let b: $base = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 252 | offset: offset_of!(Vertex, pos) as u32, [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: floats must be initialized (in this struct field) [INFO] [stdout] --> src/renderer/mesh/loader.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub pos: Vector3, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `loader::Vertex` does not permit being left uninitialized [INFO] [stdout] --> src/renderer/shader/mod.rs:36:32 [INFO] [stdout] | [INFO] [stdout] 36 | let b: $base = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 258 | offset: offset_of!(Vertex, tangent) as u32, [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: floats must be initialized (in this struct field) [INFO] [stdout] --> src/renderer/mesh/loader.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub pos: Vector3, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `loader::Vertex` does not permit being left uninitialized [INFO] [stdout] --> src/renderer/shader/mod.rs:36:32 [INFO] [stdout] | [INFO] [stdout] 36 | let b: $base = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 264 | offset: offset_of!(Vertex, normal) as u32, [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: floats must be initialized (in this struct field) [INFO] [stdout] --> src/renderer/mesh/loader.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub pos: Vector3, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `loader::Vertex` does not permit being left uninitialized [INFO] [stdout] --> src/renderer/shader/mod.rs:36:32 [INFO] [stdout] | [INFO] [stdout] 36 | let b: $base = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 270 | offset: offset_of!(Vertex, uv) as u32, [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: floats must be initialized (in this struct field) [INFO] [stdout] --> src/renderer/mesh/loader.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub pos: Vector3, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/renderer/shader/shader_parser.rs:16:22 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn parser(slice: &[u8]) -> ShaderSrc { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 16 | pub fn parser(slice: &[u8]) -> ShaderSrc<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/renderer/shader/shader_parser.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | named!(word<&str>, map_res!( [INFO] [stdout] | - ^^^^ the same lifetime is elided here [INFO] [stdout] | _| [INFO] [stdout] | | [INFO] [stdout] 32 | | ws!(alphanumeric), [INFO] [stdout] 33 | | str::from_utf8 [INFO] [stdout] 34 | | )); [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |__the lifetime is named here [INFO] [stdout] | the same lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 31 | named!(word<&'a str>, map_res!( [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/renderer/shader/shader_parser.rs:36:21 [INFO] [stdout] | [INFO] [stdout] 36 | named!(shader_stage, do_parse!( [INFO] [stdout] | - ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | _| [INFO] [stdout] | | [INFO] [stdout] 37 | | stage: word >> [INFO] [stdout] 38 | | src: bracketed >> [INFO] [stdout] 39 | | (match stage { [INFO] [stdout] ... | [INFO] [stdout] 44 | | }) [INFO] [stdout] 45 | | )); [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |__the lifetime is named here [INFO] [stdout] | the same lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 36 | named!(shader_stage>, do_parse!( [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `dst_access_mask` [INFO] [stdout] --> src/renderer/texture/mod.rs:383:13 [INFO] [stdout] | [INFO] [stdout] 383 | let dst_access_mask = match self.usage { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_dst_access_mask` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/renderer/shader/shader_parser.rs:47:26 [INFO] [stdout] | [INFO] [stdout] 47 | named!(shader_stages>, many1!(shader_stage)); [INFO] [stdout] | -------------------------^^^^^^^^^^^------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | the same lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 47 | named!(shader_stages>>, many1!(shader_stage)); [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `cgmath::InnerSpace::normalize` that must be used [INFO] [stdout] --> src/renderer/mesh/loader.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | vertex.tangent.normalize(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 76 | let _ = vertex.tangent.normalize(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `transform` [INFO] [stdout] --> src/world/mod.rs:17:76 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn add(&mut self, actor_fn: fn() -> A, transform: Transform) { [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_transform` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `loader::Vertex` does not permit being left uninitialized [INFO] [stdout] --> src/renderer/shader/mod.rs:36:32 [INFO] [stdout] | [INFO] [stdout] 36 | let b: $base = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 252 | offset: offset_of!(Vertex, pos) as u32, [INFO] [stdout] | ----------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: floats must be initialized (in this struct field) [INFO] [stdout] --> src/renderer/mesh/loader.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub pos: Vector3, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `loader::Vertex` does not permit being left uninitialized [INFO] [stdout] --> src/renderer/shader/mod.rs:36:32 [INFO] [stdout] | [INFO] [stdout] 36 | let b: $base = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 258 | offset: offset_of!(Vertex, tangent) as u32, [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: floats must be initialized (in this struct field) [INFO] [stdout] --> src/renderer/mesh/loader.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub pos: Vector3, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `loader::Vertex` does not permit being left uninitialized [INFO] [stdout] --> src/renderer/shader/mod.rs:36:32 [INFO] [stdout] | [INFO] [stdout] 36 | let b: $base = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 264 | offset: offset_of!(Vertex, normal) as u32, [INFO] [stdout] | -------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: floats must be initialized (in this struct field) [INFO] [stdout] --> src/renderer/mesh/loader.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub pos: Vector3, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `loader::Vertex` does not permit being left uninitialized [INFO] [stdout] --> src/renderer/shader/mod.rs:36:32 [INFO] [stdout] | [INFO] [stdout] 36 | let b: $base = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 270 | offset: offset_of!(Vertex, uv) as u32, [INFO] [stdout] | ---------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: floats must be initialized (in this struct field) [INFO] [stdout] --> src/renderer/mesh/loader.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub pos: Vector3, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/renderer/shader/shader_parser.rs:16:22 [INFO] [stdout] | [INFO] [stdout] 16 | pub fn parser(slice: &[u8]) -> ShaderSrc { [INFO] [stdout] | ^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 16 | pub fn parser(slice: &[u8]) -> ShaderSrc<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: eliding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/renderer/shader/shader_parser.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | named!(word<&str>, map_res!( [INFO] [stdout] | - ^^^^ the same lifetime is elided here [INFO] [stdout] | _| [INFO] [stdout] | | [INFO] [stdout] 32 | | ws!(alphanumeric), [INFO] [stdout] 33 | | str::from_utf8 [INFO] [stdout] 34 | | )); [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |__the lifetime is named here [INFO] [stdout] | the same lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 31 | named!(word<&'a str>, map_res!( [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/renderer/shader/shader_parser.rs:36:21 [INFO] [stdout] | [INFO] [stdout] 36 | named!(shader_stage, do_parse!( [INFO] [stdout] | - ^^^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | _| [INFO] [stdout] | | [INFO] [stdout] 37 | | stage: word >> [INFO] [stdout] 38 | | src: bracketed >> [INFO] [stdout] 39 | | (match stage { [INFO] [stdout] ... | [INFO] [stdout] 44 | | }) [INFO] [stdout] 45 | | )); [INFO] [stdout] | | - [INFO] [stdout] | | | [INFO] [stdout] | |__the lifetime is named here [INFO] [stdout] | the same lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 36 | named!(shader_stage>, do_parse!( [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's named elsewhere is confusing [INFO] [stdout] --> src/renderer/shader/shader_parser.rs:47:26 [INFO] [stdout] | [INFO] [stdout] 47 | named!(shader_stages>, many1!(shader_stage)); [INFO] [stdout] | -------------------------^^^^^^^^^^^------------------------- [INFO] [stdout] | | | [INFO] [stdout] | | the same lifetime is hidden here [INFO] [stdout] | the lifetime is named here [INFO] [stdout] | the same lifetime is named here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: consistently use `'a` [INFO] [stdout] | [INFO] [stdout] 47 | named!(shader_stages>>, many1!(shader_stage)); [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused return value of `cgmath::InnerSpace::normalize` that must be used [INFO] [stdout] --> src/renderer/mesh/loader.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | vertex.tangent.normalize(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 76 | let _ = vertex.tangent.normalize(); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 12s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.7.0, nom v3.2.1, winit v0.8.3 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 3` [INFO] running `Command { std: "docker" "inspect" "9f5bde3f12472ea049a5e3ca624d41c2907c810bc55aaa7629eef639dc288957", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9f5bde3f12472ea049a5e3ca624d41c2907c810bc55aaa7629eef639dc288957", kill_on_drop: false }` [INFO] [stdout] 9f5bde3f12472ea049a5e3ca624d41c2907c810bc55aaa7629eef639dc288957