[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#2e6fc425411280c658d852813de01c5157255088 for pr-128013 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArnaudValensi%2Frust-opengl-game-engine" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ArnaudValensi/rust-opengl-game-engine on toolchain 2e6fc425411280c658d852813de01c5157255088 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-3-tc1/source/Cargo.toml [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" "+2e6fc425411280c658d852813de01c5157255088" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [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] Downloading crates ... [INFO] [stderr] Downloaded tuple_utils v0.2.0 [INFO] [stderr] Downloaded shrev v1.0.1 [INFO] [stderr] Downloaded smallvec v0.6.5 [INFO] [stderr] Downloaded generational-arena v0.2.8 [INFO] [stderr] Downloaded parking_lot v0.5.5 [INFO] [stderr] Downloaded atty v0.2.11 [INFO] [stderr] Downloaded pretty_env_logger v0.2.4 [INFO] [stderr] Downloaded nodrop v0.1.12 [INFO] [stderr] Downloaded wincolor v1.0.1 [INFO] [stderr] Downloaded gl v0.6.5 [INFO] [stderr] Downloaded wayland-commons v0.20.12 [INFO] [stderr] Downloaded failure_derive v0.1.2 [INFO] [stderr] Downloaded cgl v0.2.1 [INFO] [stderr] Downloaded stable_deref_trait v1.1.0 [INFO] [stderr] Downloaded parking_lot_core v0.2.14 [INFO] [stderr] Downloaded vec-tree v0.1.2 [INFO] [stderr] Downloaded termcolor v1.0.4 [INFO] [stderr] Downloaded libloading v0.5.0 [INFO] [stderr] Downloaded quote v0.6.8 [INFO] [stderr] Downloaded floating-duration v0.1.2 [INFO] [stderr] Downloaded core-graphics v0.16.0 [INFO] [stderr] Downloaded cocoa v0.17.0 [INFO] [stderr] Downloaded backtrace v0.3.7 [INFO] [stderr] Downloaded smithay-client-toolkit v0.3.0 [INFO] [stderr] Downloaded gl_generator v0.6.1 [INFO] [stderr] Downloaded rustc-demangle v0.1.8 [INFO] [stderr] Downloaded deflate v0.7.18 [INFO] [stderr] Downloaded rand v0.5.5 [INFO] [stderr] Downloaded wayland-protocols v0.20.12 [INFO] [stderr] Downloaded rayon v1.0.1 [INFO] [stderr] Downloaded nix v0.11.0 [INFO] [stderr] Downloaded backtrace-sys v0.1.16 [INFO] [stderr] Downloaded khronos_api v2.2.0 [INFO] [stderr] Downloaded libc v0.2.43 [INFO] [stderr] Downloaded winit v0.17.2 [INFO] [stderr] Downloaded regex-syntax v0.6.2 [INFO] [stderr] Downloaded regex v1.0.5 [INFO] [stderr] Downloaded x11-dl v2.18.3 [INFO] [stderr] Downloaded glutin v0.18.0 [INFO] [stderr] Downloaded proc-macro2 v0.4.19 [INFO] [stderr] Downloaded synstructure v0.9.0 [INFO] [stderr] Downloaded failure v0.1.2 [INFO] [stderr] Downloaded shared_library v0.1.8 [INFO] [stderr] Downloaded objc v0.2.5 [INFO] [stderr] Downloaded parking_lot_core v0.3.1 [INFO] [stderr] Downloaded rand_core v0.2.2 [INFO] [stderr] Downloaded png v0.8.0 [INFO] [stderr] Downloaded image v0.14.0 [INFO] [stderr] Downloaded shred v0.7.0 [INFO] [stderr] Downloaded cc v1.0.14 [INFO] [stderr] Downloaded memchr v2.0.2 [INFO] [stderr] Downloaded derivative v1.0.0 [INFO] [stderr] Downloaded specs v0.12.2 [INFO] [stderr] Downloaded shred-derive v0.5.0 [INFO] [stderr] Downloaded wayland-scanner v0.20.12 [INFO] [stderr] Downloaded gl_generator v0.9.0 [INFO] [stderr] Downloaded crossbeam v0.3.2 [INFO] [stderr] Downloaded crossbeam-epoch v0.3.1 [INFO] [stderr] Downloaded crossbeam-deque v0.2.0 [INFO] [stderr] Downloaded syn v0.10.8 [INFO] [stderr] Downloaded wayland-sys v0.20.12 [INFO] [stderr] Downloaded num-integer v0.1.36 [INFO] [stderr] Downloaded num-iter v0.1.35 [INFO] [stderr] Downloaded humantime v1.1.1 [INFO] [stderr] Downloaded utf8-ranges v1.0.1 [INFO] [stderr] Downloaded log v0.4.1 [INFO] [stderr] Downloaded dot_vox v3.1.0 [INFO] [stderr] Downloaded num_cpus v1.8.0 [INFO] [stderr] Downloaded rayon-core v1.4.0 [INFO] [stderr] Downloaded owning_ref v0.3.3 [INFO] [stderr] Downloaded parking_lot v0.6.4 [INFO] [stderr] Downloaded wayland-client v0.20.12 [INFO] [stderr] Downloaded num-traits v0.2.2 [INFO] [stderr] Downloaded xml-rs v0.7.0 [INFO] [stderr] Downloaded winapi-util v0.1.1 [INFO] [stderr] Downloaded gleam v0.4.34 [INFO] [stderr] Downloaded memoffset v0.2.1 [INFO] [stderr] Downloaded jpeg-decoder v0.1.14 [INFO] [stderr] Downloaded lock_api v0.1.4 [INFO] [stderr] Downloaded rand_core v0.3.0 [INFO] [stderr] Downloaded core-foundation v0.6.2 [INFO] [stderr] Downloaded downcast-rs v1.0.3 [INFO] [stderr] Downloaded pkg-config v0.3.11 [INFO] [stderr] Downloaded aho-corasick v0.6.8 [INFO] [stderr] Downloaded ucd-util v0.1.1 [INFO] [stderr] Downloaded arrayvec v0.4.7 [INFO] [stderr] Downloaded redox_syscall v0.1.37 [INFO] [stderr] Downloaded hibitset v0.5.0 [INFO] [stderr] Downloaded byteorder v1.2.2 [INFO] [stderr] Downloaded crossbeam-utils v0.2.2 [INFO] [stderr] Downloaded lazy_static v1.0.0 [INFO] [stderr] Downloaded either v1.5.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ea1bf16d2ab8e3a614f4b3071aea8cb89e4e4854a02cb21451ae410256dce0fb [INFO] running `Command { std: "docker" "start" "-a" "ea1bf16d2ab8e3a614f4b3071aea8cb89e4e4854a02cb21451ae410256dce0fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ea1bf16d2ab8e3a614f4b3071aea8cb89e4e4854a02cb21451ae410256dce0fb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ea1bf16d2ab8e3a614f4b3071aea8cb89e4e4854a02cb21451ae410256dce0fb", kill_on_drop: false }` [INFO] [stdout] ea1bf16d2ab8e3a614f4b3071aea8cb89e4e4854a02cb21451ae410256dce0fb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+2e6fc425411280c658d852813de01c5157255088" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1f47838916b43e77b224fad6cb5e28f40d1f3edd47e54bb904151f48e51cc119 [INFO] running `Command { std: "docker" "start" "-a" "1f47838916b43e77b224fad6cb5e28f40d1f3edd47e54bb904151f48e51cc119", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking libc v0.2.43 [INFO] [stderr] Checking lazy_static v1.0.0 [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] Compiling log v0.4.1 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking nodrop v0.1.12 [INFO] [stderr] Checking crossbeam-utils v0.2.2 [INFO] [stderr] Checking smallvec v0.6.5 [INFO] [stderr] Checking arrayvec v0.4.7 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Checking byteorder v1.2.2 [INFO] [stderr] Compiling rayon-core v1.4.0 [INFO] [stderr] Checking stable_deref_trait v1.1.0 [INFO] [stderr] Checking rand v0.4.2 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling proc-macro2 v0.4.19 [INFO] [stderr] Checking crossbeam-epoch v0.3.1 [INFO] [stderr] Checking num-traits v0.2.2 [INFO] [stderr] Checking owning_ref v0.3.3 [INFO] [stderr] Compiling wayland-scanner v0.20.12 [INFO] [stderr] Checking crossbeam-deque v0.2.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking num_cpus v1.8.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Checking rand_core v0.3.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling gl_generator v0.9.0 [INFO] [stderr] Compiling libloading v0.5.0 [INFO] [stderr] Checking rand_core v0.2.2 [INFO] [stderr] Compiling wayland-client v0.20.12 [INFO] [stderr] Checking either v1.5.0 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Checking downcast-rs v1.0.3 [INFO] [stderr] Checking rayon v1.0.1 [INFO] [stderr] Checking rand v0.5.5 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Compiling quote v0.6.8 [INFO] [stderr] Checking dlib v0.4.1 [INFO] [stderr] Compiling wayland-protocols v0.20.12 [INFO] [stderr] Checking wayland-sys v0.20.12 [INFO] [stderr] Compiling backtrace-sys v0.1.16 [INFO] [stderr] Checking wayland-commons v0.20.12 [INFO] [stderr] Checking memchr v2.0.2 [INFO] [stderr] Compiling pkg-config v0.3.11 [INFO] [stderr] Checking ucd-util v0.1.1 [INFO] [stderr] Compiling regex v1.0.5 [INFO] [stderr] Compiling nix v0.11.0 [INFO] [stderr] Checking regex-syntax v0.6.2 [INFO] [stderr] Checking aho-corasick v0.6.8 [INFO] [stderr] Compiling x11-dl v2.18.3 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Compiling imgui-sys v0.0.19-pre (https://github.com/Gekkio/imgui-rs.git#cfb54ee3) [INFO] [stderr] Checking num-integer v0.1.36 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stderr] Checking utf8-ranges v1.0.1 [INFO] [stderr] Compiling failure_derive v0.1.2 [INFO] [stderr] Compiling gl_generator v0.6.1 [INFO] [stderr] Compiling itertools v0.5.10 [INFO] [stderr] Compiling syn v0.10.8 [INFO] [stderr] Checking parking_lot_core v0.2.14 [INFO] [stderr] Compiling synom v0.11.3 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking lock_api v0.1.4 [INFO] [stderr] Checking memmap v0.6.2 [INFO] [stderr] Checking rustc-demangle v0.1.8 [INFO] [stderr] Checking quick-error v1.2.2 [INFO] [stderr] Checking adler32 v1.0.2 [INFO] [stderr] Checking humantime v1.1.1 [INFO] [stderr] Checking deflate v0.7.18 [INFO] [stderr] Compiling synstructure v0.9.0 [INFO] [stderr] Checking parking_lot v0.6.4 [INFO] [stderr] Compiling syn v0.11.11 [INFO] [stderr] Checking parking_lot v0.5.5 [INFO] [stderr] Compiling gl v0.6.5 [INFO] [stderr] Checking smithay-client-toolkit v0.3.0 [INFO] [stderr] Checking num-iter v0.1.35 [INFO] [stderr] Compiling imgui-opengl-renderer v0.2.2 (https://github.com/michaelfairley/rust-imgui-opengl-renderer.git?rev=52ea13c6a619091902a4877db3ed53eb8ae28a34#52ea13c6) [INFO] [stderr] Compiling glutin v0.18.0 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking memchr v1.0.2 [INFO] [stderr] Checking shared_library v0.1.8 [INFO] [stderr] Checking atty v0.2.11 [INFO] [stderr] Compiling derivative v1.0.0 [INFO] [stderr] Checking termcolor v1.0.4 [INFO] [stderr] Checking atom v0.3.5 [INFO] [stderr] Checking mopa v0.2.2 [INFO] [stderr] Checking bitflags v0.9.1 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking inflate v0.2.0 [INFO] [stderr] Checking color_quant v1.0.0 [INFO] [stderr] Checking percent-encoding v1.0.1 [INFO] [stderr] Compiling cgmath v0.16.1 [INFO] [stderr] Checking winit v0.17.2 [INFO] [stderr] Checking gif v0.9.2 [INFO] [stderr] Checking shred v0.7.0 [INFO] [stderr] Checking png v0.8.0 [INFO] [stderr] Checking env_logger v0.5.13 [INFO] [stderr] Checking hibitset v0.5.0 [INFO] [stderr] Checking shrev v1.0.1 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Checking nom v3.2.1 [INFO] [stderr] Compiling shred-derive v0.5.0 [INFO] [stderr] Checking enum_primitive v0.1.1 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking jpeg-decoder v0.1.14 [INFO] [stderr] Checking generational-arena v0.2.8 [INFO] [stderr] Checking crossbeam v0.3.2 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking approx v0.1.1 [INFO] [stderr] Checking tuple_utils v0.2.0 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking imgui v0.0.19-pre (https://github.com/Gekkio/imgui-rs.git#cfb54ee3) [INFO] [stderr] Checking image v0.14.0 [INFO] [stderr] Checking pretty_env_logger v0.2.4 [INFO] [stderr] Checking specs v0.12.2 [INFO] [stderr] Checking dot_vox v3.1.0 [INFO] [stderr] Checking vec-tree v0.1.2 [INFO] [stderr] Checking floating-duration v0.1.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 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: 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: 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: 4 warnings emitted [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: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 11.01s [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" "1f47838916b43e77b224fad6cb5e28f40d1f3edd47e54bb904151f48e51cc119", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1f47838916b43e77b224fad6cb5e28f40d1f3edd47e54bb904151f48e51cc119", kill_on_drop: false }` [INFO] [stdout] 1f47838916b43e77b224fad6cb5e28f40d1f3edd47e54bb904151f48e51cc119 [INFO] checking ArnaudValensi/rust-opengl-game-engine against try#d856f2da3433420b7077c0dc7ee9441455bc1302 for pr-128013 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FArnaudValensi%2Frust-opengl-game-engine" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ArnaudValensi/rust-opengl-game-engine on toolchain d856f2da3433420b7077c0dc7ee9441455bc1302 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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-3-tc2/source/Cargo.toml [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" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8f3c53bf411f39dcdcf06e7d2e54dd8efafb812006e28b8f800ddafb7b5e06a7 [INFO] running `Command { std: "docker" "start" "-a" "8f3c53bf411f39dcdcf06e7d2e54dd8efafb812006e28b8f800ddafb7b5e06a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8f3c53bf411f39dcdcf06e7d2e54dd8efafb812006e28b8f800ddafb7b5e06a7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8f3c53bf411f39dcdcf06e7d2e54dd8efafb812006e28b8f800ddafb7b5e06a7", kill_on_drop: false }` [INFO] [stdout] 8f3c53bf411f39dcdcf06e7d2e54dd8efafb812006e28b8f800ddafb7b5e06a7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+d856f2da3433420b7077c0dc7ee9441455bc1302" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d8042af82f1c72dcf4921876c0c36517cf7833ea67b081d18136332a4130f6a4 [INFO] running `Command { std: "docker" "start" "-a" "d8042af82f1c72dcf4921876c0c36517cf7833ea67b081d18136332a4130f6a4", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Checking libc v0.2.43 [INFO] [stderr] Checking lazy_static v1.0.0 [INFO] [stderr] Compiling cc v1.0.14 [INFO] [stderr] Compiling bitflags v1.0.3 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking scopeguard v0.3.3 [INFO] [stderr] Compiling khronos_api v2.2.0 [INFO] [stderr] Compiling log v0.4.1 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Checking nodrop v0.1.12 [INFO] [stderr] Checking unreachable v1.0.0 [INFO] [stderr] Checking crossbeam-utils v0.2.2 [INFO] [stderr] Checking arrayvec v0.4.7 [INFO] [stderr] Checking smallvec v0.6.5 [INFO] [stderr] Checking memoffset v0.2.1 [INFO] [stderr] Compiling rayon-core v1.4.0 [INFO] [stderr] Checking num-traits v0.2.2 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Checking stable_deref_trait v1.1.0 [INFO] [stderr] Checking crossbeam-epoch v0.3.1 [INFO] [stderr] Compiling proc-macro2 v0.4.19 [INFO] [stderr] Checking byteorder v1.2.2 [INFO] [stderr] Checking rand v0.4.2 [INFO] [stderr] Checking crossbeam-deque v0.2.0 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Compiling wayland-scanner v0.20.12 [INFO] [stderr] Checking num_cpus v1.8.0 [INFO] [stderr] Checking owning_ref v0.3.3 [INFO] [stderr] Compiling unicode-xid v0.0.4 [INFO] [stderr] Checking rand_core v0.3.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Compiling gl_generator v0.9.0 [INFO] [stderr] Checking rand_core v0.2.2 [INFO] [stderr] Compiling libloading v0.5.0 [INFO] [stderr] Checking either v1.5.0 [INFO] [stderr] Compiling quote v0.3.15 [INFO] [stderr] Checking downcast-rs v1.0.3 [INFO] [stderr] Compiling parking_lot_core v0.3.1 [INFO] [stderr] Compiling backtrace-sys v0.1.16 [INFO] [stderr] Compiling wayland-client v0.20.12 [INFO] [stderr] Checking rayon v1.0.1 [INFO] [stderr] Compiling quote v0.6.8 [INFO] [stderr] Checking dlib v0.4.1 [INFO] [stderr] Compiling wayland-protocols v0.20.12 [INFO] [stderr] Checking rand v0.5.5 [INFO] [stderr] Checking wayland-sys v0.20.12 [INFO] [stderr] Checking memchr v2.0.2 [INFO] [stderr] Checking wayland-commons v0.20.12 [INFO] [stderr] Checking ucd-util v0.1.1 [INFO] [stderr] Compiling nix v0.11.0 [INFO] [stderr] Compiling pkg-config v0.3.11 [INFO] [stderr] Compiling regex v1.0.5 [INFO] [stderr] Checking regex-syntax v0.6.2 [INFO] [stderr] Checking aho-corasick v0.6.8 [INFO] [stderr] Compiling syn v0.14.9 [INFO] [stderr] Compiling x11-dl v2.18.3 [INFO] [stderr] Compiling imgui-sys v0.0.19-pre (https://github.com/Gekkio/imgui-rs.git#cfb54ee3) [INFO] [stderr] Checking num-integer v0.1.36 [INFO] [stderr] Compiling log v0.3.9 [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.36/src/lib.rs:266:41 [INFO] [stdout] | [INFO] [stdout] 266 | return (1 << shift).abs() [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 501 | impl_integer_for_isize!(i8, test_integer_i8); [INFO] [stdout] | -------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.36/src/lib.rs:266:41 [INFO] [stdout] | [INFO] [stdout] 266 | return (1 << shift).abs() [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 502 | impl_integer_for_isize!(i16, test_integer_i16); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.36/src/lib.rs:266:41 [INFO] [stdout] | [INFO] [stdout] 266 | return (1 << shift).abs() [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 503 | impl_integer_for_isize!(i32, test_integer_i32); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.36/src/lib.rs:266:41 [INFO] [stdout] | [INFO] [stdout] 266 | return (1 << shift).abs() [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 504 | impl_integer_for_isize!(i64, test_integer_i64); [INFO] [stdout] | ---------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0034]: multiple applicable items in scope [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-6f17d22bba15001f/num-integer-0.1.36/src/lib.rs:266:41 [INFO] [stdout] | [INFO] [stdout] 266 | return (1 << shift).abs() [INFO] [stdout] | ^^^ multiple `abs` found [INFO] [stdout] ... [INFO] [stdout] 505 | impl_integer_for_isize!(isize, test_integer_isize); [INFO] [stdout] | -------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: candidate #1 is defined in an impl for the type `i128` [INFO] [stdout] = note: candidate #2 is defined in an impl for the type `i16` [INFO] [stdout] = note: candidate #3 is defined in an impl for the type `i32` [INFO] [stdout] = note: candidate #4 is defined in an impl for the type `i64` [INFO] [stdout] = note: and 2 others [INFO] [stdout] = note: this error originates in the macro `impl_integer_for_isize` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking thread_local v0.3.6 [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0034`. [INFO] [stdout] [INFO] [stderr] error: could not compile `num-integer` (lib) due to 6 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] running `Command { std: "docker" "inspect" "d8042af82f1c72dcf4921876c0c36517cf7833ea67b081d18136332a4130f6a4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8042af82f1c72dcf4921876c0c36517cf7833ea67b081d18136332a4130f6a4", kill_on_drop: false }` [INFO] [stdout] d8042af82f1c72dcf4921876c0c36517cf7833ea67b081d18136332a4130f6a4