[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#a7ce54db9b096bd1098d07c645b489195a667c9f for pr-137940 [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] validating manifest of git repo https://github.com/joaoCabralpv/GraphicVM on toolchain a7ce54db9b096bd1098d07c645b489195a667c9f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [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] 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" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 62665915fa2e6de657e37912b0b8bb5b90371d2540d7d2a64eda44cfb686f0f9 [INFO] running `Command { std: "docker" "start" "-a" "62665915fa2e6de657e37912b0b8bb5b90371d2540d7d2a64eda44cfb686f0f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "62665915fa2e6de657e37912b0b8bb5b90371d2540d7d2a64eda44cfb686f0f9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "62665915fa2e6de657e37912b0b8bb5b90371d2540d7d2a64eda44cfb686f0f9", kill_on_drop: false }` [INFO] [stdout] 62665915fa2e6de657e37912b0b8bb5b90371d2540d7d2a64eda44cfb686f0f9 [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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 645031c0119343924cb1df0e4c25ee4022f4a9876e8be30d7092e4487ea72f83 [INFO] running `Command { std: "docker" "start" "-a" "645031c0119343924cb1df0e4c25ee4022f4a9876e8be30d7092e4487ea72f83", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling pkg-config v0.3.31 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling xml-rs v0.8.25 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling once_cell v1.20.2 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling downcast-rs v1.2.1 [INFO] [stderr] Compiling rustix v0.38.43 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling bitflags v2.8.0 [INFO] [stderr] Compiling libloading v0.8.6 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling xcursor v0.3.8 [INFO] [stderr] Compiling fastrand v2.3.0 [INFO] [stderr] Compiling raw-window-handle v0.6.2 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling cc v1.2.10 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling wayland-sys v0.29.5 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling wayland-scanner v0.29.5 [INFO] [stderr] Compiling minifb v0.27.0 [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)]` 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)]` 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)]` 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] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `CLOCK_FREQENCY_HZ` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [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] | ^^^^^^^^^^^ help: convert the identifier to upper case: `CLOCK_PERIOD` [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 24.21s [INFO] running `Command { std: "docker" "inspect" "645031c0119343924cb1df0e4c25ee4022f4a9876e8be30d7092e4487ea72f83", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "645031c0119343924cb1df0e4c25ee4022f4a9876e8be30d7092e4487ea72f83", kill_on_drop: false }` [INFO] [stdout] 645031c0119343924cb1df0e4c25ee4022f4a9876e8be30d7092e4487ea72f83 [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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 85026c1da2d7676f1d4e5e6f987d3a227ac0abddbfd297e56b2d64a63f23e2f1 [INFO] running `Command { std: "docker" "start" "-a" "85026c1da2d7676f1d4e5e6f987d3a227ac0abddbfd297e56b2d64a63f23e2f1", 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)]` 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)]` 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)]` 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] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `CLOCK_FREQENCY_HZ` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_upper_case_globals)]` on by default [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] | ^^^^^^^^^^^ help: convert the identifier to upper case: `CLOCK_PERIOD` [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)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.49s [INFO] running `Command { std: "docker" "inspect" "85026c1da2d7676f1d4e5e6f987d3a227ac0abddbfd297e56b2d64a63f23e2f1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85026c1da2d7676f1d4e5e6f987d3a227ac0abddbfd297e56b2d64a63f23e2f1", kill_on_drop: false }` [INFO] [stdout] 85026c1da2d7676f1d4e5e6f987d3a227ac0abddbfd297e56b2d64a63f23e2f1 [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:1680c8fbd8dfb46fcd6d22e546df16ab0e007457dc29fcd9e987cdd5077fd1af" "/opt/rustwide/cargo-home/bin/cargo" "+a7ce54db9b096bd1098d07c645b489195a667c9f" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] 1dbbc8c053dee6881bd4df528b7ed6ebeb50653c76f3eaf4997e117064755ae3 [INFO] running `Command { std: "docker" "start" "-a" "1dbbc8c053dee6881bd4df528b7ed6ebeb50653c76f3eaf4997e117064755ae3", 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)]` 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)]` 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)]` 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] | ^^^^^^^^^^^^^^^ help: convert the identifier to upper case: `CLOCK_FREQENCY_HZ` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_upper_case_globals)]` on by default [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] | ^^^^^^^^^^^ help: convert the identifier to upper case: `CLOCK_PERIOD` [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)]` on by default [INFO] [stderr] [INFO] [stderr] warning: `GraphicVM` (bin "GraphicVM" test) generated 42 warnings (run `cargo fix --bin "GraphicVM" --tests` to apply 1 suggestion) [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.10s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/GraphicVM-5e6c54d16d3ed5c7) [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" "1dbbc8c053dee6881bd4df528b7ed6ebeb50653c76f3eaf4997e117064755ae3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1dbbc8c053dee6881bd4df528b7ed6ebeb50653c76f3eaf4997e117064755ae3", kill_on_drop: false }` [INFO] [stdout] 1dbbc8c053dee6881bd4df528b7ed6ebeb50653c76f3eaf4997e117064755ae3