[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] building JoelWaterworth/rust_game_engine against try#434cce50d8e9a9de0ddaaccaca51e3e3f4bbb275 for pr-101591 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJoelWaterworth%2Frust_game_engine" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/JoelWaterworth/rust_game_engine on toolchain 434cce50d8e9a9de0ddaaccaca51e3e3f4bbb275 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+434cce50d8e9a9de0ddaaccaca51e3e3f4bbb275" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-0/source/Cargo.toml [INFO] crate git repo https://github.com/JoelWaterworth/rust_game_engine already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+434cce50d8e9a9de0ddaaccaca51e3e3f4bbb275" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+434cce50d8e9a9de0ddaaccaca51e3e3f4bbb275" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1eeb8e8e3c203f46b8016334ece3e8d28b7f01eeefac6b7c8936cf5bbc7a6b0a [INFO] running `Command { std: "docker" "start" "-a" "1eeb8e8e3c203f46b8016334ece3e8d28b7f01eeefac6b7c8936cf5bbc7a6b0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1eeb8e8e3c203f46b8016334ece3e8d28b7f01eeefac6b7c8936cf5bbc7a6b0a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1eeb8e8e3c203f46b8016334ece3e8d28b7f01eeefac6b7c8936cf5bbc7a6b0a", kill_on_drop: false }` [INFO] [stdout] 1eeb8e8e3c203f46b8016334ece3e8d28b7f01eeefac6b7c8936cf5bbc7a6b0a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+434cce50d8e9a9de0ddaaccaca51e3e3f4bbb275" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3e16d1dad04726e57bb039c9124600f53522394cd53ec42bf92b22db8c8a506e [INFO] running `Command { std: "docker" "start" "-a" "3e16d1dad04726e57bb039c9124600f53522394cd53ec42bf92b22db8c8a506e", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling libc v0.2.33 [INFO] [stderr] Compiling num-traits v0.1.40 [INFO] [stderr] Compiling siphasher v0.2.2 [INFO] [stderr] Compiling lazy_static v0.2.10 [INFO] [stderr] Compiling dtoa v0.4.2 [INFO] [stderr] Compiling serde v0.9.15 [INFO] [stderr] Compiling itoa v0.3.4 [INFO] [stderr] Compiling bitflags v0.9.1 [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Compiling byteorder v1.1.0 [INFO] [stderr] Compiling winapi v0.2.8 [INFO] [stderr] Compiling scopeguard v0.3.3 [INFO] [stderr] Compiling rayon-core v1.3.0 [INFO] [stderr] Compiling either v1.4.0 [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stderr] Compiling pkg-config v0.3.9 [INFO] [stderr] Compiling cc v1.0.3 [INFO] [stderr] Compiling adler32 v1.0.2 [INFO] [stderr] Compiling color_quant v1.0.0 [INFO] [stderr] Compiling cgmath v0.15.0 (https://github.com/brendanzab/cgmath.git#43a6b2be) [INFO] [stderr] Compiling inflate v0.2.0 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling scoped_threadpool v0.1.8 [INFO] [stderr] Compiling approx v0.1.1 [INFO] [stderr] Compiling tobj v0.1.6 [INFO] [stderr] Compiling xml-rs v0.6.1 [INFO] [stderr] Compiling phf_shared v0.7.21 [INFO] [stderr] Compiling rand v0.3.18 [INFO] [stderr] Compiling num_cpus v1.7.0 [INFO] [stderr] Compiling memchr v1.0.2 [INFO] [stderr] Compiling shared_library v0.1.7 [INFO] [stderr] Compiling num-integer v0.1.35 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling coco v0.1.1 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Compiling deflate v0.7.17 [INFO] [stderr] Compiling cmake v0.1.28 [INFO] [stderr] Compiling gif v0.9.2 [INFO] [stderr] Compiling x11-dl v2.16.0 [INFO] [stderr] Compiling phf v0.7.21 [INFO] [stderr] Compiling wayland-scanner v0.9.10 [INFO] [stderr] Compiling phf_generator v0.7.21 [INFO] [stderr] Compiling tempfile v2.2.0 [INFO] [stderr] Compiling tempdir v0.3.5 [INFO] [stderr] Compiling nom v3.2.1 [INFO] [stderr] Compiling ash v0.20.1 [INFO] [stderr] Compiling serde_json v0.9.10 [INFO] [stderr] Compiling num-iter v0.1.34 [INFO] [stderr] Compiling num-rational v0.1.40 [INFO] [stderr] Compiling glsl-to-spirv v0.1.3 [INFO] [stderr] Compiling phf_codegen v0.7.21 [INFO] [stderr] Compiling png v0.7.0 [INFO] [stderr] Compiling wayland-client v0.9.10 [INFO] [stderr] Compiling wayland-protocols v0.9.10 [INFO] [stderr] Compiling rayon v0.8.2 [INFO] [stderr] Compiling target_build_utils v0.3.1 [INFO] [stderr] Compiling fs2 v0.2.5 [INFO] [stderr] Compiling memmap v0.4.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.13 [INFO] [stderr] Compiling image v0.13.0 [INFO] [stderr] Compiling libloading v0.3.4 [INFO] [stderr] Compiling dlib v0.3.1 [INFO] [stderr] Compiling wayland-sys v0.9.10 [INFO] [stderr] Compiling wayland-kbd v0.9.1 [INFO] [stderr] Compiling wayland-window v0.8.0 [INFO] [stderr] Compiling winit v0.8.3 [INFO] [stderr] Compiling rust_game_engine v0.1.0 (/opt/rustwide/workdir) [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] = note: `#[warn(unused_imports)]` on by default [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: 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)]` 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] = note: `#[warn(bare_trait_objects)]` on by default [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 25 - pub data: Arc, [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 - components: HashMap>>, [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 - static_actors: Vec>>, [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)]` 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: `#[warn(invalid_value)]` on by default [INFO] [stdout] note: floats must not be uninitialized (in this struct field) [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/cgmath-83cd7b869b6c8838/43a6b2b/src/vector.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | pub x: S, [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] 258 | offset: offset_of!(Vertex, tangent) as u32, [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: floats must not be uninitialized (in this struct field) [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/cgmath-83cd7b869b6c8838/43a6b2b/src/vector.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | pub x: S, [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 not be uninitialized (in this struct field) [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/cgmath-83cd7b869b6c8838/43a6b2b/src/vector.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | pub x: S, [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 not be uninitialized (in this struct field) [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/cgmath-83cd7b869b6c8838/43a6b2b/src/vector.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | pub x: S, [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: 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 42.03s [INFO] running `Command { std: "docker" "inspect" "3e16d1dad04726e57bb039c9124600f53522394cd53ec42bf92b22db8c8a506e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e16d1dad04726e57bb039c9124600f53522394cd53ec42bf92b22db8c8a506e", kill_on_drop: false }` [INFO] [stdout] 3e16d1dad04726e57bb039c9124600f53522394cd53ec42bf92b22db8c8a506e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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:824c28ce115f6b999260af6986f3384c158e782489540e41c0b698ca1d9fd927" "/opt/rustwide/cargo-home/bin/cargo" "+434cce50d8e9a9de0ddaaccaca51e3e3f4bbb275" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ab15cc1577b4403209e5c07d789919dad38fffda5d114dbfb450faff2fc2c268 [INFO] running `Command { std: "docker" "start" "-a" "ab15cc1577b4403209e5c07d789919dad38fffda5d114dbfb450faff2fc2c268", kill_on_drop: false }` [INFO] [stderr] Compiling rust_game_engine v0.1.0 (/opt/rustwide/workdir) [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] = note: `#[warn(unused_imports)]` on by default [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: 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)]` 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] = note: `#[warn(bare_trait_objects)]` on by default [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 25 - pub data: Arc, [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 26 - components: HashMap>>, [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: use `dyn` [INFO] [stdout] | [INFO] [stdout] 9 - static_actors: Vec>>, [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)]` 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: `#[warn(invalid_value)]` on by default [INFO] [stdout] note: floats must not be uninitialized (in this struct field) [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/cgmath-83cd7b869b6c8838/43a6b2b/src/vector.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | pub x: S, [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] 258 | offset: offset_of!(Vertex, tangent) as u32, [INFO] [stdout] | --------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] note: floats must not be uninitialized (in this struct field) [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/cgmath-83cd7b869b6c8838/43a6b2b/src/vector.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | pub x: S, [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 not be uninitialized (in this struct field) [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/cgmath-83cd7b869b6c8838/43a6b2b/src/vector.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | pub x: S, [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 not be uninitialized (in this struct field) [INFO] [stdout] --> /opt/rustwide/cargo-home/git/checkouts/cgmath-83cd7b869b6c8838/43a6b2b/src/vector.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | pub x: S, [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: 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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.78s [INFO] running `Command { std: "docker" "inspect" "ab15cc1577b4403209e5c07d789919dad38fffda5d114dbfb450faff2fc2c268", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab15cc1577b4403209e5c07d789919dad38fffda5d114dbfb450faff2fc2c268", kill_on_drop: false }` [INFO] [stdout] ab15cc1577b4403209e5c07d789919dad38fffda5d114dbfb450faff2fc2c268