[INFO] fetching crate gl-from-raw-window-handle 0.1.4... [INFO] checking gl-from-raw-window-handle-0.1.4 against try#c659ee110de67e82444e4b6c8407c1a9af9c2cf6 for pr-145608-1 [INFO] extracting crate gl-from-raw-window-handle 0.1.4 into /workspace/builds/worker-7-tc2/source [INFO] started tweaking crates.io crate gl-from-raw-window-handle 0.1.4 [INFO] finished tweaking crates.io crate gl-from-raw-window-handle 0.1.4 [INFO] tweaked toml for crates.io crate gl-from-raw-window-handle 0.1.4 written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate gl-from-raw-window-handle 0.1.4 on toolchain c659ee110de67e82444e4b6c8407c1a9af9c2cf6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate gl-from-raw-window-handle 0.1.4 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 673b8816582bc184a456da4d8ee8314f91d0afc6bba5297a0a1d16d4eaeedcc8 [INFO] running `Command { std: "docker" "start" "-a" "673b8816582bc184a456da4d8ee8314f91d0afc6bba5297a0a1d16d4eaeedcc8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "673b8816582bc184a456da4d8ee8314f91d0afc6bba5297a0a1d16d4eaeedcc8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "673b8816582bc184a456da4d8ee8314f91d0afc6bba5297a0a1d16d4eaeedcc8", kill_on_drop: false }` [INFO] [stdout] 673b8816582bc184a456da4d8ee8314f91d0afc6bba5297a0a1d16d4eaeedcc8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+c659ee110de67e82444e4b6c8407c1a9af9c2cf6" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] a9449b106310ae5a86fbd3fcebb1e2b6e360d0f79f08fa0d4ace5c5263de1897 [INFO] running `Command { std: "docker" "start" "-a" "a9449b106310ae5a86fbd3fcebb1e2b6e360d0f79f08fa0d4ace5c5263de1897", kill_on_drop: false }` [INFO] [stderr] Compiling x11 v2.21.0 [INFO] [stderr] Checking raw-window-handle v0.6.2 [INFO] [stderr] Checking gl-from-raw-window-handle v0.1.4 (/opt/rustwide/workdir) [INFO] [stdout] warning[E0133]: call to unsafe function `x11::xlib::XSetErrorHandler` is unsafe and requires unsafe block [INFO] [stdout] --> src/x11.rs:65:29 [INFO] [stdout] | [INFO] [stdout] 65 | let prev_callback = xlib::XSetErrorHandler(Some(err_handler)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/x11.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | / pub unsafe fn create( [INFO] [stdout] 47 | | window: WindowHandle, [INFO] [stdout] 48 | | display: DisplayHandle, [INFO] [stdout] 49 | | config: GlConfig, [INFO] [stdout] 50 | | ) -> Result { [INFO] [stdout] | |___________________________________^ [INFO] [stdout] = note: requested on the command line with `-W unsafe-op-in-unsafe-fn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `x11::xlib::XDefaultScreen` is unsafe and requires unsafe block [INFO] [stdout] --> src/x11.rs:72:22 [INFO] [stdout] | [INFO] [stdout] 72 | let screen = xlib::XDefaultScreen(display); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `x11::glx::glXChooseFBConfig` is unsafe and requires unsafe block [INFO] [stdout] --> src/x11.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | glx::glXChooseFBConfig(display, screen, fb_attribs.as_ptr(), &mut n_configs); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/x11.rs:107:17 [INFO] [stdout] | [INFO] [stdout] 107 | std::mem::transmute(addr) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/x11.rs:117:17 [INFO] [stdout] | [INFO] [stdout] 117 | std::mem::transmute(addr) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/x11.rs:134:23 [INFO] [stdout] | [INFO] [stdout] 134 | let context = glXCreateContextAttribsARB( [INFO] [stdout] | _______________________^ [INFO] [stdout] 135 | | display, [INFO] [stdout] 136 | | *fb_config, [INFO] [stdout] 137 | | std::ptr::null_mut(), [INFO] [stdout] 138 | | 1, [INFO] [stdout] 139 | | ctx_attribs.as_ptr(), [INFO] [stdout] 140 | | ); [INFO] [stdout] | |_________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/x11.rs:136:13 [INFO] [stdout] | [INFO] [stdout] 136 | *fb_config, [INFO] [stdout] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `x11::glx::glXMakeCurrent` is unsafe and requires unsafe block [INFO] [stdout] --> src/x11.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | glx::glXMakeCurrent(display, window_id, context); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/x11.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | glXSwapIntervalEXT(display, window_id, config.vsync as i32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `x11::glx::glXMakeCurrent` is unsafe and requires unsafe block [INFO] [stdout] --> src/x11.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | glx::glXMakeCurrent(display, 0, std::ptr::null_mut()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `x11::xlib::XSetErrorHandler` is unsafe and requires unsafe block [INFO] [stdout] --> src/x11.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | xlib::XSetErrorHandler(prev_callback); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `x11::glx::glXMakeCurrent` is unsafe and requires unsafe block [INFO] [stdout] --> src/x11.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | glx::glXMakeCurrent(self.display, self.window, self.context); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/x11.rs:159:5 [INFO] [stdout] | [INFO] [stdout] 159 | pub unsafe fn make_current(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `x11::glx::glXMakeCurrent` is unsafe and requires unsafe block [INFO] [stdout] --> src/x11.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | glx::glXMakeCurrent(self.display, 0, std::ptr::null_mut()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/x11.rs:163:5 [INFO] [stdout] | [INFO] [stdout] 163 | pub unsafe fn make_not_current(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `GlContext::create_from_handles` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | Self::create_from_handles(parent.window_handle()?, parent.display_handle()?, config) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | / pub unsafe fn create( [INFO] [stdout] 89 | | parent: &(impl HasWindowHandle + HasDisplayHandle), [INFO] [stdout] 90 | | config: GlConfig, [INFO] [stdout] 91 | | ) -> Result { [INFO] [stdout] | |___________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `x11::GlContext::create` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | platform::GlContext::create(window, display, config).map(|context| GlContext { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | / pub unsafe fn create_from_handles( [INFO] [stdout] 96 | | window: WindowHandle, [INFO] [stdout] 97 | | display: DisplayHandle, [INFO] [stdout] 98 | | config: GlConfig, [INFO] [stdout] 99 | | ) -> Result { [INFO] [stdout] | |___________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `x11::GlContext::make_current` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | self.context.make_current(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | pub unsafe fn make_current(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `x11::GlContext::make_not_current` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | self.context.make_not_current(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | pub unsafe fn make_not_current(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/lib.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | pub version: (u8, u8), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-W missing-docs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/lib.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub profile: Profile, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/lib.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub red_bits: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/lib.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub blue_bits: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/lib.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub green_bits: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/lib.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub alpha_bits: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/lib.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | pub depth_bits: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/lib.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub stencil_bits: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/lib.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub samples: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/lib.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub srgb: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/lib.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | pub double_buffer: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/lib.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | pub vsync: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an enum [INFO] [stdout] --> src/lib.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | pub enum Profile { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/lib.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | Compatibility, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/lib.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | Core, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an enum [INFO] [stdout] --> src/lib.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | pub enum GlError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/lib.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | InvalidWindowHandle, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/lib.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | VersionNotSupported, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/lib.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | CreationFailed, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> src/lib.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | pub struct GlContext { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/lib.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | / pub unsafe fn create( [INFO] [stdout] 89 | | parent: &(impl HasWindowHandle + HasDisplayHandle), [INFO] [stdout] 90 | | config: GlConfig, [INFO] [stdout] 91 | | ) -> Result { [INFO] [stdout] | |___________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/lib.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | / pub unsafe fn create_from_handles( [INFO] [stdout] 96 | | window: WindowHandle, [INFO] [stdout] 97 | | display: DisplayHandle, [INFO] [stdout] 98 | | config: GlConfig, [INFO] [stdout] 99 | | ) -> Result { [INFO] [stdout] | |___________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/lib.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | pub unsafe fn make_current(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/lib.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | pub unsafe fn make_not_current(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/lib.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn get_proc_address(&self, symbol: &str) -> *const c_void { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/lib.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn swap_buffers(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable `pub` item [INFO] [stdout] --> src/x11.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct GlContext { [INFO] [stdout] | ---^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: consider restricting its visibility: `pub(crate)` [INFO] [stdout] | [INFO] [stdout] = help: or consider exporting it for use by other crates [INFO] [stdout] = note: requested on the command line with `-W unreachable-pub` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable `pub` item [INFO] [stdout] --> src/x11.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | pub unsafe fn create( [INFO] [stdout] | ^-- [INFO] [stdout] | | [INFO] [stdout] | _____help: consider restricting its visibility: `pub(crate)` [INFO] [stdout] | | [INFO] [stdout] 47 | | window: WindowHandle, [INFO] [stdout] 48 | | display: DisplayHandle, [INFO] [stdout] 49 | | config: GlConfig, [INFO] [stdout] 50 | | ) -> Result { [INFO] [stdout] | |___________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable `pub` item [INFO] [stdout] --> src/x11.rs:159:5 [INFO] [stdout] | [INFO] [stdout] 159 | pub unsafe fn make_current(&self) { [INFO] [stdout] | ---^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: consider restricting its visibility: `pub(crate)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable `pub` item [INFO] [stdout] --> src/x11.rs:163:5 [INFO] [stdout] | [INFO] [stdout] 163 | pub unsafe fn make_not_current(&self) { [INFO] [stdout] | ---^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: consider restricting its visibility: `pub(crate)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable `pub` item [INFO] [stdout] --> src/x11.rs:167:5 [INFO] [stdout] | [INFO] [stdout] 167 | pub fn get_proc_address(&self, symbol: &str) -> *const c_void { [INFO] [stdout] | ---^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: consider restricting its visibility: `pub(crate)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable `pub` item [INFO] [stdout] --> src/x11.rs:171:5 [INFO] [stdout] | [INFO] [stdout] 171 | pub fn swap_buffers(&self) { [INFO] [stdout] | ---^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: consider restricting its visibility: `pub(crate)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `x11::xlib::XSetErrorHandler` is unsafe and requires unsafe block [INFO] [stdout] --> src/x11.rs:65:29 [INFO] [stdout] | [INFO] [stdout] 65 | let prev_callback = xlib::XSetErrorHandler(Some(err_handler)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/x11.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | / pub unsafe fn create( [INFO] [stdout] 47 | | window: WindowHandle, [INFO] [stdout] 48 | | display: DisplayHandle, [INFO] [stdout] 49 | | config: GlConfig, [INFO] [stdout] 50 | | ) -> Result { [INFO] [stdout] | |___________________________________^ [INFO] [stdout] = note: requested on the command line with `-W unsafe-op-in-unsafe-fn` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `x11::xlib::XDefaultScreen` is unsafe and requires unsafe block [INFO] [stdout] --> src/x11.rs:72:22 [INFO] [stdout] | [INFO] [stdout] 72 | let screen = xlib::XDefaultScreen(display); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `x11::glx::glXChooseFBConfig` is unsafe and requires unsafe block [INFO] [stdout] --> src/x11.rs:95:13 [INFO] [stdout] | [INFO] [stdout] 95 | glx::glXChooseFBConfig(display, screen, fb_attribs.as_ptr(), &mut n_configs); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/x11.rs:107:17 [INFO] [stdout] | [INFO] [stdout] 107 | std::mem::transmute(addr) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `std::intrinsics::transmute` is unsafe and requires unsafe block [INFO] [stdout] --> src/x11.rs:117:17 [INFO] [stdout] | [INFO] [stdout] 117 | std::mem::transmute(addr) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/x11.rs:134:23 [INFO] [stdout] | [INFO] [stdout] 134 | let context = glXCreateContextAttribsARB( [INFO] [stdout] | _______________________^ [INFO] [stdout] 135 | | display, [INFO] [stdout] 136 | | *fb_config, [INFO] [stdout] 137 | | std::ptr::null_mut(), [INFO] [stdout] 138 | | 1, [INFO] [stdout] 139 | | ctx_attribs.as_ptr(), [INFO] [stdout] 140 | | ); [INFO] [stdout] | |_________^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: dereference of raw pointer is unsafe and requires unsafe block [INFO] [stdout] --> src/x11.rs:136:13 [INFO] [stdout] | [INFO] [stdout] 136 | *fb_config, [INFO] [stdout] | ^^^^^^^^^^ dereference of raw pointer [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: raw pointers may be null, dangling or unaligned; they can violate aliasing rules and cause data races: all of these are undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `x11::glx::glXMakeCurrent` is unsafe and requires unsafe block [INFO] [stdout] --> src/x11.rs:146:9 [INFO] [stdout] | [INFO] [stdout] 146 | glx::glXMakeCurrent(display, window_id, context); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function is unsafe and requires unsafe block [INFO] [stdout] --> src/x11.rs:147:9 [INFO] [stdout] | [INFO] [stdout] 147 | glXSwapIntervalEXT(display, window_id, config.vsync as i32); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `x11::glx::glXMakeCurrent` is unsafe and requires unsafe block [INFO] [stdout] --> src/x11.rs:148:9 [INFO] [stdout] | [INFO] [stdout] 148 | glx::glXMakeCurrent(display, 0, std::ptr::null_mut()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `x11::xlib::XSetErrorHandler` is unsafe and requires unsafe block [INFO] [stdout] --> src/x11.rs:150:9 [INFO] [stdout] | [INFO] [stdout] 150 | xlib::XSetErrorHandler(prev_callback); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `x11::glx::glXMakeCurrent` is unsafe and requires unsafe block [INFO] [stdout] --> src/x11.rs:160:9 [INFO] [stdout] | [INFO] [stdout] 160 | glx::glXMakeCurrent(self.display, self.window, self.context); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/x11.rs:159:5 [INFO] [stdout] | [INFO] [stdout] 159 | pub unsafe fn make_current(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `x11::glx::glXMakeCurrent` is unsafe and requires unsafe block [INFO] [stdout] --> src/x11.rs:164:9 [INFO] [stdout] | [INFO] [stdout] 164 | glx::glXMakeCurrent(self.display, 0, std::ptr::null_mut()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/x11.rs:163:5 [INFO] [stdout] | [INFO] [stdout] 163 | pub unsafe fn make_not_current(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `GlContext::create_from_handles` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:92:9 [INFO] [stdout] | [INFO] [stdout] 92 | Self::create_from_handles(parent.window_handle()?, parent.display_handle()?, config) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | / pub unsafe fn create( [INFO] [stdout] 89 | | parent: &(impl HasWindowHandle + HasDisplayHandle), [INFO] [stdout] 90 | | config: GlConfig, [INFO] [stdout] 91 | | ) -> Result { [INFO] [stdout] | |___________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `x11::GlContext::create` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:100:9 [INFO] [stdout] | [INFO] [stdout] 100 | platform::GlContext::create(window, display, config).map(|context| GlContext { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | / pub unsafe fn create_from_handles( [INFO] [stdout] 96 | | window: WindowHandle, [INFO] [stdout] 97 | | display: DisplayHandle, [INFO] [stdout] 98 | | config: GlConfig, [INFO] [stdout] 99 | | ) -> Result { [INFO] [stdout] | |___________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `x11::GlContext::make_current` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:107:9 [INFO] [stdout] | [INFO] [stdout] 107 | self.context.make_current(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | pub unsafe fn make_current(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning[E0133]: call to unsafe function `x11::GlContext::make_not_current` is unsafe and requires unsafe block [INFO] [stdout] --> src/lib.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | self.context.make_not_current(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ call to unsafe function [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: consult the function's documentation for information on how to avoid undefined behavior [INFO] [stdout] note: an unsafe function restricts its caller, but its body is safe by default [INFO] [stdout] --> src/lib.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | pub unsafe fn make_not_current(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/lib.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | pub version: (u8, u8), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: requested on the command line with `-W missing-docs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/lib.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 31 | pub profile: Profile, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/lib.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub red_bits: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/lib.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | pub blue_bits: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/lib.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | pub green_bits: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/lib.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | pub alpha_bits: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/lib.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | pub depth_bits: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/lib.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | pub stencil_bits: u8, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/lib.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | pub samples: Option, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/lib.rs:39:5 [INFO] [stdout] | [INFO] [stdout] 39 | pub srgb: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/lib.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | pub double_buffer: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct field [INFO] [stdout] --> src/lib.rs:41:5 [INFO] [stdout] | [INFO] [stdout] 41 | pub vsync: bool, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an enum [INFO] [stdout] --> src/lib.rs:64:1 [INFO] [stdout] | [INFO] [stdout] 64 | pub enum Profile { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/lib.rs:65:5 [INFO] [stdout] | [INFO] [stdout] 65 | Compatibility, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/lib.rs:66:5 [INFO] [stdout] | [INFO] [stdout] 66 | Core, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an enum [INFO] [stdout] --> src/lib.rs:70:1 [INFO] [stdout] | [INFO] [stdout] 70 | pub enum GlError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/lib.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | InvalidWindowHandle, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/lib.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | VersionNotSupported, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a variant [INFO] [stdout] --> src/lib.rs:73:5 [INFO] [stdout] | [INFO] [stdout] 73 | CreationFailed, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> src/lib.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | pub struct GlContext { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/lib.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | / pub unsafe fn create( [INFO] [stdout] 89 | | parent: &(impl HasWindowHandle + HasDisplayHandle), [INFO] [stdout] 90 | | config: GlConfig, [INFO] [stdout] 91 | | ) -> Result { [INFO] [stdout] | |___________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for an associated function [INFO] [stdout] --> src/lib.rs:95:5 [INFO] [stdout] | [INFO] [stdout] 95 | / pub unsafe fn create_from_handles( [INFO] [stdout] 96 | | window: WindowHandle, [INFO] [stdout] 97 | | display: DisplayHandle, [INFO] [stdout] 98 | | config: GlConfig, [INFO] [stdout] 99 | | ) -> Result { [INFO] [stdout] | |___________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/lib.rs:106:5 [INFO] [stdout] | [INFO] [stdout] 106 | pub unsafe fn make_current(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/lib.rs:110:5 [INFO] [stdout] | [INFO] [stdout] 110 | pub unsafe fn make_not_current(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/lib.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn get_proc_address(&self, symbol: &str) -> *const c_void { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a method [INFO] [stdout] --> src/lib.rs:118:5 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn swap_buffers(&self) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable `pub` item [INFO] [stdout] --> src/x11.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 39 | pub struct GlContext { [INFO] [stdout] | ---^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: consider restricting its visibility: `pub(crate)` [INFO] [stdout] | [INFO] [stdout] = help: or consider exporting it for use by other crates [INFO] [stdout] = note: requested on the command line with `-W unreachable-pub` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable `pub` item [INFO] [stdout] --> src/x11.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | pub unsafe fn create( [INFO] [stdout] | ^-- [INFO] [stdout] | | [INFO] [stdout] | _____help: consider restricting its visibility: `pub(crate)` [INFO] [stdout] | | [INFO] [stdout] 47 | | window: WindowHandle, [INFO] [stdout] 48 | | display: DisplayHandle, [INFO] [stdout] 49 | | config: GlConfig, [INFO] [stdout] 50 | | ) -> Result { [INFO] [stdout] | |___________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable `pub` item [INFO] [stdout] --> src/x11.rs:159:5 [INFO] [stdout] | [INFO] [stdout] 159 | pub unsafe fn make_current(&self) { [INFO] [stdout] | ---^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: consider restricting its visibility: `pub(crate)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable `pub` item [INFO] [stdout] --> src/x11.rs:163:5 [INFO] [stdout] | [INFO] [stdout] 163 | pub unsafe fn make_not_current(&self) { [INFO] [stdout] | ---^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: consider restricting its visibility: `pub(crate)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable `pub` item [INFO] [stdout] --> src/x11.rs:167:5 [INFO] [stdout] | [INFO] [stdout] 167 | pub fn get_proc_address(&self, symbol: &str) -> *const c_void { [INFO] [stdout] | ---^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: consider restricting its visibility: `pub(crate)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable `pub` item [INFO] [stdout] --> src/x11.rs:171:5 [INFO] [stdout] | [INFO] [stdout] 171 | pub fn swap_buffers(&self) { [INFO] [stdout] | ---^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: consider restricting its visibility: `pub(crate)` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0133`. [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.15s [INFO] running `Command { std: "docker" "inspect" "a9449b106310ae5a86fbd3fcebb1e2b6e360d0f79f08fa0d4ace5c5263de1897", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "a9449b106310ae5a86fbd3fcebb1e2b6e360d0f79f08fa0d4ace5c5263de1897", kill_on_drop: false }` [INFO] [stdout] a9449b106310ae5a86fbd3fcebb1e2b6e360d0f79f08fa0d4ace5c5263de1897