[INFO] fetching crate rustwlc 0.7.0... [INFO] testing rustwlc-0.7.0 against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] extracting crate rustwlc 0.7.0 into /workspace/builds/worker-3-tc1/source [INFO] started tweaking crates.io crate rustwlc 0.7.0 [INFO] finished tweaking crates.io crate rustwlc 0.7.0 [INFO] tweaked toml for crates.io crate rustwlc 0.7.0 written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate rustwlc 0.7.0 on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 40 packages to latest compatible versions [INFO] [stderr] Adding bitflags v0.7.0 (available: v2.9.3) [INFO] [stderr] Adding lazy_static v0.2.11 (available: v1.5.0) [INFO] [stderr] Adding wayland-sys v0.6.0 (available: v0.31.7) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wayland-sys v0.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 398259ce768e3ca7c4f27a127aea73e4f9943b432ddff94da26491f990af4732 [INFO] running `Command { std: "docker" "start" "-a" "398259ce768e3ca7c4f27a127aea73e4f9943b432ddff94da26491f990af4732", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "398259ce768e3ca7c4f27a127aea73e4f9943b432ddff94da26491f990af4732", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "398259ce768e3ca7c4f27a127aea73e4f9943b432ddff94da26491f990af4732", kill_on_drop: false }` [INFO] [stdout] 398259ce768e3ca7c4f27a127aea73e4f9943b432ddff94da26491f990af4732 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d913a1bc4ad10e154d9060f7e646742988e94f90f7a0711c6596ed1ce9636c70 [INFO] running `Command { std: "docker" "start" "-a" "d913a1bc4ad10e154d9060f7e646742988e94f90f7a0711c6596ed1ce9636c70", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling rustwlc v0.7.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling bitflags v0.7.0 [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/types.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | / bitflags! { [INFO] [stdout] 34 | | /// Flags describing wayland events [INFO] [stdout] 35 | | #[repr(C)] [INFO] [stdout] 36 | | pub flags EventBit: u32 { [INFO] [stdout] ... | [INFO] [stdout] 46 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `bitflags` (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/types.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | / bitflags! { [INFO] [stdout] 34 | | /// Flags describing wayland events [INFO] [stdout] 35 | | #[repr(C)] [INFO] [stdout] 36 | | pub flags EventBit: u32 { [INFO] [stdout] ... | [INFO] [stdout] 46 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (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/types.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | / bitflags! { [INFO] [stdout] 49 | | /// How window is being viewed [INFO] [stdout] 50 | | #[repr(C)] [INFO] [stdout] 51 | | pub flags ViewState: u32 { [INFO] [stdout] ... | [INFO] [stdout] 63 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (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/types.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | / bitflags! { [INFO] [stdout] 49 | | /// How window is being viewed [INFO] [stdout] 50 | | #[repr(C)] [INFO] [stdout] 51 | | pub flags ViewState: u32 { [INFO] [stdout] ... | [INFO] [stdout] 63 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (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/types.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | / bitflags! { [INFO] [stdout] 66 | | /// Viewtype - like x11 flags [INFO] [stdout] 67 | | #[repr(C)] [INFO] [stdout] 68 | | pub flags ViewType: u32 { [INFO] [stdout] ... | [INFO] [stdout] 80 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (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/types.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | / bitflags! { [INFO] [stdout] 66 | | /// Viewtype - like x11 flags [INFO] [stdout] 67 | | #[repr(C)] [INFO] [stdout] 68 | | pub flags ViewType: u32 { [INFO] [stdout] ... | [INFO] [stdout] 80 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (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/types.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | / bitflags! { [INFO] [stdout] 83 | | /// Which edge is being used to resize a window. [INFO] [stdout] 84 | | #[repr(C)] [INFO] [stdout] 85 | | pub flags ResizeEdge: u32 { [INFO] [stdout] ... | [INFO] [stdout] 105 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (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/types.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | / bitflags! { [INFO] [stdout] 83 | | /// Which edge is being used to resize a window. [INFO] [stdout] 84 | | #[repr(C)] [INFO] [stdout] 85 | | pub flags ResizeEdge: u32 { [INFO] [stdout] ... | [INFO] [stdout] 105 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (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/types.rs:107:1 [INFO] [stdout] | [INFO] [stdout] 107 | / bitflags! { [INFO] [stdout] 108 | | /// Which view property is being updated [INFO] [stdout] 109 | | #[repr(C)] [INFO] [stdout] 110 | | pub flags ViewPropertyType: u32 { [INFO] [stdout] ... | [INFO] [stdout] 120 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (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/types.rs:107:1 [INFO] [stdout] | [INFO] [stdout] 107 | / bitflags! { [INFO] [stdout] 108 | | /// Which view property is being updated [INFO] [stdout] 109 | | #[repr(C)] [INFO] [stdout] 110 | | pub flags ViewPropertyType: u32 { [INFO] [stdout] ... | [INFO] [stdout] 120 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (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/types.rs:122:1 [INFO] [stdout] | [INFO] [stdout] 122 | / bitflags! { [INFO] [stdout] 123 | | /// Represents which keyboard meta keys are being pressed. [INFO] [stdout] 124 | | #[repr(C)] [INFO] [stdout] 125 | | pub flags KeyMod: u32 { [INFO] [stdout] ... | [INFO] [stdout] 145 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (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/types.rs:122:1 [INFO] [stdout] | [INFO] [stdout] 122 | / bitflags! { [INFO] [stdout] 123 | | /// Represents which keyboard meta keys are being pressed. [INFO] [stdout] 124 | | #[repr(C)] [INFO] [stdout] 125 | | pub flags KeyMod: u32 { [INFO] [stdout] ... | [INFO] [stdout] 145 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (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/types.rs:147:1 [INFO] [stdout] | [INFO] [stdout] 147 | / bitflags! { [INFO] [stdout] 148 | | /// "LEDs" or active key-locks. [INFO] [stdout] 149 | | /// i.e. caps lock, scroll lock [INFO] [stdout] 150 | | #[repr(C)] [INFO] [stdout] ... | [INFO] [stdout] 164 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (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/types.rs:147:1 [INFO] [stdout] | [INFO] [stdout] 147 | / bitflags! { [INFO] [stdout] 148 | | /// "LEDs" or active key-locks. [INFO] [stdout] 149 | | /// i.e. caps lock, scroll lock [INFO] [stdout] 150 | | #[repr(C)] [INFO] [stdout] ... | [INFO] [stdout] 164 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (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/types.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | / bitflags! { [INFO] [stdout] 167 | | #[repr(C)] [INFO] [stdout] 168 | | pub flags PositionerAnchorBit: u32 { [INFO] [stdout] 169 | | const WLC_BIT_ANCHOR_NONE = 0, [INFO] [stdout] ... | [INFO] [stdout] 175 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (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/types.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | / bitflags! { [INFO] [stdout] 167 | | #[repr(C)] [INFO] [stdout] 168 | | pub flags PositionerAnchorBit: u32 { [INFO] [stdout] 169 | | const WLC_BIT_ANCHOR_NONE = 0, [INFO] [stdout] ... | [INFO] [stdout] 175 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (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/types.rs:177:1 [INFO] [stdout] | [INFO] [stdout] 177 | / bitflags! { [INFO] [stdout] 178 | | #[repr(C)] [INFO] [stdout] 179 | | pub flags PositionerGravityBit: u32 { [INFO] [stdout] 180 | | const WLC_BIT_GRAVITY_NONE = 0, [INFO] [stdout] ... | [INFO] [stdout] 187 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (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/types.rs:177:1 [INFO] [stdout] | [INFO] [stdout] 177 | / bitflags! { [INFO] [stdout] 178 | | #[repr(C)] [INFO] [stdout] 179 | | pub flags PositionerGravityBit: u32 { [INFO] [stdout] 180 | | const WLC_BIT_GRAVITY_NONE = 0, [INFO] [stdout] ... | [INFO] [stdout] 187 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (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/types.rs:189:1 [INFO] [stdout] | [INFO] [stdout] 189 | / bitflags! { [INFO] [stdout] 190 | | #[repr(C)] [INFO] [stdout] 191 | | pub flags PositionerConstraintAdjustmentBits: u32 { [INFO] [stdout] 192 | | const WLC_BIT_CONSTRAINT_ADJUSTMENT_NONE = 0, [INFO] [stdout] ... | [INFO] [stdout] 200 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (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/types.rs:189:1 [INFO] [stdout] | [INFO] [stdout] 189 | / bitflags! { [INFO] [stdout] 190 | | #[repr(C)] [INFO] [stdout] 191 | | pub flags PositionerConstraintAdjustmentBits: u32 { [INFO] [stdout] 192 | | const WLC_BIT_CONSTRAINT_ADJUSTMENT_NONE = 0, [INFO] [stdout] ... | [INFO] [stdout] 200 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `WLC_RGBA8888` should have an upper camel case name [INFO] [stdout] --> src/render.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | WLC_RGBA8888 [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `WlcRgba8888` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `WLC_RENDERER_GLES2` should have an upper camel case name [INFO] [stdout] --> src/render.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | WLC_RENDERER_GLES2, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `WlcRendererGles2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `WLC_NO_RENDERER` should have an upper camel case name [INFO] [stdout] --> src/render.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | WLC_NO_RENDERER [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `WlcNoRenderer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SURFACE_RGB` should have an upper camel case name [INFO] [stdout] --> src/render.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | SURFACE_RGB, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `SurfaceRgb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SURFACE_RGBA` should have an upper camel case name [INFO] [stdout] --> src/render.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | SURFACE_RGBA, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SurfaceRgba` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SURFACE_EGL` should have an upper camel case name [INFO] [stdout] --> src/render.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | SURFACE_EGL, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `SurfaceEgl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SURFACE_Y_UV` should have an upper camel case name [INFO] [stdout] --> src/render.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | SURFACE_Y_UV, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SurfaceYUv` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SURFACE_Y_U_V` should have an upper camel case name [INFO] [stdout] --> src/render.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | SURFACE_Y_U_V, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SurfaceYUV` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SURFACE_Y_XUXV` should have an upper camel case name [INFO] [stdout] --> src/render.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | SURFACE_Y_XUXV, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SurfaceYXuxv` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/handle.rs:12:39 [INFO] [stdout] | [INFO] [stdout] 12 | use libc::{uintptr_t, c_char, c_void, uint32_t, pid_t}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/handle.rs:97:85 [INFO] [stdout] | [INFO] [stdout] 97 | fn wlc_output_set_resolution(output: uintptr_t, resolution: *const Size, scale: 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/handle.rs:99:51 [INFO] [stdout] | [INFO] [stdout] 99 | fn wlc_output_get_scale(output: uintptr_t) -> 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/input.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use libc::{size_t, 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/input.rs:10:73 [INFO] [stdout] | [INFO] [stdout] 10 | fn wlc_keyboard_get_current_keys(out_memb: *const size_t) -> *const 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/input.rs:12:45 [INFO] [stdout] | [INFO] [stdout] 12 | fn wlc_keyboard_get_keysym_for_key(key: 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/input.rs:13:80 [INFO] [stdout] | [INFO] [stdout] 13 | ... modifiers: *const KeyboardModifiers) -> 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/input.rs:15:44 [INFO] [stdout] | [INFO] [stdout] 15 | fn wlc_keyboard_get_utf32_for_key(key: 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/input.rs:16:79 [INFO] [stdout] | [INFO] [stdout] 16 | ... modifiers: *const KeyboardModifiers) -> 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/render.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use libc::{c_void, uint32_t, uintptr_t}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/render.rs:73:52 [INFO] [stdout] | [INFO] [stdout] 73 | ... out_textures: *mut uint32_t, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/handle.rs:36:42 [INFO] [stdout] | [INFO] [stdout] 36 | .field("handle", &self.0 as &Debug) [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)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 36 | .field("handle", &self.0 as &dyn Debug) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/handle.rs:37:51 [INFO] [stdout] | [INFO] [stdout] 37 | .field("title", &self.get_title() as &Debug) [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 37 | .field("title", &self.get_title() as &dyn Debug) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/handle.rs:38:51 [INFO] [stdout] | [INFO] [stdout] 38 | .field("class", &self.get_class() as &Debug) [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 38 | .field("class", &self.get_class() as &dyn Debug) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/handle.rs:64:42 [INFO] [stdout] | [INFO] [stdout] 64 | .field("handle", &self.0 as &Debug) [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 64 | .field("handle", &self.0 as &dyn Debug) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/handle.rs:65:49 [INFO] [stdout] | [INFO] [stdout] 65 | .field("name", &self.get_name() as &Debug) [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 65 | .field("name", &self.get_name() as &dyn Debug) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/handle.rs:66:51 [INFO] [stdout] | [INFO] [stdout] 66 | .field("views", &self.get_views() as &Debug) [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 66 | .field("views", &self.get_views() as &dyn Debug) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/callback.rs:630:1 [INFO] [stdout] | [INFO] [stdout] 630 | pub fn positioner_get_gravity(view: WlcView) -> PositionerGravityBit { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | #![warn(missing_docs)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/callback.rs:636:1 [INFO] [stdout] | [INFO] [stdout] 636 | / pub fn positioner_get_constraint_adjustment(view: WlcView) [INFO] [stdout] 637 | | -> PositionerConstraintAdjustmentBits { [INFO] [stdout] | |_________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> src/types.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | / bitflags! { [INFO] [stdout] 167 | | #[repr(C)] [INFO] [stdout] 168 | | pub flags PositionerAnchorBit: u32 { [INFO] [stdout] 169 | | const WLC_BIT_ANCHOR_NONE = 0, [INFO] [stdout] ... | [INFO] [stdout] 175 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> src/types.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | / bitflags! { [INFO] [stdout] 167 | | #[repr(C)] [INFO] [stdout] 168 | | pub flags PositionerAnchorBit: u32 { [INFO] [stdout] 169 | | const WLC_BIT_ANCHOR_NONE = 0, [INFO] [stdout] ... | [INFO] [stdout] 175 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> src/types.rs:177:1 [INFO] [stdout] | [INFO] [stdout] 177 | / bitflags! { [INFO] [stdout] 178 | | #[repr(C)] [INFO] [stdout] 179 | | pub flags PositionerGravityBit: u32 { [INFO] [stdout] 180 | | const WLC_BIT_GRAVITY_NONE = 0, [INFO] [stdout] ... | [INFO] [stdout] 187 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> src/types.rs:177:1 [INFO] [stdout] | [INFO] [stdout] 177 | / bitflags! { [INFO] [stdout] 178 | | #[repr(C)] [INFO] [stdout] 179 | | pub flags PositionerGravityBit: u32 { [INFO] [stdout] 180 | | const WLC_BIT_GRAVITY_NONE = 0, [INFO] [stdout] ... | [INFO] [stdout] 187 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> src/types.rs:189:1 [INFO] [stdout] | [INFO] [stdout] 189 | / bitflags! { [INFO] [stdout] 190 | | #[repr(C)] [INFO] [stdout] 191 | | pub flags PositionerConstraintAdjustmentBits: u32 { [INFO] [stdout] 192 | | const WLC_BIT_CONSTRAINT_ADJUSTMENT_NONE = 0, [INFO] [stdout] ... | [INFO] [stdout] 200 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> src/types.rs:189:1 [INFO] [stdout] | [INFO] [stdout] 189 | / bitflags! { [INFO] [stdout] 190 | | #[repr(C)] [INFO] [stdout] 191 | | pub flags PositionerConstraintAdjustmentBits: u32 { [INFO] [stdout] 192 | | const WLC_BIT_CONSTRAINT_ADJUSTMENT_NONE = 0, [INFO] [stdout] ... | [INFO] [stdout] 200 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[i8; 64]` does not permit being left uninitialized [INFO] [stdout] --> src/xkb/mod.rs:289:48 [INFO] [stdout] | [INFO] [stdout] 289 | let mut buffer_vec: [c_char; 64] = 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 `[i8; 64]` does not permit being left uninitialized [INFO] [stdout] --> src/xkb/mod.rs:302:48 [INFO] [stdout] | [INFO] [stdout] 302 | let mut buffer_vec: [c_char; 64] = 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: missing documentation for a function [INFO] [stdout] --> src/render.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | / pub fn wlc_pixels_read(format: wlc_pixel_format, [INFO] [stdout] 48 | | geometry: *const Geometry, [INFO] [stdout] 49 | | out_geo: *mut Geometry, [INFO] [stdout] 50 | | data: *mut c_void); [INFO] [stdout] | |______________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/render.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | / pub fn wlc_output_set_gamma(output: uintptr_t, [INFO] [stdout] 77 | | size: u16, [INFO] [stdout] 78 | | red: *mut u16, [INFO] [stdout] 79 | | green: *mut u16, [INFO] [stdout] 80 | | blue: *mut u16); [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/render.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn wlc_output_get_gamma_size(output: uintptr_t) -> u16 ; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.96s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: bitflags v0.7.0 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "d913a1bc4ad10e154d9060f7e646742988e94f90f7a0711c6596ed1ce9636c70", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d913a1bc4ad10e154d9060f7e646742988e94f90f7a0711c6596ed1ce9636c70", kill_on_drop: false }` [INFO] [stdout] d913a1bc4ad10e154d9060f7e646742988e94f90f7a0711c6596ed1ce9636c70 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d7d42b70c545b63f0b5b097a08bc9e4d03c0c2f490251966dcd5b696a06420ce [INFO] running `Command { std: "docker" "start" "-a" "d7d42b70c545b63f0b5b097a08bc9e4d03c0c2f490251966dcd5b696a06420ce", kill_on_drop: false }` [INFO] [stderr] warning: no edition set: defaulting to the 2015 edition while the latest is 2024 [INFO] [stderr] Compiling lazy_static v0.2.11 [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/types.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | / bitflags! { [INFO] [stdout] 34 | | /// Flags describing wayland events [INFO] [stdout] 35 | | #[repr(C)] [INFO] [stdout] 36 | | pub flags EventBit: u32 { [INFO] [stdout] ... | [INFO] [stdout] 46 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `bitflags` (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/types.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | / bitflags! { [INFO] [stdout] 34 | | /// Flags describing wayland events [INFO] [stdout] 35 | | #[repr(C)] [INFO] [stdout] 36 | | pub flags EventBit: u32 { [INFO] [stdout] ... | [INFO] [stdout] 46 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (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/types.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | / bitflags! { [INFO] [stdout] 49 | | /// How window is being viewed [INFO] [stdout] 50 | | #[repr(C)] [INFO] [stdout] 51 | | pub flags ViewState: u32 { [INFO] [stdout] ... | [INFO] [stdout] 63 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (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/types.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | / bitflags! { [INFO] [stdout] 49 | | /// How window is being viewed [INFO] [stdout] 50 | | #[repr(C)] [INFO] [stdout] 51 | | pub flags ViewState: u32 { [INFO] [stdout] ... | [INFO] [stdout] 63 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (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/types.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | / bitflags! { [INFO] [stdout] 66 | | /// Viewtype - like x11 flags [INFO] [stdout] 67 | | #[repr(C)] [INFO] [stdout] 68 | | pub flags ViewType: u32 { [INFO] [stdout] ... | [INFO] [stdout] 80 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (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/types.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | / bitflags! { [INFO] [stdout] 66 | | /// Viewtype - like x11 flags [INFO] [stdout] 67 | | #[repr(C)] [INFO] [stdout] 68 | | pub flags ViewType: u32 { [INFO] [stdout] ... | [INFO] [stdout] 80 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (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/types.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | / bitflags! { [INFO] [stdout] 83 | | /// Which edge is being used to resize a window. [INFO] [stdout] 84 | | #[repr(C)] [INFO] [stdout] 85 | | pub flags ResizeEdge: u32 { [INFO] [stdout] ... | [INFO] [stdout] 105 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (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/types.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | / bitflags! { [INFO] [stdout] 83 | | /// Which edge is being used to resize a window. [INFO] [stdout] 84 | | #[repr(C)] [INFO] [stdout] 85 | | pub flags ResizeEdge: u32 { [INFO] [stdout] ... | [INFO] [stdout] 105 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (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/types.rs:107:1 [INFO] [stdout] | [INFO] [stdout] 107 | / bitflags! { [INFO] [stdout] 108 | | /// Which view property is being updated [INFO] [stdout] 109 | | #[repr(C)] [INFO] [stdout] 110 | | pub flags ViewPropertyType: u32 { [INFO] [stdout] ... | [INFO] [stdout] 120 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (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/types.rs:107:1 [INFO] [stdout] | [INFO] [stdout] 107 | / bitflags! { [INFO] [stdout] 108 | | /// Which view property is being updated [INFO] [stdout] 109 | | #[repr(C)] [INFO] [stdout] 110 | | pub flags ViewPropertyType: u32 { [INFO] [stdout] ... | [INFO] [stdout] 120 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (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/types.rs:122:1 [INFO] [stdout] | [INFO] [stdout] 122 | / bitflags! { [INFO] [stdout] 123 | | /// Represents which keyboard meta keys are being pressed. [INFO] [stdout] 124 | | #[repr(C)] [INFO] [stdout] 125 | | pub flags KeyMod: u32 { [INFO] [stdout] ... | [INFO] [stdout] 145 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (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/types.rs:122:1 [INFO] [stdout] | [INFO] [stdout] 122 | / bitflags! { [INFO] [stdout] 123 | | /// Represents which keyboard meta keys are being pressed. [INFO] [stdout] 124 | | #[repr(C)] [INFO] [stdout] 125 | | pub flags KeyMod: u32 { [INFO] [stdout] ... | [INFO] [stdout] 145 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (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/types.rs:147:1 [INFO] [stdout] | [INFO] [stdout] 147 | / bitflags! { [INFO] [stdout] 148 | | /// "LEDs" or active key-locks. [INFO] [stdout] 149 | | /// i.e. caps lock, scroll lock [INFO] [stdout] 150 | | #[repr(C)] [INFO] [stdout] ... | [INFO] [stdout] 164 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (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/types.rs:147:1 [INFO] [stdout] | [INFO] [stdout] 147 | / bitflags! { [INFO] [stdout] 148 | | /// "LEDs" or active key-locks. [INFO] [stdout] 149 | | /// i.e. caps lock, scroll lock [INFO] [stdout] 150 | | #[repr(C)] [INFO] [stdout] ... | [INFO] [stdout] 164 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (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/types.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | / bitflags! { [INFO] [stdout] 167 | | #[repr(C)] [INFO] [stdout] 168 | | pub flags PositionerAnchorBit: u32 { [INFO] [stdout] 169 | | const WLC_BIT_ANCHOR_NONE = 0, [INFO] [stdout] ... | [INFO] [stdout] 175 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (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/types.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | / bitflags! { [INFO] [stdout] 167 | | #[repr(C)] [INFO] [stdout] 168 | | pub flags PositionerAnchorBit: u32 { [INFO] [stdout] 169 | | const WLC_BIT_ANCHOR_NONE = 0, [INFO] [stdout] ... | [INFO] [stdout] 175 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (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/types.rs:177:1 [INFO] [stdout] | [INFO] [stdout] 177 | / bitflags! { [INFO] [stdout] 178 | | #[repr(C)] [INFO] [stdout] 179 | | pub flags PositionerGravityBit: u32 { [INFO] [stdout] 180 | | const WLC_BIT_GRAVITY_NONE = 0, [INFO] [stdout] ... | [INFO] [stdout] 187 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (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/types.rs:177:1 [INFO] [stdout] | [INFO] [stdout] 177 | / bitflags! { [INFO] [stdout] 178 | | #[repr(C)] [INFO] [stdout] 179 | | pub flags PositionerGravityBit: u32 { [INFO] [stdout] 180 | | const WLC_BIT_GRAVITY_NONE = 0, [INFO] [stdout] ... | [INFO] [stdout] 187 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (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/types.rs:189:1 [INFO] [stdout] | [INFO] [stdout] 189 | / bitflags! { [INFO] [stdout] 190 | | #[repr(C)] [INFO] [stdout] 191 | | pub flags PositionerConstraintAdjustmentBits: u32 { [INFO] [stdout] 192 | | const WLC_BIT_CONSTRAINT_ADJUSTMENT_NONE = 0, [INFO] [stdout] ... | [INFO] [stdout] 200 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (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/types.rs:189:1 [INFO] [stdout] | [INFO] [stdout] 189 | / bitflags! { [INFO] [stdout] 190 | | #[repr(C)] [INFO] [stdout] 191 | | pub flags PositionerConstraintAdjustmentBits: u32 { [INFO] [stdout] 192 | | const WLC_BIT_CONSTRAINT_ADJUSTMENT_NONE = 0, [INFO] [stdout] ... | [INFO] [stdout] 200 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `WLC_RGBA8888` should have an upper camel case name [INFO] [stdout] --> src/render.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | WLC_RGBA8888 [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `WlcRgba8888` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `WLC_RENDERER_GLES2` should have an upper camel case name [INFO] [stdout] --> src/render.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | WLC_RENDERER_GLES2, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `WlcRendererGles2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `WLC_NO_RENDERER` should have an upper camel case name [INFO] [stdout] --> src/render.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | WLC_NO_RENDERER [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `WlcNoRenderer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SURFACE_RGB` should have an upper camel case name [INFO] [stdout] --> src/render.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | SURFACE_RGB, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `SurfaceRgb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SURFACE_RGBA` should have an upper camel case name [INFO] [stdout] --> src/render.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | SURFACE_RGBA, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SurfaceRgba` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SURFACE_EGL` should have an upper camel case name [INFO] [stdout] --> src/render.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | SURFACE_EGL, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `SurfaceEgl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SURFACE_Y_UV` should have an upper camel case name [INFO] [stdout] --> src/render.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | SURFACE_Y_UV, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SurfaceYUv` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SURFACE_Y_U_V` should have an upper camel case name [INFO] [stdout] --> src/render.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | SURFACE_Y_U_V, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SurfaceYUV` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SURFACE_Y_XUXV` should have an upper camel case name [INFO] [stdout] --> src/render.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | SURFACE_Y_XUXV, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SurfaceYXuxv` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/handle.rs:12:39 [INFO] [stdout] | [INFO] [stdout] 12 | use libc::{uintptr_t, c_char, c_void, uint32_t, pid_t}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/handle.rs:97:85 [INFO] [stdout] | [INFO] [stdout] 97 | fn wlc_output_set_resolution(output: uintptr_t, resolution: *const Size, scale: 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/handle.rs:99:51 [INFO] [stdout] | [INFO] [stdout] 99 | fn wlc_output_get_scale(output: uintptr_t) -> 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/input.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use libc::{size_t, 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/input.rs:10:73 [INFO] [stdout] | [INFO] [stdout] 10 | fn wlc_keyboard_get_current_keys(out_memb: *const size_t) -> *const 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/input.rs:12:45 [INFO] [stdout] | [INFO] [stdout] 12 | fn wlc_keyboard_get_keysym_for_key(key: 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/input.rs:13:80 [INFO] [stdout] | [INFO] [stdout] 13 | ... modifiers: *const KeyboardModifiers) -> 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/input.rs:15:44 [INFO] [stdout] | [INFO] [stdout] 15 | fn wlc_keyboard_get_utf32_for_key(key: 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/input.rs:16:79 [INFO] [stdout] | [INFO] [stdout] 16 | ... modifiers: *const KeyboardModifiers) -> 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/render.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use libc::{c_void, uint32_t, uintptr_t}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/render.rs:73:52 [INFO] [stdout] | [INFO] [stdout] 73 | ... out_textures: *mut uint32_t, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/handle.rs:36:42 [INFO] [stdout] | [INFO] [stdout] 36 | .field("handle", &self.0 as &Debug) [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)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 36 | .field("handle", &self.0 as &dyn Debug) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/handle.rs:37:51 [INFO] [stdout] | [INFO] [stdout] 37 | .field("title", &self.get_title() as &Debug) [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 37 | .field("title", &self.get_title() as &dyn Debug) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/handle.rs:38:51 [INFO] [stdout] | [INFO] [stdout] 38 | .field("class", &self.get_class() as &Debug) [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 38 | .field("class", &self.get_class() as &dyn Debug) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/handle.rs:64:42 [INFO] [stdout] | [INFO] [stdout] 64 | .field("handle", &self.0 as &Debug) [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 64 | .field("handle", &self.0 as &dyn Debug) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/handle.rs:65:49 [INFO] [stdout] | [INFO] [stdout] 65 | .field("name", &self.get_name() as &Debug) [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 65 | .field("name", &self.get_name() as &dyn Debug) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/handle.rs:66:51 [INFO] [stdout] | [INFO] [stdout] 66 | .field("views", &self.get_views() as &Debug) [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 66 | .field("views", &self.get_views() as &dyn Debug) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/callback.rs:630:1 [INFO] [stdout] | [INFO] [stdout] 630 | pub fn positioner_get_gravity(view: WlcView) -> PositionerGravityBit { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | #![warn(missing_docs)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/callback.rs:636:1 [INFO] [stdout] | [INFO] [stdout] 636 | / pub fn positioner_get_constraint_adjustment(view: WlcView) [INFO] [stdout] 637 | | -> PositionerConstraintAdjustmentBits { [INFO] [stdout] | |_________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> src/types.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | / bitflags! { [INFO] [stdout] 167 | | #[repr(C)] [INFO] [stdout] 168 | | pub flags PositionerAnchorBit: u32 { [INFO] [stdout] 169 | | const WLC_BIT_ANCHOR_NONE = 0, [INFO] [stdout] ... | [INFO] [stdout] 175 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> src/types.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | / bitflags! { [INFO] [stdout] 167 | | #[repr(C)] [INFO] [stdout] 168 | | pub flags PositionerAnchorBit: u32 { [INFO] [stdout] 169 | | const WLC_BIT_ANCHOR_NONE = 0, [INFO] [stdout] ... | [INFO] [stdout] 175 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> src/types.rs:177:1 [INFO] [stdout] | [INFO] [stdout] 177 | / bitflags! { [INFO] [stdout] 178 | | #[repr(C)] [INFO] [stdout] 179 | | pub flags PositionerGravityBit: u32 { [INFO] [stdout] 180 | | const WLC_BIT_GRAVITY_NONE = 0, [INFO] [stdout] ... | [INFO] [stdout] 187 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> src/types.rs:177:1 [INFO] [stdout] | [INFO] [stdout] 177 | / bitflags! { [INFO] [stdout] 178 | | #[repr(C)] [INFO] [stdout] 179 | | pub flags PositionerGravityBit: u32 { [INFO] [stdout] 180 | | const WLC_BIT_GRAVITY_NONE = 0, [INFO] [stdout] ... | [INFO] [stdout] 187 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> src/types.rs:189:1 [INFO] [stdout] | [INFO] [stdout] 189 | / bitflags! { [INFO] [stdout] 190 | | #[repr(C)] [INFO] [stdout] 191 | | pub flags PositionerConstraintAdjustmentBits: u32 { [INFO] [stdout] 192 | | const WLC_BIT_CONSTRAINT_ADJUSTMENT_NONE = 0, [INFO] [stdout] ... | [INFO] [stdout] 200 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> src/types.rs:189:1 [INFO] [stdout] | [INFO] [stdout] 189 | / bitflags! { [INFO] [stdout] 190 | | #[repr(C)] [INFO] [stdout] 191 | | pub flags PositionerConstraintAdjustmentBits: u32 { [INFO] [stdout] 192 | | const WLC_BIT_CONSTRAINT_ADJUSTMENT_NONE = 0, [INFO] [stdout] ... | [INFO] [stdout] 200 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[i8; 64]` does not permit being left uninitialized [INFO] [stdout] --> src/xkb/mod.rs:289:48 [INFO] [stdout] | [INFO] [stdout] 289 | let mut buffer_vec: [c_char; 64] = 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 `[i8; 64]` does not permit being left uninitialized [INFO] [stdout] --> src/xkb/mod.rs:302:48 [INFO] [stdout] | [INFO] [stdout] 302 | let mut buffer_vec: [c_char; 64] = 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: missing documentation for a function [INFO] [stdout] --> src/render.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | / pub fn wlc_pixels_read(format: wlc_pixel_format, [INFO] [stdout] 48 | | geometry: *const Geometry, [INFO] [stdout] 49 | | out_geo: *mut Geometry, [INFO] [stdout] 50 | | data: *mut c_void); [INFO] [stdout] | |______________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/render.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | / pub fn wlc_output_set_gamma(output: uintptr_t, [INFO] [stdout] 77 | | size: u16, [INFO] [stdout] 78 | | red: *mut u16, [INFO] [stdout] 79 | | green: *mut u16, [INFO] [stdout] 80 | | blue: *mut u16); [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/render.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn wlc_output_get_gamma_size(output: uintptr_t) -> u16 ; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling rustwlc v0.7.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> examples/simple.rs:122:1 [INFO] [stdout] | [INFO] [stdout] 122 | extern fn on_output_resolution(output: WlcOutput, _from: &Size, _to: &Size) { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(missing_abi)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> examples/simple.rs:126:1 [INFO] [stdout] | [INFO] [stdout] 126 | extern fn on_view_created(view: WlcView) -> bool { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> examples/simple.rs:134:1 [INFO] [stdout] | [INFO] [stdout] 134 | extern fn on_view_destroyed(view: WlcView) { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> examples/simple.rs:141:1 [INFO] [stdout] | [INFO] [stdout] 141 | extern fn on_view_focus(view: WlcView, focused: bool) { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> examples/simple.rs:145:1 [INFO] [stdout] | [INFO] [stdout] 145 | extern fn on_view_request_move(view: WlcView, origin: &Point) { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> examples/simple.rs:149:1 [INFO] [stdout] | [INFO] [stdout] 149 | extern fn on_view_request_resize(view: WlcView, edges: ResizeEdge, origin: &Point) { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> examples/simple.rs:153:1 [INFO] [stdout] | [INFO] [stdout] 153 | extern fn on_keyboard_key(view: WlcView, _time: u32, mods: &KeyboardModifiers, key: u32, state: KeyState) -> bool { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> examples/simple.rs:196:1 [INFO] [stdout] | [INFO] [stdout] 196 | extern fn on_pointer_button(view: WlcView, _time: u32, mods: &KeyboardModifiers, [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `extern` declarations without an explicit ABI are deprecated [INFO] [stdout] --> examples/simple.rs:221:1 [INFO] [stdout] | [INFO] [stdout] 221 | extern fn on_pointer_motion(_in_view: WlcView, _time: u32, point: &Point) -> bool { [INFO] [stdout] | ^^^^^^ help: explicitly specify the "C" ABI: `extern "C"` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated module `rustwlc::xkb::keysyms` [INFO] [stdout] --> examples/simple.rs:9:19 [INFO] [stdout] | [INFO] [stdout] 9 | use rustwlc::xkb::keysyms; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `std::sync::ONCE_INIT`: the `Once::new()` function is now preferred [INFO] [stdout] --> examples/simple.rs:19:1 [INFO] [stdout] | [INFO] [stdout] 19 | / lazy_static! { [INFO] [stdout] 20 | | static ref COMPOSITOR: RwLock = [INFO] [stdout] 21 | | RwLock::new(Compositor { view: None, [INFO] [stdout] 22 | | grab: Point { x: 0, y: 0 }, [INFO] [stdout] 23 | | edges: ResizeEdge::empty() }); [INFO] [stdout] 24 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `rustwlc::xkb::keysyms::KEY_q` [INFO] [stdout] --> examples/simple.rs:159:32 [INFO] [stdout] | [INFO] [stdout] 159 | if sym == keysyms::KEY_q { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `rustwlc::xkb::keysyms::KEY_Down` [INFO] [stdout] --> examples/simple.rs:165:39 [INFO] [stdout] | [INFO] [stdout] 165 | } else if sym == keysyms::KEY_Down { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `rustwlc::xkb::keysyms::KEY_Escape` [INFO] [stdout] --> examples/simple.rs:170:39 [INFO] [stdout] | [INFO] [stdout] 170 | } else if sym == keysyms::KEY_Escape { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `rustwlc::xkb::keysyms::KEY_Return` [INFO] [stdout] --> examples/simple.rs:174:39 [INFO] [stdout] | [INFO] [stdout] 174 | } else if sym == keysyms::KEY_Return { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `rustwlc::xkb::keysyms::KEY_1` [INFO] [stdout] --> examples/simple.rs:181:45 [INFO] [stdout] | [INFO] [stdout] 181 | } else if sym.raw() >= keysyms::KEY_1.raw() && sym.raw() <= keysyms::KEY_9.raw() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `rustwlc::xkb::keysyms::KEY_9` [INFO] [stdout] --> examples/simple.rs:181:82 [INFO] [stdout] | [INFO] [stdout] 181 | } else if sym.raw() >= keysyms::KEY_1.raw() && sym.raw() <= keysyms::KEY_9.raw() { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `rustwlc::xkb::keysyms::KEY_1` [INFO] [stdout] --> examples/simple.rs:183:51 [INFO] [stdout] | [INFO] [stdout] 183 | let scale = (sym.raw() - keysyms::KEY_1.raw()) + 1; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rustwlc::input::pointer::set_position`: Use set_position_v2(x: f64, y: f64) instead [INFO] [stdout] --> examples/simple.rs:222:30 [INFO] [stdout] | [INFO] [stdout] 222 | rustwlc::input::pointer::set_position(*point); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated function `rustwlc::callback::pointer_motion`: Use pointer_motion_v2 instead [INFO] [stdout] --> examples/simple.rs:301:15 [INFO] [stdout] | [INFO] [stdout] 301 | callback::pointer_motion(on_pointer_motion); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rustwlc::xkb::Keysym::raw` [INFO] [stdout] --> examples/simple.rs:181:27 [INFO] [stdout] | [INFO] [stdout] 181 | } else if sym.raw() >= keysyms::KEY_1.raw() && sym.raw() <= keysyms::KEY_9.raw() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rustwlc::xkb::Keysym::raw` [INFO] [stdout] --> examples/simple.rs:181:51 [INFO] [stdout] | [INFO] [stdout] 181 | } else if sym.raw() >= keysyms::KEY_1.raw() && sym.raw() <= keysyms::KEY_9.raw() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rustwlc::xkb::Keysym::raw` [INFO] [stdout] --> examples/simple.rs:181:64 [INFO] [stdout] | [INFO] [stdout] 181 | } else if sym.raw() >= keysyms::KEY_1.raw() && sym.raw() <= keysyms::KEY_9.raw() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rustwlc::xkb::Keysym::raw` [INFO] [stdout] --> examples/simple.rs:181:88 [INFO] [stdout] | [INFO] [stdout] 181 | } else if sym.raw() >= keysyms::KEY_1.raw() && sym.raw() <= keysyms::KEY_9.raw() { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rustwlc::xkb::Keysym::raw` [INFO] [stdout] --> examples/simple.rs:183:34 [INFO] [stdout] | [INFO] [stdout] 183 | let scale = (sym.raw() - keysyms::KEY_1.raw()) + 1; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated method `rustwlc::xkb::Keysym::raw` [INFO] [stdout] --> examples/simple.rs:183:57 [INFO] [stdout] | [INFO] [stdout] 183 | let scale = (sym.raw() - keysyms::KEY_1.raw()) + 1; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated macro `try`: use the `?` operator instead [INFO] [stdout] --> src/types.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | / bitflags! { [INFO] [stdout] 34 | | /// Flags describing wayland events [INFO] [stdout] 35 | | #[repr(C)] [INFO] [stdout] 36 | | pub flags EventBit: u32 { [INFO] [stdout] ... | [INFO] [stdout] 46 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(deprecated)]` on by default [INFO] [stdout] = note: this warning originates in the macro `bitflags` (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/types.rs:33:1 [INFO] [stdout] | [INFO] [stdout] 33 | / bitflags! { [INFO] [stdout] 34 | | /// Flags describing wayland events [INFO] [stdout] 35 | | #[repr(C)] [INFO] [stdout] 36 | | pub flags EventBit: u32 { [INFO] [stdout] ... | [INFO] [stdout] 46 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (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/types.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | / bitflags! { [INFO] [stdout] 49 | | /// How window is being viewed [INFO] [stdout] 50 | | #[repr(C)] [INFO] [stdout] 51 | | pub flags ViewState: u32 { [INFO] [stdout] ... | [INFO] [stdout] 63 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (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/types.rs:48:1 [INFO] [stdout] | [INFO] [stdout] 48 | / bitflags! { [INFO] [stdout] 49 | | /// How window is being viewed [INFO] [stdout] 50 | | #[repr(C)] [INFO] [stdout] 51 | | pub flags ViewState: u32 { [INFO] [stdout] ... | [INFO] [stdout] 63 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (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/types.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | / bitflags! { [INFO] [stdout] 66 | | /// Viewtype - like x11 flags [INFO] [stdout] 67 | | #[repr(C)] [INFO] [stdout] 68 | | pub flags ViewType: u32 { [INFO] [stdout] ... | [INFO] [stdout] 80 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (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/types.rs:65:1 [INFO] [stdout] | [INFO] [stdout] 65 | / bitflags! { [INFO] [stdout] 66 | | /// Viewtype - like x11 flags [INFO] [stdout] 67 | | #[repr(C)] [INFO] [stdout] 68 | | pub flags ViewType: u32 { [INFO] [stdout] ... | [INFO] [stdout] 80 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (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/types.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | / bitflags! { [INFO] [stdout] 83 | | /// Which edge is being used to resize a window. [INFO] [stdout] 84 | | #[repr(C)] [INFO] [stdout] 85 | | pub flags ResizeEdge: u32 { [INFO] [stdout] ... | [INFO] [stdout] 105 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (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/types.rs:82:1 [INFO] [stdout] | [INFO] [stdout] 82 | / bitflags! { [INFO] [stdout] 83 | | /// Which edge is being used to resize a window. [INFO] [stdout] 84 | | #[repr(C)] [INFO] [stdout] 85 | | pub flags ResizeEdge: u32 { [INFO] [stdout] ... | [INFO] [stdout] 105 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (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/types.rs:107:1 [INFO] [stdout] | [INFO] [stdout] 107 | / bitflags! { [INFO] [stdout] 108 | | /// Which view property is being updated [INFO] [stdout] 109 | | #[repr(C)] [INFO] [stdout] 110 | | pub flags ViewPropertyType: u32 { [INFO] [stdout] ... | [INFO] [stdout] 120 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (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/types.rs:107:1 [INFO] [stdout] | [INFO] [stdout] 107 | / bitflags! { [INFO] [stdout] 108 | | /// Which view property is being updated [INFO] [stdout] 109 | | #[repr(C)] [INFO] [stdout] 110 | | pub flags ViewPropertyType: u32 { [INFO] [stdout] ... | [INFO] [stdout] 120 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (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/types.rs:122:1 [INFO] [stdout] | [INFO] [stdout] 122 | / bitflags! { [INFO] [stdout] 123 | | /// Represents which keyboard meta keys are being pressed. [INFO] [stdout] 124 | | #[repr(C)] [INFO] [stdout] 125 | | pub flags KeyMod: u32 { [INFO] [stdout] ... | [INFO] [stdout] 145 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (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/types.rs:122:1 [INFO] [stdout] | [INFO] [stdout] 122 | / bitflags! { [INFO] [stdout] 123 | | /// Represents which keyboard meta keys are being pressed. [INFO] [stdout] 124 | | #[repr(C)] [INFO] [stdout] 125 | | pub flags KeyMod: u32 { [INFO] [stdout] ... | [INFO] [stdout] 145 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (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/types.rs:147:1 [INFO] [stdout] | [INFO] [stdout] 147 | / bitflags! { [INFO] [stdout] 148 | | /// "LEDs" or active key-locks. [INFO] [stdout] 149 | | /// i.e. caps lock, scroll lock [INFO] [stdout] 150 | | #[repr(C)] [INFO] [stdout] ... | [INFO] [stdout] 164 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (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/types.rs:147:1 [INFO] [stdout] | [INFO] [stdout] 147 | / bitflags! { [INFO] [stdout] 148 | | /// "LEDs" or active key-locks. [INFO] [stdout] 149 | | /// i.e. caps lock, scroll lock [INFO] [stdout] 150 | | #[repr(C)] [INFO] [stdout] ... | [INFO] [stdout] 164 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (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/types.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | / bitflags! { [INFO] [stdout] 167 | | #[repr(C)] [INFO] [stdout] 168 | | pub flags PositionerAnchorBit: u32 { [INFO] [stdout] 169 | | const WLC_BIT_ANCHOR_NONE = 0, [INFO] [stdout] ... | [INFO] [stdout] 175 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (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/types.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | / bitflags! { [INFO] [stdout] 167 | | #[repr(C)] [INFO] [stdout] 168 | | pub flags PositionerAnchorBit: u32 { [INFO] [stdout] 169 | | const WLC_BIT_ANCHOR_NONE = 0, [INFO] [stdout] ... | [INFO] [stdout] 175 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (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/types.rs:177:1 [INFO] [stdout] | [INFO] [stdout] 177 | / bitflags! { [INFO] [stdout] 178 | | #[repr(C)] [INFO] [stdout] 179 | | pub flags PositionerGravityBit: u32 { [INFO] [stdout] 180 | | const WLC_BIT_GRAVITY_NONE = 0, [INFO] [stdout] ... | [INFO] [stdout] 187 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (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/types.rs:177:1 [INFO] [stdout] | [INFO] [stdout] 177 | / bitflags! { [INFO] [stdout] 178 | | #[repr(C)] [INFO] [stdout] 179 | | pub flags PositionerGravityBit: u32 { [INFO] [stdout] 180 | | const WLC_BIT_GRAVITY_NONE = 0, [INFO] [stdout] ... | [INFO] [stdout] 187 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (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/types.rs:189:1 [INFO] [stdout] | [INFO] [stdout] 189 | / bitflags! { [INFO] [stdout] 190 | | #[repr(C)] [INFO] [stdout] 191 | | pub flags PositionerConstraintAdjustmentBits: u32 { [INFO] [stdout] 192 | | const WLC_BIT_CONSTRAINT_ADJUSTMENT_NONE = 0, [INFO] [stdout] ... | [INFO] [stdout] 200 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (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/types.rs:189:1 [INFO] [stdout] | [INFO] [stdout] 189 | / bitflags! { [INFO] [stdout] 190 | | #[repr(C)] [INFO] [stdout] 191 | | pub flags PositionerConstraintAdjustmentBits: u32 { [INFO] [stdout] 192 | | const WLC_BIT_CONSTRAINT_ADJUSTMENT_NONE = 0, [INFO] [stdout] ... | [INFO] [stdout] 200 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `WLC_RGBA8888` should have an upper camel case name [INFO] [stdout] --> src/render.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | WLC_RGBA8888 [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `WlcRgba8888` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `WLC_RENDERER_GLES2` should have an upper camel case name [INFO] [stdout] --> src/render.rs:23:5 [INFO] [stdout] | [INFO] [stdout] 23 | WLC_RENDERER_GLES2, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `WlcRendererGles2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `WLC_NO_RENDERER` should have an upper camel case name [INFO] [stdout] --> src/render.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 25 | WLC_NO_RENDERER [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `WlcNoRenderer` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SURFACE_RGB` should have an upper camel case name [INFO] [stdout] --> src/render.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | SURFACE_RGB, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `SurfaceRgb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SURFACE_RGBA` should have an upper camel case name [INFO] [stdout] --> src/render.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 33 | SURFACE_RGBA, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SurfaceRgba` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SURFACE_EGL` should have an upper camel case name [INFO] [stdout] --> src/render.rs:34:5 [INFO] [stdout] | [INFO] [stdout] 34 | SURFACE_EGL, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `SurfaceEgl` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SURFACE_Y_UV` should have an upper camel case name [INFO] [stdout] --> src/render.rs:35:5 [INFO] [stdout] | [INFO] [stdout] 35 | SURFACE_Y_UV, [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SurfaceYUv` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SURFACE_Y_U_V` should have an upper camel case name [INFO] [stdout] --> src/render.rs:36:5 [INFO] [stdout] | [INFO] [stdout] 36 | SURFACE_Y_U_V, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SurfaceYUV` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `SURFACE_Y_XUXV` should have an upper camel case name [INFO] [stdout] --> src/render.rs:37:5 [INFO] [stdout] | [INFO] [stdout] 37 | SURFACE_Y_XUXV, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `SurfaceYXuxv` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `xkb::tests::case_insensitive_from_name` [INFO] [stdout] --> src/xkb/tests.rs:63:1 [INFO] [stdout] | [INFO] [stdout] 63 | / fn case_insensitive_from_name() { [INFO] [stdout] 64 | | let names = vec![ [INFO] [stdout] 65 | | "caps_lock", "super_l", "escape", [INFO] [stdout] 66 | | "ESCAPE", "RETURN", "SELECT"]; [INFO] [stdout] ... | [INFO] [stdout] 73 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `xkb::tests::from_name_get_name` [INFO] [stdout] --> src/xkb/tests.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | / fn from_name_get_name() { [INFO] [stdout] 16 | | // Test a small (but most likely to be used) subset of keysyms [INFO] [stdout] 17 | | let names = vec![ [INFO] [stdout] 18 | | "a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", [INFO] [stdout] ... | [INFO] [stdout] 34 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `xkb::tests::sanity_test` [INFO] [stdout] --> src/xkb/tests.rs:9:1 [INFO] [stdout] | [INFO] [stdout] 9 | / fn sanity_test() { [INFO] [stdout] 10 | | assert!(true); [INFO] [stdout] 11 | | assert_eq!(1, 1); [INFO] [stdout] 12 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `xkb::tests::some_unexpected_keysyms` [INFO] [stdout] --> src/xkb/tests.rs:37:1 [INFO] [stdout] | [INFO] [stdout] 37 | / fn some_unexpected_keysyms() { [INFO] [stdout] 38 | | let non_names = vec![ [INFO] [stdout] 39 | | "soda", "caps lock", "Hypermeta_L", "key", [INFO] [stdout] 40 | | "keyboard", "aa", "kk"]; [INFO] [stdout] ... | [INFO] [stdout] 45 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated constant `xkb::tests::valitity_implications` [INFO] [stdout] --> src/xkb/tests.rs:49:1 [INFO] [stdout] | [INFO] [stdout] 49 | / fn valitity_implications() { [INFO] [stdout] 50 | | for val in 0u32..999999u32 { [INFO] [stdout] 51 | | let sym = Keysym::from(val); [INFO] [stdout] 52 | | if sym.is_valid() { [INFO] [stdout] ... | [INFO] [stdout] 60 | | } [INFO] [stdout] | |_^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/handle.rs:12:39 [INFO] [stdout] | [INFO] [stdout] 12 | use libc::{uintptr_t, c_char, c_void, uint32_t, pid_t}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/handle.rs:97:85 [INFO] [stdout] | [INFO] [stdout] 97 | fn wlc_output_set_resolution(output: uintptr_t, resolution: *const Size, scale: 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/handle.rs:99:51 [INFO] [stdout] | [INFO] [stdout] 99 | fn wlc_output_get_scale(output: uintptr_t) -> 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/input.rs:4:20 [INFO] [stdout] | [INFO] [stdout] 4 | use libc::{size_t, 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/input.rs:10:73 [INFO] [stdout] | [INFO] [stdout] 10 | fn wlc_keyboard_get_current_keys(out_memb: *const size_t) -> *const 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/input.rs:12:45 [INFO] [stdout] | [INFO] [stdout] 12 | fn wlc_keyboard_get_keysym_for_key(key: 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/input.rs:13:80 [INFO] [stdout] | [INFO] [stdout] 13 | ... modifiers: *const KeyboardModifiers) -> 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/input.rs:15:44 [INFO] [stdout] | [INFO] [stdout] 15 | fn wlc_keyboard_get_utf32_for_key(key: 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/input.rs:16:79 [INFO] [stdout] | [INFO] [stdout] 16 | ... modifiers: *const KeyboardModifiers) -> 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/render.rs:3:20 [INFO] [stdout] | [INFO] [stdout] 3 | use libc::{c_void, uint32_t, uintptr_t}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: use of deprecated type alias `libc::uint32_t`: Use u32 instead. [INFO] [stdout] --> src/render.rs:73:52 [INFO] [stdout] | [INFO] [stdout] 73 | ... out_textures: *mut uint32_t, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/handle.rs:36:42 [INFO] [stdout] | [INFO] [stdout] 36 | .field("handle", &self.0 as &Debug) [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)]` (part of `#[warn(rust_2021_compatibility)]`) on by default [INFO] [stdout] help: if this is a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 36 | .field("handle", &self.0 as &dyn Debug) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/handle.rs:37:51 [INFO] [stdout] | [INFO] [stdout] 37 | .field("title", &self.get_title() as &Debug) [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 37 | .field("title", &self.get_title() as &dyn Debug) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/handle.rs:38:51 [INFO] [stdout] | [INFO] [stdout] 38 | .field("class", &self.get_class() as &Debug) [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 38 | .field("class", &self.get_class() as &dyn Debug) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/handle.rs:64:42 [INFO] [stdout] | [INFO] [stdout] 64 | .field("handle", &self.0 as &Debug) [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 64 | .field("handle", &self.0 as &dyn Debug) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/handle.rs:65:49 [INFO] [stdout] | [INFO] [stdout] 65 | .field("name", &self.get_name() as &Debug) [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 65 | .field("name", &self.get_name() as &dyn Debug) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/handle.rs:66:51 [INFO] [stdout] | [INFO] [stdout] 66 | .field("views", &self.get_views() as &Debug) [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 a dyn-compatible trait, use `dyn` [INFO] [stdout] | [INFO] [stdout] 66 | .field("views", &self.get_views() as &dyn Debug) [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcMk89q3/symbols.o" "<3 object files omitted>" "-Wl,--as-needed" "-Wl,-Bstatic" "/opt/rustwide/target/debug/deps/{librustwlc-9e4fac343472770d,libbitflags-ed87549ac517e209,liblibc-a58beeab2e1413cc,liblazy_static-d8dece1d67af894f}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lwlc" "-lxkbcommon" "-lwlc" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcMk89q3/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/examples/simple-4f28a77823e25131" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: unable to find library -lwlc [INFO] [stdout] rust-lld: error: unable to find library -lwlc [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rustwlc` (example "simple") due to 1 previous error; 26 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/callback.rs:630:1 [INFO] [stdout] | [INFO] [stdout] 630 | pub fn positioner_get_gravity(view: WlcView) -> PositionerGravityBit { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: the lint level is defined here [INFO] [stdout] --> src/lib.rs:59:9 [INFO] [stdout] | [INFO] [stdout] 59 | #![warn(missing_docs)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/callback.rs:636:1 [INFO] [stdout] | [INFO] [stdout] 636 | / pub fn positioner_get_constraint_adjustment(view: WlcView) [INFO] [stdout] 637 | | -> PositionerConstraintAdjustmentBits { [INFO] [stdout] | |_________________________________________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> src/types.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | / bitflags! { [INFO] [stdout] 167 | | #[repr(C)] [INFO] [stdout] 168 | | pub flags PositionerAnchorBit: u32 { [INFO] [stdout] 169 | | const WLC_BIT_ANCHOR_NONE = 0, [INFO] [stdout] ... | [INFO] [stdout] 175 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> src/types.rs:166:1 [INFO] [stdout] | [INFO] [stdout] 166 | / bitflags! { [INFO] [stdout] 167 | | #[repr(C)] [INFO] [stdout] 168 | | pub flags PositionerAnchorBit: u32 { [INFO] [stdout] 169 | | const WLC_BIT_ANCHOR_NONE = 0, [INFO] [stdout] ... | [INFO] [stdout] 175 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> src/types.rs:177:1 [INFO] [stdout] | [INFO] [stdout] 177 | / bitflags! { [INFO] [stdout] 178 | | #[repr(C)] [INFO] [stdout] 179 | | pub flags PositionerGravityBit: u32 { [INFO] [stdout] 180 | | const WLC_BIT_GRAVITY_NONE = 0, [INFO] [stdout] ... | [INFO] [stdout] 187 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> src/types.rs:177:1 [INFO] [stdout] | [INFO] [stdout] 177 | / bitflags! { [INFO] [stdout] 178 | | #[repr(C)] [INFO] [stdout] 179 | | pub flags PositionerGravityBit: u32 { [INFO] [stdout] 180 | | const WLC_BIT_GRAVITY_NONE = 0, [INFO] [stdout] ... | [INFO] [stdout] 187 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a struct [INFO] [stdout] --> src/types.rs:189:1 [INFO] [stdout] | [INFO] [stdout] 189 | / bitflags! { [INFO] [stdout] 190 | | #[repr(C)] [INFO] [stdout] 191 | | pub flags PositionerConstraintAdjustmentBits: u32 { [INFO] [stdout] 192 | | const WLC_BIT_CONSTRAINT_ADJUSTMENT_NONE = 0, [INFO] [stdout] ... | [INFO] [stdout] 200 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a constant [INFO] [stdout] --> src/types.rs:189:1 [INFO] [stdout] | [INFO] [stdout] 189 | / bitflags! { [INFO] [stdout] 190 | | #[repr(C)] [INFO] [stdout] 191 | | pub flags PositionerConstraintAdjustmentBits: u32 { [INFO] [stdout] 192 | | const WLC_BIT_CONSTRAINT_ADJUSTMENT_NONE = 0, [INFO] [stdout] ... | [INFO] [stdout] 200 | | } [INFO] [stdout] | |_^ [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `bitflags` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `[i8; 64]` does not permit being left uninitialized [INFO] [stdout] --> src/xkb/mod.rs:289:48 [INFO] [stdout] | [INFO] [stdout] 289 | let mut buffer_vec: [c_char; 64] = 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 `[i8; 64]` does not permit being left uninitialized [INFO] [stdout] --> src/xkb/mod.rs:302:48 [INFO] [stdout] | [INFO] [stdout] 302 | let mut buffer_vec: [c_char; 64] = 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: missing documentation for a function [INFO] [stdout] --> src/render.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 47 | / pub fn wlc_pixels_read(format: wlc_pixel_format, [INFO] [stdout] 48 | | geometry: *const Geometry, [INFO] [stdout] 49 | | out_geo: *mut Geometry, [INFO] [stdout] 50 | | data: *mut c_void); [INFO] [stdout] | |______________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/render.rs:76:5 [INFO] [stdout] | [INFO] [stdout] 76 | / pub fn wlc_output_set_gamma(output: uintptr_t, [INFO] [stdout] 77 | | size: u16, [INFO] [stdout] 78 | | red: *mut u16, [INFO] [stdout] 79 | | green: *mut u16, [INFO] [stdout] 80 | | blue: *mut u16); [INFO] [stdout] | |________________________________________________^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: missing documentation for a function [INFO] [stdout] --> src/render.rs:82:5 [INFO] [stdout] | [INFO] [stdout] 82 | pub fn wlc_output_get_gamma_size(output: uintptr_t) -> u16 ; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `cc` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "cc" "-m64" "/tmp/rustcptuqPk/symbols.o" "<2 object files omitted>" "-Wl,--as-needed" "-Wl,-Bdynamic" "-lwlc" "-lxkbcommon" "-lwlc" "-Wl,-Bstatic" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libtest-*,libgetopts-*,libunicode_width-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/debug/deps/{libbitflags-ed87549ac517e209,liblibc-a58beeab2e1413cc}.rlib" "/lib/rustlib/x86_64-unknown-linux-gnu/lib/{libstd-*,libpanic_unwind-*,libobject-*,libmemchr-*,libaddr2line-*,libgimli-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*,librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-Wl,-Bdynamic" "-lgcc_s" "-lutil" "-lrt" "-lpthread" "-lm" "-ldl" "-lc" "-L" "/tmp/rustcptuqPk/raw-dylibs" "-B/lib/rustlib/x86_64-unknown-linux-gnu/bin/gcc-ld" "-fuse-ld=lld" "-Wl,--eh-frame-hdr" "-Wl,-z,noexecstack" "-L" "/lib/rustlib/x86_64-unknown-linux-gnu/lib" "-o" "/opt/rustwide/target/debug/deps/rustwlc-4e3c73752acfb210" "-Wl,--gc-sections" "-pie" "-Wl,-z,relro,-z,now" "-nodefaultlibs" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: error: unable to find library -lwlc [INFO] [stdout] rust-lld: error: unable to find library -lwlc [INFO] [stdout] collect2: error: ld returned 1 exit status [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `rustwlc` (lib test) due to 1 previous error; 64 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d7d42b70c545b63f0b5b097a08bc9e4d03c0c2f490251966dcd5b696a06420ce", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7d42b70c545b63f0b5b097a08bc9e4d03c0c2f490251966dcd5b696a06420ce", kill_on_drop: false }` [INFO] [stdout] d7d42b70c545b63f0b5b097a08bc9e4d03c0c2f490251966dcd5b696a06420ce