[INFO] cloning repository https://github.com/bwasty/gltf-viewer [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bwasty/gltf-viewer" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbwasty%2Fgltf-viewer", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbwasty%2Fgltf-viewer'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 1cb99cb51c04ddf7af3f2b4488757f6f4f498787 [INFO] checking bwasty/gltf-viewer against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbwasty%2Fgltf-viewer" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/bwasty/gltf-viewer on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/bwasty/gltf-viewer [INFO] finished tweaking git repo https://github.com/bwasty/gltf-viewer [INFO] tweaked toml for git repo https://github.com/bwasty/gltf-viewer written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/bwasty/gltf-viewer already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded glutin v0.18.0 [INFO] [stderr] Downloaded num-complex v0.2.1 [INFO] [stderr] Downloaded collision v0.20.1 [INFO] [stderr] Downloaded gleam v0.6.8 [INFO] [stderr] Downloaded image v0.21.0 [INFO] [stderr] Downloaded inflate v0.4.4 [INFO] [stderr] Downloaded png v0.14.0 [INFO] [stderr] Downloaded safe-transmute v0.10.1 [INFO] [stderr] Downloaded git-version v0.2.1 [INFO] [stderr] Downloaded gltf-derive v0.15.0 [INFO] [stderr] Downloaded gltf v0.15.0 [INFO] [stderr] Downloaded gltf-json v0.15.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 16a737cadc425613dd7de8a9d4ecc3089f41b28ed01ddcf35dadc922d99fb237 [INFO] running `Command { std: "docker" "start" "-a" "16a737cadc425613dd7de8a9d4ecc3089f41b28ed01ddcf35dadc922d99fb237", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "16a737cadc425613dd7de8a9d4ecc3089f41b28ed01ddcf35dadc922d99fb237", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "16a737cadc425613dd7de8a9d4ecc3089f41b28ed01ddcf35dadc922d99fb237", kill_on_drop: false }` [INFO] [stdout] 16a737cadc425613dd7de8a9d4ecc3089f41b28ed01ddcf35dadc922d99fb237 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 4bd2334adace81732cfe0126bbf984ff8815fe2a0bc8aaf7c5db1bee490a5fef [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "4bd2334adace81732cfe0126bbf984ff8815fe2a0bc8aaf7c5db1bee490a5fef", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] note: Switching to Edition 2021 will enable the use of the version 2 feature resolver in Cargo. [INFO] [stderr] This may cause some dependencies to be built with fewer features enabled than previously. [INFO] [stderr] More information about the resolver changes may be found at https://doc.rust-lang.org/nightly/edition-guide/rust-2021/default-cargo-resolver.html [INFO] [stderr] When building the following dependencies, the given features will no longer be used: [INFO] [stderr] [INFO] [stderr] cgmath v0.17.0: serde [INFO] [stderr] log v0.4.8 (as host dependency): std [INFO] [stderr] num-rational v0.2.1: bigint, num-bigint, serde, std [INFO] [stderr] serde v1.0.85: serde_derive [INFO] [stderr] [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking lazy_static v1.2.0 [INFO] [stderr] Checking rand_core v0.4.0 [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling proc-macro2 v0.4.26 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Checking cfg-if v0.1.6 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling cc v1.0.28 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling serde v1.0.85 [INFO] [stderr] Checking byteorder v1.2.7 [INFO] [stderr] Compiling arrayvec v0.4.10 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking nodrop v0.1.13 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Compiling khronos_api v2.2.0 [INFO] [stderr] Checking downcast-rs v1.0.3 [INFO] [stderr] Compiling unicode-xid v0.2.0 [INFO] [stderr] Checking stable_deref_trait v1.1.1 [INFO] [stderr] Compiling rayon v1.0.3 [INFO] [stderr] Compiling syn v1.0.14 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling ryu v0.2.7 [INFO] [stderr] Compiling num-bigint v0.2.2 [INFO] [stderr] Compiling nix v0.11.0 [INFO] [stderr] Compiling num-derive v0.2.4 [INFO] [stderr] Checking adler32 v1.0.3 [INFO] [stderr] Checking either v1.5.0 [INFO] [stderr] Compiling xml-rs v0.8.0 [INFO] [stderr] Compiling num-rational v0.2.1 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Compiling inflections v1.1.1 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Compiling cgmath v0.17.0 [INFO] [stderr] Checking itoa v0.4.3 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking bit-vec v0.5.0 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Checking safe-transmute v0.10.1 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking base64 v0.11.0 [INFO] [stderr] Checking crossbeam-utils v0.2.2 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking base64 v0.10.1 [INFO] [stderr] Checking term v0.5.1 [INFO] [stderr] Checking owning_ref v0.4.0 [INFO] [stderr] Compiling x11-dl v2.18.3 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling num-traits v0.2.11 [INFO] [stderr] Checking deflate v0.7.19 [INFO] [stderr] Checking inflate v0.4.4 [INFO] [stderr] Checking gif v0.10.1 [INFO] [stderr] Compiling proc-macro2 v1.0.8 [INFO] [stderr] Checking bit-set v0.5.0 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Checking smallvec v0.6.8 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking num_cpus v1.9.0 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking memmap v0.6.2 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking rand_chacha v0.1.1 [INFO] [stderr] Checking rand_pcg v0.1.2 [INFO] [stderr] Checking lock_api v0.1.5 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Compiling libloading v0.5.0 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Compiling quote v0.6.11 [INFO] [stderr] Compiling quote v1.0.2 [INFO] [stderr] Checking crossbeam-epoch v0.3.1 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking rand v0.6.5 [INFO] [stderr] Compiling syn v0.15.26 [INFO] [stderr] Checking crossbeam-deque v0.2.0 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Compiling wayland-scanner v0.20.12 [INFO] [stderr] Compiling gl_generator v0.9.0 [INFO] [stderr] Checking dlib v0.4.1 [INFO] [stderr] Checking wayland-sys v0.20.12 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Checking chrono v0.4.6 [INFO] [stderr] Checking wayland-commons v0.20.12 [INFO] [stderr] Checking parking_lot v0.6.4 [INFO] [stderr] Checking png v0.14.0 [INFO] [stderr] Compiling wayland-client v0.20.12 [INFO] [stderr] Compiling wayland-protocols v0.20.12 [INFO] [stderr] Compiling glutin v0.18.0 [INFO] [stderr] Checking simplelog v0.7.4 [INFO] [stderr] Checking jpeg-decoder v0.1.15 [INFO] [stderr] Compiling gltf-derive v0.15.0 [INFO] [stderr] Compiling serde_derive v1.0.85 [INFO] [stderr] Checking smithay-client-toolkit v0.3.0 [INFO] [stderr] Checking tiff v0.2.2 [INFO] [stderr] Checking winit v0.17.2 [INFO] [stderr] Checking serde_json v1.0.37 [INFO] [stderr] Checking gltf-json v0.15.0 [INFO] [stderr] Checking image v0.21.0 [INFO] [stderr] Checking collision v0.20.1 [INFO] [stderr] Checking gltf v0.15.0 [INFO] [stderr] Checking gltf-viewer v0.4.2-alpha.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/render/texture.rs (3 fixes) [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/macros.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/render/primitive.rs:387:67 [INFO] [stdout] | [INFO] [stdout] 387 | 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:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/render/primitive.rs:390:67 [INFO] [stdout] | [INFO] [stdout] 390 | gl::VertexAttribPointer(1, 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: dereferencing a null pointer [INFO] [stdout] --> src/macros.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/render/primitive.rs:393:67 [INFO] [stdout] | [INFO] [stdout] 393 | gl::VertexAttribPointer(2, 4, gl::FLOAT, gl::FALSE, size, offset_of!(Vertex, tangent) 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:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/render/primitive.rs:396:67 [INFO] [stdout] | [INFO] [stdout] 396 | gl::VertexAttribPointer(3, 2, gl::FLOAT, gl::FALSE, size, offset_of!(Vertex, tex_coord_0) 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:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/render/primitive.rs:399:67 [INFO] [stdout] | [INFO] [stdout] 399 | gl::VertexAttribPointer(4, 2, gl::FLOAT, gl::FALSE, size, offset_of!(Vertex, tex_coord_1) 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:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/render/primitive.rs:402:67 [INFO] [stdout] | [INFO] [stdout] 402 | gl::VertexAttribPointer(5, 4, gl::FLOAT, gl::FALSE, size, offset_of!(Vertex, color_0) 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:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/render/primitive.rs:406:76 [INFO] [stdout] | [INFO] [stdout] 406 | gl::VertexAttribPointer(6, 4, gl::UNSIGNED_SHORT, gl::FALSE, size, offset_of!(Vertex, joints_0) 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:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/render/primitive.rs:409:67 [INFO] [stdout] | [INFO] [stdout] 409 | gl::VertexAttribPointer(7, 4, gl::FLOAT, gl::FALSE, size, offset_of!(Vertex, weights_0) 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: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/macros.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/render/primitive.rs:387:67 [INFO] [stdout] | [INFO] [stdout] 387 | 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:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/render/primitive.rs:390:67 [INFO] [stdout] | [INFO] [stdout] 390 | gl::VertexAttribPointer(1, 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: dereferencing a null pointer [INFO] [stdout] --> src/macros.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/render/primitive.rs:393:67 [INFO] [stdout] | [INFO] [stdout] 393 | gl::VertexAttribPointer(2, 4, gl::FLOAT, gl::FALSE, size, offset_of!(Vertex, tangent) 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:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/render/primitive.rs:396:67 [INFO] [stdout] | [INFO] [stdout] 396 | gl::VertexAttribPointer(3, 2, gl::FLOAT, gl::FALSE, size, offset_of!(Vertex, tex_coord_0) 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:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/render/primitive.rs:399:67 [INFO] [stdout] | [INFO] [stdout] 399 | gl::VertexAttribPointer(4, 2, gl::FLOAT, gl::FALSE, size, offset_of!(Vertex, tex_coord_1) 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:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/render/primitive.rs:402:67 [INFO] [stdout] | [INFO] [stdout] 402 | gl::VertexAttribPointer(5, 4, gl::FLOAT, gl::FALSE, size, offset_of!(Vertex, color_0) 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:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/render/primitive.rs:406:76 [INFO] [stdout] | [INFO] [stdout] 406 | gl::VertexAttribPointer(6, 4, gl::UNSIGNED_SHORT, gl::FALSE, size, offset_of!(Vertex, joints_0) 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:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/render/primitive.rs:409:67 [INFO] [stdout] | [INFO] [stdout] 409 | gl::VertexAttribPointer(7, 4, gl::FLOAT, gl::FALSE, size, offset_of!(Vertex, weights_0) 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: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 52.57s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling num-rational v0.2.1 [INFO] [stderr] Compiling cgmath v0.17.0 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Checking serde_json v1.0.37 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling gl_generator v0.9.0 [INFO] [stderr] Checking image v0.21.0 [INFO] [stderr] Checking gltf-json v0.15.0 [INFO] [stderr] Compiling glutin v0.18.0 [INFO] [stderr] Compiling gl v0.14.0 [INFO] [stderr] Checking collision v0.20.1 [INFO] [stderr] Checking gltf v0.15.0 [INFO] [stderr] Checking gltf-viewer v0.4.2-alpha.0 (/tmp/fixit) [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/macros.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/render/primitive.rs:387:67 [INFO] [stdout] | [INFO] [stdout] 387 | 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:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/render/primitive.rs:390:67 [INFO] [stdout] | [INFO] [stdout] 390 | gl::VertexAttribPointer(1, 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: dereferencing a null pointer [INFO] [stdout] --> src/macros.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/render/primitive.rs:393:67 [INFO] [stdout] | [INFO] [stdout] 393 | gl::VertexAttribPointer(2, 4, gl::FLOAT, gl::FALSE, size, offset_of!(Vertex, tangent) 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:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/render/primitive.rs:396:67 [INFO] [stdout] | [INFO] [stdout] 396 | gl::VertexAttribPointer(3, 2, gl::FLOAT, gl::FALSE, size, offset_of!(Vertex, tex_coord_0) 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:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/render/primitive.rs:399:67 [INFO] [stdout] | [INFO] [stdout] 399 | gl::VertexAttribPointer(4, 2, gl::FLOAT, gl::FALSE, size, offset_of!(Vertex, tex_coord_1) 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:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/render/primitive.rs:402:67 [INFO] [stdout] | [INFO] [stdout] 402 | gl::VertexAttribPointer(5, 4, gl::FLOAT, gl::FALSE, size, offset_of!(Vertex, color_0) 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:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/render/primitive.rs:406:76 [INFO] [stdout] | [INFO] [stdout] 406 | gl::VertexAttribPointer(6, 4, gl::UNSIGNED_SHORT, gl::FALSE, size, offset_of!(Vertex, joints_0) 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:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/render/primitive.rs:409:67 [INFO] [stdout] | [INFO] [stdout] 409 | gl::VertexAttribPointer(7, 4, gl::FLOAT, gl::FALSE, size, offset_of!(Vertex, weights_0) 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: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/macros.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/render/primitive.rs:387:67 [INFO] [stdout] | [INFO] [stdout] 387 | 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:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/render/primitive.rs:390:67 [INFO] [stdout] | [INFO] [stdout] 390 | gl::VertexAttribPointer(1, 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: dereferencing a null pointer [INFO] [stdout] --> src/macros.rs:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/render/primitive.rs:393:67 [INFO] [stdout] | [INFO] [stdout] 393 | gl::VertexAttribPointer(2, 4, gl::FLOAT, gl::FALSE, size, offset_of!(Vertex, tangent) 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:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/render/primitive.rs:396:67 [INFO] [stdout] | [INFO] [stdout] 396 | gl::VertexAttribPointer(3, 2, gl::FLOAT, gl::FALSE, size, offset_of!(Vertex, tex_coord_0) 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:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/render/primitive.rs:399:67 [INFO] [stdout] | [INFO] [stdout] 399 | gl::VertexAttribPointer(4, 2, gl::FLOAT, gl::FALSE, size, offset_of!(Vertex, tex_coord_1) 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:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/render/primitive.rs:402:67 [INFO] [stdout] | [INFO] [stdout] 402 | gl::VertexAttribPointer(5, 4, gl::FLOAT, gl::FALSE, size, offset_of!(Vertex, color_0) 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:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/render/primitive.rs:406:76 [INFO] [stdout] | [INFO] [stdout] 406 | gl::VertexAttribPointer(6, 4, gl::UNSIGNED_SHORT, gl::FALSE, size, offset_of!(Vertex, joints_0) 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:7:10 [INFO] [stdout] | [INFO] [stdout] 7 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/render/primitive.rs:409:67 [INFO] [stdout] | [INFO] [stdout] 409 | gl::VertexAttribPointer(7, 4, gl::FLOAT, gl::FALSE, size, offset_of!(Vertex, weights_0) 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: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 24.79s [INFO] running `Command { std: "docker" "inspect" "4bd2334adace81732cfe0126bbf984ff8815fe2a0bc8aaf7c5db1bee490a5fef", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4bd2334adace81732cfe0126bbf984ff8815fe2a0bc8aaf7c5db1bee490a5fef", kill_on_drop: false }` [INFO] [stdout] 4bd2334adace81732cfe0126bbf984ff8815fe2a0bc8aaf7c5db1bee490a5fef