[INFO] cloning repository https://github.com/joaoCabralpv/GraphicVM [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/joaoCabralpv/GraphicVM" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FjoaoCabralpv%2FGraphicVM", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FjoaoCabralpv%2FGraphicVM'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 09874220beb9a84d3a8f47b5f1584aeda19b68cd [INFO] testing joaoCabralpv/GraphicVM against try#b83b707f97d809763b7861afa7638871f3339a33 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FjoaoCabralpv%2FGraphicVM" "/workspace/builds/worker-7-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/joaoCabralpv/GraphicVM [INFO] finished tweaking git repo https://github.com/joaoCabralpv/GraphicVM [INFO] tweaked toml for git repo https://github.com/joaoCabralpv/GraphicVM written to /workspace/builds/worker-7-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/joaoCabralpv/GraphicVM on toolchain b83b707f97d809763b7861afa7638871f3339a33 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/joaoCabralpv/GraphicVM 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" "+b83b707f97d809763b7861afa7638871f3339a33" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] bbcebce5ff2f1944c041296158b04b1e7c76614839659c3b5111d0848872b5a2 [INFO] running `Command { std: "docker" "start" "-a" "bbcebce5ff2f1944c041296158b04b1e7c76614839659c3b5111d0848872b5a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "bbcebce5ff2f1944c041296158b04b1e7c76614839659c3b5111d0848872b5a2", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bbcebce5ff2f1944c041296158b04b1e7c76614839659c3b5111d0848872b5a2", kill_on_drop: false }` [INFO] [stdout] bbcebce5ff2f1944c041296158b04b1e7c76614839659c3b5111d0848872b5a2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] eccbd7ec4ff4806738d4233016211bc9fe1aaec382bbe4b8814576abd8425259 [INFO] running `Command { std: "docker" "start" "-a" "eccbd7ec4ff4806738d4233016211bc9fe1aaec382bbe4b8814576abd8425259", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling xml-rs v0.8.25 [INFO] [stderr] Compiling rustix v0.38.43 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling libloading v0.8.6 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling xcursor v0.3.8 [INFO] [stderr] Compiling raw-window-handle v0.6.2 [INFO] [stderr] Compiling minifb v0.27.0 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling wayland-client v0.29.5 [INFO] [stderr] Compiling wayland-protocols v0.29.5 [INFO] [stderr] Compiling nix v0.24.3 [INFO] [stderr] Compiling getrandom v0.2.15 [INFO] [stderr] Compiling tempfile v3.15.0 [INFO] [stderr] Compiling wayland-commons v0.29.5 [INFO] [stderr] Compiling wayland-cursor v0.29.5 [INFO] [stderr] Compiling GraphicVM v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/main.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | let mut memory:Box<[u16]>= vec![0;MEMORY_SIZE].into_boxed_slice(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | let mut memory:Box<[u16]>= vec![0;MEMORY_SIZE].into_boxed_slice(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLACK_VM` is never used [INFO] [stdout] --> src/color.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub const BLACK_VM :u8 = 0x0; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DARK_GREY_VM` is never used [INFO] [stdout] --> src/color.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const DARK_GREY_VM :u8 = 0x1; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RED_VM` is never used [INFO] [stdout] --> src/color.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const RED_VM :u8 = 0x2; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DARK_RED_VM` is never used [INFO] [stdout] --> src/color.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const DARK_RED_VM :u8 = 0x3; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GREEN_VM` is never used [INFO] [stdout] --> src/color.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub const GREEN_VM :u8 = 0x4; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DARK_GREEN_VM` is never used [INFO] [stdout] --> src/color.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub const DARK_GREEN_VM :u8 = 0x5; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLUE_VM` is never used [INFO] [stdout] --> src/color.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub const BLUE_VM :u8 = 0x6; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DARK_BLUE_VM` is never used [INFO] [stdout] --> src/color.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const DARK_BLUE_VM :u8 = 0x7; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `YELLOW_VM` is never used [INFO] [stdout] --> src/color.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub const YELLOW_VM :u8 = 0x8; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DARK_YELLOW_VM` is never used [INFO] [stdout] --> src/color.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const DARK_YELLOW_VM :u8 = 0x9; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PURPLE_VM` is never used [INFO] [stdout] --> src/color.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub const PURPLE_VM :u8 = 0xA; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DARK_PURPLE_VM` is never used [INFO] [stdout] --> src/color.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | pub const DARK_PURPLE_VM :u8 = 0xB; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CYAN_VM` is never used [INFO] [stdout] --> src/color.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | pub const CYAN_VM :u8 = 0xC; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DARK_CYAN_VM` is never used [INFO] [stdout] --> src/color.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | pub const DARK_CYAN_VM :u8 = 0xD; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GREY_VM` is never used [INFO] [stdout] --> src/color.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | pub const GREY_VM :u8 = 0xE; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WHITE_VM` is never used [INFO] [stdout] --> src/color.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | pub const WHITE_VM :u8 = 0xF; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLACK_RGB` is never used [INFO] [stdout] --> src/color.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | pub const BLACK_RGB :u32 = 0x000000; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DARK_GREY_RGB` is never used [INFO] [stdout] --> src/color.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | pub const DARK_GREY_RGB :u32 = 0x404040; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RED_RGB` is never used [INFO] [stdout] --> src/color.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | pub const RED_RGB :u32 = 0xFF0000; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DARK_RED_RGB` is never used [INFO] [stdout] --> src/color.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | pub const DARK_RED_RGB :u32 = 0x800000; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GREEN_RGB` is never used [INFO] [stdout] --> src/color.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | pub const GREEN_RGB :u32 = 0x00FF00; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DARK_GREEN_RGB` is never used [INFO] [stdout] --> src/color.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 25 | pub const DARK_GREEN_RGB :u32 = 0x008000; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLUE_RGB` is never used [INFO] [stdout] --> src/color.rs:26:11 [INFO] [stdout] | [INFO] [stdout] 26 | pub const BLUE_RGB :u32 = 0x0000FF; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DARK_BLUE_RGB` is never used [INFO] [stdout] --> src/color.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | pub const DARK_BLUE_RGB :u32 = 0x000080; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `YELLOW_RGB` is never used [INFO] [stdout] --> src/color.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | pub const YELLOW_RGB :u32 = 0xFFFF00; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DARK_YELLOW_RGB` is never used [INFO] [stdout] --> src/color.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 29 | pub const DARK_YELLOW_RGB :u32 = 0x808000; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PURPLE_RGB` is never used [INFO] [stdout] --> src/color.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | pub const PURPLE_RGB :u32 = 0xFF00FF; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DARK_PURPLE_RGB` is never used [INFO] [stdout] --> src/color.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | pub const DARK_PURPLE_RGB :u32 = 0x800080; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CYAN_RGB` is never used [INFO] [stdout] --> src/color.rs:32:11 [INFO] [stdout] | [INFO] [stdout] 32 | pub const CYAN_RGB :u32 = 0x00FFFF; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DARK_CYAN_RGB` is never used [INFO] [stdout] --> src/color.rs:33:11 [INFO] [stdout] | [INFO] [stdout] 33 | pub const DARK_CYAN_RGB :u32 = 0x008080; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GREY_RGB` is never used [INFO] [stdout] --> src/color.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 34 | pub const GREY_RGB :u32 = 0x808080; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WHITE_RGB` is never used [INFO] [stdout] --> src/color.rs:35:11 [INFO] [stdout] | [INFO] [stdout] 35 | pub const WHITE_RGB :u32 = 0xFFFFFF; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `vm_color_to_rgb_color` is never used [INFO] [stdout] --> src/color.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn vm_color_to_rgb_color(color:u8)->u32{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_image_buffer` is never used [INFO] [stdout] --> src/color.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn create_image_buffer(memory:&[u16]) -> [u32;SCREEN_MEMORY_SIZE*4] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SCREEN_MEMORY_SIZE` is never used [INFO] [stdout] --> src/constant.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const SCREEN_MEMORY_SIZE:usize = WIDTH*HEIGHT/4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SCREEN_MEMORY_START` is never used [INFO] [stdout] --> src/constant.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const SCREEN_MEMORY_START:usize = MEMORY_SIZE-SCREEN_MEMORY_SIZE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SCREEN_MEMORY_END` is never used [INFO] [stdout] --> src/constant.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const SCREEN_MEMORY_END: usize = SCREEN_MEMORY_START+SCREEN_MEMORY_SIZE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ClockFreqencyHz` should have an upper case name [INFO] [stdout] --> src/clock.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | pub const ClockFreqencyHz:u32 = 100000; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 2 - pub const ClockFreqencyHz:u32 = 100000; [INFO] [stdout] 2 + pub const CLOCK_FREQENCY_HZ:u32 = 100000; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ClockPeriod` should have an upper case name [INFO] [stdout] --> src/clock.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub const ClockPeriod:time::Duration = time::Duration::from_nanos((1000000000 as f64/(ClockFreqencyHz as f64)) as u64); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 3 - pub const ClockPeriod:time::Duration = time::Duration::from_nanos((1000000000 as f64/(ClockFreqencyHz as f64)) as u64); [INFO] [stdout] 3 + pub const CLOCK_PERIOD:time::Duration = time::Duration::from_nanos((1000000000 as f64/(ClockFreqencyHz as f64)) as u64); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `StepClock` should have a snake case name [INFO] [stdout] --> src/clock.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn StepClock(last_clock_step_time:time::Instant) -> bool { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `step_clock` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 41.13s [INFO] running `Command { std: "docker" "inspect" "eccbd7ec4ff4806738d4233016211bc9fe1aaec382bbe4b8814576abd8425259", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "eccbd7ec4ff4806738d4233016211bc9fe1aaec382bbe4b8814576abd8425259", kill_on_drop: false }` [INFO] [stdout] eccbd7ec4ff4806738d4233016211bc9fe1aaec382bbe4b8814576abd8425259 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 37d67843cd734c69cb7e12f92bd2a538e8a551e9290c6a1aa48a3f356fd8991d [INFO] running `Command { std: "docker" "start" "-a" "37d67843cd734c69cb7e12f92bd2a538e8a551e9290c6a1aa48a3f356fd8991d", kill_on_drop: false }` [INFO] [stderr] Compiling GraphicVM v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `memory` [INFO] [stdout] --> src/main.rs:12:13 [INFO] [stdout] | [INFO] [stdout] 12 | let mut memory:Box<[u16]>= vec![0;MEMORY_SIZE].into_boxed_slice(); [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:12:9 [INFO] [stdout] | [INFO] [stdout] 12 | let mut memory:Box<[u16]>= vec![0;MEMORY_SIZE].into_boxed_slice(); [INFO] [stdout] | ----^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLACK_VM` is never used [INFO] [stdout] --> src/color.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub const BLACK_VM :u8 = 0x0; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DARK_GREY_VM` is never used [INFO] [stdout] --> src/color.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const DARK_GREY_VM :u8 = 0x1; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RED_VM` is never used [INFO] [stdout] --> src/color.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const RED_VM :u8 = 0x2; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DARK_RED_VM` is never used [INFO] [stdout] --> src/color.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const DARK_RED_VM :u8 = 0x3; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GREEN_VM` is never used [INFO] [stdout] --> src/color.rs:7:11 [INFO] [stdout] | [INFO] [stdout] 7 | pub const GREEN_VM :u8 = 0x4; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DARK_GREEN_VM` is never used [INFO] [stdout] --> src/color.rs:8:11 [INFO] [stdout] | [INFO] [stdout] 8 | pub const DARK_GREEN_VM :u8 = 0x5; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLUE_VM` is never used [INFO] [stdout] --> src/color.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | pub const BLUE_VM :u8 = 0x6; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DARK_BLUE_VM` is never used [INFO] [stdout] --> src/color.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | pub const DARK_BLUE_VM :u8 = 0x7; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `YELLOW_VM` is never used [INFO] [stdout] --> src/color.rs:11:11 [INFO] [stdout] | [INFO] [stdout] 11 | pub const YELLOW_VM :u8 = 0x8; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DARK_YELLOW_VM` is never used [INFO] [stdout] --> src/color.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const DARK_YELLOW_VM :u8 = 0x9; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PURPLE_VM` is never used [INFO] [stdout] --> src/color.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | pub const PURPLE_VM :u8 = 0xA; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DARK_PURPLE_VM` is never used [INFO] [stdout] --> src/color.rs:14:11 [INFO] [stdout] | [INFO] [stdout] 14 | pub const DARK_PURPLE_VM :u8 = 0xB; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CYAN_VM` is never used [INFO] [stdout] --> src/color.rs:15:11 [INFO] [stdout] | [INFO] [stdout] 15 | pub const CYAN_VM :u8 = 0xC; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DARK_CYAN_VM` is never used [INFO] [stdout] --> src/color.rs:16:11 [INFO] [stdout] | [INFO] [stdout] 16 | pub const DARK_CYAN_VM :u8 = 0xD; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GREY_VM` is never used [INFO] [stdout] --> src/color.rs:17:11 [INFO] [stdout] | [INFO] [stdout] 17 | pub const GREY_VM :u8 = 0xE; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WHITE_VM` is never used [INFO] [stdout] --> src/color.rs:18:11 [INFO] [stdout] | [INFO] [stdout] 18 | pub const WHITE_VM :u8 = 0xF; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLACK_RGB` is never used [INFO] [stdout] --> src/color.rs:20:11 [INFO] [stdout] | [INFO] [stdout] 20 | pub const BLACK_RGB :u32 = 0x000000; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DARK_GREY_RGB` is never used [INFO] [stdout] --> src/color.rs:21:11 [INFO] [stdout] | [INFO] [stdout] 21 | pub const DARK_GREY_RGB :u32 = 0x404040; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `RED_RGB` is never used [INFO] [stdout] --> src/color.rs:22:11 [INFO] [stdout] | [INFO] [stdout] 22 | pub const RED_RGB :u32 = 0xFF0000; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DARK_RED_RGB` is never used [INFO] [stdout] --> src/color.rs:23:11 [INFO] [stdout] | [INFO] [stdout] 23 | pub const DARK_RED_RGB :u32 = 0x800000; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GREEN_RGB` is never used [INFO] [stdout] --> src/color.rs:24:11 [INFO] [stdout] | [INFO] [stdout] 24 | pub const GREEN_RGB :u32 = 0x00FF00; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DARK_GREEN_RGB` is never used [INFO] [stdout] --> src/color.rs:25:11 [INFO] [stdout] | [INFO] [stdout] 25 | pub const DARK_GREEN_RGB :u32 = 0x008000; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `BLUE_RGB` is never used [INFO] [stdout] --> src/color.rs:26:11 [INFO] [stdout] | [INFO] [stdout] 26 | pub const BLUE_RGB :u32 = 0x0000FF; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DARK_BLUE_RGB` is never used [INFO] [stdout] --> src/color.rs:27:11 [INFO] [stdout] | [INFO] [stdout] 27 | pub const DARK_BLUE_RGB :u32 = 0x000080; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `YELLOW_RGB` is never used [INFO] [stdout] --> src/color.rs:28:11 [INFO] [stdout] | [INFO] [stdout] 28 | pub const YELLOW_RGB :u32 = 0xFFFF00; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DARK_YELLOW_RGB` is never used [INFO] [stdout] --> src/color.rs:29:11 [INFO] [stdout] | [INFO] [stdout] 29 | pub const DARK_YELLOW_RGB :u32 = 0x808000; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `PURPLE_RGB` is never used [INFO] [stdout] --> src/color.rs:30:11 [INFO] [stdout] | [INFO] [stdout] 30 | pub const PURPLE_RGB :u32 = 0xFF00FF; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DARK_PURPLE_RGB` is never used [INFO] [stdout] --> src/color.rs:31:11 [INFO] [stdout] | [INFO] [stdout] 31 | pub const DARK_PURPLE_RGB :u32 = 0x800080; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `CYAN_RGB` is never used [INFO] [stdout] --> src/color.rs:32:11 [INFO] [stdout] | [INFO] [stdout] 32 | pub const CYAN_RGB :u32 = 0x00FFFF; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DARK_CYAN_RGB` is never used [INFO] [stdout] --> src/color.rs:33:11 [INFO] [stdout] | [INFO] [stdout] 33 | pub const DARK_CYAN_RGB :u32 = 0x008080; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `GREY_RGB` is never used [INFO] [stdout] --> src/color.rs:34:11 [INFO] [stdout] | [INFO] [stdout] 34 | pub const GREY_RGB :u32 = 0x808080; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `WHITE_RGB` is never used [INFO] [stdout] --> src/color.rs:35:11 [INFO] [stdout] | [INFO] [stdout] 35 | pub const WHITE_RGB :u32 = 0xFFFFFF; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `vm_color_to_rgb_color` is never used [INFO] [stdout] --> src/color.rs:37:8 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn vm_color_to_rgb_color(color:u8)->u32{ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_image_buffer` is never used [INFO] [stdout] --> src/color.rs:59:8 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn create_image_buffer(memory:&[u16]) -> [u32;SCREEN_MEMORY_SIZE*4] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SCREEN_MEMORY_SIZE` is never used [INFO] [stdout] --> src/constant.rs:4:11 [INFO] [stdout] | [INFO] [stdout] 4 | pub const SCREEN_MEMORY_SIZE:usize = WIDTH*HEIGHT/4; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SCREEN_MEMORY_START` is never used [INFO] [stdout] --> src/constant.rs:5:11 [INFO] [stdout] | [INFO] [stdout] 5 | pub const SCREEN_MEMORY_START:usize = MEMORY_SIZE-SCREEN_MEMORY_SIZE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `SCREEN_MEMORY_END` is never used [INFO] [stdout] --> src/constant.rs:6:11 [INFO] [stdout] | [INFO] [stdout] 6 | pub const SCREEN_MEMORY_END: usize = SCREEN_MEMORY_START+SCREEN_MEMORY_SIZE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ClockFreqencyHz` should have an upper case name [INFO] [stdout] --> src/clock.rs:2:11 [INFO] [stdout] | [INFO] [stdout] 2 | pub const ClockFreqencyHz:u32 = 100000; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 2 - pub const ClockFreqencyHz:u32 = 100000; [INFO] [stdout] 2 + pub const CLOCK_FREQENCY_HZ:u32 = 100000; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `ClockPeriod` should have an upper case name [INFO] [stdout] --> src/clock.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | pub const ClockPeriod:time::Duration = time::Duration::from_nanos((1000000000 as f64/(ClockFreqencyHz as f64)) as u64); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: convert the identifier to upper case [INFO] [stdout] | [INFO] [stdout] 3 - pub const ClockPeriod:time::Duration = time::Duration::from_nanos((1000000000 as f64/(ClockFreqencyHz as f64)) as u64); [INFO] [stdout] 3 + pub const CLOCK_PERIOD:time::Duration = time::Duration::from_nanos((1000000000 as f64/(ClockFreqencyHz as f64)) as u64); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `StepClock` should have a snake case name [INFO] [stdout] --> src/clock.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | pub fn StepClock(last_clock_step_time:time::Instant) -> bool { [INFO] [stdout] | ^^^^^^^^^ help: convert the identifier to snake case: `step_clock` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.42s [INFO] running `Command { std: "docker" "inspect" "37d67843cd734c69cb7e12f92bd2a538e8a551e9290c6a1aa48a3f356fd8991d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37d67843cd734c69cb7e12f92bd2a538e8a551e9290c6a1aa48a3f356fd8991d", kill_on_drop: false }` [INFO] [stdout] 37d67843cd734c69cb7e12f92bd2a538e8a551e9290c6a1aa48a3f356fd8991d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+b83b707f97d809763b7861afa7638871f3339a33" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 8a262bbe187ddb576c698f1f00e3264a3494f2487ed01d84bc7d1d2eeb1582f9 [INFO] running `Command { std: "docker" "start" "-a" "8a262bbe187ddb576c698f1f00e3264a3494f2487ed01d84bc7d1d2eeb1582f9", kill_on_drop: false }` [INFO] [stderr] warning: unused variable: `memory` [INFO] [stderr] --> src/main.rs:12:13 [INFO] [stderr] | [INFO] [stderr] 12 | let mut memory:Box<[u16]>= vec![0;MEMORY_SIZE].into_boxed_slice(); [INFO] [stderr] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_memory` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:12:9 [INFO] [stderr] | [INFO] [stderr] 12 | let mut memory:Box<[u16]>= vec![0;MEMORY_SIZE].into_boxed_slice(); [INFO] [stderr] | ----^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: constant `BLACK_VM` is never used [INFO] [stderr] --> src/color.rs:3:11 [INFO] [stderr] | [INFO] [stderr] 3 | pub const BLACK_VM :u8 = 0x0; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: constant `DARK_GREY_VM` is never used [INFO] [stderr] --> src/color.rs:4:11 [INFO] [stderr] | [INFO] [stderr] 4 | pub const DARK_GREY_VM :u8 = 0x1; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `RED_VM` is never used [INFO] [stderr] --> src/color.rs:5:11 [INFO] [stderr] | [INFO] [stderr] 5 | pub const RED_VM :u8 = 0x2; [INFO] [stderr] | ^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `DARK_RED_VM` is never used [INFO] [stderr] --> src/color.rs:6:11 [INFO] [stderr] | [INFO] [stderr] 6 | pub const DARK_RED_VM :u8 = 0x3; [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `GREEN_VM` is never used [INFO] [stderr] --> src/color.rs:7:11 [INFO] [stderr] | [INFO] [stderr] 7 | pub const GREEN_VM :u8 = 0x4; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `DARK_GREEN_VM` is never used [INFO] [stderr] --> src/color.rs:8:11 [INFO] [stderr] | [INFO] [stderr] 8 | pub const DARK_GREEN_VM :u8 = 0x5; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `BLUE_VM` is never used [INFO] [stderr] --> src/color.rs:9:11 [INFO] [stderr] | [INFO] [stderr] 9 | pub const BLUE_VM :u8 = 0x6; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `DARK_BLUE_VM` is never used [INFO] [stderr] --> src/color.rs:10:11 [INFO] [stderr] | [INFO] [stderr] 10 | pub const DARK_BLUE_VM :u8 = 0x7; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `YELLOW_VM` is never used [INFO] [stderr] --> src/color.rs:11:11 [INFO] [stderr] | [INFO] [stderr] 11 | pub const YELLOW_VM :u8 = 0x8; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `DARK_YELLOW_VM` is never used [INFO] [stderr] --> src/color.rs:12:11 [INFO] [stderr] | [INFO] [stderr] 12 | pub const DARK_YELLOW_VM :u8 = 0x9; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `PURPLE_VM` is never used [INFO] [stderr] --> src/color.rs:13:11 [INFO] [stderr] | [INFO] [stderr] 13 | pub const PURPLE_VM :u8 = 0xA; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `DARK_PURPLE_VM` is never used [INFO] [stderr] --> src/color.rs:14:11 [INFO] [stderr] | [INFO] [stderr] 14 | pub const DARK_PURPLE_VM :u8 = 0xB; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `CYAN_VM` is never used [INFO] [stderr] --> src/color.rs:15:11 [INFO] [stderr] | [INFO] [stderr] 15 | pub const CYAN_VM :u8 = 0xC; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `DARK_CYAN_VM` is never used [INFO] [stderr] --> src/color.rs:16:11 [INFO] [stderr] | [INFO] [stderr] 16 | pub const DARK_CYAN_VM :u8 = 0xD; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `GREY_VM` is never used [INFO] [stderr] --> src/color.rs:17:11 [INFO] [stderr] | [INFO] [stderr] 17 | pub const GREY_VM :u8 = 0xE; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `WHITE_VM` is never used [INFO] [stderr] --> src/color.rs:18:11 [INFO] [stderr] | [INFO] [stderr] 18 | pub const WHITE_VM :u8 = 0xF; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `BLACK_RGB` is never used [INFO] [stderr] --> src/color.rs:20:11 [INFO] [stderr] | [INFO] [stderr] 20 | pub const BLACK_RGB :u32 = 0x000000; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `DARK_GREY_RGB` is never used [INFO] [stderr] --> src/color.rs:21:11 [INFO] [stderr] | [INFO] [stderr] 21 | pub const DARK_GREY_RGB :u32 = 0x404040; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `RED_RGB` is never used [INFO] [stderr] --> src/color.rs:22:11 [INFO] [stderr] | [INFO] [stderr] 22 | pub const RED_RGB :u32 = 0xFF0000; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `DARK_RED_RGB` is never used [INFO] [stderr] --> src/color.rs:23:11 [INFO] [stderr] | [INFO] [stderr] 23 | pub const DARK_RED_RGB :u32 = 0x800000; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `GREEN_RGB` is never used [INFO] [stderr] --> src/color.rs:24:11 [INFO] [stderr] | [INFO] [stderr] 24 | pub const GREEN_RGB :u32 = 0x00FF00; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `DARK_GREEN_RGB` is never used [INFO] [stderr] --> src/color.rs:25:11 [INFO] [stderr] | [INFO] [stderr] 25 | pub const DARK_GREEN_RGB :u32 = 0x008000; [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `BLUE_RGB` is never used [INFO] [stderr] --> src/color.rs:26:11 [INFO] [stderr] | [INFO] [stderr] 26 | pub const BLUE_RGB :u32 = 0x0000FF; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `DARK_BLUE_RGB` is never used [INFO] [stderr] --> src/color.rs:27:11 [INFO] [stderr] | [INFO] [stderr] 27 | pub const DARK_BLUE_RGB :u32 = 0x000080; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `YELLOW_RGB` is never used [INFO] [stderr] --> src/color.rs:28:11 [INFO] [stderr] | [INFO] [stderr] 28 | pub const YELLOW_RGB :u32 = 0xFFFF00; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `DARK_YELLOW_RGB` is never used [INFO] [stderr] --> src/color.rs:29:11 [INFO] [stderr] | [INFO] [stderr] 29 | pub const DARK_YELLOW_RGB :u32 = 0x808000; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `PURPLE_RGB` is never used [INFO] [stderr] --> src/color.rs:30:11 [INFO] [stderr] | [INFO] [stderr] 30 | pub const PURPLE_RGB :u32 = 0xFF00FF; [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `DARK_PURPLE_RGB` is never used [INFO] [stderr] --> src/color.rs:31:11 [INFO] [stderr] | [INFO] [stderr] 31 | pub const DARK_PURPLE_RGB :u32 = 0x800080; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `CYAN_RGB` is never used [INFO] [stderr] --> src/color.rs:32:11 [INFO] [stderr] | [INFO] [stderr] 32 | pub const CYAN_RGB :u32 = 0x00FFFF; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `DARK_CYAN_RGB` is never used [INFO] [stderr] --> src/color.rs:33:11 [INFO] [stderr] | [INFO] [stderr] 33 | pub const DARK_CYAN_RGB :u32 = 0x008080; [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `GREY_RGB` is never used [INFO] [stderr] --> src/color.rs:34:11 [INFO] [stderr] | [INFO] [stderr] 34 | pub const GREY_RGB :u32 = 0x808080; [INFO] [stderr] | ^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `WHITE_RGB` is never used [INFO] [stderr] --> src/color.rs:35:11 [INFO] [stderr] | [INFO] [stderr] 35 | pub const WHITE_RGB :u32 = 0xFFFFFF; [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `vm_color_to_rgb_color` is never used [INFO] [stderr] --> src/color.rs:37:8 [INFO] [stderr] | [INFO] [stderr] 37 | pub fn vm_color_to_rgb_color(color:u8)->u32{ [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: function `create_image_buffer` is never used [INFO] [stderr] --> src/color.rs:59:8 [INFO] [stderr] | [INFO] [stderr] 59 | pub fn create_image_buffer(memory:&[u16]) -> [u32;SCREEN_MEMORY_SIZE*4] [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `SCREEN_MEMORY_SIZE` is never used [INFO] [stderr] --> src/constant.rs:4:11 [INFO] [stderr] | [INFO] [stderr] 4 | pub const SCREEN_MEMORY_SIZE:usize = WIDTH*HEIGHT/4; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `SCREEN_MEMORY_START` is never used [INFO] [stderr] --> src/constant.rs:5:11 [INFO] [stderr] | [INFO] [stderr] 5 | pub const SCREEN_MEMORY_START:usize = MEMORY_SIZE-SCREEN_MEMORY_SIZE; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `SCREEN_MEMORY_END` is never used [INFO] [stderr] --> src/constant.rs:6:11 [INFO] [stderr] | [INFO] [stderr] 6 | pub const SCREEN_MEMORY_END: usize = SCREEN_MEMORY_START+SCREEN_MEMORY_SIZE; [INFO] [stderr] | ^^^^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: constant `ClockFreqencyHz` should have an upper case name [INFO] [stderr] --> src/clock.rs:2:11 [INFO] [stderr] | [INFO] [stderr] 2 | pub const ClockFreqencyHz:u32 = 100000; [INFO] [stderr] | ^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_upper_case_globals)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stderr] help: convert the identifier to upper case [INFO] [stderr] | [INFO] [stderr] 2 - pub const ClockFreqencyHz:u32 = 100000; [INFO] [stderr] 2 + pub const CLOCK_FREQENCY_HZ:u32 = 100000; [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: constant `ClockPeriod` should have an upper case name [INFO] [stderr] --> src/clock.rs:3:11 [INFO] [stderr] | [INFO] [stderr] 3 | pub const ClockPeriod:time::Duration = time::Duration::from_nanos((1000000000 as f64/(ClockFreqencyHz as f64)) as u64); [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] help: convert the identifier to upper case [INFO] [stderr] | [INFO] [stderr] 3 - pub const ClockPeriod:time::Duration = time::Duration::from_nanos((1000000000 as f64/(ClockFreqencyHz as f64)) as u64); [INFO] [stderr] 3 + pub const CLOCK_PERIOD:time::Duration = time::Duration::from_nanos((1000000000 as f64/(ClockFreqencyHz as f64)) as u64); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: function `StepClock` should have a snake case name [INFO] [stderr] --> src/clock.rs:5:8 [INFO] [stderr] | [INFO] [stderr] 5 | pub fn StepClock(last_clock_step_time:time::Instant) -> bool { [INFO] [stderr] | ^^^^^^^^^ help: convert the identifier to snake case: `step_clock` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stderr] [INFO] [stderr] warning: `GraphicVM` (bin "GraphicVM" test) generated 42 warnings (run `cargo fix --bin "GraphicVM" --tests` to apply 3 suggestions) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.11s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/GraphicVM-ac790d58ca3d5e64) [INFO] [stdout] [INFO] [stdout] running 0 tests [INFO] [stdout] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "8a262bbe187ddb576c698f1f00e3264a3494f2487ed01d84bc7d1d2eeb1582f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8a262bbe187ddb576c698f1f00e3264a3494f2487ed01d84bc7d1d2eeb1582f9", kill_on_drop: false }` [INFO] [stdout] 8a262bbe187ddb576c698f1f00e3264a3494f2487ed01d84bc7d1d2eeb1582f9