[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] 40a51ef8a1fc1d15cb3a7bad8623ae119623e4fd [INFO] checking WillFarris/voxel-game/40a51ef8a1fc1d15cb3a7bad8623ae119623e4fd against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWillFarris%2Fvoxel-game" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/WillFarris/voxel-game on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-5-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" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded egli v0.5.0 [INFO] [stderr] Downloaded splines v4.3.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 16665099b3455c2912eb4c9012c17b0d683eb363f978ed97e46c2b23448e39f3 [INFO] running `Command { std: "docker" "start" "-a" "16665099b3455c2912eb4c9012c17b0d683eb363f978ed97e46c2b23448e39f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "16665099b3455c2912eb4c9012c17b0d683eb363f978ed97e46c2b23448e39f3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16665099b3455c2912eb4c9012c17b0d683eb363f978ed97e46c2b23448e39f3", kill_on_drop: false }` [INFO] [stdout] 16665099b3455c2912eb4c9012c17b0d683eb363f978ed97e46c2b23448e39f3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 0503efcb4dfb5fb71cd8df6ea8ffe91fd1cc8497fe2e66da07038ddcce85e04a [INFO] running `Command { std: "docker" "start" "-a" "0503efcb4dfb5fb71cd8df6ea8ffe91fd1cc8497fe2e66da07038ddcce85e04a", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Checking simd-adler32 v0.3.7 [INFO] [stderr] Compiling libc v0.2.150 [INFO] [stderr] Compiling crossbeam-utils v0.8.16 [INFO] [stderr] Compiling memoffset v0.9.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.15 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling lock_api v0.4.11 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Checking miniz_oxide v0.7.1 [INFO] [stderr] Compiling xml-rs v0.8.19 [INFO] [stderr] Compiling log v0.4.20 [INFO] [stderr] Checking either v1.9.0 [INFO] [stderr] Checking spin v0.9.8 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Checking flate2 v1.0.28 [INFO] [stderr] Checking ppv-lite86 v0.2.17 [INFO] [stderr] Checking weezl v0.1.7 [INFO] [stderr] Checking crossbeam-deque v0.8.3 [INFO] [stderr] Checking flume v0.11.0 [INFO] [stderr] Checking fdeflate v0.3.1 [INFO] [stderr] Checking zune-inflate v0.2.54 [INFO] [stderr] Checking smallvec v1.11.2 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking half v2.2.1 [INFO] [stderr] Checking bit_field v0.10.2 [INFO] [stderr] Checking bytemuck v1.14.0 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rayon v1.8.0 [INFO] [stderr] Checking lebe v0.5.2 [INFO] [stderr] Compiling cgmath v0.18.0 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking exr v1.71.0 [INFO] [stderr] Checking qoi v0.4.1 [INFO] [stderr] Checking rand_xorshift v0.2.0 [INFO] [stderr] Checking png v0.17.10 [INFO] [stderr] Checking gif v0.12.0 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Checking approx v0.4.0 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking noise v0.8.2 [INFO] [stderr] Checking splines v4.3.1 [INFO] [stderr] Checking json v0.12.4 [INFO] [stderr] Checking jpeg-decoder v0.3.0 [INFO] [stderr] Checking tiff v0.9.0 [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: unexpected `cfg` condition value: `android-lib` [INFO] [stdout] --> src/graphics/framebuffer.rs:63:19 [INFO] [stdout] | [INFO] [stdout] 63 | #[cfg(target_feature = "android-lib")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_feature` are: `10e60`, `2e3`, `3e3r1`, `3e3r2`, `3e3r3`, `3e7`, `7e10`, `a`, `aclass`, `adx`, `aes`, `altivec`, `alu32`, `amx-bf16`, `amx-complex`, `amx-fp16`, `amx-int8`, `amx-tile`, `atomics`, `avx`, `avx2`, `avx512bf16`, `avx512bitalg`, `avx512bw`, `avx512cd`, `avx512dq`, `avx512f`, `avx512fp16`, `avx512ifma`, `avx512vbmi`, `avx512vbmi2`, `avx512vl`, `avx512vnni`, `avx512vp2intersect`, and `avx512vpopcntdq` and 201 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` 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` and `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: unexpected `cfg` condition value: `android-lib` [INFO] [stdout] --> src/graphics/framebuffer.rs:63:19 [INFO] [stdout] | [INFO] [stdout] 63 | #[cfg(target_feature = "android-lib")] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: expected values for `target_feature` are: `10e60`, `2e3`, `3e3r1`, `3e3r2`, `3e3r3`, `3e7`, `7e10`, `a`, `aclass`, `adx`, `aes`, `altivec`, `alu32`, `amx-bf16`, `amx-complex`, `amx-fp16`, `amx-int8`, `amx-tile`, `atomics`, `avx`, `avx2`, `avx512bf16`, `avx512bitalg`, `avx512bw`, `avx512cd`, `avx512dq`, `avx512f`, `avx512fp16`, `avx512ifma`, `avx512vbmi`, `avx512vbmi2`, `avx512vl`, `avx512vnni`, `avx512vp2intersect`, and `avx512vpopcntdq` and 201 more [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` 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` and `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.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 53 | impl Player { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 137 | pub fn add_to_inventory(&mut self, block_id: usize) { [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: 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: 19 warnings emitted [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.rs:137:12 [INFO] [stdout] | [INFO] [stdout] 53 | impl Player { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 137 | pub fn add_to_inventory(&mut self, block_id: usize) { [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: 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: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.54s [INFO] running `Command { std: "docker" "inspect" "0503efcb4dfb5fb71cd8df6ea8ffe91fd1cc8497fe2e66da07038ddcce85e04a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "0503efcb4dfb5fb71cd8df6ea8ffe91fd1cc8497fe2e66da07038ddcce85e04a", kill_on_drop: false }` [INFO] [stdout] 0503efcb4dfb5fb71cd8df6ea8ffe91fd1cc8497fe2e66da07038ddcce85e04a