[INFO] cloning repository https://github.com/WillFarris/voxel-game [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/WillFarris/voxel-game" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWillFarris%2Fvoxel-game", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWillFarris%2Fvoxel-game'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7b60623ea4e9986e30f80f0a06aafab09dc3b29d [INFO] checking WillFarris/voxel-game against master#385fa9d845dd326c6bbfd58c22244215e431948a for absurd-question-mark-desugar [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWillFarris%2Fvoxel-game" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/WillFarris/voxel-game on toolchain 385fa9d845dd326c6bbfd58c22244215e431948a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-6-tc1/source/.cargo/config [INFO] started tweaking git repo https://github.com/WillFarris/voxel-game [INFO] finished tweaking git repo https://github.com/WillFarris/voxel-game [INFO] tweaked toml for git repo https://github.com/WillFarris/voxel-game written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/WillFarris/voxel-game 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" "+385fa9d845dd326c6bbfd58c22244215e431948a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded android_liblog-sys v0.1.4 [INFO] [stderr] Downloaded egli v0.5.0 [INFO] [stderr] Downloaded splines v4.3.1 [INFO] [stderr] Downloaded android_log v0.1.3 [INFO] [stderr] Downloaded glfw v0.54.0 [INFO] [stderr] Downloaded noise v0.8.2 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f534b7ba18469033fcc9bcb85dace7346a27935060aa6f7bd11ae7a1f9116101 [INFO] running `Command { std: "docker" "start" "-a" "f534b7ba18469033fcc9bcb85dace7346a27935060aa6f7bd11ae7a1f9116101", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f534b7ba18469033fcc9bcb85dace7346a27935060aa6f7bd11ae7a1f9116101", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f534b7ba18469033fcc9bcb85dace7346a27935060aa6f7bd11ae7a1f9116101", kill_on_drop: false }` [INFO] [stdout] f534b7ba18469033fcc9bcb85dace7346a27935060aa6f7bd11ae7a1f9116101 [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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+385fa9d845dd326c6bbfd58c22244215e431948a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bffbc826fd281f141cf566bca8413f36d5bf0d406d436c0ad60d4d7e3eb9f024 [INFO] running `Command { std: "docker" "start" "-a" "bffbc826fd281f141cf566bca8413f36d5bf0d406d436c0ad60d4d7e3eb9f024", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Checking weezl v0.1.7 [INFO] [stderr] Checking jpeg-decoder v0.3.0 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Compiling cgmath v0.18.0 [INFO] [stderr] Checking half v2.2.1 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking gif v0.12.0 [INFO] [stderr] Checking approx v0.4.0 [INFO] [stderr] Checking json v0.12.4 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking splines v4.3.1 [INFO] [stderr] Checking exr v1.71.0 [INFO] [stderr] Checking tiff v0.9.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand_xorshift v0.2.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking noise v0.8.2 [INFO] [stderr] Checking image v0.24.7 [INFO] [stderr] Checking voxel-game v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `TerrainGenConfig` [INFO] [stdout] --> src/engine/workers.rs:2:96 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{graphics::resources::GLResources, terrain::{chunk::Chunk, generation::{terraingen, TerrainGenConfig}, Terrain}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::engine::EngineEvent` [INFO] [stdout] --> src/player.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::engine::EngineEvent; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `collections::HashMap`, `slice::SliceIndex` [INFO] [stdout] --> src/terrain/chunk.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, slice::SliceIndex}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cgmath::Vector3` [INFO] [stdout] --> src/terrain/chunk.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use cgmath::Vector3; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `block::BLOCKS` [INFO] [stdout] --> src/terrain/chunk.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use super::{block::BLOCKS, save::save_chunk_data_to_json, BlockIndex, ChunkIndex}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `TerrainGenConfig` [INFO] [stdout] --> src/engine/workers.rs:2:96 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::{graphics::resources::GLResources, terrain::{chunk::Chunk, generation::{terraingen, TerrainGenConfig}, Terrain}}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::engine::EngineEvent` [INFO] [stdout] --> src/player.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use crate::engine::EngineEvent; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `collections::HashMap`, `slice::SliceIndex` [INFO] [stdout] --> src/terrain/chunk.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, slice::SliceIndex}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cgmath::Vector3` [INFO] [stdout] --> src/terrain/chunk.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use cgmath::Vector3; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `block::BLOCKS` [INFO] [stdout] --> src/terrain/chunk.rs:6:13 [INFO] [stdout] | [INFO] [stdout] 6 | use super::{block::BLOCKS, save::save_chunk_data_to_json, BlockIndex, ChunkIndex}; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/item/drop.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl ItemDrop { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 37 | pub fn new(block_id: usize, position: Vector3) -> ItemDrop { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `has_collider` is never used [INFO] [stdout] --> src/physics/collision.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait Collider { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 11 | fn has_collider(&self) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `translate_relative` is never used [INFO] [stdout] --> src/physics/physics_update.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait PhysicsUpdate { [INFO] [stdout] | ------------- method in this trait [INFO] [stdout] 4 | fn update_physics(&mut self, delta_time: f32); [INFO] [stdout] 5 | fn translate_relative(&mut self, translation: Vector3); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_to_inventory` is never used [INFO] [stdout] --> src/player/inventory.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Inventory { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn add_to_inventory(&mut self, id_to_add: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ChunkUpdate` is never used [INFO] [stdout] --> src/terrain/chunk.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum ChunkUpdate { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChunkUpdate` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `init_worldgen` is never used [INFO] [stdout] --> src/terrain/generation.rs:315:19 [INFO] [stdout] | [INFO] [stdout] 314 | impl Terrain { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 315 | pub(crate) fn init_worldgen( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/macros.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | &(*(std::ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/graphics/vertex.rs:65:17 [INFO] [stdout] | [INFO] [stdout] 65 | offset_of!(Vertex3D, position) as *const c_void, [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deref_nullptr)]` 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: dereferencing a null pointer [INFO] [stdout] --> src/macros.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | &(*(std::ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/graphics/vertex.rs:77:17 [INFO] [stdout] | [INFO] [stdout] 77 | offset_of!(Vertex3D, tex_coords) as *const c_void, [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: dereferencing a null pointer [INFO] [stdout] --> src/macros.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | &(*(std::ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/graphics/vertex.rs:119:17 [INFO] [stdout] | [INFO] [stdout] 119 | offset_of!(Vertex3D, position) as *const c_void, [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: dereferencing a null pointer [INFO] [stdout] --> src/macros.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | &(*(std::ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/graphics/vertex.rs:131:17 [INFO] [stdout] | [INFO] [stdout] 131 | offset_of!(Vertex3D, normal) as *const c_void, [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: dereferencing a null pointer [INFO] [stdout] --> src/macros.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | &(*(std::ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/graphics/vertex.rs:143:17 [INFO] [stdout] | [INFO] [stdout] 143 | offset_of!(Vertex3D, tex_coords) as *const c_void, [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: dereferencing a null pointer [INFO] [stdout] --> src/macros.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | &(*(std::ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/graphics/vertex.rs:155:17 [INFO] [stdout] | [INFO] [stdout] 155 | offset_of!(Vertex3D, vtype) as *const c_void, [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: dereferencing a null pointer [INFO] [stdout] --> src/macros.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | &(*(std::ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/graphics/vertex.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | offset_of!(Vertex3D, lighting) as *const c_void, [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: associated function `new` is never used [INFO] [stdout] --> src/item/drop.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 36 | impl ItemDrop { [INFO] [stdout] | ------------- associated function in this implementation [INFO] [stdout] 37 | pub fn new(block_id: usize, position: Vector3) -> ItemDrop { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `has_collider` is never used [INFO] [stdout] --> src/physics/collision.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait Collider { [INFO] [stdout] | -------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 11 | fn has_collider(&self) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `translate_relative` is never used [INFO] [stdout] --> src/physics/physics_update.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 3 | pub trait PhysicsUpdate { [INFO] [stdout] | ------------- method in this trait [INFO] [stdout] 4 | fn update_physics(&mut self, delta_time: f32); [INFO] [stdout] 5 | fn translate_relative(&mut self, translation: Vector3); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `add_to_inventory` is never used [INFO] [stdout] --> src/player/inventory.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Inventory { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn add_to_inventory(&mut self, id_to_add: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ChunkUpdate` is never used [INFO] [stdout] --> src/terrain/chunk.rs:14:10 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum ChunkUpdate { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ChunkUpdate` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `init_worldgen` is never used [INFO] [stdout] --> src/terrain/generation.rs:315:19 [INFO] [stdout] | [INFO] [stdout] 314 | impl Terrain { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] 315 | pub(crate) fn init_worldgen( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/macros.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | &(*(std::ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/graphics/vertex.rs:65:17 [INFO] [stdout] | [INFO] [stdout] 65 | offset_of!(Vertex3D, position) as *const c_void, [INFO] [stdout] | ------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deref_nullptr)]` 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: dereferencing a null pointer [INFO] [stdout] --> src/macros.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | &(*(std::ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/graphics/vertex.rs:77:17 [INFO] [stdout] | [INFO] [stdout] 77 | offset_of!(Vertex3D, tex_coords) as *const c_void, [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: dereferencing a null pointer [INFO] [stdout] --> src/macros.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | &(*(std::ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/graphics/vertex.rs:119:17 [INFO] [stdout] | [INFO] [stdout] 119 | offset_of!(Vertex3D, position) as *const c_void, [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: dereferencing a null pointer [INFO] [stdout] --> src/macros.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | &(*(std::ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/graphics/vertex.rs:131:17 [INFO] [stdout] | [INFO] [stdout] 131 | offset_of!(Vertex3D, normal) as *const c_void, [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: dereferencing a null pointer [INFO] [stdout] --> src/macros.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | &(*(std::ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/graphics/vertex.rs:143:17 [INFO] [stdout] | [INFO] [stdout] 143 | offset_of!(Vertex3D, tex_coords) as *const c_void, [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: dereferencing a null pointer [INFO] [stdout] --> src/macros.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | &(*(std::ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/graphics/vertex.rs:155:17 [INFO] [stdout] | [INFO] [stdout] 155 | offset_of!(Vertex3D, vtype) as *const c_void, [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: dereferencing a null pointer [INFO] [stdout] --> src/macros.rs:17:10 [INFO] [stdout] | [INFO] [stdout] 17 | &(*(std::ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/graphics/vertex.rs:167:17 [INFO] [stdout] | [INFO] [stdout] 167 | offset_of!(Vertex3D, lighting) as *const c_void, [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: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.97s [INFO] running `Command { std: "docker" "inspect" "bffbc826fd281f141cf566bca8413f36d5bf0d406d436c0ad60d4d7e3eb9f024", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bffbc826fd281f141cf566bca8413f36d5bf0d406d436c0ad60d4d7e3eb9f024", kill_on_drop: false }` [INFO] [stdout] bffbc826fd281f141cf566bca8413f36d5bf0d406d436c0ad60d4d7e3eb9f024