[INFO] fetching crate servo-glutin 0.15.0... [INFO] checking servo-glutin-0.15.0 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] extracting crate servo-glutin 0.15.0 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate servo-glutin 0.15.0 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate servo-glutin 0.15.0 [INFO] finished tweaking crates.io crate servo-glutin 0.15.0 [INFO] tweaked toml for crates.io crate servo-glutin 0.15.0 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 58 packages to latest compatible versions [INFO] [stderr] Adding bitflags v1.3.2 (available: v2.6.0) [INFO] [stderr] Adding cgl v0.2.3 (available: v0.3.2) [INFO] [stderr] Adding cocoa v0.14.0 (available: v0.26.0) [INFO] [stderr] Adding core-foundation v0.5.1 (available: v0.10.0) [INFO] [stderr] Adding core-foundation-sys v0.5.1 (available: v0.8.7) [INFO] [stderr] Adding core-graphics v0.13.0 (available: v0.24.0) [INFO] [stderr] Adding deflate v0.7.20 (available: v1.0.0) [INFO] [stderr] Adding foreign-types v0.3.2 (available: v0.5.0) [INFO] [stderr] Adding foreign-types-shared v0.1.1 (available: v0.3.1) [INFO] [stderr] Adding gif v0.9.2 (available: v0.13.1) [INFO] [stderr] Adding gl_generator v0.9.0 (available: v0.14.0) [INFO] [stderr] Adding gl_generator v0.13.1 (available: v0.14.0) [INFO] [stderr] Adding gleam v0.6.19 (available: v0.15.0) [INFO] [stderr] Adding image v0.18.0 (available: v0.25.2) [INFO] [stderr] Adding inflate v0.3.4 (available: v0.4.5) [INFO] [stderr] Adding jpeg-decoder v0.1.22 (available: v0.3.1) [INFO] [stderr] Adding khronos_api v2.2.0 (available: v3.1.0) [INFO] [stderr] Adding malloc_buf v0.0.6 (available: v1.0.0) [INFO] [stderr] Adding num-rational v0.1.42 (available: v0.4.2) [INFO] [stderr] Adding num-traits v0.1.43 (available: v0.2.19) [INFO] [stderr] Adding png v0.11.0 (available: v0.17.13) [INFO] [stderr] Adding winapi v0.2.8 (available: v0.3.9) [INFO] [stderr] Adding xml-rs v0.7.0 (available: v0.8.22) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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] Downloading crates ... [INFO] [stderr] Downloaded user32-sys v0.2.0 [INFO] [stderr] Downloaded gif v0.9.2 [INFO] [stderr] Downloaded png v0.11.0 [INFO] [stderr] Downloaded dwmapi-sys v0.1.1 [INFO] [stderr] Downloaded shell32-sys v0.1.2 [INFO] [stderr] Downloaded gdi32-sys v0.2.0 [INFO] [stderr] Downloaded inflate v0.3.4 [INFO] [stderr] Downloaded core-graphics v0.13.0 [INFO] [stderr] Downloaded core-foundation-sys v0.5.1 [INFO] [stderr] Downloaded cocoa v0.14.0 [INFO] [stderr] Downloaded core-foundation v0.5.1 [INFO] [stderr] Downloaded image v0.18.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 4694fdbb78e9571c61f9e4aec289be4fbd1ee88aa26e8d43bd17190ccc20dd3e [INFO] running `Command { std: "docker" "start" "-a" "4694fdbb78e9571c61f9e4aec289be4fbd1ee88aa26e8d43bd17190ccc20dd3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "4694fdbb78e9571c61f9e4aec289be4fbd1ee88aa26e8d43bd17190ccc20dd3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "4694fdbb78e9571c61f9e4aec289be4fbd1ee88aa26e8d43bd17190ccc20dd3e", kill_on_drop: false }` [INFO] [stdout] 4694fdbb78e9571c61f9e4aec289be4fbd1ee88aa26e8d43bd17190ccc20dd3e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d373f23c91efad955b4abb92063ff56f7c8bafbc6d72b19ccc4cd6e028d78ccf [INFO] running `Command { std: "docker" "start" "-a" "d373f23c91efad955b4abb92063ff56f7c8bafbc6d72b19ccc4cd6e028d78ccf", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2021 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling khronos_api v2.2.0 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Checking deflate v0.7.20 [INFO] [stderr] Checking inflate v0.3.4 [INFO] [stderr] Checking gif v0.9.2 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking jpeg-decoder v0.1.22 [INFO] [stderr] Compiling xml-rs v0.7.0 [INFO] [stderr] Checking osmesa-sys v0.1.2 [INFO] [stderr] Compiling gl_generator v0.9.0 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking num-traits v0.1.43 [INFO] [stderr] Checking enum_primitive v0.1.1 [INFO] [stderr] Compiling servo-glutin v0.15.0 (/opt/rustwide/workdir) [INFO] [stderr] Checking num-iter v0.1.45 [INFO] [stderr] Checking num-rational v0.1.42 [INFO] [stderr] Checking png v0.11.0 [INFO] [stderr] Checking image v0.18.0 [INFO] [stdout] error: attribute must be of the form `#[link(name = "...", /*opt*/ kind = "dylib|static|...", /*opt*/ wasm_import_module = "...", /*opt*/ import_name_type = "decorated|noprefix|undecorated")]` [INFO] [stdout] --> src/api/dlopen.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[link="dl"] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #57571 [INFO] [stdout] = note: `#[deny(ill_formed_attribute_input)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::Ordering` [INFO] [stdout] --> src/lib.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | use std::cmp::Ordering; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: attribute must be of the form `#[link(name = "...", /*opt*/ kind = "dylib|static|...", /*opt*/ wasm_import_module = "...", /*opt*/ import_name_type = "decorated|noprefix|undecorated")]` [INFO] [stdout] --> src/api/dlopen.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | #[link="dl"] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! [INFO] [stdout] = note: for more information, see issue #57571 [INFO] [stdout] = note: `#[deny(ill_formed_attribute_input)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::Ordering` [INFO] [stdout] --> src/lib.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | use std::cmp::Ordering; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/api/caca/ffi.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / shared_library!(LibCaca, "libcaca.so.0", [INFO] [stdout] 10 | | pub fn caca_create_display(cv: *mut caca_canvas_t) -> *mut caca_display_t, [INFO] [stdout] 11 | | pub fn caca_free_display(dp: *mut caca_display_t) -> libc::c_int, [INFO] [stdout] 12 | | pub fn caca_get_canvas(dp: *mut caca_display_t) -> *mut caca_canvas_t, [INFO] [stdout] ... | [INFO] [stdout] 22 | | pub fn caca_get_canvas_height(cv: *mut caca_canvas_t) -> libc::c_int, [INFO] [stdout] 23 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `shared_library` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/api/egl/mod.rs:235:13 [INFO] [stdout] | [INFO] [stdout] 235 | try!(choose_fbconfig(&egl, display, &egl_version, api, version, pf_reqs)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/api/egl/mod.rs:428:17 [INFO] [stdout] | [INFO] [stdout] 428 | try!(create_context(&self.egl, self.display, &self.egl_version, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/api/egl/mod.rs:619:6 [INFO] [stdout] | [INFO] [stdout] 619 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `slice` [INFO] [stdout] --> src/api/glx/mod.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 18 | use std::{mem, ptr, slice}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `platform::Window as PlatformWindow` [INFO] [stdout] --> src/api/glx/mod.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use platform::Window as PlatformWindow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/api/glx/mod.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | try!(choose_fbconfig(&glx, &extensions, xlib, display, screen_id, pf_reqs) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/api/glx/mod.rs:195:21 [INFO] [stdout] | [INFO] [stdout] 195 | try!(create_context(&self.glx, &extra_functions, &self.extensions, (1, 0), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/api/glx/mod.rs:202:17 [INFO] [stdout] | [INFO] [stdout] 202 | try!(create_context(&self.glx, &extra_functions, &self.extensions, (major, minor), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/api/glx/mod.rs:209:17 [INFO] [stdout] | [INFO] [stdout] 209 | try!(create_context(&self.glx, &extra_functions, &self.extensions, (major, minor), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Context` and `XWindow` [INFO] [stdout] --> src/api/x11/mod.rs:4:32 [INFO] [stdout] | [INFO] [stdout] 4 | pub use self::window::{Window, XWindow, PollEventsIterator, WaitEventsIterator, Context, WindowProxy}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/api/caca/ffi.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / shared_library!(LibCaca, "libcaca.so.0", [INFO] [stdout] 10 | | pub fn caca_create_display(cv: *mut caca_canvas_t) -> *mut caca_display_t, [INFO] [stdout] 11 | | pub fn caca_free_display(dp: *mut caca_display_t) -> libc::c_int, [INFO] [stdout] 12 | | pub fn caca_get_canvas(dp: *mut caca_display_t) -> *mut caca_canvas_t, [INFO] [stdout] ... | [INFO] [stdout] 22 | | pub fn caca_get_canvas_height(cv: *mut caca_canvas_t) -> libc::c_int, [INFO] [stdout] 23 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `shared_library` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `x11_dl::xinput::*` [INFO] [stdout] --> src/api/x11/ffi.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use x11_dl::xinput::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/api/egl/mod.rs:235:13 [INFO] [stdout] | [INFO] [stdout] 235 | try!(choose_fbconfig(&egl, display, &egl_version, api, version, pf_reqs)) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/api/egl/mod.rs:428:17 [INFO] [stdout] | [INFO] [stdout] 428 | try!(create_context(&self.egl, self.display, &self.egl_version, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/api/x11/window.rs:244:50 [INFO] [stdout] | [INFO] [stdout] 244 | ... ffi::XI_DeviceChanged...ffi::XI_LASTEVENT => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/api/x11/window.rs:381:36 [INFO] [stdout] | [INFO] [stdout] 381 | ... Prototype::Glx(try!(GlxContext::new(glx.clone(), &display.xlib, pf_reqs, &builder_clone_opengl_glx, display.display, screen_id))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/api/x11/window.rs:383:36 [INFO] [stdout] | [INFO] [stdout] 383 | ... Prototype::Egl(try!(EglContext::new(egl.clone(), pf_reqs, &builder_clone_opengl_egl, egl::NativeDisplay::X11(Some(display.display a... [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary trailing semicolon [INFO] [stdout] --> src/api/egl/mod.rs:619:6 [INFO] [stdout] | [INFO] [stdout] 619 | }; [INFO] [stdout] | ^ help: remove this semicolon [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(redundant_semicolons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/api/x11/window.rs:390:36 [INFO] [stdout] | [INFO] [stdout] 390 | ... Prototype::Egl(try!(EglContext::new(egl.clone(), pf_reqs, &builder_clone_opengl_egl, egl::NativeDisplay::X11(Some(display.display a... [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `slice` [INFO] [stdout] --> src/api/glx/mod.rs:18:21 [INFO] [stdout] | [INFO] [stdout] 18 | use std::{mem, ptr, slice}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/api/x11/window.rs:642:30 [INFO] [stdout] | [INFO] [stdout] 642 | Context::Glx(try!(ctxt.finish(window))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/api/x11/window.rs:645:30 [INFO] [stdout] | [INFO] [stdout] 645 | Context::Egl(try!(ctxt.finish(window as *const libc::c_void))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `platform::Window as PlatformWindow` [INFO] [stdout] --> src/api/glx/mod.rs:22:5 [INFO] [stdout] | [INFO] [stdout] 22 | use platform::Window as PlatformWindow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/api/glx/mod.rs:65:13 [INFO] [stdout] | [INFO] [stdout] 65 | try!(choose_fbconfig(&glx, &extensions, xlib, display, screen_id, pf_reqs) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/api/x11/window.rs:938:17 [INFO] [stdout] | [INFO] [stdout] 938 | /// Resize cursors [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 939 | MouseCursor::EResize => load("right_side"), [INFO] [stdout] | ------------------------------------------ rustdoc does not generate documentation for match arms [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/api/glx/mod.rs:195:21 [INFO] [stdout] | [INFO] [stdout] 195 | try!(create_context(&self.glx, &extra_functions, &self.extensions, (1, 0), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/api/x11/xdisplay.rs:33:20 [INFO] [stdout] | [INFO] [stdout] 33 | let xlib = try!(ffi::Xlib::open()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/api/x11/xdisplay.rs:34:23 [INFO] [stdout] | [INFO] [stdout] 34 | let xcursor = try!(ffi::Xcursor::open()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/api/glx/mod.rs:202:17 [INFO] [stdout] | [INFO] [stdout] 202 | try!(create_context(&self.glx, &extra_functions, &self.extensions, (major, minor), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/api/x11/xdisplay.rs:35:25 [INFO] [stdout] | [INFO] [stdout] 35 | let xf86vmode = try!(ffi::Xf86vmode::open()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/api/glx/mod.rs:209:17 [INFO] [stdout] | [INFO] [stdout] 209 | try!(create_context(&self.glx, &extra_functions, &self.extensions, (major, minor), [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/api/x11/xdisplay.rs:36:23 [INFO] [stdout] | [INFO] [stdout] 36 | let xinput2 = try!(ffi::XInput2::open()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Context` and `XWindow` [INFO] [stdout] --> src/api/x11/mod.rs:4:32 [INFO] [stdout] | [INFO] [stdout] 4 | pub use self::window::{Window, XWindow, PollEventsIterator, WaitEventsIterator, Context, WindowProxy}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Event` [INFO] [stdout] --> src/platform/linux/api_dispatch.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use Event; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `x11_dl::xinput::*` [INFO] [stdout] --> src/api/x11/ffi.rs:5:9 [INFO] [stdout] | [INFO] [stdout] 5 | pub use x11_dl::xinput::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/api/x11/window.rs:244:50 [INFO] [stdout] | [INFO] [stdout] 244 | ... ffi::XI_DeviceChanged...ffi::XI_LASTEVENT => { [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/api/x11/window.rs:381:36 [INFO] [stdout] | [INFO] [stdout] 381 | ... Prototype::Glx(try!(GlxContext::new(glx.clone(), &display.xlib, pf_reqs, &builder_clone_opengl_glx, display.display, screen_id))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/api/x11/window.rs:383:36 [INFO] [stdout] | [INFO] [stdout] 383 | ... Prototype::Egl(try!(EglContext::new(egl.clone(), pf_reqs, &builder_clone_opengl_egl, egl::NativeDisplay::X11(Some(display.display a... [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/api/x11/window.rs:390:36 [INFO] [stdout] | [INFO] [stdout] 390 | ... Prototype::Egl(try!(EglContext::new(egl.clone(), pf_reqs, &builder_clone_opengl_egl, egl::NativeDisplay::X11(Some(display.display a... [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/api/x11/window.rs:642:30 [INFO] [stdout] | [INFO] [stdout] 642 | Context::Glx(try!(ctxt.finish(window))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/api/x11/window.rs:645:30 [INFO] [stdout] | [INFO] [stdout] 645 | Context::Egl(try!(ctxt.finish(window as *const libc::c_void))) [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused doc comment [INFO] [stdout] --> src/api/x11/window.rs:938:17 [INFO] [stdout] | [INFO] [stdout] 938 | /// Resize cursors [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 939 | MouseCursor::EResize => load("right_side"), [INFO] [stdout] | ------------------------------------------ rustdoc does not generate documentation for match arms [INFO] [stdout] | [INFO] [stdout] = help: use `//` for a plain comment [INFO] [stdout] = note: `#[warn(unused_doc_comments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/api/x11/xdisplay.rs:33:20 [INFO] [stdout] | [INFO] [stdout] 33 | let xlib = try!(ffi::Xlib::open()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/api/x11/xdisplay.rs:34:23 [INFO] [stdout] | [INFO] [stdout] 34 | let xcursor = try!(ffi::Xcursor::open()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/api/x11/xdisplay.rs:35:25 [INFO] [stdout] | [INFO] [stdout] 35 | let xf86vmode = try!(ffi::Xf86vmode::open()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/api/x11/xdisplay.rs:36:23 [INFO] [stdout] | [INFO] [stdout] 36 | let xinput2 = try!(ffi::XInput2::open()); [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Event` [INFO] [stdout] --> src/platform/linux/api_dispatch.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use Event; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/api/caca/ffi.rs:19:64 [INFO] [stdout] | [INFO] [stdout] 19 | ... pitch: libc::c_int, rmask: libc::uint32_t, gmask: libc::uint32_t, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/api/caca/ffi.rs:19:87 [INFO] [stdout] | [INFO] [stdout] 19 | ... pitch: libc::c_int, rmask: libc::uint32_t, gmask: libc::uint32_t, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/api/caca/ffi.rs:20:44 [INFO] [stdout] | [INFO] [stdout] 20 | ... bmask: libc::uint32_t, amask: libc::uint32_t) -> *mut caca_dither_t, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/api/caca/ffi.rs:20:67 [INFO] [stdout] | [INFO] [stdout] 20 | ... bmask: libc::uint32_t, amask: libc::uint32_t) -> *mut caca_dither_t, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/api/caca/ffi.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / shared_library!(LibCaca, "libcaca.so.0", [INFO] [stdout] 10 | | pub fn caca_create_display(cv: *mut caca_canvas_t) -> *mut caca_display_t, [INFO] [stdout] 11 | | pub fn caca_free_display(dp: *mut caca_display_t) -> libc::c_int, [INFO] [stdout] 12 | | pub fn caca_get_canvas(dp: *mut caca_display_t) -> *mut caca_canvas_t, [INFO] [stdout] ... | [INFO] [stdout] 22 | | pub fn caca_get_canvas_height(cv: *mut caca_canvas_t) -> libc::c_int, [INFO] [stdout] 23 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `shared_library` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/api/caca/ffi.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / shared_library!(LibCaca, "libcaca.so.0", [INFO] [stdout] 10 | | pub fn caca_create_display(cv: *mut caca_canvas_t) -> *mut caca_display_t, [INFO] [stdout] 11 | | pub fn caca_free_display(dp: *mut caca_display_t) -> libc::c_int, [INFO] [stdout] 12 | | pub fn caca_get_canvas(dp: *mut caca_display_t) -> *mut caca_canvas_t, [INFO] [stdout] ... | [INFO] [stdout] 22 | | pub fn caca_get_canvas_height(cv: *mut caca_canvas_t) -> libc::c_int, [INFO] [stdout] 23 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `shared_library` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/api/egl/mod.rs:597:30 [INFO] [stdout] | [INFO] [stdout] 597 | let mut config_id = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/api/egl/mod.rs:598:32 [INFO] [stdout] | [INFO] [stdout] 598 | let mut num_configs = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/api/egl/mod.rs:610:38 [INFO] [stdout] | [INFO] [stdout] 610 | let mut value = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 622 | hardware_accelerated: attrib!(egl, display, config_id, ffi::egl::CONFIG_CAVEAT) [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `attrib` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/api/egl/mod.rs:610:38 [INFO] [stdout] | [INFO] [stdout] 610 | let mut value = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 624 | color_bits: attrib!(egl, display, config_id, ffi::egl::RED_SIZE) as u8 + [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `attrib` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/api/egl/mod.rs:610:38 [INFO] [stdout] | [INFO] [stdout] 610 | let mut value = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 625 | attrib!(egl, display, config_id, ffi::egl::BLUE_SIZE) as u8 + [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `attrib` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/api/egl/mod.rs:610:38 [INFO] [stdout] | [INFO] [stdout] 610 | let mut value = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 626 | attrib!(egl, display, config_id, ffi::egl::GREEN_SIZE) as u8, [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `attrib` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/api/egl/mod.rs:610:38 [INFO] [stdout] | [INFO] [stdout] 610 | let mut value = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 627 | alpha_bits: attrib!(egl, display, config_id, ffi::egl::ALPHA_SIZE) as u8, [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `attrib` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/api/egl/mod.rs:610:38 [INFO] [stdout] | [INFO] [stdout] 610 | let mut value = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 628 | depth_bits: attrib!(egl, display, config_id, ffi::egl::DEPTH_SIZE) as u8, [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `attrib` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/api/egl/mod.rs:610:38 [INFO] [stdout] | [INFO] [stdout] 610 | let mut value = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 629 | stencil_bits: attrib!(egl, display, config_id, ffi::egl::STENCIL_SIZE) as u8, [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `attrib` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/api/egl/mod.rs:610:38 [INFO] [stdout] | [INFO] [stdout] 610 | let mut value = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 632 | multisampling: match attrib!(egl, display, config_id, ffi::egl::SAMPLES) { [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `attrib` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/api/egl/mod.rs:163:59 [INFO] [stdout] | [INFO] [stdout] 163 | let mut major: ffi::egl::types::EGLint = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/api/egl/mod.rs:164:59 [INFO] [stdout] | [INFO] [stdout] 164 | let mut minor: ffi::egl::types::EGLint = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/api/egl/mod.rs:381:39 [INFO] [stdout] | [INFO] [stdout] 381 | let mut value = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint64_t`: Use u64 instead. [INFO] [stdout] --> src/api/egl/ffi.rs:24:35 [INFO] [stdout] | [INFO] [stdout] 24 | pub type khronos_uint64_t = libc::uint64_t; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead. [INFO] [stdout] --> src/api/egl/ffi.rs:26:25 [INFO] [stdout] | [INFO] [stdout] 26 | pub type EGLint = libc::int32_t; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/api/osmesa/mod.rs:98:55 [INFO] [stdout] | [INFO] [stdout] 98 | buffer: ::std::iter::repeat(unsafe { mem::uninitialized() }) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/api/x11/input.rs:145:46 [INFO] [stdout] | [INFO] [stdout] 145 | let mut buffer: [u8; 16] = [mem::uninitialized(); 16]; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/api/x11/window.rs:184:41 [INFO] [stdout] | [INFO] [stdout] 184 | let mut xev = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/api/x11/window.rs:284:41 [INFO] [stdout] | [INFO] [stdout] 284 | let mut xev = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/api/x11/window.rs:339:50 [INFO] [stdout] | [INFO] [stdout] 339 | let mut mode_num: libc::c_int = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/api/x11/window.rs:340:70 [INFO] [stdout] | [INFO] [stdout] 340 | let mut modes: *mut *mut ffi::XF86VidModeModeInfo = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/api/x11/window.rs:689:54 [INFO] [stdout] | [INFO] [stdout] 689 | let mut window_attributes = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/api/x11/window.rs:814:46 [INFO] [stdout] | [INFO] [stdout] 814 | let mut root: ffi::Window = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/api/x11/window.rs:815:43 [INFO] [stdout] | [INFO] [stdout] 815 | let mut x: libc::c_int = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/api/x11/window.rs:816:43 [INFO] [stdout] | [INFO] [stdout] 816 | let mut y: libc::c_int = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/api/x11/window.rs:817:48 [INFO] [stdout] | [INFO] [stdout] 817 | let mut width: libc::c_uint = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/api/x11/window.rs:818:49 [INFO] [stdout] | [INFO] [stdout] 818 | let mut height: libc::c_uint = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/api/x11/window.rs:819:49 [INFO] [stdout] | [INFO] [stdout] 819 | let mut border: libc::c_uint = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/api/x11/window.rs:820:48 [INFO] [stdout] | [INFO] [stdout] 820 | let mut depth: libc::c_uint = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/api/x11/window.rs:1007:49 [INFO] [stdout] | [INFO] [stdout] 1007 | let dummy_color: ffi::XColor = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:161:28 [INFO] [stdout] | [INFO] [stdout] 161 | NoBackendAvailable(Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 161 | NoBackendAvailable(Box), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/api/caca/ffi.rs:19:64 [INFO] [stdout] | [INFO] [stdout] 19 | ... pitch: libc::c_int, rmask: libc::uint32_t, gmask: libc::uint32_t, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/api/caca/ffi.rs:19:87 [INFO] [stdout] | [INFO] [stdout] 19 | ... pitch: libc::c_int, rmask: libc::uint32_t, gmask: libc::uint32_t, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/api/caca/ffi.rs:20:44 [INFO] [stdout] | [INFO] [stdout] 20 | ... bmask: libc::uint32_t, amask: libc::uint32_t) -> *mut caca_dither_t, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/api/caca/ffi.rs:20:67 [INFO] [stdout] | [INFO] [stdout] 20 | ... bmask: libc::uint32_t, amask: libc::uint32_t) -> *mut caca_dither_t, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/api/caca/ffi.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / shared_library!(LibCaca, "libcaca.so.0", [INFO] [stdout] 10 | | pub fn caca_create_display(cv: *mut caca_canvas_t) -> *mut caca_display_t, [INFO] [stdout] 11 | | pub fn caca_free_display(dp: *mut caca_display_t) -> libc::c_int, [INFO] [stdout] 12 | | pub fn caca_get_canvas(dp: *mut caca_display_t) -> *mut caca_canvas_t, [INFO] [stdout] ... | [INFO] [stdout] 22 | | pub fn caca_get_canvas_height(cv: *mut caca_canvas_t) -> libc::c_int, [INFO] [stdout] 23 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `shared_library` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> src/api/caca/ffi.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / shared_library!(LibCaca, "libcaca.so.0", [INFO] [stdout] 10 | | pub fn caca_create_display(cv: *mut caca_canvas_t) -> *mut caca_display_t, [INFO] [stdout] 11 | | pub fn caca_free_display(dp: *mut caca_display_t) -> libc::c_int, [INFO] [stdout] 12 | | pub fn caca_get_canvas(dp: *mut caca_display_t) -> *mut caca_canvas_t, [INFO] [stdout] ... | [INFO] [stdout] 22 | | pub fn caca_get_canvas_height(cv: *mut caca_canvas_t) -> libc::c_int, [INFO] [stdout] 23 | | ); [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `shared_library` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/api/egl/mod.rs:597:30 [INFO] [stdout] | [INFO] [stdout] 597 | let mut config_id = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/api/egl/mod.rs:598:32 [INFO] [stdout] | [INFO] [stdout] 598 | let mut num_configs = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/api/egl/mod.rs:610:38 [INFO] [stdout] | [INFO] [stdout] 610 | let mut value = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 622 | hardware_accelerated: attrib!(egl, display, config_id, ffi::egl::CONFIG_CAVEAT) [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `attrib` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/api/egl/mod.rs:610:38 [INFO] [stdout] | [INFO] [stdout] 610 | let mut value = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 624 | color_bits: attrib!(egl, display, config_id, ffi::egl::RED_SIZE) as u8 + [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `attrib` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/api/egl/mod.rs:610:38 [INFO] [stdout] | [INFO] [stdout] 610 | let mut value = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 625 | attrib!(egl, display, config_id, ffi::egl::BLUE_SIZE) as u8 + [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `attrib` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/api/egl/mod.rs:610:38 [INFO] [stdout] | [INFO] [stdout] 610 | let mut value = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 626 | attrib!(egl, display, config_id, ffi::egl::GREEN_SIZE) as u8, [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `attrib` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/api/egl/mod.rs:610:38 [INFO] [stdout] | [INFO] [stdout] 610 | let mut value = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 627 | alpha_bits: attrib!(egl, display, config_id, ffi::egl::ALPHA_SIZE) as u8, [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `attrib` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/api/egl/mod.rs:610:38 [INFO] [stdout] | [INFO] [stdout] 610 | let mut value = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 628 | depth_bits: attrib!(egl, display, config_id, ffi::egl::DEPTH_SIZE) as u8, [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `attrib` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/api/egl/mod.rs:610:38 [INFO] [stdout] | [INFO] [stdout] 610 | let mut value = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 629 | stencil_bits: attrib!(egl, display, config_id, ffi::egl::STENCIL_SIZE) as u8, [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `attrib` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/api/egl/mod.rs:610:38 [INFO] [stdout] | [INFO] [stdout] 610 | let mut value = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 632 | multisampling: match attrib!(egl, display, config_id, ffi::egl::SAMPLES) { [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `attrib` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/api/egl/mod.rs:163:59 [INFO] [stdout] | [INFO] [stdout] 163 | let mut major: ffi::egl::types::EGLint = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/api/egl/mod.rs:164:59 [INFO] [stdout] | [INFO] [stdout] 164 | let mut minor: ffi::egl::types::EGLint = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/api/egl/mod.rs:381:39 [INFO] [stdout] | [INFO] [stdout] 381 | let mut value = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint64_t`: Use u64 instead. [INFO] [stdout] --> src/api/egl/ffi.rs:24:35 [INFO] [stdout] | [INFO] [stdout] 24 | pub type khronos_uint64_t = libc::uint64_t; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::int32_t`: Use i32 instead. [INFO] [stdout] --> src/api/egl/ffi.rs:26:25 [INFO] [stdout] | [INFO] [stdout] 26 | pub type EGLint = libc::int32_t; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/api/osmesa/mod.rs:98:55 [INFO] [stdout] | [INFO] [stdout] 98 | buffer: ::std::iter::repeat(unsafe { mem::uninitialized() }) [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/api/x11/input.rs:145:46 [INFO] [stdout] | [INFO] [stdout] 145 | let mut buffer: [u8; 16] = [mem::uninitialized(); 16]; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/api/x11/window.rs:184:41 [INFO] [stdout] | [INFO] [stdout] 184 | let mut xev = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/api/x11/window.rs:284:41 [INFO] [stdout] | [INFO] [stdout] 284 | let mut xev = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/api/x11/window.rs:339:50 [INFO] [stdout] | [INFO] [stdout] 339 | let mut mode_num: libc::c_int = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/api/x11/window.rs:340:70 [INFO] [stdout] | [INFO] [stdout] 340 | let mut modes: *mut *mut ffi::XF86VidModeModeInfo = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/api/x11/window.rs:689:54 [INFO] [stdout] | [INFO] [stdout] 689 | let mut window_attributes = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/api/x11/window.rs:814:46 [INFO] [stdout] | [INFO] [stdout] 814 | let mut root: ffi::Window = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/api/x11/window.rs:815:43 [INFO] [stdout] | [INFO] [stdout] 815 | let mut x: libc::c_int = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/api/x11/window.rs:816:43 [INFO] [stdout] | [INFO] [stdout] 816 | let mut y: libc::c_int = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/api/x11/window.rs:817:48 [INFO] [stdout] | [INFO] [stdout] 817 | let mut width: libc::c_uint = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/api/x11/window.rs:818:49 [INFO] [stdout] | [INFO] [stdout] 818 | let mut height: libc::c_uint = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/api/x11/window.rs:819:49 [INFO] [stdout] | [INFO] [stdout] 819 | let mut border: libc::c_uint = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/api/x11/window.rs:820:48 [INFO] [stdout] | [INFO] [stdout] 820 | let mut depth: libc::c_uint = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `std::mem::uninitialized`: use `mem::MaybeUninit` instead [INFO] [stdout] --> src/api/x11/window.rs:1007:49 [INFO] [stdout] | [INFO] [stdout] 1007 | let dummy_color: ffi::XColor = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:161:28 [INFO] [stdout] | [INFO] [stdout] 161 | NoBackendAvailable(Box), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 161 | NoBackendAvailable(Box), [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:194:32 [INFO] [stdout] | [INFO] [stdout] 194 | fn cause(&self) -> Option<&std::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 194 | fn cause(&self) -> Option<&dyn std::error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/lib.rs:194:32 [INFO] [stdout] | [INFO] [stdout] 194 | fn cause(&self) -> Option<&std::error::Error> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 194 | fn cause(&self) -> Option<&dyn std::error::Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/servo-glutin-1dd9c4e7de687423/out/egl_bindings.rs:379:47 [INFO] [stdout] | [INFO] [stdout] 379 | fn do_metaloadfn(loadfn: &mut FnMut(&'static str) -> *const __gl_imports::raw::c_void, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 379 | fn do_metaloadfn(loadfn: &mut dyn FnMut(&'static str) -> *const __gl_imports::raw::c_void, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/servo-glutin-1dd9c4e7de687423/out/glx_bindings.rs:431:47 [INFO] [stdout] | [INFO] [stdout] 431 | fn do_metaloadfn(loadfn: &mut FnMut(&'static str) -> *const __gl_imports::raw::c_void, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 431 | fn do_metaloadfn(loadfn: &mut dyn FnMut(&'static str) -> *const __gl_imports::raw::c_void, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/servo-glutin-1dd9c4e7de687423/out/glx_extra_bindings.rs:457:47 [INFO] [stdout] | [INFO] [stdout] 457 | fn do_metaloadfn(loadfn: &mut FnMut(&'static str) -> *const __gl_imports::raw::c_void, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 457 | fn do_metaloadfn(loadfn: &mut dyn FnMut(&'static str) -> *const __gl_imports::raw::c_void, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/api/x11/xdisplay.rs:171:32 [INFO] [stdout] | [INFO] [stdout] 171 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 171 | fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/servo-glutin-1dd9c4e7de687423/out/egl_bindings.rs:379:47 [INFO] [stdout] | [INFO] [stdout] 379 | fn do_metaloadfn(loadfn: &mut FnMut(&'static str) -> *const __gl_imports::raw::c_void, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 379 | fn do_metaloadfn(loadfn: &mut dyn FnMut(&'static str) -> *const __gl_imports::raw::c_void, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/servo-glutin-1dd9c4e7de687423/out/glx_bindings.rs:431:47 [INFO] [stdout] | [INFO] [stdout] 431 | fn do_metaloadfn(loadfn: &mut FnMut(&'static str) -> *const __gl_imports::raw::c_void, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 431 | fn do_metaloadfn(loadfn: &mut dyn FnMut(&'static str) -> *const __gl_imports::raw::c_void, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> /opt/rustwide/target/debug/build/servo-glutin-1dd9c4e7de687423/out/glx_extra_bindings.rs:457:47 [INFO] [stdout] | [INFO] [stdout] 457 | fn do_metaloadfn(loadfn: &mut FnMut(&'static str) -> *const __gl_imports::raw::c_void, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 457 | fn do_metaloadfn(loadfn: &mut dyn FnMut(&'static str) -> *const __gl_imports::raw::c_void, [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/api/x11/xdisplay.rs:171:32 [INFO] [stdout] | [INFO] [stdout] 171 | fn cause(&self) -> Option<&Error> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = warning: this is accepted in the current edition (Rust 2015) but is a hard error in Rust 2021! [INFO] [stdout] = note: for more information, see [INFO] [stdout] help: if this is an object-safe trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 171 | fn cause(&self) -> Option<&dyn Error> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/api/x11/xdisplay.rs:181:34 [INFO] [stdout] | [INFO] [stdout] 181 | formatter.write_str(self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/api/x11/xdisplay.rs:181:34 [INFO] [stdout] | [INFO] [stdout] 181 | formatter.write_str(self.description()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:213:51 [INFO] [stdout] | [INFO] [stdout] 213 | ContextError::IoError(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `std::error::Error::description`: use the Display impl or to_string() [INFO] [stdout] --> src/lib.rs:213:51 [INFO] [stdout] | [INFO] [stdout] 213 | ContextError::IoError(ref err) => err.description(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/api/x11/window.rs:918:17 [INFO] [stdout] | [INFO] [stdout] 918 | let mut xcursor = match cursor { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/api/x11/window.rs:918:17 [INFO] [stdout] | [INFO] [stdout] 918 | let mut xcursor = match cursor { [INFO] [stdout] | ----^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config_id` is never read [INFO] [stdout] --> src/api/egl/mod.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct Context { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 44 | config_id: ffi::egl::types::EGLConfig [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `device_id` is never read [INFO] [stdout] --> src/api/x11/input.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 22 | struct Axis { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 23 | id: i32, [INFO] [stdout] 24 | device_id: i32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Axis` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `i32` does not permit being left uninitialized [INFO] [stdout] --> src/api/egl/mod.rs:163:54 [INFO] [stdout] | [INFO] [stdout] 163 | let mut major: ffi::egl::types::EGLint = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `i32` does not permit being left uninitialized [INFO] [stdout] --> src/api/egl/mod.rs:164:54 [INFO] [stdout] | [INFO] [stdout] 164 | let mut minor: ffi::egl::types::EGLint = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `i32` does not permit being left uninitialized [INFO] [stdout] --> src/api/egl/mod.rs:381:34 [INFO] [stdout] | [INFO] [stdout] 381 | let mut value = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `config_id` is never read [INFO] [stdout] --> src/api/egl/mod.rs:44:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct Context { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 44 | config_id: ffi::egl::types::EGLConfig [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `device_id` is never read [INFO] [stdout] --> src/api/x11/input.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 22 | struct Axis { [INFO] [stdout] | ---- field in this struct [INFO] [stdout] 23 | id: i32, [INFO] [stdout] 24 | device_id: i32, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Axis` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `*const c_void` does not permit being left uninitialized [INFO] [stdout] --> src/api/egl/mod.rs:597:25 [INFO] [stdout] | [INFO] [stdout] 597 | let mut config_id = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: raw pointers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `i32` does not permit being left uninitialized [INFO] [stdout] --> src/api/egl/mod.rs:598:27 [INFO] [stdout] | [INFO] [stdout] 598 | let mut num_configs = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `i32` does not permit being left uninitialized [INFO] [stdout] --> src/api/egl/mod.rs:610:33 [INFO] [stdout] | [INFO] [stdout] 610 | let mut value = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 622 | hardware_accelerated: attrib!(egl, display, config_id, ffi::egl::CONFIG_CAVEAT) [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `attrib` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `i32` does not permit being left uninitialized [INFO] [stdout] --> src/api/egl/mod.rs:610:33 [INFO] [stdout] | [INFO] [stdout] 610 | let mut value = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 624 | color_bits: attrib!(egl, display, config_id, ffi::egl::RED_SIZE) as u8 + [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `attrib` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `i32` does not permit being left uninitialized [INFO] [stdout] --> src/api/egl/mod.rs:163:54 [INFO] [stdout] | [INFO] [stdout] 163 | let mut major: ffi::egl::types::EGLint = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: `#[warn(invalid_value)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `i32` does not permit being left uninitialized [INFO] [stdout] --> src/api/egl/mod.rs:164:54 [INFO] [stdout] | [INFO] [stdout] 164 | let mut minor: ffi::egl::types::EGLint = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `i32` does not permit being left uninitialized [INFO] [stdout] --> src/api/egl/mod.rs:610:33 [INFO] [stdout] | [INFO] [stdout] 610 | let mut value = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 625 | attrib!(egl, display, config_id, ffi::egl::BLUE_SIZE) as u8 + [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `attrib` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `i32` does not permit being left uninitialized [INFO] [stdout] --> src/api/egl/mod.rs:381:34 [INFO] [stdout] | [INFO] [stdout] 381 | let mut value = unsafe { mem::uninitialized() }; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `i32` does not permit being left uninitialized [INFO] [stdout] --> src/api/egl/mod.rs:610:33 [INFO] [stdout] | [INFO] [stdout] 610 | let mut value = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 626 | attrib!(egl, display, config_id, ffi::egl::GREEN_SIZE) as u8, [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `attrib` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `i32` does not permit being left uninitialized [INFO] [stdout] --> src/api/egl/mod.rs:610:33 [INFO] [stdout] | [INFO] [stdout] 610 | let mut value = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 627 | alpha_bits: attrib!(egl, display, config_id, ffi::egl::ALPHA_SIZE) as u8, [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `attrib` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `i32` does not permit being left uninitialized [INFO] [stdout] --> src/api/egl/mod.rs:610:33 [INFO] [stdout] | [INFO] [stdout] 610 | let mut value = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 628 | depth_bits: attrib!(egl, display, config_id, ffi::egl::DEPTH_SIZE) as u8, [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `attrib` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `i32` does not permit being left uninitialized [INFO] [stdout] --> src/api/egl/mod.rs:610:33 [INFO] [stdout] | [INFO] [stdout] 610 | let mut value = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 629 | stencil_bits: attrib!(egl, display, config_id, ffi::egl::STENCIL_SIZE) as u8, [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `attrib` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `i32` does not permit being left uninitialized [INFO] [stdout] --> src/api/egl/mod.rs:610:33 [INFO] [stdout] | [INFO] [stdout] 610 | let mut value = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 632 | multisampling: match attrib!(egl, display, config_id, ffi::egl::SAMPLES) { [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `attrib` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `u32` does not permit being left uninitialized [INFO] [stdout] --> src/api/osmesa/mod.rs:98:50 [INFO] [stdout] | [INFO] [stdout] 98 | buffer: ::std::iter::repeat(unsafe { mem::uninitialized() }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `*const c_void` does not permit being left uninitialized [INFO] [stdout] --> src/api/egl/mod.rs:597:25 [INFO] [stdout] | [INFO] [stdout] 597 | let mut config_id = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: raw pointers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `i32` does not permit being left uninitialized [INFO] [stdout] --> src/api/egl/mod.rs:598:27 [INFO] [stdout] | [INFO] [stdout] 598 | let mut num_configs = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `u8` does not permit being left uninitialized [INFO] [stdout] --> src/api/x11/input.rs:145:41 [INFO] [stdout] | [INFO] [stdout] 145 | let mut buffer: [u8; 16] = [mem::uninitialized(); 16]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `i32` does not permit being left uninitialized [INFO] [stdout] --> src/api/egl/mod.rs:610:33 [INFO] [stdout] | [INFO] [stdout] 610 | let mut value = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 622 | hardware_accelerated: attrib!(egl, display, config_id, ffi::egl::CONFIG_CAVEAT) [INFO] [stdout] | --------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `attrib` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `i32` does not permit being left uninitialized [INFO] [stdout] --> src/api/egl/mod.rs:610:33 [INFO] [stdout] | [INFO] [stdout] 610 | let mut value = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 624 | color_bits: attrib!(egl, display, config_id, ffi::egl::RED_SIZE) as u8 + [INFO] [stdout] | ---------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `attrib` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `i32` does not permit being left uninitialized [INFO] [stdout] --> src/api/egl/mod.rs:610:33 [INFO] [stdout] | [INFO] [stdout] 610 | let mut value = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 625 | attrib!(egl, display, config_id, ffi::egl::BLUE_SIZE) as u8 + [INFO] [stdout] | ----------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `attrib` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `i32` does not permit being left uninitialized [INFO] [stdout] --> src/api/egl/mod.rs:610:33 [INFO] [stdout] | [INFO] [stdout] 610 | let mut value = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 626 | attrib!(egl, display, config_id, ffi::egl::GREEN_SIZE) as u8, [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `attrib` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `i32` does not permit being left uninitialized [INFO] [stdout] --> src/api/egl/mod.rs:610:33 [INFO] [stdout] | [INFO] [stdout] 610 | let mut value = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 627 | alpha_bits: attrib!(egl, display, config_id, ffi::egl::ALPHA_SIZE) as u8, [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `attrib` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `i32` does not permit being left uninitialized [INFO] [stdout] --> src/api/egl/mod.rs:610:33 [INFO] [stdout] | [INFO] [stdout] 610 | let mut value = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 628 | depth_bits: attrib!(egl, display, config_id, ffi::egl::DEPTH_SIZE) as u8, [INFO] [stdout] | ------------------------------------------------------ in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `attrib` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `i32` does not permit being left uninitialized [INFO] [stdout] --> src/api/egl/mod.rs:610:33 [INFO] [stdout] | [INFO] [stdout] 610 | let mut value = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 629 | stencil_bits: attrib!(egl, display, config_id, ffi::egl::STENCIL_SIZE) as u8, [INFO] [stdout] | -------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `attrib` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `i32` does not permit being left uninitialized [INFO] [stdout] --> src/api/x11/window.rs:339:45 [INFO] [stdout] | [INFO] [stdout] 339 | let mut mode_num: libc::c_int = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `*mut *mut x11_dl::xf86vmode::XF86VidModeModeInfo` does not permit being left uninitialized [INFO] [stdout] --> src/api/x11/window.rs:340:65 [INFO] [stdout] | [INFO] [stdout] 340 | let mut modes: *mut *mut ffi::XF86VidModeModeInfo = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: raw pointers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `i32` does not permit being left uninitialized [INFO] [stdout] --> src/api/egl/mod.rs:610:33 [INFO] [stdout] | [INFO] [stdout] 610 | let mut value = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] ... [INFO] [stdout] 632 | multisampling: match attrib!(egl, display, config_id, ffi::egl::SAMPLES) { [INFO] [stdout] | --------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] = note: this warning originates in the macro `attrib` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `XWindowAttributes` does not permit being left uninitialized [INFO] [stdout] --> src/api/x11/window.rs:689:49 [INFO] [stdout] | [INFO] [stdout] 689 | let mut window_attributes = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `u32` does not permit being left uninitialized [INFO] [stdout] --> src/api/osmesa/mod.rs:98:50 [INFO] [stdout] | [INFO] [stdout] 98 | buffer: ::std::iter::repeat(unsafe { mem::uninitialized() }) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `u64` does not permit being left uninitialized [INFO] [stdout] --> src/api/x11/window.rs:814:41 [INFO] [stdout] | [INFO] [stdout] 814 | let mut root: ffi::Window = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `i32` does not permit being left uninitialized [INFO] [stdout] --> src/api/x11/window.rs:815:38 [INFO] [stdout] | [INFO] [stdout] 815 | let mut x: libc::c_int = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `i32` does not permit being left uninitialized [INFO] [stdout] --> src/api/x11/window.rs:816:38 [INFO] [stdout] | [INFO] [stdout] 816 | let mut y: libc::c_int = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `u32` does not permit being left uninitialized [INFO] [stdout] --> src/api/x11/window.rs:817:43 [INFO] [stdout] | [INFO] [stdout] 817 | let mut width: libc::c_uint = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `u32` does not permit being left uninitialized [INFO] [stdout] --> src/api/x11/window.rs:818:44 [INFO] [stdout] | [INFO] [stdout] 818 | let mut height: libc::c_uint = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `u32` does not permit being left uninitialized [INFO] [stdout] --> src/api/x11/window.rs:819:44 [INFO] [stdout] | [INFO] [stdout] 819 | let mut border: libc::c_uint = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `u32` does not permit being left uninitialized [INFO] [stdout] --> src/api/x11/window.rs:820:43 [INFO] [stdout] | [INFO] [stdout] 820 | let mut depth: libc::c_uint = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `x11_dl::xlib::XColor` does not permit being left uninitialized [INFO] [stdout] --> src/api/x11/window.rs:1007:44 [INFO] [stdout] | [INFO] [stdout] 1007 | let dummy_color: ffi::XColor = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `u8` does not permit being left uninitialized [INFO] [stdout] --> src/api/x11/input.rs:145:41 [INFO] [stdout] | [INFO] [stdout] 145 | let mut buffer: [u8; 16] = [mem::uninitialized(); 16]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `i32` does not permit being left uninitialized [INFO] [stdout] --> src/api/x11/window.rs:339:45 [INFO] [stdout] | [INFO] [stdout] 339 | let mut mode_num: libc::c_int = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `*mut *mut x11_dl::xf86vmode::XF86VidModeModeInfo` does not permit being left uninitialized [INFO] [stdout] --> src/api/x11/window.rs:340:65 [INFO] [stdout] | [INFO] [stdout] 340 | let mut modes: *mut *mut ffi::XF86VidModeModeInfo = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: raw pointers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `XWindowAttributes` does not permit being left uninitialized [INFO] [stdout] --> src/api/x11/window.rs:689:49 [INFO] [stdout] | [INFO] [stdout] 689 | let mut window_attributes = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `u64` does not permit being left uninitialized [INFO] [stdout] --> src/api/x11/window.rs:814:41 [INFO] [stdout] | [INFO] [stdout] 814 | let mut root: ffi::Window = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `i32` does not permit being left uninitialized [INFO] [stdout] --> src/api/x11/window.rs:815:38 [INFO] [stdout] | [INFO] [stdout] 815 | let mut x: libc::c_int = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `i32` does not permit being left uninitialized [INFO] [stdout] --> src/api/x11/window.rs:816:38 [INFO] [stdout] | [INFO] [stdout] 816 | let mut y: libc::c_int = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `u32` does not permit being left uninitialized [INFO] [stdout] --> src/api/x11/window.rs:817:43 [INFO] [stdout] | [INFO] [stdout] 817 | let mut width: libc::c_uint = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `u32` does not permit being left uninitialized [INFO] [stdout] --> src/api/x11/window.rs:818:44 [INFO] [stdout] | [INFO] [stdout] 818 | let mut height: libc::c_uint = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `u32` does not permit being left uninitialized [INFO] [stdout] --> src/api/x11/window.rs:819:44 [INFO] [stdout] | [INFO] [stdout] 819 | let mut border: libc::c_uint = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `u32` does not permit being left uninitialized [INFO] [stdout] --> src/api/x11/window.rs:820:43 [INFO] [stdout] | [INFO] [stdout] 820 | let mut depth: libc::c_uint = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `x11_dl::xlib::XColor` does not permit being left uninitialized [INFO] [stdout] --> src/api/x11/window.rs:1007:44 [INFO] [stdout] | [INFO] [stdout] 1007 | let dummy_color: ffi::XColor = mem::uninitialized(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 98 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 1 previous error; 98 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `servo-glutin` (lib test) due to 2 previous errors; 98 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `servo-glutin` (lib) due to 2 previous errors; 98 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d373f23c91efad955b4abb92063ff56f7c8bafbc6d72b19ccc4cd6e028d78ccf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d373f23c91efad955b4abb92063ff56f7c8bafbc6d72b19ccc4cd6e028d78ccf", kill_on_drop: false }` [INFO] [stdout] d373f23c91efad955b4abb92063ff56f7c8bafbc6d72b19ccc4cd6e028d78ccf