[INFO] cloning repository https://github.com/kizitorashiro/aquatyping [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/kizitorashiro/aquatyping" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkizitorashiro%2Faquatyping", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkizitorashiro%2Faquatyping'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 70d677373be5f378b6eb2fbd44339489670ab597 [INFO] checking kizitorashiro/aquatyping against master#90384941aae4ea38de00e4702b50757e9b882a19 for pr-138340 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fkizitorashiro%2Faquatyping" "/workspace/builds/worker-3-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/kizitorashiro/aquatyping on toolchain 90384941aae4ea38de00e4702b50757e9b882a19 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+90384941aae4ea38de00e4702b50757e9b882a19" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/kizitorashiro/aquatyping [INFO] finished tweaking git repo https://github.com/kizitorashiro/aquatyping [INFO] tweaked toml for git repo https://github.com/kizitorashiro/aquatyping written to /workspace/builds/worker-3-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/kizitorashiro/aquatyping 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" "+90384941aae4ea38de00e4702b50757e9b882a19" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ab_glyph_rasterizer v0.1.2 [INFO] [stderr] Downloaded image2ascii v0.2.1 [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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+90384941aae4ea38de00e4702b50757e9b882a19" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 66d36c94346f45215789dc365ba0a842e235b47820b2f939211e7f229a9b8a83 [INFO] running `Command { std: "docker" "start" "-a" "66d36c94346f45215789dc365ba0a842e235b47820b2f939211e7f229a9b8a83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "66d36c94346f45215789dc365ba0a842e235b47820b2f939211e7f229a9b8a83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "66d36c94346f45215789dc365ba0a842e235b47820b2f939211e7f229a9b8a83", kill_on_drop: false }` [INFO] [stdout] 66d36c94346f45215789dc365ba0a842e235b47820b2f939211e7f229a9b8a83 [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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+90384941aae4ea38de00e4702b50757e9b882a19" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6cc91a80aca95b339cf838e4538148bd7614403285c80bd40399349df8a01fab [INFO] running `Command { std: "docker" "start" "-a" "6cc91a80aca95b339cf838e4538148bd7614403285c80bd40399349df8a01fab", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling libc v0.2.76 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling proc-macro2 v1.0.20 [INFO] [stderr] Compiling unicode-xid v0.2.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Compiling syn v1.0.39 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling byteorder v1.3.4 [INFO] [stderr] Compiling getrandom v0.1.14 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling rayon-core v1.8.0 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling crc32fast v1.2.0 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Checking miniz_oxide v0.3.7 [INFO] [stderr] Checking lzw v0.10.0 [INFO] [stderr] Checking either v1.6.0 [INFO] [stderr] Checking ppv-lite86 v0.2.9 [INFO] [stderr] Compiling unicode-segmentation v1.6.0 [INFO] [stderr] Compiling serde_derive v1.0.115 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking color_quant v1.0.1 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Compiling ryu v1.0.5 [INFO] [stderr] Compiling serde v1.0.115 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking ttf-parser v0.6.2 [INFO] [stderr] Checking ab_glyph_rasterizer v0.1.2 [INFO] [stderr] Checking bytemuck v1.4.0 [INFO] [stderr] Checking remove_dir_all v0.5.3 [INFO] [stderr] Checking gif v0.10.3 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Compiling serde_json v1.0.57 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling memoffset v0.5.5 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling rayon v1.4.0 [INFO] [stderr] Compiling num-rational v0.3.0 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Checking deflate v0.8.6 [INFO] [stderr] Compiling quote v1.0.7 [INFO] [stderr] Checking tiff v0.5.0 [INFO] [stderr] Checking numtoa v0.1.0 [INFO] [stderr] Checking itoa v0.4.6 [INFO] [stderr] Compiling heck v0.3.1 [INFO] [stderr] Checking num_cpus v1.13.0 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking termion v1.5.5 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking crossbeam-channel v0.4.3 [INFO] [stderr] Checking png v0.16.7 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking crossbeam-deque v0.7.3 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking owned_ttf_parser v0.6.0 [INFO] [stderr] Checking rusttype v0.9.2 [INFO] [stderr] Checking tempfile v3.1.0 [INFO] [stderr] Checking jpeg-decoder v0.1.20 [INFO] [stderr] Checking image v0.23.9 [INFO] [stderr] Compiling structopt-derive v0.4.10 [INFO] [stderr] Checking structopt v0.3.17 [INFO] [stderr] Checking image2ascii v0.2.1 [INFO] [stderr] Checking aquatyping v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/effector.rs:129:46 [INFO] [stdout] | [INFO] [stdout] 129 | FadeType::FADEIN => (y >= hidden_index), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 129 - FadeType::FADEIN => (y >= hidden_index), [INFO] [stdout] 129 + FadeType::FADEIN => y >= hidden_index, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/effector.rs:130:46 [INFO] [stdout] | [INFO] [stdout] 130 | FadeType::FADEOUT => (y < hidden_index), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 130 - FadeType::FADEOUT => (y < hidden_index), [INFO] [stdout] 130 + FadeType::FADEOUT => y < hidden_index, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/effector.rs:138:46 [INFO] [stdout] | [INFO] [stdout] 138 | FadeType::FADEIN => (y < hidden_index), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 138 - FadeType::FADEIN => (y < hidden_index), [INFO] [stdout] 138 + FadeType::FADEIN => y < hidden_index, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/effector.rs:139:46 [INFO] [stdout] | [INFO] [stdout] 139 | FadeType::FADEOUT => (y >= hidden_index), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 139 - FadeType::FADEOUT => (y >= hidden_index), [INFO] [stdout] 139 + FadeType::FADEOUT => y >= hidden_index, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/effector.rs:147:45 [INFO] [stdout] | [INFO] [stdout] 147 | FadeType::FADEIN => (x >= hidden_index), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 147 - FadeType::FADEIN => (x >= hidden_index), [INFO] [stdout] 147 + FadeType::FADEIN => x >= hidden_index, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/effector.rs:148:46 [INFO] [stdout] | [INFO] [stdout] 148 | FadeType::FADEOUT => (x < hidden_index), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 148 - FadeType::FADEOUT => (x < hidden_index), [INFO] [stdout] 148 + FadeType::FADEOUT => x < hidden_index, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/effector.rs:156:45 [INFO] [stdout] | [INFO] [stdout] 156 | FadeType::FADEIN => (x < hidden_index), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 156 - FadeType::FADEIN => (x < hidden_index), [INFO] [stdout] 156 + FadeType::FADEIN => x < hidden_index, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/effector.rs:157:46 [INFO] [stdout] | [INFO] [stdout] 157 | FadeType::FADEOUT => (x >= hidden_index), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 157 - FadeType::FADEOUT => (x >= hidden_index), [INFO] [stdout] 157 + FadeType::FADEOUT => x >= hidden_index, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::HashSet` [INFO] [stdout] --> src/background.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::collections::HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rng` [INFO] [stdout] --> src/stage.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use rand::{thread_rng, Rng}; [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BackgroundType` [INFO] [stdout] --> src/stage.rs:4:37 [INFO] [stdout] | [INFO] [stdout] 4 | use super::background::{Background, BackgroundType, generate_background_randomly}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SystemTime` [INFO] [stdout] --> src/controller.rs:2:27 [INFO] [stdout] | [INFO] [stdout] 2 | use std::time::{Duration, SystemTime, Instant}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UIGraphics` [INFO] [stdout] --> src/controller.rs:3:31 [INFO] [stdout] | [INFO] [stdout] 3 | use super::uifuncs::{UIFuncs, UIGraphics, UIKeyEvent}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Stage` [INFO] [stdout] --> src/controller.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | use super::stage::{Stage, StageConfig}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Command` [INFO] [stdout] --> src/controller.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | use super::command::{Command, CommandClient, start_command_server, ColorConfig}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Pict` [INFO] [stdout] --> src/controller.rs:7:32 [INFO] [stdout] | [INFO] [stdout] 7 | use super::pict::{PictManager, Pict}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/uifuncs.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Mutex` [INFO] [stdout] --> src/uifuncs.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `clear` [INFO] [stdout] --> src/uifuncs.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | use termion::{clear}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Event` [INFO] [stdout] --> src/uifuncs.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | use termion::event::{Event, Key}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `termion::color::Rgb` [INFO] [stdout] --> src/uifuncs.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use termion::color::Rgb; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/uifuncs.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::process::Command` [INFO] [stdout] --> src/audiofuncs.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::process::Command; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `speech`, `speech_lang` [INFO] [stdout] --> src/audiofuncs.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 4 | fn speech(&self, text: &str); [INFO] [stdout] | ----------------------------- `speech` from trait [INFO] [stdout] 5 | fn speech_lang(&self, text: &str, lang: &str); [INFO] [stdout] | ---------------------------------------------- `speech_lang` from trait [INFO] [stdout] ... [INFO] [stdout] 32 | impl AudioFuncs for OsCommandAudioFuncs { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `speech`, `speech_lang` in implementation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/effector.rs:129:46 [INFO] [stdout] | [INFO] [stdout] 129 | FadeType::FADEIN => (y >= hidden_index), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 129 - FadeType::FADEIN => (y >= hidden_index), [INFO] [stdout] 129 + FadeType::FADEIN => y >= hidden_index, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/effector.rs:130:46 [INFO] [stdout] | [INFO] [stdout] 130 | FadeType::FADEOUT => (y < hidden_index), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 130 - FadeType::FADEOUT => (y < hidden_index), [INFO] [stdout] 130 + FadeType::FADEOUT => y < hidden_index, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/effector.rs:138:46 [INFO] [stdout] | [INFO] [stdout] 138 | FadeType::FADEIN => (y < hidden_index), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 138 - FadeType::FADEIN => (y < hidden_index), [INFO] [stdout] 138 + FadeType::FADEIN => y < hidden_index, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/effector.rs:139:46 [INFO] [stdout] | [INFO] [stdout] 139 | FadeType::FADEOUT => (y >= hidden_index), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 139 - FadeType::FADEOUT => (y >= hidden_index), [INFO] [stdout] 139 + FadeType::FADEOUT => y >= hidden_index, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/effector.rs:147:45 [INFO] [stdout] | [INFO] [stdout] 147 | FadeType::FADEIN => (x >= hidden_index), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 147 - FadeType::FADEIN => (x >= hidden_index), [INFO] [stdout] 147 + FadeType::FADEIN => x >= hidden_index, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/effector.rs:148:46 [INFO] [stdout] | [INFO] [stdout] 148 | FadeType::FADEOUT => (x < hidden_index), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 148 - FadeType::FADEOUT => (x < hidden_index), [INFO] [stdout] 148 + FadeType::FADEOUT => x < hidden_index, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/effector.rs:156:45 [INFO] [stdout] | [INFO] [stdout] 156 | FadeType::FADEIN => (x < hidden_index), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 156 - FadeType::FADEIN => (x < hidden_index), [INFO] [stdout] 156 + FadeType::FADEIN => x < hidden_index, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around match arm expression [INFO] [stdout] --> src/effector.rs:157:46 [INFO] [stdout] | [INFO] [stdout] 157 | FadeType::FADEOUT => (x >= hidden_index), [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 157 - FadeType::FADEOUT => (x >= hidden_index), [INFO] [stdout] 157 + FadeType::FADEOUT => x >= hidden_index, [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rng` [INFO] [stdout] --> src/stage.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use rand::{thread_rng, Rng}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `BackgroundType` [INFO] [stdout] --> src/stage.rs:4:37 [INFO] [stdout] | [INFO] [stdout] 4 | use super::background::{Background, BackgroundType, generate_background_randomly}; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `SystemTime` [INFO] [stdout] --> src/controller.rs:2:27 [INFO] [stdout] | [INFO] [stdout] 2 | use std::time::{Duration, SystemTime, Instant}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `UIGraphics` [INFO] [stdout] --> src/controller.rs:3:31 [INFO] [stdout] | [INFO] [stdout] 3 | use super::uifuncs::{UIFuncs, UIGraphics, UIKeyEvent}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Stage` [INFO] [stdout] --> src/controller.rs:5:20 [INFO] [stdout] | [INFO] [stdout] 5 | use super::stage::{Stage, StageConfig}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Command` [INFO] [stdout] --> src/controller.rs:6:22 [INFO] [stdout] | [INFO] [stdout] 6 | use super::command::{Command, CommandClient, start_command_server, ColorConfig}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Pict` [INFO] [stdout] --> src/controller.rs:7:32 [INFO] [stdout] | [INFO] [stdout] 7 | use super::pict::{PictManager, Pict}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Arc` [INFO] [stdout] --> src/uifuncs.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::sync::Arc; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Mutex` [INFO] [stdout] --> src/uifuncs.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `clear` [INFO] [stdout] --> src/uifuncs.rs:8:15 [INFO] [stdout] | [INFO] [stdout] 8 | use termion::{clear}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Event` [INFO] [stdout] --> src/uifuncs.rs:9:22 [INFO] [stdout] | [INFO] [stdout] 9 | use termion::event::{Event, Key}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `termion::color::Rgb` [INFO] [stdout] --> src/uifuncs.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use termion::color::Rgb; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/uifuncs.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::process::Command` [INFO] [stdout] --> src/audiofuncs.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::process::Command; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/effector.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | _ => panic!("not found effector: {:?}", effector_type), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/effector.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 53 | EffectorType::NO => { [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 57 | EffectorType::FADEIN(direction) => { [INFO] [stdout] | ------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 60 | EffectorType::FADEOUT(direction) => { [INFO] [stdout] | -------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 63 | _ => panic!("not found effector: {:?}", effector_type), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/behavior.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | _ => panic!("not found effector: {:?}", behavior_type), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/behavior.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 19 | BehaviorType::NO => { [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 22 | BehaviorType::UPANDDOWN => { [INFO] [stdout] | ----------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 25 | _ => panic!("not found effector: {:?}", behavior_type), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `speech`, `speech_lang` [INFO] [stdout] --> src/audiofuncs.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 4 | fn speech(&self, text: &str); [INFO] [stdout] | ----------------------------- `speech` from trait [INFO] [stdout] 5 | fn speech_lang(&self, text: &str, lang: &str); [INFO] [stdout] | ---------------------------------------------- `speech_lang` from trait [INFO] [stdout] ... [INFO] [stdout] 32 | impl AudioFuncs for OsCommandAudioFuncs { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `speech`, `speech_lang` in implementation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rng` [INFO] [stdout] --> src/stage.rs:92:17 [INFO] [stdout] | [INFO] [stdout] 92 | let mut rng = thread_rng(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rng` [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] --> src/stage.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 92 | let mut rng = thread_rng(); [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: unused variable: `context` [INFO] [stdout] --> src/controller.rs:118:36 [INFO] [stdout] | [INFO] [stdout] 118 | fn handle_key_event(&mut self, context: &mut ControlContext, keyevent: &UIKeyEvent) -> ControlState{ [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/controller.rs:128:38 [INFO] [stdout] | [INFO] [stdout] 128 | fn handle_timer_event(&mut self, context: &mut ControlContext) -> ControlState { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/command.rs:104:49 [INFO] [stdout] | [INFO] [stdout] 104 | ... if let Some(name) = data.get("name") { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/command.rs:109:49 [INFO] [stdout] | [INFO] [stdout] 109 | ... if let Some(name) = data.get("name") { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/uifuncs.rs:78:92 [INFO] [stdout] | [INFO] [stdout] 78 | fn draw_area(&self, color: &RenderColor, bgcolor: &RenderColor, rect: &Vec>, offset: Option<(usize, usize)>) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bgcolor` [INFO] [stdout] --> src/uifuncs.rs:145:82 [INFO] [stdout] | [INFO] [stdout] 145 | fn draw(&self, stdout: &mut Stdout, x: usize, y: usize, color: &RenderColor, bgcolor: &RenderColor, text: &str){ [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bgcolor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/uifuncs.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | _ => { format!("{}", termion::color::Fg(termion::color::Black)) }, [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/uifuncs.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 198 | RenderColor::Black => { format!("{}", termion::color::Fg(termion::color::Black)) }, [INFO] [stdout] | ------------------ matches some of the same values [INFO] [stdout] 199 | RenderColor::Red => { format!("{}", termion::color::Fg(termion::color::Red)) }, [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] 200 | RenderColor::Green => { format!("{}", termion::color::Fg(termion::color::Green)) }, [INFO] [stdout] | ------------------ matches some of the same values [INFO] [stdout] 201 | RenderColor::Yellow => { format!("{}", termion::color::Fg(termion::color::Yellow)) }, [INFO] [stdout] | ------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 208 | _ => { format!("{}", termion::color::Fg(termion::color::Black)) }, [INFO] [stdout] | ^ ...and 6 other patterns collectively make this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/uifuncs.rs:226:13 [INFO] [stdout] | [INFO] [stdout] 226 | _ => { format!("{}", termion::color::Bg(termion::color::Black)) }, [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/uifuncs.rs:226:13 [INFO] [stdout] | [INFO] [stdout] 216 | RenderColor::Black => { format!("{}", termion::color::Bg(termion::color::Black)) }, [INFO] [stdout] | ------------------ matches some of the same values [INFO] [stdout] 217 | RenderColor::Red => { format!("{}", termion::color::Bg(termion::color::Red)) }, [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] 218 | RenderColor::Green => { format!("{}", termion::color::Bg(termion::color::Green)) }, [INFO] [stdout] | ------------------ matches some of the same values [INFO] [stdout] 219 | RenderColor::Yellow => { format!("{}", termion::color::Bg(termion::color::Yellow)) }, [INFO] [stdout] | ------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 226 | _ => { format!("{}", termion::color::Bg(termion::color::Black)) }, [INFO] [stdout] | ^ ...and 6 other patterns collectively make this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/character.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | let mut c2d = string2ascii(&string, size, ch, Option::None, Option::None).unwrap(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stderr] error: could not compile `aquatyping` (lib) due to 1 previous error; 36 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/effector.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | _ => panic!("not found effector: {:?}", effector_type), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/effector.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 53 | EffectorType::NO => { [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 57 | EffectorType::FADEIN(direction) => { [INFO] [stdout] | ------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 60 | EffectorType::FADEOUT(direction) => { [INFO] [stdout] | -------------------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 63 | _ => panic!("not found effector: {:?}", effector_type), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ret` [INFO] [stdout] --> src/effector.rs:261:9 [INFO] [stdout] | [INFO] [stdout] 261 | let ret = effector.update(&mut data, &original_data); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ret` [INFO] [stdout] --> src/effector.rs:262:9 [INFO] [stdout] | [INFO] [stdout] 262 | let ret = effector.update(&mut data, &original_data); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ret` [INFO] [stdout] --> src/effector.rs:263:9 [INFO] [stdout] | [INFO] [stdout] 263 | let ret = effector.update(&mut data, &original_data); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ret` [INFO] [stdout] --> src/effector.rs:264:9 [INFO] [stdout] | [INFO] [stdout] 264 | let ret = effector.update(&mut data, &original_data); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ret` [INFO] [stdout] --> src/effector.rs:265:9 [INFO] [stdout] | [INFO] [stdout] 265 | let ret = effector.update(&mut data, &original_data); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ret` [INFO] [stdout] --> src/effector.rs:339:9 [INFO] [stdout] | [INFO] [stdout] 339 | let ret = effector.update(&mut data, &original_data); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ret` [INFO] [stdout] --> src/effector.rs:340:9 [INFO] [stdout] | [INFO] [stdout] 340 | let ret = effector.update(&mut data, &original_data); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ret` [INFO] [stdout] --> src/effector.rs:341:9 [INFO] [stdout] | [INFO] [stdout] 341 | let ret = effector.update(&mut data, &original_data); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ret` [INFO] [stdout] --> src/effector.rs:342:9 [INFO] [stdout] | [INFO] [stdout] 342 | let ret = effector.update(&mut data, &original_data); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ret` [INFO] [stdout] --> src/effector.rs:343:9 [INFO] [stdout] | [INFO] [stdout] 343 | let ret = effector.update(&mut data, &original_data); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ret` [INFO] [stdout] --> src/effector.rs:344:9 [INFO] [stdout] | [INFO] [stdout] 344 | let ret = effector.update(&mut data, &original_data); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ret` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/behavior.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 25 | _ => panic!("not found effector: {:?}", behavior_type), [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/behavior.rs:25:9 [INFO] [stdout] | [INFO] [stdout] 19 | BehaviorType::NO => { [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 22 | BehaviorType::UPANDDOWN => { [INFO] [stdout] | ----------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 25 | _ => panic!("not found effector: {:?}", behavior_type), [INFO] [stdout] | ^ collectively making this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pos` [INFO] [stdout] --> src/behavior.rs:104:9 [INFO] [stdout] | [INFO] [stdout] 104 | let pos = behavior.update(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_pos` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rng` [INFO] [stdout] --> src/stage.rs:92:17 [INFO] [stdout] | [INFO] [stdout] 92 | let mut rng = thread_rng(); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_rng` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/stage.rs:92:13 [INFO] [stdout] | [INFO] [stdout] 92 | let mut rng = thread_rng(); [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: unused variable: `i` [INFO] [stdout] --> src/stage.rs:233:9 [INFO] [stdout] | [INFO] [stdout] 233 | for i in 0..10 { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/controller.rs:118:36 [INFO] [stdout] | [INFO] [stdout] 118 | fn handle_key_event(&mut self, context: &mut ControlContext, keyevent: &UIKeyEvent) -> ControlState{ [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `context` [INFO] [stdout] --> src/controller.rs:128:38 [INFO] [stdout] | [INFO] [stdout] 128 | fn handle_timer_event(&mut self, context: &mut ControlContext) -> ControlState { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_context` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/command.rs:104:49 [INFO] [stdout] | [INFO] [stdout] 104 | ... if let Some(name) = data.get("name") { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `name` [INFO] [stdout] --> src/command.rs:109:49 [INFO] [stdout] | [INFO] [stdout] 109 | ... if let Some(name) = data.get("name") { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_name` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/uifuncs.rs:78:92 [INFO] [stdout] | [INFO] [stdout] 78 | fn draw_area(&self, color: &RenderColor, bgcolor: &RenderColor, rect: &Vec>, offset: Option<(usize, usize)>) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `bgcolor` [INFO] [stdout] --> src/uifuncs.rs:145:82 [INFO] [stdout] | [INFO] [stdout] 145 | fn draw(&self, stdout: &mut Stdout, x: usize, y: usize, color: &RenderColor, bgcolor: &RenderColor, text: &str){ [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_bgcolor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/uifuncs.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 208 | _ => { format!("{}", termion::color::Fg(termion::color::Black)) }, [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/uifuncs.rs:208:13 [INFO] [stdout] | [INFO] [stdout] 198 | RenderColor::Black => { format!("{}", termion::color::Fg(termion::color::Black)) }, [INFO] [stdout] | ------------------ matches some of the same values [INFO] [stdout] 199 | RenderColor::Red => { format!("{}", termion::color::Fg(termion::color::Red)) }, [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] 200 | RenderColor::Green => { format!("{}", termion::color::Fg(termion::color::Green)) }, [INFO] [stdout] | ------------------ matches some of the same values [INFO] [stdout] 201 | RenderColor::Yellow => { format!("{}", termion::color::Fg(termion::color::Yellow)) }, [INFO] [stdout] | ------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 208 | _ => { format!("{}", termion::color::Fg(termion::color::Black)) }, [INFO] [stdout] | ^ ...and 6 other patterns collectively make this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/uifuncs.rs:226:13 [INFO] [stdout] | [INFO] [stdout] 226 | _ => { format!("{}", termion::color::Bg(termion::color::Black)) }, [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/uifuncs.rs:226:13 [INFO] [stdout] | [INFO] [stdout] 216 | RenderColor::Black => { format!("{}", termion::color::Bg(termion::color::Black)) }, [INFO] [stdout] | ------------------ matches some of the same values [INFO] [stdout] 217 | RenderColor::Red => { format!("{}", termion::color::Bg(termion::color::Red)) }, [INFO] [stdout] | ---------------- matches some of the same values [INFO] [stdout] 218 | RenderColor::Green => { format!("{}", termion::color::Bg(termion::color::Green)) }, [INFO] [stdout] | ------------------ matches some of the same values [INFO] [stdout] 219 | RenderColor::Yellow => { format!("{}", termion::color::Bg(termion::color::Yellow)) }, [INFO] [stdout] | ------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 226 | _ => { format!("{}", termion::color::Bg(termion::color::Black)) }, [INFO] [stdout] | ^ ...and 6 other patterns collectively make this unreachable [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/character.rs:8:9 [INFO] [stdout] | [INFO] [stdout] 8 | let mut c2d = string2ascii(&string, size, ch, Option::None, Option::None).unwrap(); [INFO] [stdout] | ----^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stderr] error: could not compile `aquatyping` (lib test) due to 1 previous error; 48 warnings emitted [INFO] running `Command { std: "docker" "inspect" "6cc91a80aca95b339cf838e4538148bd7614403285c80bd40399349df8a01fab", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6cc91a80aca95b339cf838e4538148bd7614403285c80bd40399349df8a01fab", kill_on_drop: false }` [INFO] [stdout] 6cc91a80aca95b339cf838e4538148bd7614403285c80bd40399349df8a01fab