[INFO] cloning repository https://github.com/Ngalstyan4/emulator101.rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Ngalstyan4/emulator101.rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNgalstyan4%2Femulator101.rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNgalstyan4%2Femulator101.rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 38d52100b6f443d94d6077d7ff4c5a7a9ec82595 [INFO] checking Ngalstyan4/emulator101.rs against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNgalstyan4%2Femulator101.rs" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Ngalstyan4/emulator101.rs on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Ngalstyan4/emulator101.rs [INFO] finished tweaking git repo https://github.com/Ngalstyan4/emulator101.rs [INFO] tweaked toml for git repo https://github.com/Ngalstyan4/emulator101.rs written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/Ngalstyan4/emulator101.rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded drawille v0.2.3 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d76f4e81802017a45cf8a6d653df5601ec01b5c02ce9f74642013e7e08eda363 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "d76f4e81802017a45cf8a6d653df5601ec01b5c02ce9f74642013e7e08eda363", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d76f4e81802017a45cf8a6d653df5601ec01b5c02ce9f74642013e7e08eda363", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d76f4e81802017a45cf8a6d653df5601ec01b5c02ce9f74642013e7e08eda363", kill_on_drop: false }` [INFO] [stdout] d76f4e81802017a45cf8a6d653df5601ec01b5c02ce9f74642013e7e08eda363 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 9d357b3ba2168f7276e61ac740a508b1e8e56b48be2a31c19022c896e44134ac [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "9d357b3ba2168f7276e61ac740a508b1e8e56b48be2a31c19022c896e44134ac", kill_on_drop: false }` [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Checking rand_core v0.4.2 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Checking drawille v0.2.3 [INFO] [stderr] Compiling sdl2-sys v0.32.6 [INFO] [stderr] Checking rand_core v0.3.1 [INFO] [stderr] Checking rand_jitter v0.1.4 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking rand_isaac v0.1.1 [INFO] [stderr] Checking rand_xorshift v0.1.1 [INFO] [stderr] Checking rand_hc v0.1.0 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling rand_chacha v0.1.1 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling rand_pcg v0.1.2 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling sdl2 v0.32.2 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking emulator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/sdl2_screen.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `thread`, `time` [INFO] [stdout] --> src/sdl2_screen.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | use std::{thread, time}; [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/main.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/sdl2_screen.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `thread`, `time` [INFO] [stdout] --> src/sdl2_screen.rs:9:11 [INFO] [stdout] | [INFO] [stdout] 9 | use std::{thread, time}; [INFO] [stdout] | ^^^^^^ ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/main.rs:45:9 [INFO] [stdout] | [INFO] [stdout] 45 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple patterns covering the same range [INFO] [stdout] --> src/cpu8080.rs:600:13 [INFO] [stdout] | [INFO] [stdout] 594 | 0x07 => { [INFO] [stdout] | ---- this range overlaps on `7_u8` [INFO] [stdout] ... [INFO] [stdout] 600 | 0x07..=0x08 => self._unimplemented_instruction(), [INFO] [stdout] | ^^^^^^^^^^^ overlapping patterns [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(overlapping_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_instr` [INFO] [stdout] --> src/main.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let num_instr = args[1].parse().unwrap_or(50000004); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_instr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/sdl2_screen.rs:40:63 [INFO] [stdout] | [INFO] [stdout] 40 | fn draw_elems<'a>(&mut self, elems: Vec<(usize, &'a u8)>, c:Color) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/sdl2_screen.rs:93:66 [INFO] [stdout] | [INFO] [stdout] 93 | let elems = framebuffer.iter().enumerate().filter(|&(i, &v)| (i *8 % 256 < 112 )== top).collect::>(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple patterns covering the same range [INFO] [stdout] --> src/cpu8080.rs:600:13 [INFO] [stdout] | [INFO] [stdout] 594 | 0x07 => { [INFO] [stdout] | ---- this range overlaps on `7_u8` [INFO] [stdout] ... [INFO] [stdout] 600 | 0x07..=0x08 => self._unimplemented_instruction(), [INFO] [stdout] | ^^^^^^^^^^^ overlapping patterns [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(overlapping_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num_instr` [INFO] [stdout] --> src/main.rs:21:9 [INFO] [stdout] | [INFO] [stdout] 21 | let num_instr = args[1].parse().unwrap_or(50000004); [INFO] [stdout] | ^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num_instr` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `c` [INFO] [stdout] --> src/sdl2_screen.rs:40:63 [INFO] [stdout] | [INFO] [stdout] 40 | fn draw_elems<'a>(&mut self, elems: Vec<(usize, &'a u8)>, c:Color) { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_c` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `v` [INFO] [stdout] --> src/sdl2_screen.rs:93:66 [INFO] [stdout] | [INFO] [stdout] 93 | let elems = framebuffer.iter().enumerate().filter(|&(i, &v)| (i *8 % 256 < 112 )== top).collect::>(); [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_v` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_cycles` [INFO] [stdout] --> src/cpu8080.rs:228:12 [INFO] [stdout] | [INFO] [stdout] 228 | pub fn get_cycles(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `main` [INFO] [stdout] --> src/cpu8080.rs:1799:4 [INFO] [stdout] | [INFO] [stdout] 1799 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `SoC` [INFO] [stdout] --> src/soc.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct SoC { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `emulate` [INFO] [stdout] --> src/soc.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | fn emulate(self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `try_from` has been stable since 1.34.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(try_from)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `_LogicFlagsA` should have a snake case name [INFO] [stdout] --> src/cpu8080.rs:248:8 [INFO] [stdout] | [INFO] [stdout] 248 | fn _LogicFlagsA(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `_logic_flags_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `_arithFlagsA` should have a snake case name [INFO] [stdout] --> src/cpu8080.rs:256:8 [INFO] [stdout] | [INFO] [stdout] 256 | fn _arithFlagsA(&mut self, res: u16) { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `_arith_flags_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `_arithNoCarry` should have a snake case name [INFO] [stdout] --> src/cpu8080.rs:263:8 [INFO] [stdout] | [INFO] [stdout] 263 | fn _arithNoCarry(&mut self, res: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `_arith_no_carry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_cycles` [INFO] [stdout] --> src/cpu8080.rs:228:12 [INFO] [stdout] | [INFO] [stdout] 228 | pub fn get_cycles(&self) -> u64 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `main` [INFO] [stdout] --> src/cpu8080.rs:1799:4 [INFO] [stdout] | [INFO] [stdout] 1799 | fn main() { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct is never constructed: `SoC` [INFO] [stdout] --> src/soc.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct SoC { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `emulate` [INFO] [stdout] --> src/soc.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | fn emulate(self) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `try_from` has been stable since 1.34.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(try_from)] [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `_LogicFlagsA` should have a snake case name [INFO] [stdout] --> src/cpu8080.rs:248:8 [INFO] [stdout] | [INFO] [stdout] 248 | fn _LogicFlagsA(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `_logic_flags_a` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `_arithFlagsA` should have a snake case name [INFO] [stdout] --> src/cpu8080.rs:256:8 [INFO] [stdout] | [INFO] [stdout] 256 | fn _arithFlagsA(&mut self, res: u16) { [INFO] [stdout] | ^^^^^^^^^^^^ help: convert the identifier to snake case: `_arith_flags_a` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `_arithNoCarry` should have a snake case name [INFO] [stdout] --> src/cpu8080.rs:263:8 [INFO] [stdout] | [INFO] [stdout] 263 | fn _arithNoCarry(&mut self, res: u16) { [INFO] [stdout] | ^^^^^^^^^^^^^ help: convert the identifier to snake case: `_arith_no_carry` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 15 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 16.24s [INFO] running `Command { std: "docker" "inspect" "9d357b3ba2168f7276e61ac740a508b1e8e56b48be2a31c19022c896e44134ac", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9d357b3ba2168f7276e61ac740a508b1e8e56b48be2a31c19022c896e44134ac", kill_on_drop: false }` [INFO] [stdout] 9d357b3ba2168f7276e61ac740a508b1e8e56b48be2a31c19022c896e44134ac