[INFO] cloning repository https://github.com/ArnaudValensi/rust-opengl-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/ArnaudValensi/rust-opengl-game-engine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArnaudValensi%2Frust-opengl-game-engine", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArnaudValensi%2Frust-opengl-game-engine'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 7fdbfd2ca3d1be8d7e3dd023e00d8b336077b44b [INFO] checking ArnaudValensi/rust-opengl-game-engine against master#f21fbac535ab2c3bc50db20547f4d48477357103 for pr-143193 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArnaudValensi%2Frust-opengl-game-engine" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ArnaudValensi/rust-opengl-game-engine [INFO] finished tweaking git repo https://github.com/ArnaudValensi/rust-opengl-game-engine [INFO] tweaked toml for git repo https://github.com/ArnaudValensi/rust-opengl-game-engine written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ArnaudValensi/rust-opengl-game-engine on toolchain f21fbac535ab2c3bc50db20547f4d48477357103 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f21fbac535ab2c3bc50db20547f4d48477357103" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ArnaudValensi/rust-opengl-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" "+f21fbac535ab2c3bc50db20547f4d48477357103" "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/Gekkio/imgui-rs.git` [INFO] [stderr] Updating git submodule `https://github.com/Extrawurst/cimgui.git` [INFO] [stderr] Updating git submodule `https://github.com/ocornut/imgui.git` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Updating git repository `https://github.com/michaelfairley/rust-imgui-opengl-renderer.git` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded shrev v1.0.1 [INFO] [stderr] Downloaded wayland-sys v0.20.12 [INFO] [stderr] Downloaded generational-arena v0.2.8 [INFO] [stderr] Downloaded smallvec v0.6.5 [INFO] [stderr] Downloaded vec-tree v0.1.2 [INFO] [stderr] Downloaded specs v0.12.2 [INFO] [stderr] Downloaded tuple_utils v0.2.0 [INFO] [stderr] Downloaded failure_derive v0.1.2 [INFO] [stderr] Downloaded wayland-scanner v0.20.12 [INFO] [stderr] Downloaded rustc-demangle v0.1.8 [INFO] [stderr] Downloaded wincolor v1.0.1 [INFO] [stderr] Downloaded shred v0.7.0 [INFO] [stderr] Downloaded backtrace v0.3.7 [INFO] [stderr] Downloaded failure v0.1.2 [INFO] [stderr] Downloaded wayland-commons v0.20.12 [INFO] [stderr] Downloaded winapi-util v0.1.1 [INFO] [stderr] Downloaded approx v0.1.1 [INFO] [stderr] Downloaded quote v0.6.8 [INFO] [stderr] Downloaded gleam v0.4.34 [INFO] [stderr] Downloaded dot_vox v3.1.0 [INFO] [stderr] Downloaded proc-macro2 v0.4.19 [INFO] [stderr] Downloaded cgmath v0.16.1 [INFO] [stderr] Downloaded syn v0.14.9 [INFO] [stderr] Downloaded winit v0.17.2 [INFO] [stderr] Downloaded nom v3.2.1 [INFO] [stderr] Downloaded image v0.14.0 [INFO] [stderr] Downloaded nix v0.11.0 [INFO] [stderr] Downloaded libc v0.2.43 [INFO] [stderr] Downloaded deflate v0.7.18 [INFO] [stderr] Downloaded regex-syntax v0.6.2 [INFO] [stderr] Downloaded regex v1.0.5 [INFO] [stderr] Downloaded atom v0.3.5 [INFO] [stderr] Downloaded rand v0.5.5 [INFO] [stderr] Downloaded rayon v1.0.1 [INFO] [stderr] Downloaded khronos_api v2.2.0 [INFO] [stderr] Downloaded crossbeam v0.3.2 [INFO] [stderr] Downloaded x11-dl v2.18.3 [INFO] [stderr] Downloaded glutin v0.18.0 [INFO] [stderr] Downloaded mopa v0.2.2 [INFO] [stderr] Downloaded backtrace-sys v0.1.16 [INFO] [stderr] Downloaded cocoa v0.17.0 [INFO] [stderr] Downloaded parking_lot_core v0.3.1 [INFO] [stderr] Downloaded parking_lot v0.6.4 [INFO] [stderr] Downloaded smithay-client-toolkit v0.3.0 [INFO] [stderr] Downloaded wayland-client v0.20.12 [INFO] [stderr] Downloaded cc v1.0.14 [INFO] [stderr] Downloaded crossbeam-epoch v0.3.1 [INFO] [stderr] Downloaded inflate v0.2.0 [INFO] [stderr] Downloaded num-traits v0.2.2 [INFO] [stderr] Downloaded bitflags v1.0.3 [INFO] [stderr] Downloaded core-foundation v0.6.2 [INFO] [stderr] Downloaded png v0.8.0 [INFO] [stderr] Downloaded memchr v2.0.2 [INFO] [stderr] Downloaded termcolor v1.0.4 [INFO] [stderr] Downloaded byteorder v1.2.2 [INFO] [stderr] Downloaded stable_deref_trait v1.1.0 [INFO] [stderr] Downloaded dotenv v0.13.0 [INFO] [stderr] Downloaded core-graphics v0.16.0 [INFO] [stderr] Downloaded downcast-rs v1.0.3 [INFO] [stderr] Downloaded pkg-config v0.3.11 [INFO] [stderr] Downloaded shred-derive v0.5.0 [INFO] [stderr] Downloaded owning_ref v0.3.3 [INFO] [stderr] Downloaded pretty_env_logger v0.2.4 [INFO] [stderr] Downloaded lock_api v0.1.4 [INFO] [stderr] Downloaded rand_core v0.2.2 [INFO] [stderr] Downloaded env_logger v0.5.13 [INFO] [stderr] Downloaded parking_lot_core v0.2.14 [INFO] [stderr] Downloaded synstructure v0.9.0 [INFO] [stderr] Downloaded floating-duration v0.1.2 [INFO] [stderr] Downloaded gl_generator v0.6.1 [INFO] [stderr] Downloaded gl v0.6.5 [INFO] [stderr] Downloaded objc v0.2.5 [INFO] [stderr] Downloaded wayland-protocols v0.20.12 [INFO] [stderr] Downloaded aho-corasick v0.6.8 [INFO] [stderr] Downloaded utf8-ranges v1.0.1 [INFO] [stderr] Downloaded hibitset v0.5.0 [INFO] [stderr] Downloaded either v1.5.0 [INFO] [stderr] Downloaded parking_lot v0.5.5 [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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+f21fbac535ab2c3bc50db20547f4d48477357103" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3e9d65cc6bb5f5418aa74454b9db589e0aa595ffef47a365c7a7ea318dfc221f [INFO] running `Command { std: "docker" "start" "-a" "3e9d65cc6bb5f5418aa74454b9db589e0aa595ffef47a365c7a7ea318dfc221f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3e9d65cc6bb5f5418aa74454b9db589e0aa595ffef47a365c7a7ea318dfc221f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e9d65cc6bb5f5418aa74454b9db589e0aa595ffef47a365c7a7ea318dfc221f", kill_on_drop: false }` [INFO] [stdout] 3e9d65cc6bb5f5418aa74454b9db589e0aa595ffef47a365c7a7ea318dfc221f [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:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+f21fbac535ab2c3bc50db20547f4d48477357103" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] c25654dbad00f5f7f0c1f80241443a5f16aa6026968367a8adf408320ffe3c65 [INFO] running `Command { std: "docker" "start" "-a" "c25654dbad00f5f7f0c1f80241443a5f16aa6026968367a8adf408320ffe3c65", 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.43 [INFO] [stderr] Checking lazy_static v1.0.0 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling cc v1.0.14 [INFO] [stderr] Compiling bitflags v1.0.3 [INFO] [stderr] Compiling khronos_api v2.2.0 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Checking nodrop v0.1.12 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Checking stable_deref_trait v1.1.0 [INFO] [stderr] Compiling proc-macro2 v0.4.19 [INFO] [stderr] Checking num-traits v0.2.2 [INFO] [stderr] Checking byteorder v1.2.2 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Compiling log v0.4.1 [INFO] [stderr] Compiling rayon-core v1.4.0 [INFO] [stderr] Checking crossbeam-utils v0.2.2 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking rand_core v0.3.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking arrayvec v0.4.7 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking owning_ref v0.3.3 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Checking smallvec v0.6.5 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Checking downcast-rs v1.0.3 [INFO] [stderr] Checking either v1.5.0 [INFO] [stderr] Checking rand_core v0.2.2 [INFO] [stderr] Compiling pkg-config v0.3.11 [INFO] [stderr] Checking ucd-util v0.1.1 [INFO] [stderr] Compiling nix v0.11.0 [INFO] [stderr] Compiling regex v1.0.5 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking regex-syntax v0.6.2 [INFO] [stderr] Checking crossbeam-epoch v0.3.1 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Compiling failure_derive v0.1.2 [INFO] [stderr] Checking utf8-ranges v1.0.1 [INFO] [stderr] Compiling wayland-scanner v0.20.12 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling gl_generator v0.9.0 [INFO] [stderr] Compiling itertools v0.5.10 [INFO] [stderr] Compiling gl_generator v0.6.1 [INFO] [stderr] Compiling syn v0.10.8 [INFO] [stderr] Checking crossbeam-deque v0.2.0 [INFO] [stderr] Checking rand v0.4.2 [INFO] [stderr] Checking num_cpus v1.8.0 [INFO] [stderr] Checking memchr v2.0.2 [INFO] [stderr] Checking rand v0.5.5 [INFO] [stderr] Compiling libloading v0.5.0 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Compiling backtrace-sys v0.1.16 [INFO] [stderr] Compiling quote v0.6.8 [INFO] [stderr] Checking aho-corasick v0.6.8 [INFO] [stderr] Compiling x11-dl v2.18.3 [INFO] [stderr] Checking num-integer v0.1.36 [INFO] [stderr] Compiling imgui-sys v0.0.19-pre (https://github.com/Gekkio/imgui-rs.git#cfb54ee3) [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking memmap v0.6.2 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Checking lock_api v0.1.4 [INFO] [stderr] Compiling wayland-client v0.20.12 [INFO] [stderr] Checking dlib v0.4.1 [INFO] [stderr] Checking wayland-sys v0.20.12 [INFO] [stderr] Compiling wayland-protocols v0.20.12 [INFO] [stderr] Checking adler32 v1.0.2 [INFO] [stderr] Checking quick-error v1.2.2 [INFO] [stderr] Checking rustc-demangle v0.1.8 [INFO] [stderr] Checking humantime v1.1.1 [INFO] [stderr] Checking deflate v0.7.18 [INFO] [stderr] Checking wayland-commons v0.20.12 [INFO] [stderr] Checking parking_lot_core v0.2.14 [INFO] [stderr] Compiling gl v0.6.5 [INFO] [stderr] Compiling glutin v0.18.0 [INFO] [stderr] Compiling imgui-opengl-renderer v0.2.2 (https://github.com/michaelfairley/rust-imgui-opengl-renderer.git?rev=52ea13c6a619091902a4877db3ed53eb8ae28a34#52ea13c6) [INFO] [stderr] Checking parking_lot v0.5.5 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking num-iter v0.1.35 [INFO] [stderr] Checking memchr v1.0.2 [INFO] [stderr] Checking rayon v1.0.1 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Checking shared_library v0.1.8 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking parking_lot v0.6.4 [INFO] [stderr] Compiling cgmath v0.16.1 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking color_quant v1.0.0 [INFO] [stderr] Checking atom v0.3.5 [INFO] [stderr] Checking bitflags v0.9.1 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking inflate v0.2.0 [INFO] [stderr] Checking termcolor v1.0.4 [INFO] [stderr] Checking mopa v0.2.2 [INFO] [stderr] Checking gif v0.9.2 [INFO] [stderr] Compiling shred-derive v0.5.0 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking nom v3.2.1 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking enum_primitive v0.1.1 [INFO] [stderr] Checking generational-arena v0.2.8 [INFO] [stderr] Checking env_logger v0.5.13 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking tuple_utils v0.2.0 [INFO] [stderr] Checking jpeg-decoder v0.1.14 [INFO] [stderr] Checking png v0.8.0 [INFO] [stderr] Checking hibitset v0.5.0 [INFO] [stderr] Checking shred v0.7.0 [INFO] [stderr] Checking crossbeam v0.3.2 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Compiling synstructure v0.9.0 [INFO] [stderr] Checking approx v0.1.1 [INFO] [stderr] Checking image v0.14.0 [INFO] [stderr] Checking pretty_env_logger v0.2.4 [INFO] [stderr] Checking vec-tree v0.1.2 [INFO] [stderr] Checking floating-duration v0.1.2 [INFO] [stderr] Compiling derivative v1.0.0 [INFO] [stderr] Checking dot_vox v3.1.0 [INFO] [stderr] Checking smithay-client-toolkit v0.3.0 [INFO] [stderr] Checking shrev v1.0.1 [INFO] [stderr] Checking winit v0.17.2 [INFO] [stderr] Checking specs v0.12.2 [INFO] [stderr] Checking backtrace v0.3.7 [INFO] [stderr] Checking failure v0.1.2 [INFO] [stderr] Checking dotenv v0.13.0 [INFO] [stderr] Checking imgui v0.0.19-pre (https://github.com/Gekkio/imgui-rs.git#cfb54ee3) [INFO] [stderr] Checking bigseed v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: field `mesh_data` is never read [INFO] [stdout] --> src/voxel/chunk.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Chunk { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | mesh_data: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Chunk` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/voxel/chunk.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_ChunkOutOfBoundError` [INFO] [stdout] 11 | #[fail(display = "The position of the voxel you are trying to set is out of bound")] [INFO] [stdout] 12 | pub struct ChunkOutOfBoundError; [INFO] [stdout] | -------------------- `ChunkOutOfBoundError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/voxel/chunk.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_ChunkOutOfBoundError` [INFO] [stdout] 11 | #[fail(display = "The position of the voxel you are trying to set is out of bound")] [INFO] [stdout] 12 | pub struct ChunkOutOfBoundError; [INFO] [stdout] | -------------------- `ChunkOutOfBoundError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (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:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/mesh.rs:83:67 [INFO] [stdout] | [INFO] [stdout] 83 | gl::VertexAttribPointer(0, 3, gl::FLOAT, gl::FALSE, size, offset_of!(Vertex, 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:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/mesh.rs:86:65 [INFO] [stdout] | [INFO] [stdout] 86 | gl::VertexAttribIPointer(1, 1, gl::UNSIGNED_BYTE, size, offset_of!(Vertex, color_index) 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:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/mesh.rs:89:67 [INFO] [stdout] | [INFO] [stdout] 89 | gl::VertexAttribPointer(2, 3, gl::FLOAT, gl::FALSE, size, offset_of!(Vertex, 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/scene_tree.rs:81:32 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn descendant_entities(&self, entity: &Entity) -> DescendantEntities { [INFO] [stdout] | ^^^^^ ------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 81 | pub fn descendant_entities(&self, entity: &Entity) -> DescendantEntities<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/scene_tree.rs:92:43 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn descendant_entities_with_depth(&self, entity: &Entity) -> DescendantEntitiesWithDepth { [INFO] [stdout] | ^^^^^ --------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 92 | pub fn descendant_entities_with_depth(&self, entity: &Entity) -> DescendantEntitiesWithDepth<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/scene_tree.rs:102:31 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn following_entities(&self, entity: &Entity) -> FollowingEntities { [INFO] [stdout] | ^^^^^ ----------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 102 | pub fn following_entities(&self, entity: &Entity) -> FollowingEntities<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/scene_tree.rs:112:30 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn ancestor_entities(&self, entity: &Entity) -> AncestorEntities { [INFO] [stdout] | ^^^^^ ---------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 112 | pub fn ancestor_entities(&self, entity: &Entity) -> AncestorEntities<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/scene_tree.rs:123:26 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn root_entities(&self) -> Option { [INFO] [stdout] | ^^^^^ ---------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 123 | pub fn root_entities(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `mesh_data` is never read [INFO] [stdout] --> src/voxel/chunk.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Chunk { [INFO] [stdout] | ----- field in this struct [INFO] [stdout] ... [INFO] [stdout] 20 | mesh_data: Option, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Chunk` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/voxel/chunk.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Fail` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_Fail_FOR_ChunkOutOfBoundError` [INFO] [stdout] 11 | #[fail(display = "The position of the voxel you are trying to set is out of bound")] [INFO] [stdout] 12 | pub struct ChunkOutOfBoundError; [INFO] [stdout] | -------------------- `ChunkOutOfBoundError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: `#[warn(non_local_definitions)]` on by default [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: non-local `impl` definition, `impl` blocks should be written at the same level as their item [INFO] [stdout] --> src/voxel/chunk.rs:10:10 [INFO] [stdout] | [INFO] [stdout] 10 | #[derive(Fail, Debug)] [INFO] [stdout] | ^--- [INFO] [stdout] | | [INFO] [stdout] | `Display` is not local [INFO] [stdout] | move the `impl` block outside of this constant `_DERIVE_failure_core_fmt_Display_FOR_ChunkOutOfBoundError` [INFO] [stdout] 11 | #[fail(display = "The position of the voxel you are trying to set is out of bound")] [INFO] [stdout] 12 | pub struct ChunkOutOfBoundError; [INFO] [stdout] | -------------------- `ChunkOutOfBoundError` is not local [INFO] [stdout] | [INFO] [stdout] = note: the derive macro `Fail` defines the non-local `impl`, and may need to be changed [INFO] [stdout] = note: the derive macro `Fail` may come from an old version of the `failure_derive` crate, try updating your dependency with `cargo update -p failure_derive` [INFO] [stdout] = note: an `impl` is never scoped, even when it is nested inside an item, as it may impact type checking outside of that item, which can be the case if neither the trait or the self type are at the same nesting level as the `impl` [INFO] [stdout] = note: items in an anonymous const item (`const _: () = { ... }`) are treated as in the same scope as the anonymous const's declaration for the purpose of this lint [INFO] [stdout] = note: this warning originates in the derive macro `Fail` (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:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/mesh.rs:83:67 [INFO] [stdout] | [INFO] [stdout] 83 | gl::VertexAttribPointer(0, 3, gl::FLOAT, gl::FALSE, size, offset_of!(Vertex, 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:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/mesh.rs:86:65 [INFO] [stdout] | [INFO] [stdout] 86 | gl::VertexAttribIPointer(1, 1, gl::UNSIGNED_BYTE, size, offset_of!(Vertex, color_index) 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:15:10 [INFO] [stdout] | [INFO] [stdout] 15 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/mesh.rs:89:67 [INFO] [stdout] | [INFO] [stdout] 89 | gl::VertexAttribPointer(2, 3, gl::FLOAT, gl::FALSE, size, offset_of!(Vertex, 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: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/scene_tree.rs:81:32 [INFO] [stdout] | [INFO] [stdout] 81 | pub fn descendant_entities(&self, entity: &Entity) -> DescendantEntities { [INFO] [stdout] | ^^^^^ ------------------ the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 81 | pub fn descendant_entities(&self, entity: &Entity) -> DescendantEntities<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/scene_tree.rs:92:43 [INFO] [stdout] | [INFO] [stdout] 92 | pub fn descendant_entities_with_depth(&self, entity: &Entity) -> DescendantEntitiesWithDepth { [INFO] [stdout] | ^^^^^ --------------------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 92 | pub fn descendant_entities_with_depth(&self, entity: &Entity) -> DescendantEntitiesWithDepth<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/scene_tree.rs:102:31 [INFO] [stdout] | [INFO] [stdout] 102 | pub fn following_entities(&self, entity: &Entity) -> FollowingEntities { [INFO] [stdout] | ^^^^^ ----------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 102 | pub fn following_entities(&self, entity: &Entity) -> FollowingEntities<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/scene_tree.rs:112:30 [INFO] [stdout] | [INFO] [stdout] 112 | pub fn ancestor_entities(&self, entity: &Entity) -> AncestorEntities { [INFO] [stdout] | ^^^^^ ---------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 112 | pub fn ancestor_entities(&self, entity: &Entity) -> AncestorEntities<'_> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> src/scene_tree.rs:123:26 [INFO] [stdout] | [INFO] [stdout] 123 | pub fn root_entities(&self) -> Option { [INFO] [stdout] | ^^^^^ ---------------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 123 | pub fn root_entities(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 34.00s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v3.2.1, syn v0.10.8, syn v0.14.9 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "c25654dbad00f5f7f0c1f80241443a5f16aa6026968367a8adf408320ffe3c65", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c25654dbad00f5f7f0c1f80241443a5f16aa6026968367a8adf408320ffe3c65", kill_on_drop: false }` [INFO] [stdout] c25654dbad00f5f7f0c1f80241443a5f16aa6026968367a8adf408320ffe3c65