[INFO] cloning repository https://github.com/julySteuer/pride-painter [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/julySteuer/pride-painter" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FjulySteuer%2Fpride-painter", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FjulySteuer%2Fpride-painter'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 6b39a315e09f8f5bec254a7ab0f225ab62636962 [INFO] checking julySteuer/pride-painter against master#368e2fd458a22d0cc133d0c254f2612ee999744f for pr-128351 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FjulySteuer%2Fpride-painter" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/julySteuer/pride-painter on toolchain 368e2fd458a22d0cc133d0c254f2612ee999744f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+368e2fd458a22d0cc133d0c254f2612ee999744f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/julySteuer/pride-painter [INFO] finished tweaking git repo https://github.com/julySteuer/pride-painter [INFO] tweaked toml for git repo https://github.com/julySteuer/pride-painter written to /workspace/builds/worker-1-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/julySteuer/pride-painter 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" "+368e2fd458a22d0cc133d0c254f2612ee999744f" "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 julySteuer/pride-painter against try#09146510cdb33d15474a35fde290187a88b1cf35 for pr-128351 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FjulySteuer%2Fpride-painter" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/julySteuer/pride-painter on toolchain 09146510cdb33d15474a35fde290187a88b1cf35 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+09146510cdb33d15474a35fde290187a88b1cf35" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/julySteuer/pride-painter [INFO] finished tweaking git repo https://github.com/julySteuer/pride-painter [INFO] tweaked toml for git repo https://github.com/julySteuer/pride-painter written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/julySteuer/pride-painter 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" "+09146510cdb33d15474a35fde290187a88b1cf35" "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 [ERROR] error running command: no output for 300 seconds [INFO] checking julySteuer/pride-painter against try#09146510cdb33d15474a35fde290187a88b1cf35 for pr-128351 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FjulySteuer%2Fpride-painter" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/julySteuer/pride-painter on toolchain 09146510cdb33d15474a35fde290187a88b1cf35 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+09146510cdb33d15474a35fde290187a88b1cf35" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/julySteuer/pride-painter [INFO] finished tweaking git repo https://github.com/julySteuer/pride-painter [INFO] tweaked toml for git repo https://github.com/julySteuer/pride-painter written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/julySteuer/pride-painter 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" "+09146510cdb33d15474a35fde290187a88b1cf35" "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] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+09146510cdb33d15474a35fde290187a88b1cf35" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 07cfe3ebcadd43fe5cbdc87a5e880e50d405272e32da596d021c2af91ebf77a2 [INFO] running `Command { std: "docker" "start" "-a" "07cfe3ebcadd43fe5cbdc87a5e880e50d405272e32da596d021c2af91ebf77a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "07cfe3ebcadd43fe5cbdc87a5e880e50d405272e32da596d021c2af91ebf77a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "07cfe3ebcadd43fe5cbdc87a5e880e50d405272e32da596d021c2af91ebf77a2", kill_on_drop: false }` [INFO] [stdout] 07cfe3ebcadd43fe5cbdc87a5e880e50d405272e32da596d021c2af91ebf77a2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:dff56e7819e73ed36160586b3445e93eb0be776c16704aeeded9c3fb668b2384" "/opt/rustwide/cargo-home/bin/cargo" "+09146510cdb33d15474a35fde290187a88b1cf35" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 8b0ff1bb83f34d6c2d957ee3e161153a9d659bb63dcd6d522896e300ab4ccbe9 [INFO] running `Command { std: "docker" "start" "-a" "8b0ff1bb83f34d6c2d957ee3e161153a9d659bb63dcd6d522896e300ab4ccbe9", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.125 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Checking ppv-lite86 v0.2.16 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking getrandom v0.2.6 [INFO] [stderr] Checking rand_core v0.6.3 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking regex v1.5.5 [INFO] [stderr] Checking pride-flag-painter v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `Rng` [INFO] [stdout] --> src/flags.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use rand::{thread_rng, Rng, prelude::SliceRandom}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `COLOR_PAIR`, `attroff`, `attron`, `endwin`, `getch`, `mvaddch`, and `refresh` [INFO] [stdout] --> src/main.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | use bindings::{COLOR_PAIR, initscr, refresh, getch, endwin, init_color, init_pair, mvaddch, start_color, attron, attroff}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^ ^^^^^ ^^^^^^ ^^^^^^^ ^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `color_pallet::make_color_from_pallet` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use color_pallet::make_color_from_pallet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Flag` and `Pixel` [INFO] [stdout] --> src/main.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use flags::{Pixel, make_flag, Flag}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parser::parse_text` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use parser::parse_text; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `shuffle` and `wave_anim` [INFO] [stdout] --> src/main.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::{flags::{correct, shuffle, wave_anim}, bindings::clear}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Rng` [INFO] [stdout] --> src/flags.rs:2:24 [INFO] [stdout] | [INFO] [stdout] 2 | use rand::{thread_rng, Rng, prelude::SliceRandom}; [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `COLOR_PAIR`, `attroff`, `attron`, `endwin`, `getch`, `mvaddch`, and `refresh` [INFO] [stdout] --> src/main.rs:5:16 [INFO] [stdout] | [INFO] [stdout] 5 | use bindings::{COLOR_PAIR, initscr, refresh, getch, endwin, init_color, init_pair, mvaddch, start_color, attron, attroff}; [INFO] [stdout] | ^^^^^^^^^^ ^^^^^^^ ^^^^^ ^^^^^^ ^^^^^^^ ^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `color_pallet::make_color_from_pallet` [INFO] [stdout] --> src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use color_pallet::make_color_from_pallet; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Flag` and `Pixel` [INFO] [stdout] --> src/main.rs:7:13 [INFO] [stdout] | [INFO] [stdout] 7 | use flags::{Pixel, make_flag, Flag}; [INFO] [stdout] | ^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `parser::parse_text` [INFO] [stdout] --> src/main.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use parser::parse_text; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs` [INFO] [stdout] --> src/main.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | use std::fs; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `shuffle` and `wave_anim` [INFO] [stdout] --> src/main.rs:13:30 [INFO] [stdout] | [INFO] [stdout] 13 | use crate::{flags::{correct, shuffle, wave_anim}, bindings::clear}; [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `up_or_down` [INFO] [stdout] --> src/flags.rs:83:17 [INFO] [stdout] | [INFO] [stdout] 83 | let up_or_down = { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_up_or_down` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pixels` [INFO] [stdout] --> src/flags.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | fn zoom(pixels:Vec>, scalar: i16) -> Vec> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pixels` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `up_or_down` [INFO] [stdout] --> src/flags.rs:83:17 [INFO] [stdout] | [INFO] [stdout] 83 | let up_or_down = { [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_up_or_down` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `pixels` [INFO] [stdout] --> src/flags.rs:116:9 [INFO] [stdout] | [INFO] [stdout] 116 | fn zoom(pixels:Vec>, scalar: i16) -> Vec> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_pixels` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scalar` [INFO] [stdout] --> src/flags.rs:116:33 [INFO] [stdout] | [INFO] [stdout] 116 | fn zoom(pixels:Vec>, scalar: i16) -> Vec> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_scalar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `scalar` [INFO] [stdout] --> src/flags.rs:116:33 [INFO] [stdout] | [INFO] [stdout] 116 | fn zoom(pixels:Vec>, scalar: i16) -> Vec> { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_scalar` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/color_pallet.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | unsafe { // Could use Macro here as well [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 30 | make_color!(COLOR_PAIR_RED, COLOR_PAIR_BLUE, COLOR_PAIR_PINK, COLOR_PAIR_PURPLE); [INFO] [stdout] | -------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] = note: this warning originates in the macro `make_color` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `addch` is never used [INFO] [stdout] --> src/bindings.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn addch(_:u32) -> c_int; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getch` is never used [INFO] [stdout] --> src/bindings.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn getch() -> c_int; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `endwin` is never used [INFO] [stdout] --> src/bindings.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn endwin() -> c_int; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `wave_anim` is never used [INFO] [stdout] --> src/flags.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn wave_anim(flag: &Flag, period: f64, max_height: f64,shift: i16) -> Flag{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `shuffle` is never used [INFO] [stdout] --> src/flags.rs:105:8 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn shuffle(flag: &mut Flag){ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `zoom` is never used [INFO] [stdout] --> src/flags.rs:116:4 [INFO] [stdout] | [INFO] [stdout] 116 | fn zoom(pixels:Vec>, scalar: i16) -> Vec> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_color_from_pallet` is never used [INFO] [stdout] --> src/color_pallet.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn make_color_from_pallet(index: i32, rgb: (i32,i32,i32)){ // ERROR WITH colors maybe here [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_text` is never used [INFO] [stdout] --> src/parser/mod.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn parse_text(text: String) -> Vec>{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_variable` is never used [INFO] [stdout] --> src/parser/mod.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn parse_variable(vars: Vec) -> HashMap>{ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_flag_content` is never used [INFO] [stdout] --> src/parser/mod.rs:36:4 [INFO] [stdout] | [INFO] [stdout] 36 | fn parse_flag_content(content: Vec, stack: HashMap>) -> Vec>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `COLOR_RED_FORE` should have a snake case name [INFO] [stdout] --> src/color_pallet.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | let COLOR_RED_FORE: i16 = 11; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `color_red_fore` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | make_color!(COLOR_PAIR_RED, COLOR_PAIR_BLUE, COLOR_PAIR_PINK, COLOR_PAIR_PURPLE); [INFO] [stdout] | -------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = note: this warning originates in the macro `make_color` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `COLOR_RED_BACK` should have a snake case name [INFO] [stdout] --> src/color_pallet.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | let COLOR_RED_BACK: i16 = 12; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `color_red_back` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | make_color!(COLOR_PAIR_RED, COLOR_PAIR_BLUE, COLOR_PAIR_PINK, COLOR_PAIR_PURPLE); [INFO] [stdout] | -------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `make_color` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `COLOR_PAIR_RED` should have a snake case name [INFO] [stdout] --> src/main.rs:30:21 [INFO] [stdout] | [INFO] [stdout] 30 | make_color!(COLOR_PAIR_RED, COLOR_PAIR_BLUE, COLOR_PAIR_PINK, COLOR_PAIR_PURPLE); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `color_pair_red` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `COLOR_BLUE_FORE` should have a snake case name [INFO] [stdout] --> src/color_pallet.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | let COLOR_BLUE_FORE: i16 = 13; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `color_blue_fore` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | make_color!(COLOR_PAIR_RED, COLOR_PAIR_BLUE, COLOR_PAIR_PINK, COLOR_PAIR_PURPLE); [INFO] [stdout] | -------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `make_color` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `COLOR_BLUE_BACK` should have a snake case name [INFO] [stdout] --> src/color_pallet.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | let COLOR_BLUE_BACK: i16 = 14; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `color_blue_back` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | make_color!(COLOR_PAIR_RED, COLOR_PAIR_BLUE, COLOR_PAIR_PINK, COLOR_PAIR_PURPLE); [INFO] [stdout] | -------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `make_color` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `COLOR_PAIR_BLUE` should have a snake case name [INFO] [stdout] --> src/main.rs:30:37 [INFO] [stdout] | [INFO] [stdout] 30 | make_color!(COLOR_PAIR_RED, COLOR_PAIR_BLUE, COLOR_PAIR_PINK, COLOR_PAIR_PURPLE); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `color_pair_blue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `COLOR_PINK_FORE` should have a snake case name [INFO] [stdout] --> src/color_pallet.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | let COLOR_PINK_FORE: i16 = 15; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `color_pink_fore` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | make_color!(COLOR_PAIR_RED, COLOR_PAIR_BLUE, COLOR_PAIR_PINK, COLOR_PAIR_PURPLE); [INFO] [stdout] | -------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `make_color` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `COLOR_PINK_BACK` should have a snake case name [INFO] [stdout] --> src/color_pallet.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | let COLOR_PINK_BACK: i16 = 16; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `color_pink_back` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | make_color!(COLOR_PAIR_RED, COLOR_PAIR_BLUE, COLOR_PAIR_PINK, COLOR_PAIR_PURPLE); [INFO] [stdout] | -------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `make_color` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/color_pallet.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | unsafe { // Could use Macro here as well [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:21:5 [INFO] [stdout] | [INFO] [stdout] 21 | unsafe { [INFO] [stdout] | ------ because it's nested under this `unsafe` block [INFO] [stdout] ... [INFO] [stdout] 30 | make_color!(COLOR_PAIR_RED, COLOR_PAIR_BLUE, COLOR_PAIR_PINK, COLOR_PAIR_PURPLE); [INFO] [stdout] | -------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` on by default [INFO] [stdout] = note: this warning originates in the macro `make_color` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `addch` is never used [INFO] [stdout] --> src/bindings.rs:6:12 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn addch(_:u32) -> c_int; [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `getch` is never used [INFO] [stdout] --> src/bindings.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn getch() -> c_int; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `endwin` is never used [INFO] [stdout] --> src/bindings.rs:9:12 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn endwin() -> c_int; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `wave_anim` is never used [INFO] [stdout] --> src/flags.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 55 | pub fn wave_anim(flag: &Flag, period: f64, max_height: f64,shift: i16) -> Flag{ [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `shuffle` is never used [INFO] [stdout] --> src/flags.rs:105:8 [INFO] [stdout] | [INFO] [stdout] 105 | pub fn shuffle(flag: &mut Flag){ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `zoom` is never used [INFO] [stdout] --> src/flags.rs:116:4 [INFO] [stdout] | [INFO] [stdout] 116 | fn zoom(pixels:Vec>, scalar: i16) -> Vec> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `make_color_from_pallet` is never used [INFO] [stdout] --> src/color_pallet.rs:44:8 [INFO] [stdout] | [INFO] [stdout] 44 | pub fn make_color_from_pallet(index: i32, rgb: (i32,i32,i32)){ // ERROR WITH colors maybe here [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_text` is never used [INFO] [stdout] --> src/parser/mod.rs:6:8 [INFO] [stdout] | [INFO] [stdout] 6 | pub fn parse_text(text: String) -> Vec>{ [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_variable` is never used [INFO] [stdout] --> src/parser/mod.rs:14:4 [INFO] [stdout] | [INFO] [stdout] 14 | fn parse_variable(vars: Vec) -> HashMap>{ [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_flag_content` is never used [INFO] [stdout] --> src/parser/mod.rs:36:4 [INFO] [stdout] | [INFO] [stdout] 36 | fn parse_flag_content(content: Vec, stack: HashMap>) -> Vec>{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `COLOR_RED_FORE` should have a snake case name [INFO] [stdout] --> src/color_pallet.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | let COLOR_RED_FORE: i16 = 11; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `color_red_fore` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | make_color!(COLOR_PAIR_RED, COLOR_PAIR_BLUE, COLOR_PAIR_PINK, COLOR_PAIR_PURPLE); [INFO] [stdout] | -------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] = note: this warning originates in the macro `make_color` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `COLOR_RED_BACK` should have a snake case name [INFO] [stdout] --> src/color_pallet.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | let COLOR_RED_BACK: i16 = 12; [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `color_red_back` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | make_color!(COLOR_PAIR_RED, COLOR_PAIR_BLUE, COLOR_PAIR_PINK, COLOR_PAIR_PURPLE); [INFO] [stdout] | -------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `make_color` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `COLOR_PAIR_RED` should have a snake case name [INFO] [stdout] --> src/main.rs:30:21 [INFO] [stdout] | [INFO] [stdout] 30 | make_color!(COLOR_PAIR_RED, COLOR_PAIR_BLUE, COLOR_PAIR_PINK, COLOR_PAIR_PURPLE); [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to snake case: `color_pair_red` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `COLOR_BLUE_FORE` should have a snake case name [INFO] [stdout] --> src/color_pallet.rs:11:12 [INFO] [stdout] | [INFO] [stdout] 11 | let COLOR_BLUE_FORE: i16 = 13; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `color_blue_fore` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | make_color!(COLOR_PAIR_RED, COLOR_PAIR_BLUE, COLOR_PAIR_PINK, COLOR_PAIR_PURPLE); [INFO] [stdout] | -------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `make_color` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `COLOR_BLUE_BACK` should have a snake case name [INFO] [stdout] --> src/color_pallet.rs:12:12 [INFO] [stdout] | [INFO] [stdout] 12 | let COLOR_BLUE_BACK: i16 = 14; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `color_blue_back` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | make_color!(COLOR_PAIR_RED, COLOR_PAIR_BLUE, COLOR_PAIR_PINK, COLOR_PAIR_PURPLE); [INFO] [stdout] | -------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `make_color` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `COLOR_PAIR_BLUE` should have a snake case name [INFO] [stdout] --> src/main.rs:30:37 [INFO] [stdout] | [INFO] [stdout] 30 | make_color!(COLOR_PAIR_RED, COLOR_PAIR_BLUE, COLOR_PAIR_PINK, COLOR_PAIR_PURPLE); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `color_pair_blue` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `COLOR_PINK_FORE` should have a snake case name [INFO] [stdout] --> src/color_pallet.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | let COLOR_PINK_FORE: i16 = 15; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `color_pink_fore` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | make_color!(COLOR_PAIR_RED, COLOR_PAIR_BLUE, COLOR_PAIR_PINK, COLOR_PAIR_PURPLE); [INFO] [stdout] | -------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `make_color` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `COLOR_PINK_BACK` should have a snake case name [INFO] [stdout] --> src/color_pallet.rs:17:12 [INFO] [stdout] | [INFO] [stdout] 17 | let COLOR_PINK_BACK: i16 = 16; [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `color_pink_back` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | make_color!(COLOR_PAIR_RED, COLOR_PAIR_BLUE, COLOR_PAIR_PINK, COLOR_PAIR_PURPLE); [INFO] [stdout] | -------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `make_color` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `COLOR_PAIR_PINK` should have a snake case name [INFO] [stdout] --> src/main.rs:30:54 [INFO] [stdout] | [INFO] [stdout] 30 | make_color!(COLOR_PAIR_RED, COLOR_PAIR_BLUE, COLOR_PAIR_PINK, COLOR_PAIR_PURPLE); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `color_pair_pink` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `COLOR_PURPLE_FORE` should have a snake case name [INFO] [stdout] --> src/color_pallet.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | let COLOR_PURPLE_FORE: i16 = 17; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `color_purple_fore` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | make_color!(COLOR_PAIR_RED, COLOR_PAIR_BLUE, COLOR_PAIR_PINK, COLOR_PAIR_PURPLE); [INFO] [stdout] | -------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `make_color` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `COLOR_PURPLE_BACK` should have a snake case name [INFO] [stdout] --> src/color_pallet.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | let COLOR_PURPLE_BACK: i16 = 18; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `color_purple_back` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | make_color!(COLOR_PAIR_RED, COLOR_PAIR_BLUE, COLOR_PAIR_PINK, COLOR_PAIR_PURPLE); [INFO] [stdout] | -------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `make_color` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `COLOR_PAIR_PURPLE` should have a snake case name [INFO] [stdout] --> src/main.rs:30:71 [INFO] [stdout] | [INFO] [stdout] 30 | make_color!(COLOR_PAIR_RED, COLOR_PAIR_BLUE, COLOR_PAIR_PINK, COLOR_PAIR_PURPLE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `color_pair_purple` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `COLOR_PAIR_PINK` should have a snake case name [INFO] [stdout] --> src/main.rs:30:54 [INFO] [stdout] | [INFO] [stdout] 30 | make_color!(COLOR_PAIR_RED, COLOR_PAIR_BLUE, COLOR_PAIR_PINK, COLOR_PAIR_PURPLE); [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `color_pair_pink` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `COLOR_PURPLE_FORE` should have a snake case name [INFO] [stdout] --> src/color_pallet.rs:20:12 [INFO] [stdout] | [INFO] [stdout] 20 | let COLOR_PURPLE_FORE: i16 = 17; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `color_purple_fore` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | make_color!(COLOR_PAIR_RED, COLOR_PAIR_BLUE, COLOR_PAIR_PINK, COLOR_PAIR_PURPLE); [INFO] [stdout] | -------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `make_color` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `COLOR_PURPLE_BACK` should have a snake case name [INFO] [stdout] --> src/color_pallet.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 21 | let COLOR_PURPLE_BACK: i16 = 18; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `color_purple_back` [INFO] [stdout] | [INFO] [stdout] ::: src/main.rs:30:9 [INFO] [stdout] | [INFO] [stdout] 30 | make_color!(COLOR_PAIR_RED, COLOR_PAIR_BLUE, COLOR_PAIR_PINK, COLOR_PAIR_PURPLE); [INFO] [stdout] | -------------------------------------------------------------------------------- in this macro invocation [INFO] [stdout] | [INFO] [stdout] = note: this warning originates in the macro `make_color` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `COLOR_PAIR_PURPLE` should have a snake case name [INFO] [stdout] --> src/main.rs:30:71 [INFO] [stdout] | [INFO] [stdout] 30 | make_color!(COLOR_PAIR_RED, COLOR_PAIR_BLUE, COLOR_PAIR_PINK, COLOR_PAIR_PURPLE); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ help: convert the identifier to snake case: `color_pair_purple` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 33 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 3.62s [INFO] running `Command { std: "docker" "inspect" "8b0ff1bb83f34d6c2d957ee3e161153a9d659bb63dcd6d522896e300ab4ccbe9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8b0ff1bb83f34d6c2d957ee3e161153a9d659bb63dcd6d522896e300ab4ccbe9", kill_on_drop: false }` [INFO] [stdout] 8b0ff1bb83f34d6c2d957ee3e161153a9d659bb63dcd6d522896e300ab4ccbe9