[INFO] cloning repository https://github.com/sirlilpanda/terminal_graphics [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/sirlilpanda/terminal_graphics" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsirlilpanda%2Fterminal_graphics", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsirlilpanda%2Fterminal_graphics'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 513b0196fad50a7a396eab05e31a4b8340b6f4e1 [INFO] checking sirlilpanda/terminal_graphics against master#65cd843ae06ad00123c131a431ed5304e4cd577a for pr-122077 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsirlilpanda%2Fterminal_graphics" "/workspace/builds/worker-5-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sirlilpanda/terminal_graphics on toolchain 65cd843ae06ad00123c131a431ed5304e4cd577a [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+65cd843ae06ad00123c131a431ed5304e4cd577a" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sirlilpanda/terminal_graphics [INFO] finished tweaking git repo https://github.com/sirlilpanda/terminal_graphics [INFO] tweaked toml for git repo https://github.com/sirlilpanda/terminal_graphics written to /workspace/builds/worker-5-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/sirlilpanda/terminal_graphics 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" "+65cd843ae06ad00123c131a431ed5304e4cd577a" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] checking sirlilpanda/terminal_graphics against try#e34498b580c936a8f8a419616d9571f03b6c038e for pr-122077 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsirlilpanda%2Fterminal_graphics" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sirlilpanda/terminal_graphics on toolchain e34498b580c936a8f8a419616d9571f03b6c038e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e34498b580c936a8f8a419616d9571f03b6c038e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sirlilpanda/terminal_graphics [INFO] finished tweaking git repo https://github.com/sirlilpanda/terminal_graphics [INFO] tweaked toml for git repo https://github.com/sirlilpanda/terminal_graphics written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/sirlilpanda/terminal_graphics 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" "+e34498b580c936a8f8a419616d9571f03b6c038e" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking sirlilpanda/terminal_graphics against try#e34498b580c936a8f8a419616d9571f03b6c038e for pr-122077 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fsirlilpanda%2Fterminal_graphics" "/workspace/builds/worker-5-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/sirlilpanda/terminal_graphics on toolchain e34498b580c936a8f8a419616d9571f03b6c038e [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e34498b580c936a8f8a419616d9571f03b6c038e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/sirlilpanda/terminal_graphics [INFO] finished tweaking git repo https://github.com/sirlilpanda/terminal_graphics [INFO] tweaked toml for git repo https://github.com/sirlilpanda/terminal_graphics written to /workspace/builds/worker-5-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/sirlilpanda/terminal_graphics 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" "+e34498b580c936a8f8a419616d9571f03b6c038e" "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 termsize v0.1.6 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+e34498b580c936a8f8a419616d9571f03b6c038e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cc38c92ed917cec480f1deb7ae2310cecde51bd0abd5c86fad630afee1ef6b8a [INFO] running `Command { std: "docker" "start" "-a" "cc38c92ed917cec480f1deb7ae2310cecde51bd0abd5c86fad630afee1ef6b8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cc38c92ed917cec480f1deb7ae2310cecde51bd0abd5c86fad630afee1ef6b8a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc38c92ed917cec480f1deb7ae2310cecde51bd0abd5c86fad630afee1ef6b8a", kill_on_drop: false }` [INFO] [stdout] cc38c92ed917cec480f1deb7ae2310cecde51bd0abd5c86fad630afee1ef6b8a [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+e34498b580c936a8f8a419616d9571f03b6c038e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e404196d79d7f57b0b6466e6a8cacd039c15e3d967cf27c948544a8947aeff55 [INFO] running `Command { std: "docker" "start" "-a" "e404196d79d7f57b0b6466e6a8cacd039c15e3d967cf27c948544a8947aeff55", kill_on_drop: false }` [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking scopeguard v1.1.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.8 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling proc-macro2 v1.0.39 [INFO] [stderr] Compiling crossbeam-epoch v0.9.8 [INFO] [stderr] Compiling unicode-ident v1.0.0 [INFO] [stderr] Checking num_cpus v1.13.1 [INFO] [stderr] Compiling syn v1.0.96 [INFO] [stderr] Compiling rayon-core v1.9.3 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling num-traits v0.2.15 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling rayon v1.5.3 [INFO] [stderr] Checking adler v1.0.2 [INFO] [stderr] Checking adler32 v1.2.0 [INFO] [stderr] Compiling futures-core v0.3.21 [INFO] [stderr] Checking miniz_oxide v0.5.3 [INFO] [stderr] Checking crossbeam-channel v0.5.4 [INFO] [stderr] Checking getrandom v0.2.6 [INFO] [stderr] Checking either v1.6.1 [INFO] [stderr] Compiling quote v1.0.18 [INFO] [stderr] Checking crossbeam-deque v0.8.1 [INFO] [stderr] Checking spin v0.9.3 [INFO] [stderr] Checking nanorand v0.7.0 [INFO] [stderr] Checking deflate v1.0.0 [INFO] [stderr] Compiling num-iter v0.1.43 [INFO] [stderr] Compiling num-rational v0.4.0 [INFO] [stderr] Checking weezl v0.1.6 [INFO] [stderr] Checking futures-sink v0.3.21 [INFO] [stderr] Checking flate2 v1.0.24 [INFO] [stderr] Checking inflate v0.4.5 [INFO] [stderr] Checking threadpool v1.8.1 [INFO] [stderr] Checking color_quant v1.1.0 [INFO] [stderr] Checking lebe v0.5.1 [INFO] [stderr] Checking smallvec v1.8.0 [INFO] [stderr] Checking half v1.8.2 [INFO] [stderr] Checking bit_field v0.10.1 [INFO] [stderr] Checking png v0.17.5 [INFO] [stderr] Checking gif v0.11.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking byteorder v1.4.3 [INFO] [stderr] Checking scoped_threadpool v0.1.9 [INFO] [stderr] Checking bytemuck v1.9.1 [INFO] [stderr] Checking termsize v0.1.6 [INFO] [stderr] Checking jpeg-decoder v0.2.6 [INFO] [stderr] Checking tiff v0.7.2 [INFO] [stderr] Compiling pin-project-internal v1.0.10 [INFO] [stderr] Checking pin-project v1.0.10 [INFO] [stderr] Checking flume v0.10.12 [INFO] [stderr] Checking exr v1.4.2 [INFO] [stderr] Checking image v0.24.2 [INFO] [stderr] Checking term_graphics v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: type `cursor_type` should have an upper camel case name [INFO] [stdout] --> src/cursor_controls.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum cursor_type { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `CursorType` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/colour_string/ColourString.rs:3:29 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::colour::{Colour, self}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `cursor_type` should have an upper camel case name [INFO] [stdout] --> src/cursor_controls.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum cursor_type { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to upper camel case: `CursorType` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/colour_string/ColourString.rs:3:29 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::colour::{Colour, self}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `DEC` is named the same as one of the variants of the type `cursor_controls::cursor_type` [INFO] [stdout] --> src/cursor_controls.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | DEC => print!("{} 7", ESCAPE_CODE), [INFO] [stdout] | ^^^ help: to match on the variant, qualify the path: `cursor_controls::cursor_type::DEC` [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(bindings_with_variant_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `DEC` is named the same as one of the variants of the type `cursor_controls::cursor_type` [INFO] [stdout] --> src/cursor_controls.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | DEC => print!("{} 7", ESCAPE_CODE), [INFO] [stdout] | ^^^ help: to match on the variant, qualify the path: `cursor_controls::cursor_type::DEC` [INFO] [stdout] | [INFO] [stdout] = note: `#[deny(bindings_with_variant_name)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `SCO` is named the same as one of the variants of the type `cursor_controls::cursor_type` [INFO] [stdout] --> src/cursor_controls.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | SCO => print!("{}[s", ESCAPE_CODE), [INFO] [stdout] | ^^^ help: to match on the variant, qualify the path: `cursor_controls::cursor_type::SCO` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `SCO` is named the same as one of the variants of the type `cursor_controls::cursor_type` [INFO] [stdout] --> src/cursor_controls.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | SCO => print!("{}[s", ESCAPE_CODE), [INFO] [stdout] | ^^^ help: to match on the variant, qualify the path: `cursor_controls::cursor_type::SCO` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cursor_controls.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 19 | DEC => print!("{} 7", ESCAPE_CODE), [INFO] [stdout] | --- matches any value [INFO] [stdout] 20 | SCO => print!("{}[s", ESCAPE_CODE), [INFO] [stdout] | ^^^ unreachable pattern [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cursor_controls.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 19 | DEC => print!("{} 7", ESCAPE_CODE), [INFO] [stdout] | --- matches any value [INFO] [stdout] 20 | SCO => print!("{}[s", ESCAPE_CODE), [INFO] [stdout] | ^^^ unreachable pattern [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `DEC` [INFO] [stdout] --> src/cursor_controls.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | DEC => print!("{} 7", ESCAPE_CODE), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_DEC` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `DEC` [INFO] [stdout] --> src/cursor_controls.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | DEC => print!("{} 7", ESCAPE_CODE), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_DEC` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `SCO` [INFO] [stdout] --> src/cursor_controls.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | SCO => print!("{}[s", ESCAPE_CODE), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_SCO` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `SCO` [INFO] [stdout] --> src/cursor_controls.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | SCO => print!("{}[s", ESCAPE_CODE), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_SCO` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `DEC` is named the same as one of the variants of the type `cursor_controls::cursor_type` [INFO] [stdout] --> src/cursor_controls.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | DEC => print!("{} 8", ESCAPE_CODE), [INFO] [stdout] | ^^^ help: to match on the variant, qualify the path: `cursor_controls::cursor_type::DEC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `DEC` is named the same as one of the variants of the type `cursor_controls::cursor_type` [INFO] [stdout] --> src/cursor_controls.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | DEC => print!("{} 8", ESCAPE_CODE), [INFO] [stdout] | ^^^ help: to match on the variant, qualify the path: `cursor_controls::cursor_type::DEC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `SCO` is named the same as one of the variants of the type `cursor_controls::cursor_type` [INFO] [stdout] --> src/cursor_controls.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | SCO => print!("{}[u", ESCAPE_CODE), [INFO] [stdout] | ^^^ help: to match on the variant, qualify the path: `cursor_controls::cursor_type::SCO` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cursor_controls.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 26 | DEC => print!("{} 8", ESCAPE_CODE), [INFO] [stdout] | --- matches any value [INFO] [stdout] 27 | SCO => print!("{}[u", ESCAPE_CODE), [INFO] [stdout] | ^^^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `DEC` [INFO] [stdout] --> src/cursor_controls.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | DEC => print!("{} 8", ESCAPE_CODE), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_DEC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0170]: pattern binding `SCO` is named the same as one of the variants of the type `cursor_controls::cursor_type` [INFO] [stdout] --> src/cursor_controls.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | SCO => print!("{}[u", ESCAPE_CODE), [INFO] [stdout] | ^^^ help: to match on the variant, qualify the path: `cursor_controls::cursor_type::SCO` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `SCO` [INFO] [stdout] --> src/cursor_controls.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | SCO => print!("{}[u", ESCAPE_CODE), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_SCO` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cursor_controls.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 26 | DEC => print!("{} 8", ESCAPE_CODE), [INFO] [stdout] | --- matches any value [INFO] [stdout] 27 | SCO => print!("{}[u", ESCAPE_CODE), [INFO] [stdout] | ^^^ unreachable pattern [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `DEC` [INFO] [stdout] --> src/cursor_controls.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | DEC => print!("{} 8", ESCAPE_CODE), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_DEC` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `SCO` [INFO] [stdout] --> src/cursor_controls.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | SCO => print!("{}[u", ESCAPE_CODE), [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_SCO` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | let mut black = Colour::black(); [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] --> src/main.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let mut white = Colour::white(); [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] --> src/main.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | let mut pink = Colour::pink(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/graphics_screen/char_pixel.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl CharPixel{ [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 15 | [INFO] [stdout] 16 | pub fn new_from_tuple(f : (u8, u8, u8), b:(u8, u8, u8)) -> CharPixel{ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn new(fr: u8, fg: u8, fb: u8, br: u8, bg: u8, bb: u8) -> CharPixel{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn new_from_colour(fg : Colour, bg :Colour) -> CharPixel{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn new_blank() -> CharPixel{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn as_256_colour(&self) -> String{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn as_8_colour(&self) -> String{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn as_2_colour(&self) -> String{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn debug_string(&self) -> (String, String){ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | let mut black = Colour::black(); [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: associated functions `new` and `new_from_vecs` are never used [INFO] [stdout] --> src/graphics_screen/char_pixel_screen.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl CharScreen { [INFO] [stdout] | --------------- associated functions in this implementation [INFO] [stdout] 12 | [INFO] [stdout] 13 | pub fn new(temp_hight : u16, temp_width : u16) -> CharScreen{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn new_from_vecs(arr : Vec>) -> CharScreen{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | let mut white = Colour::white(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PixelVec` is never constructed [INFO] [stdout] --> src/graphics_screen/pixel_vec.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct PixelVec{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | let mut pink = Colour::pink(); [INFO] [stdout] | ----^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `into_char_screen` are never used [INFO] [stdout] --> src/graphics_screen/pixel_vec.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl PixelVec{ [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 13 | [INFO] [stdout] 14 | pub fn new(p_hight: u16, p_width: u16) -> PixelVec [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn into_char_screen(self) -> CharScreen{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ESCAPE_CODE` is never used [INFO] [stdout] --> src/cursor_controls.rs:2:7 [INFO] [stdout] | [INFO] [stdout] 2 | const ESCAPE_CODE : &str = "\x1B"; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `cursor_type` is never used [INFO] [stdout] --> src/cursor_controls.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum cursor_type { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `home` is never used [INFO] [stdout] --> src/cursor_controls.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn home() -> (){ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_x_y` is never used [INFO] [stdout] --> src/cursor_controls.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn to_x_y(x: i16, y: i16) -> (){ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_pos` is never used [INFO] [stdout] --> src/cursor_controls.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn save_pos(c:cursor_type) -> (){ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `goto_saved_pos` is never used [INFO] [stdout] --> src/cursor_controls.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn goto_saved_pos(c:cursor_type) -> (){ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hide` is never used [INFO] [stdout] --> src/cursor_controls.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn hide() -> (){ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `show` is never used [INFO] [stdout] --> src/cursor_controls.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn show() -> (){ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `change_bg_colour`, `change_fg_colour`, `true_length`, and `len` are never used [INFO] [stdout] --> src/colour_string/ColourString.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl<'a> ColourString<'a>{ [INFO] [stdout] | ------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn change_bg_colour(mut self, colour : &'a Colour){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn change_fg_colour(mut self, colour : &'a Colour){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn true_length(&self) -> usize{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn len(&self) -> usize{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `change_bg_group_colour`, and `change_fg_group_colour` are never used [INFO] [stdout] --> src/colour_string/ColourString_Vec.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl<'a> ColourStringVec<'a> { [INFO] [stdout] | ---------------------------- associated items in this implementation [INFO] [stdout] 14 | [INFO] [stdout] 15 | pub fn new<'b>() -> ColourStringVec<'b>{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn change_bg_group_colour(self, group : &str, colour : Colour) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn change_fg_group_colour(self, group : &str, colour : Colour) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/colour.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Colour{ [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 9 | [INFO] [stdout] 10 | pub fn new(r: u8, g: u8, b: u8) -> Colour{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `image_from_path` is never used [INFO] [stdout] --> src/images/images.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn image_from_path(path : &str) -> CharScreen{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `image_to_pixel_map` is never used [INFO] [stdout] --> src/images/images.rs:30:4 [INFO] [stdout] | [INFO] [stdout] 30 | fn image_to_pixel_map(bytes : &[u8]) -> Vec>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `asTrueColour` should have a snake case name [INFO] [stdout] --> src/graphics_screen/char_pixel.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn asTrueColour(&self) -> String{ [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `as_true_colour` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `DEC` should have a snake case name [INFO] [stdout] --> src/cursor_controls.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | DEC => print!("{} 7", ESCAPE_CODE), [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `dec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `SCO` should have a snake case name [INFO] [stdout] --> src/cursor_controls.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | SCO => print!("{}[s", ESCAPE_CODE), [INFO] [stdout] | ^^^ help: convert the identifier to snake case (notice the capitalization): `sco` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `DEC` should have a snake case name [INFO] [stdout] --> src/cursor_controls.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | DEC => print!("{} 8", ESCAPE_CODE), [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `dec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `SCO` should have a snake case name [INFO] [stdout] --> src/cursor_controls.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | SCO => print!("{}[u", ESCAPE_CODE), [INFO] [stdout] | ^^^ help: convert the identifier to snake case (notice the capitalization): `sco` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `ColourString` should have a snake case name [INFO] [stdout] --> src/colour_string/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod ColourString; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `colour_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `ColourString_Vec` should have a snake case name [INFO] [stdout] --> src/colour_string/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod ColourString_Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `colour_string_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/graphics_screen/char_pixel.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl CharPixel{ [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 15 | [INFO] [stdout] 16 | pub fn new_from_tuple(f : (u8, u8, u8), b:(u8, u8, u8)) -> CharPixel{ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 24 | pub fn new(fr: u8, fg: u8, fb: u8, br: u8, bg: u8, bb: u8) -> CharPixel{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 32 | pub fn new_from_colour(fg : Colour, bg :Colour) -> CharPixel{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 40 | pub fn new_blank() -> CharPixel{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 63 | pub fn as_256_colour(&self) -> String{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 67 | pub fn as_8_colour(&self) -> String{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 71 | pub fn as_2_colour(&self) -> String{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 76 | pub fn debug_string(&self) -> (String, String){ [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `new` and `new_from_vecs` are never used [INFO] [stdout] --> src/graphics_screen/char_pixel_screen.rs:13:12 [INFO] [stdout] | [INFO] [stdout] 11 | impl CharScreen { [INFO] [stdout] | --------------- associated functions in this implementation [INFO] [stdout] 12 | [INFO] [stdout] 13 | pub fn new(temp_hight : u16, temp_width : u16) -> CharScreen{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn new_from_vecs(arr : Vec>) -> CharScreen{ [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `PixelVec` is never constructed [INFO] [stdout] --> src/graphics_screen/pixel_vec.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub struct PixelVec{ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new` and `into_char_screen` are never used [INFO] [stdout] --> src/graphics_screen/pixel_vec.rs:14:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl PixelVec{ [INFO] [stdout] | ------------- associated items in this implementation [INFO] [stdout] 13 | [INFO] [stdout] 14 | pub fn new(p_hight: u16, p_width: u16) -> PixelVec [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn into_char_screen(self) -> CharScreen{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ESCAPE_CODE` is never used [INFO] [stdout] --> src/cursor_controls.rs:2:7 [INFO] [stdout] | [INFO] [stdout] 2 | const ESCAPE_CODE : &str = "\x1B"; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `cursor_type` is never used [INFO] [stdout] --> src/cursor_controls.rs:4:10 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum cursor_type { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `home` is never used [INFO] [stdout] --> src/cursor_controls.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn home() -> (){ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_x_y` is never used [INFO] [stdout] --> src/cursor_controls.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 13 | pub fn to_x_y(x: i16, y: i16) -> (){ [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `save_pos` is never used [INFO] [stdout] --> src/cursor_controls.rs:17:8 [INFO] [stdout] | [INFO] [stdout] 17 | pub fn save_pos(c:cursor_type) -> (){ [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `goto_saved_pos` is never used [INFO] [stdout] --> src/cursor_controls.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | pub fn goto_saved_pos(c:cursor_type) -> (){ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `hide` is never used [INFO] [stdout] --> src/cursor_controls.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 31 | pub fn hide() -> (){ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `show` is never used [INFO] [stdout] --> src/cursor_controls.rs:35:8 [INFO] [stdout] | [INFO] [stdout] 35 | pub fn show() -> (){ [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `change_bg_colour`, `change_fg_colour`, `true_length`, and `len` are never used [INFO] [stdout] --> src/colour_string/ColourString.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 12 | impl<'a> ColourString<'a>{ [INFO] [stdout] | ------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn change_bg_colour(mut self, colour : &'a Colour){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | pub fn change_fg_colour(mut self, colour : &'a Colour){ [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 58 | pub fn true_length(&self) -> usize{ [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 62 | pub fn len(&self) -> usize{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `change_bg_group_colour`, and `change_fg_group_colour` are never used [INFO] [stdout] --> src/colour_string/ColourString_Vec.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 13 | impl<'a> ColourStringVec<'a> { [INFO] [stdout] | ---------------------------- associated items in this implementation [INFO] [stdout] 14 | [INFO] [stdout] 15 | pub fn new<'b>() -> ColourStringVec<'b>{ [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 28 | pub fn change_bg_group_colour(self, group : &str, colour : Colour) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn change_fg_group_colour(self, group : &str, colour : Colour) -> () { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/colour.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl Colour{ [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 9 | [INFO] [stdout] 10 | pub fn new(r: u8, g: u8, b: u8) -> Colour{ [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `image_from_path` is never used [INFO] [stdout] --> src/images/images.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn image_from_path(path : &str) -> CharScreen{ [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `image_to_pixel_map` is never used [INFO] [stdout] --> src/images/images.rs:30:4 [INFO] [stdout] | [INFO] [stdout] 30 | fn image_to_pixel_map(bytes : &[u8]) -> Vec>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `asTrueColour` should have a snake case name [INFO] [stdout] --> src/graphics_screen/char_pixel.rs:48:12 [INFO] [stdout] | [INFO] [stdout] 48 | pub fn asTrueColour(&self) -> String{ [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `as_true_colour` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `DEC` should have a snake case name [INFO] [stdout] --> src/cursor_controls.rs:19:9 [INFO] [stdout] | [INFO] [stdout] 19 | DEC => print!("{} 7", ESCAPE_CODE), [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `dec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `SCO` should have a snake case name [INFO] [stdout] --> src/cursor_controls.rs:20:9 [INFO] [stdout] | [INFO] [stdout] 20 | SCO => print!("{}[s", ESCAPE_CODE), [INFO] [stdout] | ^^^ help: convert the identifier to snake case (notice the capitalization): `sco` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `DEC` should have a snake case name [INFO] [stdout] --> src/cursor_controls.rs:26:9 [INFO] [stdout] | [INFO] [stdout] 26 | DEC => print!("{} 8", ESCAPE_CODE), [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `dec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `SCO` should have a snake case name [INFO] [stdout] --> src/cursor_controls.rs:27:9 [INFO] [stdout] | [INFO] [stdout] 27 | SCO => print!("{}[u", ESCAPE_CODE), [INFO] [stdout] | ^^^ help: convert the identifier to snake case (notice the capitalization): `sco` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `ColourString` should have a snake case name [INFO] [stdout] --> src/colour_string/mod.rs:1:9 [INFO] [stdout] | [INFO] [stdout] 1 | pub mod ColourString; [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `colour_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: module `ColourString_Vec` should have a snake case name [INFO] [stdout] --> src/colour_string/mod.rs:2:9 [INFO] [stdout] | [INFO] [stdout] 2 | pub mod ColourString_Vec; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `colour_string_vec` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 35 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0170`. [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors; 35 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0170`. [INFO] [stdout] [INFO] [stderr] error: could not compile `term_graphics` (bin "term_graphics") due to 5 previous errors; 35 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `term_graphics` (bin "term_graphics" test) due to 5 previous errors; 35 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e404196d79d7f57b0b6466e6a8cacd039c15e3d967cf27c948544a8947aeff55", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e404196d79d7f57b0b6466e6a8cacd039c15e3d967cf27c948544a8947aeff55", kill_on_drop: false }` [INFO] [stdout] e404196d79d7f57b0b6466e6a8cacd039c15e3d967cf27c948544a8947aeff55