[INFO] cloning repository https://github.com/aboglioli/rwm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/aboglioli/rwm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faboglioli%2Frwm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faboglioli%2Frwm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4979cda073bdfa0d53ae0cc81000588e6a3b3a63 [INFO] checking aboglioli/rwm/4979cda073bdfa0d53ae0cc81000588e6a3b3a63 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faboglioli%2Frwm" "/workspace/builds/worker-7-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/aboglioli/rwm on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/aboglioli/rwm [INFO] finished tweaking git repo https://github.com/aboglioli/rwm [INFO] tweaked toml for git repo https://github.com/aboglioli/rwm written to /workspace/builds/worker-7-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/aboglioli/rwm already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded quote v1.0.4 [INFO] [stderr] Downloaded signal-hook-registry v1.2.0 [INFO] [stderr] Downloaded pkg-config v0.3.17 [INFO] [stderr] Downloaded socket2 v0.3.12 [INFO] [stderr] Downloaded net2 v0.2.34 [INFO] [stderr] Downloaded arc-swap v0.4.6 [INFO] [stderr] Downloaded x11 v2.18.2 [INFO] [stderr] Downloaded hermit-abi v0.1.12 [INFO] [stderr] Downloaded proc-macro2 v1.0.12 [INFO] [stderr] Downloaded mio v0.6.22 [INFO] [stderr] Downloaded miow v0.3.3 [INFO] [stderr] Downloaded syn v1.0.19 [INFO] [stderr] Downloaded mio-named-pipes v0.1.6 [INFO] [stderr] Downloaded pin-project-lite v0.1.5 [INFO] [stderr] Downloaded tokio v0.2.20 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 49224840f0825b730513b831113dd9b593b1c310559e27a3a19c2a8f208dbaee [INFO] running `Command { std: "docker" "start" "-a" "49224840f0825b730513b831113dd9b593b1c310559e27a3a19c2a8f208dbaee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "49224840f0825b730513b831113dd9b593b1c310559e27a3a19c2a8f208dbaee", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "49224840f0825b730513b831113dd9b593b1c310559e27a3a19c2a8f208dbaee", kill_on_drop: false }` [INFO] [stdout] 49224840f0825b730513b831113dd9b593b1c310559e27a3a19c2a8f208dbaee [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 64b7e1be08207702aec6ef64f9f00905a325d1b7866d6db180930b33dd53dbf7 [INFO] running `Command { std: "docker" "start" "-a" "64b7e1be08207702aec6ef64f9f00905a325d1b7866d6db180930b33dd53dbf7", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.69 [INFO] [stderr] Compiling proc-macro2 v1.0.12 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling syn v1.0.19 [INFO] [stderr] Compiling memchr v2.3.3 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Checking arc-swap v0.4.6 [INFO] [stderr] Checking futures-core v0.3.4 [INFO] [stderr] Checking fnv v1.0.6 [INFO] [stderr] Checking pin-project-lite v0.1.5 [INFO] [stderr] Checking bytes v0.5.4 [INFO] [stderr] Compiling x11 v2.18.2 [INFO] [stderr] Compiling quote v1.0.4 [INFO] [stderr] Checking net2 v0.2.34 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking signal-hook-registry v1.2.0 [INFO] [stderr] Checking mio v0.6.22 [INFO] [stderr] Checking mio-uds v0.6.8 [INFO] [stderr] Compiling tokio-macros v0.2.5 [INFO] [stderr] Checking tokio v0.2.20 [INFO] [stderr] Checking rwm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/core/error.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 30 | impl Error { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 31 | fn new(message: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/core/event.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 19 | CreateNotify(CreateWindowEvent), [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 19 | CreateNotify(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/core/event.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | ConfigureNotify(ConfigureEvent), [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 20 | ConfigureNotify(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/core/event.rs:21:20 [INFO] [stdout] | [INFO] [stdout] 21 | ReparentNotify(ReparentEvent), [INFO] [stdout] | -------------- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 21 | ReparentNotify(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/core/event.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 22 | MapNotify(MapEvent), [INFO] [stdout] | --------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 22 | MapNotify(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/core/event.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 24 | DestroyNotify(DestroyWindowEvent), [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 24 | DestroyNotify(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/core/event.rs:31:14 [INFO] [stdout] | [INFO] [stdout] 31 | KeyPress(KeyEvent), [INFO] [stdout] | -------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 31 | KeyPress(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/core/event.rs:32:16 [INFO] [stdout] | [INFO] [stdout] 32 | KeyRelease(KeyEvent), [INFO] [stdout] | ---------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 32 | KeyRelease(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/core/event.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | ButtonPress(ButtonEvent), [INFO] [stdout] | ----------- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 33 | ButtonPress(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/core/event.rs:34:19 [INFO] [stdout] | [INFO] [stdout] 34 | ButtonRelease(ButtonEvent), [INFO] [stdout] | ------------- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 34 | ButtonRelease(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/core/event.rs:35:18 [INFO] [stdout] | [INFO] [stdout] 35 | MotionNotify(ButtonEvent, MotionEvent), [INFO] [stdout] | ------------ ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 35 | MotionNotify((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is`, `unfocus`, `mark`, `unmark`, and `reparent` are never used [INFO] [stdout] --> src/core/node.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait Node { [INFO] [stdout] | ---- methods in this trait [INFO] [stdout] 6 | fn id(&self) -> NodeID; [INFO] [stdout] 7 | fn is(&self, id: NodeID) -> bool; [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 13 | fn unfocus(&mut self); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 14 | [INFO] [stdout] 15 | fn mark(&mut self); [INFO] [stdout] | ^^^^ [INFO] [stdout] 16 | fn unmark(&mut self); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | fn reparent(&self, parent: window::WindowID); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Server` is never constructed [INFO] [stdout] --> src/core/server.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Server {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `start` are never used [INFO] [stdout] --> src/core/server.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 3 | impl Server { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 4 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | fn start(&self) {} [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `x` and `y` are never read [INFO] [stdout] --> src/core/window.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Position { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 11 | x: i32, [INFO] [stdout] | ^ [INFO] [stdout] 12 | y: i32, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `width` and `height` are never read [INFO] [stdout] --> src/core/window.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Size { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 16 | width: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 17 | height: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `u64` does not permit being left uninitialized [INFO] [stdout] --> src/core/x.rs:105:35 [INFO] [stdout] | [INFO] [stdout] 105 | let mut root_return = mem::MaybeUninit::uninit().assume_init(); [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 `u64` does not permit being left uninitialized [INFO] [stdout] --> src/core/x.rs:106:37 [INFO] [stdout] | [INFO] [stdout] 106 | let mut parent_return = mem::MaybeUninit::uninit().assume_init(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `*mut u64` does not permit being left uninitialized [INFO] [stdout] --> src/core/x.rs:107:29 [INFO] [stdout] | [INFO] [stdout] 107 | let mut w_ptr = mem::MaybeUninit::uninit().assume_init(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: raw pointers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/core/error.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 30 | impl Error { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 31 | fn new(message: &str) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/core/event.rs:19:18 [INFO] [stdout] | [INFO] [stdout] 19 | CreateNotify(CreateWindowEvent), [INFO] [stdout] | ------------ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 19 | CreateNotify(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/core/event.rs:20:21 [INFO] [stdout] | [INFO] [stdout] 20 | ConfigureNotify(ConfigureEvent), [INFO] [stdout] | --------------- ^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 20 | ConfigureNotify(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/core/event.rs:21:20 [INFO] [stdout] | [INFO] [stdout] 21 | ReparentNotify(ReparentEvent), [INFO] [stdout] | -------------- ^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 21 | ReparentNotify(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/core/event.rs:22:15 [INFO] [stdout] | [INFO] [stdout] 22 | MapNotify(MapEvent), [INFO] [stdout] | --------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 22 | MapNotify(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/core/event.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 24 | DestroyNotify(DestroyWindowEvent), [INFO] [stdout] | ------------- ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 24 | DestroyNotify(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/core/event.rs:31:14 [INFO] [stdout] | [INFO] [stdout] 31 | KeyPress(KeyEvent), [INFO] [stdout] | -------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 31 | KeyPress(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/core/event.rs:32:16 [INFO] [stdout] | [INFO] [stdout] 32 | KeyRelease(KeyEvent), [INFO] [stdout] | ---------- ^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 32 | KeyRelease(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/core/event.rs:33:17 [INFO] [stdout] | [INFO] [stdout] 33 | ButtonPress(ButtonEvent), [INFO] [stdout] | ----------- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 33 | ButtonPress(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/core/event.rs:34:19 [INFO] [stdout] | [INFO] [stdout] 34 | ButtonRelease(ButtonEvent), [INFO] [stdout] | ------------- ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 34 | ButtonRelease(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `0` and `1` are never read [INFO] [stdout] --> src/core/event.rs:35:18 [INFO] [stdout] | [INFO] [stdout] 35 | MotionNotify(ButtonEvent, MotionEvent), [INFO] [stdout] | ------------ ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | fields in this variant [INFO] [stdout] | [INFO] [stdout] help: consider changing the fields to be of unit type to suppress this warning while preserving the field numbering, or remove the fields [INFO] [stdout] | [INFO] [stdout] 35 | MotionNotify((), ()), [INFO] [stdout] | ~~ ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is`, `unfocus`, `mark`, `unmark`, and `reparent` are never used [INFO] [stdout] --> src/core/node.rs:7:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub trait Node { [INFO] [stdout] | ---- methods in this trait [INFO] [stdout] 6 | fn id(&self) -> NodeID; [INFO] [stdout] 7 | fn is(&self, id: NodeID) -> bool; [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 13 | fn unfocus(&mut self); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] 14 | [INFO] [stdout] 15 | fn mark(&mut self); [INFO] [stdout] | ^^^^ [INFO] [stdout] 16 | fn unmark(&mut self); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 19 | fn reparent(&self, parent: window::WindowID); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Server` is never constructed [INFO] [stdout] --> src/core/server.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | pub struct Server {} [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `start` are never used [INFO] [stdout] --> src/core/server.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 3 | impl Server { [INFO] [stdout] | ----------- associated items in this implementation [INFO] [stdout] 4 | fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 8 | fn start(&self) {} [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `x` and `y` are never read [INFO] [stdout] --> src/core/window.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Position { [INFO] [stdout] | -------- fields in this struct [INFO] [stdout] 11 | x: i32, [INFO] [stdout] | ^ [INFO] [stdout] 12 | y: i32, [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `width` and `height` are never read [INFO] [stdout] --> src/core/window.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct Size { [INFO] [stdout] | ---- fields in this struct [INFO] [stdout] 16 | width: u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 17 | height: u32, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `u64` does not permit being left uninitialized [INFO] [stdout] --> src/core/x.rs:105:35 [INFO] [stdout] | [INFO] [stdout] 105 | let mut root_return = mem::MaybeUninit::uninit().assume_init(); [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 `u64` does not permit being left uninitialized [INFO] [stdout] --> src/core/x.rs:106:37 [INFO] [stdout] | [INFO] [stdout] 106 | let mut parent_return = mem::MaybeUninit::uninit().assume_init(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `*mut u64` does not permit being left uninitialized [INFO] [stdout] --> src/core/x.rs:107:29 [INFO] [stdout] | [INFO] [stdout] 107 | let mut w_ptr = mem::MaybeUninit::uninit().assume_init(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: raw pointers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `XWindowAttributes` does not permit being left uninitialized [INFO] [stdout] --> src/core/x.rs:194:29 [INFO] [stdout] | [INFO] [stdout] 194 | let mut attrs = mem::MaybeUninit::uninit().assume_init(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | this code causes undefined behavior when executed [INFO] [stdout] | help: use `MaybeUninit` instead, and only call `assume_init` after initialization is done [INFO] [stdout] | [INFO] [stdout] = note: integers must be initialized [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the type `XWindowAttributes` does not permit being left uninitialized [INFO] [stdout] --> src/core/x.rs:194:29 [INFO] [stdout] | [INFO] [stdout] 194 | let mut attrs = mem::MaybeUninit::uninit().assume_init(); [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: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 9.02s [INFO] running `Command { std: "docker" "inspect" "64b7e1be08207702aec6ef64f9f00905a325d1b7866d6db180930b33dd53dbf7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64b7e1be08207702aec6ef64f9f00905a325d1b7866d6db180930b33dd53dbf7", kill_on_drop: false }` [INFO] [stdout] 64b7e1be08207702aec6ef64f9f00905a325d1b7866d6db180930b33dd53dbf7