[INFO] cloning repository https://github.com/joshmarinacci/clogwench [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/joshmarinacci/clogwench" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoshmarinacci%2Fclogwench", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoshmarinacci%2Fclogwench'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6bf8b2842e9ea9f0a04ad28e0a5fe8b16556e61f [INFO] testing joshmarinacci/clogwench against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjoshmarinacci%2Fclogwench" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/joshmarinacci/clogwench on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/joshmarinacci/clogwench [INFO] finished tweaking git repo https://github.com/joshmarinacci/clogwench [INFO] tweaked toml for git repo https://github.com/joshmarinacci/clogwench written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/joshmarinacci/clogwench already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d40d9ccca3ad27e1b37b2e9c31e370b9f4162f935a96f4d8df7f167adcdf3bc6 [INFO] running `Command { std: "docker" "start" "-a" "d40d9ccca3ad27e1b37b2e9c31e370b9f4162f935a96f4d8df7f167adcdf3bc6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d40d9ccca3ad27e1b37b2e9c31e370b9f4162f935a96f4d8df7f167adcdf3bc6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d40d9ccca3ad27e1b37b2e9c31e370b9f4162f935a96f4d8df7f167adcdf3bc6", kill_on_drop: false }` [INFO] [stdout] d40d9ccca3ad27e1b37b2e9c31e370b9f4162f935a96f4d8df7f167adcdf3bc6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=warn" "-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:b0c94ce3c1162fcb8e57cac5b65ec2f72eabb1eebea4fcc35e269e823f681646" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-04-10" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 32d005d986d367b5e9a5fd090f4526f7fbb5f477c0dbe70b2a1c4fb64365ed68 [INFO] running `Command { std: "docker" "start" "-a" "32d005d986d367b5e9a5fd090f4526f7fbb5f477c0dbe70b2a1c4fb64365ed68", 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] Compiling libc v0.2.112 [INFO] [stderr] Compiling syn v1.0.85 [INFO] [stderr] Compiling serde_derive v1.0.133 [INFO] [stderr] Compiling serde v1.0.133 [INFO] [stderr] Compiling encoding_index_tests v0.1.4 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling serde_json v1.0.74 [INFO] [stderr] Compiling crc32fast v1.3.0 [INFO] [stderr] Compiling radium v0.6.2 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling anyhow v1.0.52 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling unicode-segmentation v1.8.0 [INFO] [stderr] Compiling smallvec v1.7.0 [INFO] [stderr] Compiling tap v1.0.1 [INFO] [stderr] Compiling wyz v0.2.0 [INFO] [stderr] Compiling funty v1.2.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling version-compare v0.1.0 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling arc-swap v0.4.8 [INFO] [stderr] Compiling log-mdc v0.1.0 [INFO] [stderr] Compiling sdl2 v0.35.1 [INFO] [stderr] Compiling uitoolkit v0.1.0 (/opt/rustwide/workdir/uitoolkit) [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling deflate v0.9.1 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling indexmap v1.8.0 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling unsafe-any v0.4.2 [INFO] [stderr] Compiling lock_api v0.4.5 [INFO] [stderr] Compiling quote v1.0.14 [INFO] [stderr] Compiling encoding-index-singlebyte v1.20141219.5 [INFO] [stderr] Compiling encoding-index-korean v1.20141219.5 [INFO] [stderr] Compiling encoding-index-japanese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-tradchinese v1.20141219.5 [INFO] [stderr] Compiling encoding-index-simpchinese v1.20141219.5 [INFO] [stderr] Compiling typemap v0.3.3 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling sdl2-sys v0.35.1 [INFO] [stderr] Compiling heck v0.3.3 [INFO] [stderr] Compiling encoding v0.2.33 [INFO] [stderr] Compiling bitvec v0.21.2 [INFO] [stderr] Compiling png v0.17.2 [INFO] [stderr] Compiling ordered-float v2.10.0 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling nix v0.23.1 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling thread-id v3.3.0 [INFO] [stderr] Compiling errno v0.2.8 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling framebuffer v0.3.1 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling evdev v0.11.1 [INFO] [stderr] Compiling ctrlc v3.2.1 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling derivative v2.2.0 [INFO] [stderr] Compiling structopt-derive v0.4.18 [INFO] [stderr] Compiling input v0.1.0 (/opt/rustwide/workdir/tools-input) [INFO] [stdout] warning: function is never used: `find_keyboard` [INFO] [stdout] --> tools-input/src/main.rs:6:4 [INFO] [stdout] | [INFO] [stdout] 6 | fn find_keyboard() -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `pick_device` [INFO] [stdout] --> tools-input/src/_pick_device.rs:4:8 [INFO] [stdout] | [INFO] [stdout] 4 | pub fn pick_device() -> evdev::Device { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 2 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling structopt v0.3.25 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling serde_yaml v0.8.23 [INFO] [stderr] Compiling serde-value v0.7.0 [INFO] [stderr] Compiling env_logger v0.9.0 [INFO] [stderr] Compiling cool-logger v0.1.0 (/opt/rustwide/workdir/cool-logger) [INFO] [stderr] Compiling test-log v0.1.0 (/opt/rustwide/workdir/test-log) [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> test-log/src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | set_logger(&LOGGER).map(|()|log::set_max_level(LevelFilter::Info)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling common v0.1.0 (/opt/rustwide/workdir/common) [INFO] [stderr] Compiling log4rs v1.0.0 [INFO] [stdout] warning: unused import: `Instant` [INFO] [stdout] --> common/src/events.rs:1:17 [INFO] [stdout] | [INFO] [stdout] 1 | use std::time::{Instant, SystemTime, UNIX_EPOCH}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ARROW_LEFT` should have an upper camel case name [INFO] [stdout] --> common/src/events.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | ARROW_LEFT, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `ArrowLeft` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ARROW_RIGHT` should have an upper camel case name [INFO] [stdout] --> common/src/events.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | ARROW_RIGHT, [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `ArrowRight` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ARROW_UP` should have an upper camel case name [INFO] [stdout] --> common/src/events.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | ARROW_UP, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `ArrowUp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `ARROW_DOWN` should have an upper camel case name [INFO] [stdout] --> common/src/events.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | ARROW_DOWN, [INFO] [stdout] | ^^^^^^^^^^ help: convert the identifier to upper camel case: `ArrowDown` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LETTER_P` should have an upper camel case name [INFO] [stdout] --> common/src/events.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | LETTER_P, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `LetterP` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `LETTER_Q` should have an upper camel case name [INFO] [stdout] --> common/src/events.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | LETTER_Q, [INFO] [stdout] | ^^^^^^^^ help: convert the identifier to upper camel case: `LetterQ` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `MOUSE_PRIMARY` should have an upper camel case name [INFO] [stdout] --> common/src/events.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 19 | MOUSE_PRIMARY, [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `MousePrimary` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `error`, `warn` [INFO] [stdout] --> common/src/graphics.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | use log::{error, warn}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> common/src/graphics.rs:225:28 [INFO] [stdout] | [INFO] [stdout] 225 | let r:u8 = (upper & 0b11111_000); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 225 - let r:u8 = (upper & 0b11111_000); [INFO] [stdout] 225 + let r:u8 = upper & 0b11111_000; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `File` [INFO] [stdout] --> common/src/font.rs:2:15 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fs::{File, read_to_string}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> common/src/font.rs:36:41 [INFO] [stdout] | [INFO] [stdout] 36 | ... let src_n = (j * glyph.width + i); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 36 - let src_n = (j * glyph.width + i); [INFO] [stdout] 36 + let src_n = j * glyph.width + i; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `self_bounds` [INFO] [stdout] --> common/src/graphics.rs:124:13 [INFO] [stdout] | [INFO] [stdout] 124 | let self_bounds = self.bounds().clone(); [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_self_bounds` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> common/src/graphics.rs:122:13 [INFO] [stdout] | [INFO] [stdout] 122 | let mut dst_f_bounds = src_bounds.add(dst_pos).intersect(self.bounds()); [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> common/src/graphics.rs:205:18 [INFO] [stdout] | [INFO] [stdout] 205 | let (mut middle, _) = after.split_at_mut((bounds.w * bpp) as usize); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> common/src/font.rs:30:13 [INFO] [stdout] | [INFO] [stdout] 30 | let mut dy:u32 = y as u32; [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `stream` [INFO] [stdout] --> common/src/client.rs:11:5 [INFO] [stdout] | [INFO] [stdout] 11 | stream: TcpStream, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `stride` [INFO] [stdout] --> common/src/graphics.rs:160:8 [INFO] [stdout] | [INFO] [stdout] 160 | fn stride(&self) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling common-wm v0.1.0 (/opt/rustwide/workdir/common-wm) [INFO] [stderr] Compiling native-macos v0.1.0 (/opt/rustwide/workdir/plat/native-macos) [INFO] [stdout] warning: unused import: `Ordering` [INFO] [stdout] --> plat/native-macos/src/lib.rs:3:37 [INFO] [stdout] | [INFO] [stdout] 3 | use std::sync::atomic::{AtomicBool, Ordering}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `info` [INFO] [stdout] --> plat/native-macos/src/lib.rs:4:18 [INFO] [stdout] | [INFO] [stdout] 4 | use log::{error, info}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> plat/native-macos/src/lib.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Window` [INFO] [stdout] --> plat/native-macos/src/lib.rs:11:19 [INFO] [stdout] | [INFO] [stdout] 11 | use sdl2::video::{Window, WindowContext}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Sdl` [INFO] [stdout] --> plat/native-macos/src/lib.rs:12:23 [INFO] [stdout] | [INFO] [stdout] 12 | use sdl2::{EventPump, Sdl}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `sdl2::keyboard::Keycode::D` [INFO] [stdout] --> plat/native-macos/src/lib.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use sdl2::keyboard::Keycode::D; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `PixelFormat` [INFO] [stdout] --> plat/native-macos/src/lib.rs:14:27 [INFO] [stdout] | [INFO] [stdout] 14 | use sdl2::pixels::{Color, PixelFormat, PixelFormatEnum}; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::error::Error` [INFO] [stdout] --> common-wm/src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Receiver` [INFO] [stdout] --> common-wm/src/lib.rs:6:23 [INFO] [stdout] | [INFO] [stdout] 6 | use std::sync::mpsc::{Receiver, Sender}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BLACK`, `Padding` [INFO] [stdout] --> common-wm/src/lib.rs:11:37 [INFO] [stdout] | [INFO] [stdout] 11 | use common::{APICommand, ARGBColor, BLACK, HelloWindowManager, IncomingMessage, Padding, Point, Rect, Size}; [INFO] [stdout] | ^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `common::graphics::PixelLayout::ARGB` [INFO] [stdout] --> common-wm/src/lib.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use common::graphics::PixelLayout::ARGB; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `can` [INFO] [stdout] --> plat/native-macos/src/lib.rs:212:17 [INFO] [stdout] | [INFO] [stdout] 212 | fn sync_texture(can: &mut WindowCanvas, tx: &mut Texture, img: &GFXBuffer) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_can` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `keymod` [INFO] [stdout] --> plat/native-macos/src/lib.rs:80:41 [INFO] [stdout] | [INFO] [stdout] 80 | Event::KeyDown {keycode,keymod,..} => { [INFO] [stdout] | ^^^^^^ help: try ignoring the field: `keymod: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mouse_btn` [INFO] [stdout] --> plat/native-macos/src/lib.rs:96:47 [INFO] [stdout] | [INFO] [stdout] 96 | Event::MouseButtonDown { x, y,mouse_btn, .. } => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `mouse_btn: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mouse_btn` [INFO] [stdout] --> plat/native-macos/src/lib.rs:112:43 [INFO] [stdout] | [INFO] [stdout] 112 | Event::MouseButtonUp {x,y,mouse_btn,..} => { [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `mouse_btn: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timestamp` [INFO] [stdout] --> plat/native-macos/src/lib.rs:127:21 [INFO] [stdout] | [INFO] [stdout] 127 | timestamp, window_id, which, mousestate, x, y, xrel, yrel [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `timestamp: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `window_id` [INFO] [stdout] --> plat/native-macos/src/lib.rs:127:32 [INFO] [stdout] | [INFO] [stdout] 127 | timestamp, window_id, which, mousestate, x, y, xrel, yrel [INFO] [stdout] | ^^^^^^^^^ help: try ignoring the field: `window_id: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `which` [INFO] [stdout] --> plat/native-macos/src/lib.rs:127:43 [INFO] [stdout] | [INFO] [stdout] 127 | timestamp, window_id, which, mousestate, x, y, xrel, yrel [INFO] [stdout] | ^^^^^ help: try ignoring the field: `which: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `mousestate` [INFO] [stdout] --> plat/native-macos/src/lib.rs:127:50 [INFO] [stdout] | [INFO] [stdout] 127 | timestamp, window_id, which, mousestate, x, y, xrel, yrel [INFO] [stdout] | ^^^^^^^^^^ help: try ignoring the field: `mousestate: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `xrel` [INFO] [stdout] --> plat/native-macos/src/lib.rs:127:68 [INFO] [stdout] | [INFO] [stdout] 127 | timestamp, window_id, which, mousestate, x, y, xrel, yrel [INFO] [stdout] | ^^^^ help: try ignoring the field: `xrel: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `yrel` [INFO] [stdout] --> plat/native-macos/src/lib.rs:127:74 [INFO] [stdout] | [INFO] [stdout] 127 | timestamp, window_id, which, mousestate, x, y, xrel, yrel [INFO] [stdout] | ^^^^ help: try ignoring the field: `yrel: _` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `src_bounds` [INFO] [stdout] --> plat/native-macos/src/lib.rs:162:50 [INFO] [stdout] | [INFO] [stdout] 162 | pub fn draw_image(&mut self, dst_pos:&Point, src_bounds: &Rect, src_buf: &GFXBuffer) { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_src_bounds` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> plat/native-macos/src/lib.rs:159:9 [INFO] [stdout] | [INFO] [stdout] 159 | self.canvas.fill_rect(SDLRect::new(rect.x, rect.y, rect.w as u32, rect.h as u32)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> plat/native-macos/src/lib.rs:166:13 [INFO] [stdout] | [INFO] [stdout] 166 | self.canvas.copy(tex, None, dst); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> common-wm/src/lib.rs:375:51 [INFO] [stdout] | [INFO] [stdout] 375 | fn mouse_down(&mut self, evt: MouseDownEvent, state:&mut WindowManagerState) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `evt` [INFO] [stdout] --> common-wm/src/lib.rs:379:30 [INFO] [stdout] | [INFO] [stdout] 379 | fn mouse_move(&mut self, evt: MouseMoveEvent, state:&mut WindowManagerState) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_evt` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> common-wm/src/lib.rs:379:51 [INFO] [stdout] | [INFO] [stdout] 379 | fn mouse_move(&mut self, evt: MouseMoveEvent, state:&mut WindowManagerState) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `state` [INFO] [stdout] --> common-wm/src/lib.rs:383:47 [INFO] [stdout] | [INFO] [stdout] 383 | fn mouse_up(&mut self, evt: MouseUpEvent, state:&mut WindowManagerState) { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_state` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `start` [INFO] [stdout] --> common-wm/src/lib.rs:395:17 [INFO] [stdout] | [INFO] [stdout] 395 | pub fn init(start: Point, win: Uuid) -> WindowDragGesture { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_start` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling native-linux v0.1.0 (/opt/rustwide/workdir/plat/native-linux) [INFO] [stdout] warning: field is never read: `recv_thread` [INFO] [stdout] --> common-wm/src/lib.rs:202:5 [INFO] [stdout] | [INFO] [stdout] 202 | recv_thread: JoinHandle<()>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `send_thread` [INFO] [stdout] --> common-wm/src/lib.rs:203:5 [INFO] [stdout] | [INFO] [stdout] 203 | send_thread: JoinHandle<()>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mpsc` [INFO] [stdout] --> plat/native-linux/src/lib.rs:4:22 [INFO] [stdout] | [INFO] [stdout] 4 | use std::sync::{Arc, mpsc}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ordering` [INFO] [stdout] --> plat/native-linux/src/lib.rs:5:37 [INFO] [stdout] | [INFO] [stdout] 5 | use std::sync::atomic::{AtomicBool, Ordering}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `KdMode`, `VarScreeninfo` [INFO] [stdout] --> plat/native-linux/src/lib.rs:7:32 [INFO] [stdout] | [INFO] [stdout] 7 | use framebuffer::{Framebuffer, KdMode, VarScreeninfo}; [INFO] [stdout] | ^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ARGBColor`, `BLACK` [INFO] [stdout] --> plat/native-linux/src/surf.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | use common::{ARGBColor, BLACK, Rect, Point}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::cmp::max` [INFO] [stdout] --> plat/native-linux/src/input.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::cmp::max; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `img` [INFO] [stdout] --> plat/native-linux/src/lib.rs:91:39 [INFO] [stdout] | [INFO] [stdout] 91 | pub fn register_image2(&mut self, img:&GFXBuffer) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_img` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `img` [INFO] [stdout] --> plat/native-linux/src/lib.rs:94:41 [INFO] [stdout] | [INFO] [stdout] 94 | pub fn unregister_image2(&mut self, img:&GFXBuffer) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_img` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> plat/native-linux/src/surf.rs:17:13 [INFO] [stdout] | [INFO] [stdout] 17 | let mut buf = match fb.var_screen_info.bits_per_pixel { [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> plat/native-linux/src/lib.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | let mut keyboard = input::find_keyboard().expect("Couldn't find the keyboard"); [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> plat/native-linux/src/lib.rs:24:9 [INFO] [stdout] | [INFO] [stdout] 24 | let mut mouse = input::find_mouse().expect("Couldn't find the mouse"); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> plat/native-linux/src/lib.rs:28:9 [INFO] [stdout] | [INFO] [stdout] 28 | let mut fb = Framebuffer::new(pth).unwrap(); [INFO] [stdout] | ----^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `sender` [INFO] [stdout] --> plat/native-linux/src/lib.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | sender:Sender, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `w` [INFO] [stdout] --> plat/native-linux/src/surf.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | w:u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `h` [INFO] [stdout] --> plat/native-linux/src/surf.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | h:u32, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `linuxkernel_to_KeyCode` should have a snake case name [INFO] [stdout] --> plat/native-linux/src/input.rs:48:4 [INFO] [stdout] | [INFO] [stdout] 48 | fn linuxkernel_to_KeyCode(code:u16) -> KeyCode { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `linuxkernel_to_key_code` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling plat v0.1.0 (/opt/rustwide/workdir/plat) [INFO] [stdout] warning: unused import: `common::Rect` [INFO] [stdout] --> plat/src/lib.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use common::Rect; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 18 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling toolbar-mock v0.1.0 (/opt/rustwide/workdir/uitoolkit/toolbar-mock) [INFO] [stderr] Compiling echo-app v0.1.0 (/opt/rustwide/workdir/echo-app) [INFO] [stderr] Compiling digital-clock v0.1.0 (/opt/rustwide/workdir/digital-clock) [INFO] [stdout] warning: 11 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `macos` in `os` [INFO] [stdout] --> uitoolkit/toolbar-mock/src/main.rs:6:14 [INFO] [stdout] | [INFO] [stdout] 6 | use std::os::macos::raw::stat; [INFO] [stdout] | ^^^^^ could not find `macos` in `os` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `RefMut`, `Ref` [INFO] [stdout] --> uitoolkit/toolbar-mock/src/core.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use std::cell::{Ref, RefCell, RefMut}; [INFO] [stdout] | ^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `DerefMut` [INFO] [stdout] --> uitoolkit/toolbar-mock/src/core.rs:5:28 [INFO] [stdout] | [INFO] [stdout] 5 | use std::ops::{Add, Deref, DerefMut}; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BLACK` [INFO] [stdout] --> uitoolkit/toolbar-mock/src/core.rs:9:37 [INFO] [stdout] | [INFO] [stdout] 9 | use common::{APICommand, ARGBColor, BLACK, DrawImageCommand, DrawRectCommand, Point, Rect, Size, WHITE}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::components::ActionButton` [INFO] [stdout] --> uitoolkit/toolbar-mock/src/core.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use crate::components::ActionButton; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::HBox` [INFO] [stdout] --> uitoolkit/toolbar-mock/src/core.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | use crate::HBox; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Any`, `TypeId` [INFO] [stdout] --> uitoolkit/toolbar-mock/src/components.rs:1:16 [INFO] [stdout] | [INFO] [stdout] 1 | use std::any::{Any, TypeId}; [INFO] [stdout] | ^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ref` [INFO] [stdout] --> uitoolkit/toolbar-mock/src/components.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | use std::cell::{Ref, RefCell}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashMap` [INFO] [stdout] --> uitoolkit/toolbar-mock/src/components.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::HashMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter` [INFO] [stdout] --> uitoolkit/toolbar-mock/src/components.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::iter; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::info` [INFO] [stdout] --> uitoolkit/toolbar-mock/src/components.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use log::info; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rect_from_view` [INFO] [stdout] --> uitoolkit/toolbar-mock/src/components.rs:11:91 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::core::{ActionEvent, DrawingSurface, EventType, JEventDispatcher, PointerEvent, rect_from_view, UIView}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> uitoolkit/toolbar-mock/src/components.rs:109:11 [INFO] [stdout] | [INFO] [stdout] 109 | if(self.vflex()) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 109 - if(self.vflex()) { [INFO] [stdout] 109 + if self.vflex() { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around assigned value [INFO] [stdout] --> uitoolkit/toolbar-mock/src/components.rs:558:25 [INFO] [stdout] | [INFO] [stdout] 558 | let item_index =(e.position.y/20); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 558 - let item_index =(e.position.y/20); [INFO] [stdout] 558 + let item_index =e.position.y/20; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Ref` [INFO] [stdout] --> uitoolkit/toolbar-mock/src/main.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use std::cell::{Ref, RefCell}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BLACK`, `DrawImageCommand`, `DrawRectCommand`, `Padding`, `Point`, `Size`, `WHITE` [INFO] [stdout] --> uitoolkit/toolbar-mock/src/main.rs:11:37 [INFO] [stdout] | [INFO] [stdout] 11 | ...nd, ARGBColor, BLACK, DrawImageCommand, DrawRectCommand, HelloApp, OpenWindowCommand, Padding, Point, Rect, Size, WHITE}; [INFO] [stdout] | ^^^^^ ^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^ ^^^^ ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UIView` [INFO] [stdout] --> uitoolkit/toolbar-mock/src/main.rs:17:78 [INFO] [stdout] | [INFO] [stdout] 17 | use crate::core::{ActionEvent, DrawingSurface, repaint, start_loop, UIChild, UIView}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `prelude::*` [INFO] [stdout] --> digital-clock/src/main.rs:1:15 [INFO] [stdout] | [INFO] [stdout] 1 | use std::io::{prelude::*}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::net::TcpStream` [INFO] [stdout] --> digital-clock/src/main.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::net::TcpStream; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> digital-clock/src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `appid` is never read [INFO] [stdout] --> echo-app/src/main.rs:63:13 [INFO] [stdout] | [INFO] [stdout] 63 | let mut appid = Uuid::new_v4(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `winid` is never read [INFO] [stdout] --> echo-app/src/main.rs:80:13 [INFO] [stdout] | [INFO] [stdout] 80 | let mut winid = Uuid::new_v4(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `md` [INFO] [stdout] --> echo-app/src/main.rs:106:35 [INFO] [stdout] | [INFO] [stdout] 106 | APICommand::MouseDown(md) => { [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_md` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable statement [INFO] [stdout] --> digital-clock/src/main.rs:63:5 [INFO] [stdout] | [INFO] [stdout] 48 | / loop { [INFO] [stdout] 49 | | redraw(&client,appid,winid,bounds, &sprite_sheet); [INFO] [stdout] 50 | | for cmd in client.rx.try_iter() { [INFO] [stdout] 51 | | info!("got an event {:?}",cmd); [INFO] [stdout] ... | [INFO] [stdout] 61 | | sleep(Duration::from_secs(1)); [INFO] [stdout] 62 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 63 | info!("CLIENT APP ending"); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ unreachable statement [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] = note: this warning originates in the macro `log` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `appid` is never read [INFO] [stdout] --> digital-clock/src/main.rs:21:13 [INFO] [stdout] | [INFO] [stdout] 21 | let mut appid = Uuid::new_v4(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `winid` is never read [INFO] [stdout] --> digital-clock/src/main.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | let mut winid = Uuid::new_v4(); [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> echo-app/src/main.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | set_logger(&COOL_LOGGER).map(|()|log::set_max_level(LevelFilter::Info)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> digital-clock/src/main.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | set_logger(&COOL_LOGGER).map(|()|log::set_max_level(LevelFilter::Info)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Borrow` [INFO] [stdout] --> uitoolkit/toolbar-mock/src/core.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | use std::borrow::{Borrow, BorrowMut}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BorrowMut` [INFO] [stdout] --> uitoolkit/toolbar-mock/src/core.rs:2:27 [INFO] [stdout] | [INFO] [stdout] 2 | use std::borrow::{Borrow, BorrowMut}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Add` [INFO] [stdout] --> uitoolkit/toolbar-mock/src/core.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | use std::ops::{Add, Deref, DerefMut}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Borrow` [INFO] [stdout] --> uitoolkit/toolbar-mock/src/components.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | use std::borrow::{Borrow, BorrowMut}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BorrowMut` [INFO] [stdout] --> uitoolkit/toolbar-mock/src/components.rs:2:27 [INFO] [stdout] | [INFO] [stdout] 2 | use std::borrow::{Borrow, BorrowMut}; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to previous error; 21 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0433`. [INFO] [stdout] [INFO] [stderr] error: could not compile `toolbar-mock` due to 2 previous errors; 21 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 7 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "32d005d986d367b5e9a5fd090f4526f7fbb5f477c0dbe70b2a1c4fb64365ed68", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32d005d986d367b5e9a5fd090f4526f7fbb5f477c0dbe70b2a1c4fb64365ed68", kill_on_drop: false }` [INFO] [stdout] 32d005d986d367b5e9a5fd090f4526f7fbb5f477c0dbe70b2a1c4fb64365ed68