[INFO] cloning repository https://github.com/bwasty/learn-opengl-rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/bwasty/learn-opengl-rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbwasty%2Flearn-opengl-rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbwasty%2Flearn-opengl-rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6357f7ca55508cd8ed9389a73207a8b954d362b4 [INFO] testing bwasty/learn-opengl-rs against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fbwasty%2Flearn-opengl-rs" "/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/learn-opengl-rs on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/bwasty/learn-opengl-rs [INFO] finished tweaking git repo https://github.com/bwasty/learn-opengl-rs [INFO] tweaked toml for git repo https://github.com/bwasty/learn-opengl-rs written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/bwasty/learn-opengl-rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "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] ecda2919f02b0a4be850728778796c3d4d9ada134453e27187eb8bf3bc363319 [INFO] running `Command { std: "docker" "start" "-a" "ecda2919f02b0a4be850728778796c3d4d9ada134453e27187eb8bf3bc363319", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ecda2919f02b0a4be850728778796c3d4d9ada134453e27187eb8bf3bc363319", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ecda2919f02b0a4be850728778796c3d4d9ada134453e27187eb8bf3bc363319", kill_on_drop: false }` [INFO] [stdout] ecda2919f02b0a4be850728778796c3d4d9ada134453e27187eb8bf3bc363319 [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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", 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] 4ed969b6a38d755afd1fb63bb292d00f87140fc86202b80135c1d230903d881b [INFO] running `Command { std: "docker" "start" "-a" "4ed969b6a38d755afd1fb63bb292d00f87140fc86202b80135c1d230903d881b", kill_on_drop: false }` [INFO] [stderr] Compiling num-traits v0.2.5 [INFO] [stderr] Compiling cfg-if v0.1.5 [INFO] [stderr] Compiling libc v0.2.43 [INFO] [stderr] Compiling num-integer v0.1.39 [INFO] [stderr] Compiling version_check v0.1.4 [INFO] [stderr] Compiling bitflags v1.0.3 [INFO] [stderr] Compiling num-iter v0.1.37 [INFO] [stderr] Compiling nodrop v0.1.12 [INFO] [stderr] Compiling khronos_api v2.2.0 [INFO] [stderr] Compiling rayon-core v1.4.1 [INFO] [stderr] Compiling proc-macro2 v0.4.13 [INFO] [stderr] Compiling cc v1.0.18 [INFO] [stderr] Compiling num-bigint v0.2.0 [INFO] [stderr] Compiling byteorder v1.2.4 [INFO] [stderr] Compiling rayon v1.0.2 [INFO] [stderr] Compiling num-complex v0.2.0 [INFO] [stderr] Compiling either v1.5.0 [INFO] [stderr] Compiling num-rational v0.2.1 [INFO] [stderr] Compiling color_quant v1.0.1 [INFO] [stderr] Compiling nom v1.2.4 [INFO] [stderr] Compiling cgmath v0.16.1 [INFO] [stderr] Compiling lzw v0.10.0 [INFO] [stderr] Compiling approx v0.1.1 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling rand_core v0.2.1 [INFO] [stderr] Compiling tobj v0.1.6 [INFO] [stderr] Compiling inflate v0.4.3 [INFO] [stderr] Compiling crossbeam-utils v0.2.2 [INFO] [stderr] Compiling log v0.4.4 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Compiling arrayvec v0.4.7 [INFO] [stderr] Compiling deflate v0.7.18 [INFO] [stderr] Compiling lazy_static v1.1.0 [INFO] [stderr] Compiling gif v0.10.0 [INFO] [stderr] Compiling rand v0.4.3 [INFO] [stderr] Compiling num_cpus v1.8.0 [INFO] [stderr] Compiling rand v0.5.5 [INFO] [stderr] Compiling cmake v0.1.33 [INFO] [stderr] Compiling semver v0.2.3 [INFO] [stderr] Compiling quote v0.6.6 [INFO] [stderr] Compiling crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling gl_generator v0.9.0 [INFO] [stderr] Compiling syn v0.14.8 [INFO] [stderr] Compiling glfw-sys v3.2.2 [INFO] [stderr] Compiling crossbeam-deque v0.2.0 [INFO] [stderr] Compiling num-traits v0.1.43 [INFO] [stderr] Compiling num-complex v0.1.43 [INFO] [stderr] Compiling enum_primitive v0.1.1 [INFO] [stderr] Compiling num-bigint v0.1.44 [INFO] [stderr] Compiling png v0.12.0 [INFO] [stderr] Compiling gl v0.10.0 [INFO] [stderr] Compiling num-rational v0.1.42 [INFO] [stderr] Compiling num v0.1.42 [INFO] [stderr] Compiling num v0.2.0 [INFO] [stderr] Compiling num-derive v0.2.2 [INFO] [stderr] Compiling glfw v0.23.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.15 [INFO] [stderr] Compiling image v0.19.0 [INFO] [stderr] Compiling learn-opengl-rs v0.6.1 (/opt/rustwide/workdir) [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:146:67 [INFO] [stdout] | [INFO] [stdout] 146 | 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:149:67 [INFO] [stdout] | [INFO] [stdout] 149 | 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: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:152:67 [INFO] [stdout] | [INFO] [stdout] 152 | gl::VertexAttribPointer(2, 2, gl::FLOAT, gl::FALSE, size, offset_of!(Vertex, TexCoords) 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:155:67 [INFO] [stdout] | [INFO] [stdout] 155 | gl::VertexAttribPointer(3, 3, 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: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:158:67 [INFO] [stdout] | [INFO] [stdout] 158 | gl::VertexAttribPointer(4, 3, gl::FLOAT, gl::FALSE, size, offset_of!(Vertex, Bitangent) 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: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 2m 02s [INFO] running `Command { std: "docker" "inspect" "4ed969b6a38d755afd1fb63bb292d00f87140fc86202b80135c1d230903d881b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4ed969b6a38d755afd1fb63bb292d00f87140fc86202b80135c1d230903d881b", kill_on_drop: false }` [INFO] [stdout] 4ed969b6a38d755afd1fb63bb292d00f87140fc86202b80135c1d230903d881b [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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", 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] d46be1f9c9c097c29ad0ec2cc18d46bf224aacf8940b5ea4a5b04d85b7f0672f [INFO] running `Command { std: "docker" "start" "-a" "d46be1f9c9c097c29ad0ec2cc18d46bf224aacf8940b5ea4a5b04d85b7f0672f", kill_on_drop: false }` [INFO] [stderr] Compiling learn-opengl-rs v0.6.1 (/opt/rustwide/workdir) [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:146:67 [INFO] [stdout] | [INFO] [stdout] 146 | 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:149:67 [INFO] [stdout] | [INFO] [stdout] 149 | 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: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:152:67 [INFO] [stdout] | [INFO] [stdout] 152 | gl::VertexAttribPointer(2, 2, gl::FLOAT, gl::FALSE, size, offset_of!(Vertex, TexCoords) 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:155:67 [INFO] [stdout] | [INFO] [stdout] 155 | gl::VertexAttribPointer(3, 3, 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: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:158:67 [INFO] [stdout] | [INFO] [stdout] 158 | gl::VertexAttribPointer(4, 3, gl::FLOAT, gl::FALSE, size, offset_of!(Vertex, Bitangent) 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: 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.22s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/learn_opengl_rs-c99a99290cd3ecdb) [INFO] running `Command { std: "docker" "inspect" "d46be1f9c9c097c29ad0ec2cc18d46bf224aacf8940b5ea4a5b04d85b7f0672f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d46be1f9c9c097c29ad0ec2cc18d46bf224aacf8940b5ea4a5b04d85b7f0672f", kill_on_drop: false }` [INFO] [stdout] d46be1f9c9c097c29ad0ec2cc18d46bf224aacf8940b5ea4a5b04d85b7f0672f [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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "test" "--frozen", 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] c3b1a0ffb7ec5046ed8e720abac7b05ff7d2569a271b0229cfa9201cc7c65d06 [INFO] running `Command { std: "docker" "start" "-a" "c3b1a0ffb7ec5046ed8e720abac7b05ff7d2569a271b0229cfa9201cc7c65d06", kill_on_drop: false }` [INFO] [stderr] warning: dereferencing a null pointer [INFO] [stderr] --> src/macros.rs:15:10 [INFO] [stderr] | [INFO] [stderr] 15 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stderr] | [INFO] [stderr] ::: src/mesh.rs:146:67 [INFO] [stderr] | [INFO] [stderr] 146 | gl::VertexAttribPointer(0, 3, gl::FLOAT, gl::FALSE, size, offset_of!(Vertex, Position) as *const c_void); [INFO] [stderr] | ---------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(deref_nullptr)]` on by default [INFO] [stderr] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: dereferencing a null pointer [INFO] [stderr] --> src/macros.rs:15:10 [INFO] [stderr] | [INFO] [stderr] 15 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stderr] | [INFO] [stderr] ::: src/mesh.rs:149:67 [INFO] [stderr] | [INFO] [stderr] 149 | gl::VertexAttribPointer(1, 3, gl::FLOAT, gl::FALSE, size, offset_of!(Vertex, Normal) as *const c_void); [INFO] [stderr] | -------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: dereferencing a null pointer [INFO] [stderr] --> src/macros.rs:15:10 [INFO] [stderr] | [INFO] [stderr] 15 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stderr] | [INFO] [stderr] ::: src/mesh.rs:152:67 [INFO] [stderr] | [INFO] [stderr] 152 | gl::VertexAttribPointer(2, 2, gl::FLOAT, gl::FALSE, size, offset_of!(Vertex, TexCoords) as *const c_void); [INFO] [stderr] | ----------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: dereferencing a null pointer [INFO] [stderr] --> src/macros.rs:15:10 [INFO] [stderr] | [INFO] [stderr] 15 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stderr] | [INFO] [stderr] ::: src/mesh.rs:155:67 [INFO] [stderr] | [INFO] [stderr] 155 | gl::VertexAttribPointer(3, 3, gl::FLOAT, gl::FALSE, size, offset_of!(Vertex, Tangent) as *const c_void); [INFO] [stderr] | --------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: dereferencing a null pointer [INFO] [stderr] --> src/macros.rs:15:10 [INFO] [stderr] | [INFO] [stderr] 15 | &(*(ptr::null() as *const $ty)).$field as *const _ as usize [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stderr] | [INFO] [stderr] ::: src/mesh.rs:158:67 [INFO] [stderr] | [INFO] [stderr] 158 | gl::VertexAttribPointer(4, 3, gl::FLOAT, gl::FALSE, size, offset_of!(Vertex, Bitangent) as *const c_void); [INFO] [stderr] | ----------------------------- in this macro invocation [INFO] [stderr] | [INFO] [stderr] = note: this warning originates in the macro `offset_of` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: `learn-opengl-rs` (bin "learn-opengl-rs" test) generated 5 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.09s [INFO] [stdout] [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/learn_opengl_rs-c99a99290cd3ecdb) [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "c3b1a0ffb7ec5046ed8e720abac7b05ff7d2569a271b0229cfa9201cc7c65d06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c3b1a0ffb7ec5046ed8e720abac7b05ff7d2569a271b0229cfa9201cc7c65d06", kill_on_drop: false }` [INFO] [stdout] c3b1a0ffb7ec5046ed8e720abac7b05ff7d2569a271b0229cfa9201cc7c65d06