[INFO] fetching crate ruckus-2d 0.1.1... [INFO] checking ruckus-2d-0.1.1 against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] extracting crate ruckus-2d 0.1.1 into /workspace/builds/worker-74/source [INFO] validating manifest of crates.io crate ruckus-2d 0.1.1 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 crates.io crate ruckus-2d 0.1.1 [INFO] finished tweaking crates.io crate ruckus-2d 0.1.1 [INFO] tweaked toml for crates.io crate ruckus-2d 0.1.1 written to /workspace/builds/worker-74/source/Cargo.toml [INFO] crate crates.io crate ruckus-2d 0.1.1 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] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded glutin_glx_sys v0.1.6 [INFO] [stderr] Downloaded glutin_gles2_sys v0.1.4 [INFO] [stderr] Downloaded glutin_wgl_sys v0.1.4 [INFO] [stderr] Downloaded generic-array v0.11.1 [INFO] [stderr] Downloaded libloading v0.6.2 [INFO] [stderr] Downloaded glutin v0.24.1 [INFO] [stderr] Downloaded tiff v0.5.0 [INFO] [stderr] Downloaded bytemuck v1.3.1 [INFO] [stderr] Downloaded image v0.23.8 [INFO] [stderr] Downloaded png v0.16.7 [INFO] [stderr] Downloaded nalgebra-glm v0.1.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-74/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-74/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] [stdout] 249a38ec8edb0f77cf8d16079c134e25a157a03e30757fd65c926ec39ddc9aab [INFO] running `Command { std: "docker" "start" "-a" "249a38ec8edb0f77cf8d16079c134e25a157a03e30757fd65c926ec39ddc9aab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "249a38ec8edb0f77cf8d16079c134e25a157a03e30757fd65c926ec39ddc9aab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "249a38ec8edb0f77cf8d16079c134e25a157a03e30757fd65c926ec39ddc9aab", kill_on_drop: false }` [INFO] [stdout] 249a38ec8edb0f77cf8d16079c134e25a157a03e30757fd65c926ec39ddc9aab [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-74/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-74/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] d86ac1ab5de8aa366602235f471be2f0ea4a0ddf92cb926f561985c5f8d2b661 [INFO] running `Command { std: "docker" "start" "-a" "d86ac1ab5de8aa366602235f471be2f0ea4a0ddf92cb926f561985c5f8d2b661", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling autocfg v1.0.0 [INFO] [stderr] Compiling libc v0.2.74 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling log v0.4.11 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling unicode-xid v0.1.0 [INFO] [stderr] Compiling libloading v0.6.2 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Checking slab v0.4.2 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking lazycell v1.3.0 [INFO] [stderr] Compiling pkg-config v0.3.18 [INFO] [stderr] Compiling rayon-core v1.7.1 [INFO] [stderr] Compiling libm v0.1.4 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Checking downcast-rs v1.2.0 [INFO] [stderr] Compiling matrixmultiply v0.1.15 [INFO] [stderr] Compiling cc v1.0.58 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Checking smallvec v1.4.2 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Checking either v1.6.0 [INFO] [stderr] Checking rawpointer v0.1.0 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Checking instant v0.1.6 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking bytemuck v1.3.1 [INFO] [stderr] Checking lock_api v0.3.4 [INFO] [stderr] Checking generic-array v0.11.1 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking walkdir v2.3.1 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-bigint v0.3.0 [INFO] [stderr] Compiling x11-dl v2.18.5 [INFO] [stderr] Compiling num-complex v0.2.4 [INFO] [stderr] Compiling num-rational v0.3.0 [INFO] [stderr] Compiling rayon v1.3.1 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Checking dlib v0.4.2 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking wayland-sys v0.23.6 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling wayland-scanner v0.23.6 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Checking tiff v0.5.0 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking parking_lot_core v0.7.2 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking rand v0.5.6 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking png v0.16.7 [INFO] [stderr] Compiling glutin_egl_sys v0.1.4 [INFO] [stderr] Compiling glutin_glx_sys v0.1.6 [INFO] [stderr] Compiling ruckus-2d v0.1.1 (/tmp/fixit) [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Migrating build.rs from 2018 edition to 2021 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking parking_lot v0.10.2 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking ordered-float v1.1.0 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Checking num-complex v0.3.0 [INFO] [stderr] Checking rusttype v0.8.3 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking alga v0.7.2 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking rusttype v0.7.9 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Checking nalgebra v0.16.14 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Compiling wayland-client v0.23.6 [INFO] [stderr] Compiling wayland-protocols v0.23.6 [INFO] [stderr] Checking num v0.3.0 [INFO] [stderr] Checking wayland-commons v0.23.6 [INFO] [stderr] Checking calloop v0.4.4 [INFO] [stderr] Checking jpeg-decoder v0.1.20 [INFO] [stderr] Checking image v0.23.8 [INFO] [stderr] Checking nalgebra-glm v0.1.3 [INFO] [stderr] Checking smithay-client-toolkit v0.6.6 [INFO] [stderr] Checking winit v0.22.2 [INFO] [stderr] Checking glutin v0.24.1 [INFO] [stderr] Migrating src/ruckus.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/buffers.rs (2 fixes) [INFO] [stderr] Fixed src/ruckus.rs (2 fixes) [INFO] [stderr] Fixed src/graphics.rs (2 fixes) [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/opengl.rs:223:24 [INFO] [stdout] | [INFO] [stdout] 216 | unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 223 | let name = unsafe { std::ffi::CStr::from_ptr(name.as_ptr()).to_str().unwrap() }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CLIP_NEAR_DEFAULT` [INFO] [stdout] --> src/ruckus.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | const CLIP_NEAR_DEFAULT: f32 = 0.1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CLIP_FAR_DEFAULT` [INFO] [stdout] --> src/ruckus.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | const CLIP_FAR_DEFAULT: f32 = 1000.; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `instanced_mat_buffer` [INFO] [stdout] --> src/ruckus.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | instanced_mat_buffer: VertexBuffer, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `instanced_shader` [INFO] [stdout] --> src/ruckus.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | instanced_shader: Shader, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/opengl.rs:223:24 [INFO] [stdout] | [INFO] [stdout] 216 | unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 223 | let name = unsafe { std::ffi::CStr::from_ptr(name.as_ptr()).to_str().unwrap() }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CLIP_NEAR_DEFAULT` [INFO] [stdout] --> src/ruckus.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | const CLIP_NEAR_DEFAULT: f32 = 0.1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CLIP_FAR_DEFAULT` [INFO] [stdout] --> src/ruckus.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | const CLIP_FAR_DEFAULT: f32 = 1000.; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `instanced_mat_buffer` [INFO] [stdout] --> src/ruckus.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | instanced_mat_buffer: VertexBuffer, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `instanced_shader` [INFO] [stdout] --> src/ruckus.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | instanced_shader: Shader, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/sys.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | unsafe { &((*(0 as *const $ty)).$field) as *const _ as usize } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/buffers.rs:225:120 [INFO] [stdout] | [INFO] [stdout] 225 | ...loat, stride: vert_size, offset: crate::memory_offset!(Vertex2D, text_coord), is_instanced: false }; [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 `crate::memory_offset` (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/sys.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | unsafe { &((*(0 as *const $ty)).$field) as *const _ as usize } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/buffers.rs:226:120 [INFO] [stdout] | [INFO] [stdout] 226 | ...:Float, stride: vert_size, offset: crate::memory_offset!(Vertex2D, color), is_instanced: false }; [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `crate::memory_offset` (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/sys.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | unsafe { &((*(0 as *const $ty)).$field) as *const _ as usize } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/buffers.rs:225:120 [INFO] [stdout] | [INFO] [stdout] 225 | ...loat, stride: vert_size, offset: crate::memory_offset!(Vertex2D, text_coord), is_instanced: false }; [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 `crate::memory_offset` (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/sys.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | unsafe { &((*(0 as *const $ty)).$field) as *const _ as usize } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/buffers.rs:226:120 [INFO] [stdout] | [INFO] [stdout] 226 | ...:Float, stride: vert_size, offset: crate::memory_offset!(Vertex2D, color), is_instanced: false }; [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `crate::memory_offset` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Migrating examples/sprite.rs from 2018 edition to 2021 [INFO] [stderr] Fixed examples/sprite.rs (5 fixes) [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> examples/sprite.rs:71:32 [INFO] [stdout] | [INFO] [stdout] 59 | unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 71 | let windowed_context = unsafe { windowed_context.make_current().unwrap() }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SCR_WIDTH` [INFO] [stdout] --> examples/sprite.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | const SCR_WIDTH: u32 = 800; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SCR_HEIGHT` [INFO] [stdout] --> examples/sprite.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | const SCR_HEIGHT: u32 = 600; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `GL_CONTEXT` [INFO] [stdout] --> examples/sprite.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | static mut GL_CONTEXT: Option = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 42.73s [INFO] [stderr] Running `cargo check` to verify 2021 [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling ruckus-2d v0.1.1 (/tmp/fixit) [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/opengl.rs:223:24 [INFO] [stdout] | [INFO] [stdout] 216 | unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 223 | let name = unsafe { std::ffi::CStr::from_ptr(name.as_ptr()).to_str().unwrap() }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CLIP_NEAR_DEFAULT` [INFO] [stdout] --> src/ruckus.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | const CLIP_NEAR_DEFAULT: f32 = 0.1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CLIP_FAR_DEFAULT` [INFO] [stdout] --> src/ruckus.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | const CLIP_FAR_DEFAULT: f32 = 1000.; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `instanced_mat_buffer` [INFO] [stdout] --> src/ruckus.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | instanced_mat_buffer: VertexBuffer, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `instanced_shader` [INFO] [stdout] --> src/ruckus.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | instanced_shader: Shader, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/opengl.rs:223:24 [INFO] [stdout] | [INFO] [stdout] 216 | unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 223 | let name = unsafe { std::ffi::CStr::from_ptr(name.as_ptr()).to_str().unwrap() }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CLIP_NEAR_DEFAULT` [INFO] [stdout] --> src/ruckus.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | const CLIP_NEAR_DEFAULT: f32 = 0.1; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `CLIP_FAR_DEFAULT` [INFO] [stdout] --> src/ruckus.rs:20:1 [INFO] [stdout] | [INFO] [stdout] 20 | const CLIP_FAR_DEFAULT: f32 = 1000.; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `instanced_mat_buffer` [INFO] [stdout] --> src/ruckus.rs:61:5 [INFO] [stdout] | [INFO] [stdout] 61 | instanced_mat_buffer: VertexBuffer, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `instanced_shader` [INFO] [stdout] --> src/ruckus.rs:64:5 [INFO] [stdout] | [INFO] [stdout] 64 | instanced_shader: Shader, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/sys.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | unsafe { &((*(0 as *const $ty)).$field) as *const _ as usize } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/buffers.rs:225:120 [INFO] [stdout] | [INFO] [stdout] 225 | ...loat, stride: vert_size, offset: crate::memory_offset!(Vertex2D, text_coord), is_instanced: false }; [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 `crate::memory_offset` (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/sys.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | unsafe { &((*(0 as *const $ty)).$field) as *const _ as usize } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/buffers.rs:226:120 [INFO] [stdout] | [INFO] [stdout] 226 | ...:Float, stride: vert_size, offset: crate::memory_offset!(Vertex2D, color), is_instanced: false }; [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `crate::memory_offset` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: dereferencing a null pointer [INFO] [stdout] --> src/sys.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | unsafe { &((*(0 as *const $ty)).$field) as *const _ as usize } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/buffers.rs:225:120 [INFO] [stdout] | [INFO] [stdout] 225 | ...loat, stride: vert_size, offset: crate::memory_offset!(Vertex2D, text_coord), is_instanced: false }; [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 `crate::memory_offset` (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/sys.rs:16:20 [INFO] [stdout] | [INFO] [stdout] 16 | unsafe { &((*(0 as *const $ty)).$field) as *const _ as usize } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ this code causes undefined behavior when executed [INFO] [stdout] | [INFO] [stdout] ::: src/buffers.rs:226:120 [INFO] [stdout] | [INFO] [stdout] 226 | ...:Float, stride: vert_size, offset: crate::memory_offset!(Vertex2D, color), is_instanced: false }; [INFO] [stdout] | -------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `crate::memory_offset` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> examples/sprite.rs:71:32 [INFO] [stdout] | [INFO] [stdout] 59 | unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 71 | let windowed_context = unsafe { windowed_context.make_current().unwrap() }; [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SCR_WIDTH` [INFO] [stdout] --> examples/sprite.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | const SCR_WIDTH: u32 = 800; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant is never used: `SCR_HEIGHT` [INFO] [stdout] --> examples/sprite.rs:16:1 [INFO] [stdout] | [INFO] [stdout] 16 | const SCR_HEIGHT: u32 = 600; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static is never used: `GL_CONTEXT` [INFO] [stdout] --> examples/sprite.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | static mut GL_CONTEXT: Option = None; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 11.25s [INFO] running `Command { std: "docker" "inspect" "d86ac1ab5de8aa366602235f471be2f0ea4a0ddf92cb926f561985c5f8d2b661", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d86ac1ab5de8aa366602235f471be2f0ea4a0ddf92cb926f561985c5f8d2b661", kill_on_drop: false }` [INFO] [stdout] d86ac1ab5de8aa366602235f471be2f0ea4a0ddf92cb926f561985c5f8d2b661