[INFO] cloning repository https://github.com/alvinosh/chip8 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/alvinosh/chip8" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falvinosh%2Fchip8", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falvinosh%2Fchip8'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 67c45e7698ce46cb095376a957b8898bd91dd0bd [INFO] building alvinosh/chip8 against master#11663cd3bfefef7d34e8f0892c250bf698049392+rustflags=-Dtail-expr-drop-order for pr-134523 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Falvinosh%2Fchip8" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/alvinosh/chip8 on toolchain 11663cd3bfefef7d34e8f0892c250bf698049392 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/alvinosh/chip8 [INFO] finished tweaking git repo https://github.com/alvinosh/chip8 [INFO] tweaked toml for git repo https://github.com/alvinosh/chip8 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/alvinosh/chip8 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" "+11663cd3bfefef7d34e8f0892c250bf698049392" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 10c51ac8fc5af3fea56ee3a72c57e2d2d423b83cb6a72d3d87608ae4e3d99bd9 [INFO] running `Command { std: "docker" "start" "-a" "10c51ac8fc5af3fea56ee3a72c57e2d2d423b83cb6a72d3d87608ae4e3d99bd9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "10c51ac8fc5af3fea56ee3a72c57e2d2d423b83cb6a72d3d87608ae4e3d99bd9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "10c51ac8fc5af3fea56ee3a72c57e2d2d423b83cb6a72d3d87608ae4e3d99bd9", kill_on_drop: false }` [INFO] [stdout] 10c51ac8fc5af3fea56ee3a72c57e2d2d423b83cb6a72d3d87608ae4e3d99bd9 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 6a3b796f626e71ce058e316affcc2336cde52216d1653e6ab5e20c50205f5fa7 [INFO] running `Command { std: "docker" "start" "-a" "6a3b796f626e71ce058e316affcc2336cde52216d1653e6ab5e20c50205f5fa7", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.132 [INFO] [stderr] Compiling version-compare v0.1.0 [INFO] [stderr] Compiling ppv-lite86 v0.2.16 [INFO] [stderr] Compiling sdl2 v0.35.2 [INFO] [stderr] Compiling sdl2-sys v0.35.2 [INFO] [stderr] Compiling getrandom v0.2.7 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling chip8 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Duration` and `rc::Rc` [INFO] [stdout] --> src/chip8.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | rc::Rc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 3 | time::{Duration, Instant}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::distributions::Bernoulli` [INFO] [stdout] --> src/chip8.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rand::distributions::Bernoulli; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `event::Event` and `keyboard::Keycode` [INFO] [stdout] --> src/chip8.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | use sdl2::{event::Event, keyboard::Keycode}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `OpCode`, `self`, and `self` [INFO] [stdout] --> src/chip8.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | cpu::{OpCode, CPU}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 11 | debug_levels::DebugLevels, [INFO] [stdout] 12 | display::{self, Display}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 13 | keyboard::{self, KeyBoardEvent, Keyboard}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/cpu.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | keyboard::{self, KeyBoardEvent, Keyboard}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/main.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | Ok(n) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> src/main.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | Err(error) => return Err("Failed".to_string()), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `log_last` is never used [INFO] [stdout] --> src/chip8.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl CHIP8 { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn log_last(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/cpu.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | ROUTINE(u16), [INFO] [stdout] | ------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `OpCode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 19 | ROUTINE(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `log_addr` is never used [INFO] [stdout] --> src/cpu.rs:387:12 [INFO] [stdout] | [INFO] [stdout] 87 | impl CPU { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 387 | pub fn log_addr(&mut self, mem: &mut Memory, addr: u16) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `key` is never read [INFO] [stdout] --> src/display.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Display { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | key: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `dump_buffer` is never used [INFO] [stdout] --> src/display.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Display { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn dump_buffer(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/memory.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Memory { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 15 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2.75s [INFO] running `Command { std: "docker" "inspect" "6a3b796f626e71ce058e316affcc2336cde52216d1653e6ab5e20c50205f5fa7", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6a3b796f626e71ce058e316affcc2336cde52216d1653e6ab5e20c50205f5fa7", kill_on_drop: false }` [INFO] [stdout] 6a3b796f626e71ce058e316affcc2336cde52216d1653e6ab5e20c50205f5fa7 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/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 -Dtail-expr-drop-order" "-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:f3a9d4ad9d972b27faf3965f35b62e55ba32bbce8f20bc8fe909558a86702fde" "/opt/rustwide/cargo-home/bin/cargo" "+11663cd3bfefef7d34e8f0892c250bf698049392" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1ade3eea2964e25d65b0d19943a3c6d88648a179a7c8b62fabd16e11ab9a5481 [INFO] running `Command { std: "docker" "start" "-a" "1ade3eea2964e25d65b0d19943a3c6d88648a179a7c8b62fabd16e11ab9a5481", kill_on_drop: false }` [INFO] [stderr] Compiling chip8 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `Duration` and `rc::Rc` [INFO] [stdout] --> src/chip8.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | rc::Rc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 3 | time::{Duration, Instant}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::distributions::Bernoulli` [INFO] [stdout] --> src/chip8.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use rand::distributions::Bernoulli; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `event::Event` and `keyboard::Keycode` [INFO] [stdout] --> src/chip8.rs:7:12 [INFO] [stdout] | [INFO] [stdout] 7 | use sdl2::{event::Event, keyboard::Keycode}; [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `OpCode`, `self`, and `self` [INFO] [stdout] --> src/chip8.rs:10:11 [INFO] [stdout] | [INFO] [stdout] 10 | cpu::{OpCode, CPU}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 11 | debug_levels::DebugLevels, [INFO] [stdout] 12 | display::{self, Display}, [INFO] [stdout] | ^^^^ [INFO] [stdout] 13 | keyboard::{self, KeyBoardEvent, Keyboard}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `self` [INFO] [stdout] --> src/cpu.rs:3:16 [INFO] [stdout] | [INFO] [stdout] 3 | keyboard::{self, KeyBoardEvent, Keyboard}, [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `n` [INFO] [stdout] --> src/main.rs:22:12 [INFO] [stdout] | [INFO] [stdout] 22 | Ok(n) => { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_n` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `error` [INFO] [stdout] --> src/main.rs:31:13 [INFO] [stdout] | [INFO] [stdout] 31 | Err(error) => return Err("Failed".to_string()), [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `log_last` is never used [INFO] [stdout] --> src/chip8.rs:95:12 [INFO] [stdout] | [INFO] [stdout] 25 | impl CHIP8 { [INFO] [stdout] | ---------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn log_last(&mut self) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/cpu.rs:19:13 [INFO] [stdout] | [INFO] [stdout] 19 | ROUTINE(u16), [INFO] [stdout] | ------- ^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `OpCode` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 19 | ROUTINE(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `log_addr` is never used [INFO] [stdout] --> src/cpu.rs:387:12 [INFO] [stdout] | [INFO] [stdout] 87 | impl CPU { [INFO] [stdout] | -------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 387 | pub fn log_addr(&mut self, mem: &mut Memory, addr: u16) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `key` is never read [INFO] [stdout] --> src/display.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 11 | pub struct Display { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 17 | key: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `dump_buffer` is never used [INFO] [stdout] --> src/display.rs:46:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl Display { [INFO] [stdout] | ------------ method in this implementation [INFO] [stdout] ... [INFO] [stdout] 46 | pub fn dump_buffer(&mut self) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/memory.rs:15:12 [INFO] [stdout] | [INFO] [stdout] 14 | impl Memory { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] 15 | pub fn new() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.19s [INFO] running `Command { std: "docker" "inspect" "1ade3eea2964e25d65b0d19943a3c6d88648a179a7c8b62fabd16e11ab9a5481", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1ade3eea2964e25d65b0d19943a3c6d88648a179a7c8b62fabd16e11ab9a5481", kill_on_drop: false }` [INFO] [stdout] 1ade3eea2964e25d65b0d19943a3c6d88648a179a7c8b62fabd16e11ab9a5481