[INFO] cloning repository https://github.com/Nandith-Narayan/Game-Boy-Advance-Emulator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Nandith-Narayan/Game-Boy-Advance-Emulator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNandith-Narayan%2FGame-Boy-Advance-Emulator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FNandith-Narayan%2FGame-Boy-Advance-Emulator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] c8a7499f4675f160e96cb6c8acd8738c8a174ddf [INFO] building Nandith-Narayan/Game-Boy-Advance-Emulator 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%2FNandith-Narayan%2FGame-Boy-Advance-Emulator" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Nandith-Narayan/Game-Boy-Advance-Emulator 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/Nandith-Narayan/Game-Boy-Advance-Emulator [INFO] finished tweaking git repo https://github.com/Nandith-Narayan/Game-Boy-Advance-Emulator [INFO] tweaked toml for git repo https://github.com/Nandith-Narayan/Game-Boy-Advance-Emulator written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/Nandith-Narayan/Game-Boy-Advance-Emulator 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] [stderr] Downloading crates ... [INFO] [stderr] Downloaded minifb v0.20.0 [INFO] [stderr] Downloaded xkbcommon-sys v0.7.5 [INFO] [stderr] Downloaded orbclient v0.3.31 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 7c98ba1736873e4de74d2bd9636c2fab4f6ff8f21941ab4e88c7c62349e26c3c [INFO] running `Command { std: "docker" "start" "-a" "7c98ba1736873e4de74d2bd9636c2fab4f6ff8f21941ab4e88c7c62349e26c3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7c98ba1736873e4de74d2bd9636c2fab4f6ff8f21941ab4e88c7c62349e26c3c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7c98ba1736873e4de74d2bd9636c2fab4f6ff8f21941ab4e88c7c62349e26c3c", kill_on_drop: false }` [INFO] [stdout] 7c98ba1736873e4de74d2bd9636c2fab4f6ff8f21941ab4e88c7c62349e26c3c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 41c1c6df45e956d11014a60972b640c5debcd918c7cd841ba6aa6d47356d226c [INFO] running `Command { std: "docker" "start" "-a" "41c1c6df45e956d11014a60972b640c5debcd918c7cd841ba6aa6d47356d226c", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.36 [INFO] [stderr] Compiling unicode-xid v0.2.2 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling libc v0.2.117 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling glob v0.3.0 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling regex-syntax v0.6.25 [INFO] [stderr] Compiling unicode-width v0.1.9 [INFO] [stderr] Compiling libloading v0.7.3 [INFO] [stderr] Compiling humantime v2.1.0 [INFO] [stderr] Compiling strsim v0.8.0 [INFO] [stderr] Compiling ansi_term v0.12.1 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling bindgen v0.56.0 [INFO] [stderr] Compiling vec_map v0.8.2 [INFO] [stderr] Compiling termcolor v1.1.2 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling peeking_take_while v0.1.2 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Compiling once_cell v1.9.0 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling raw-window-handle v0.4.2 [INFO] [stderr] Compiling remove_dir_all v0.5.3 [INFO] [stderr] Compiling clang-sys v1.3.1 [INFO] [stderr] Compiling fastrand v1.7.0 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Compiling x11-dl v2.19.1 [INFO] [stderr] Compiling aho-corasick v0.7.18 [INFO] [stderr] Compiling quote v1.0.15 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Compiling clap v2.34.0 [INFO] [stderr] Compiling minifb v0.20.0 [INFO] [stderr] Compiling nix v0.20.0 [INFO] [stderr] Compiling raw-window-handle v0.3.4 [INFO] [stderr] Compiling tempfile v3.3.0 [INFO] [stderr] Compiling regex v1.5.4 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Compiling xcursor v0.3.4 [INFO] [stderr] Compiling env_logger v0.8.4 [INFO] [stderr] Compiling wayland-commons v0.28.6 [INFO] [stderr] Compiling wayland-cursor v0.28.6 [INFO] [stderr] Compiling xkbcommon-sys v0.7.5 [INFO] [stderr] Compiling xkb v0.2.1 [INFO] [stderr] Compiling gba_emu v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `address` is never read [INFO] [stdout] --> src/cpu/arm_instructions.rs:151:17 [INFO] [stdout] | [INFO] [stdout] 151 | address += offset; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `address` is never read [INFO] [stdout] --> src/cpu/arm_instructions.rs:153:17 [INFO] [stdout] | [INFO] [stdout] 153 | address -= offset; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `THUMB` is never constructed [INFO] [stdout] --> src/cpu/enums.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum InstructionSet { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] 2 | ARM, [INFO] [stdout] 3 | THUMB, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `write_16` is never used [INFO] [stdout] --> src/memory/writes.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 3 | impl Memory{ [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn write_16(&mut self, address:u32, value:u16) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_u16` is never used [INFO] [stdout] --> src/memory/writes.rs:96:4 [INFO] [stdout] | [INFO] [stdout] 96 | fn set_u16(arr: &mut [u8], index:usize, value:u16) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `read_16` is never used [INFO] [stdout] --> src/memory/reads.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 3 | impl Memory{ [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn read_16(&mut self, address:u32) -> u16{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_u16` is never used [INFO] [stdout] --> src/memory/reads.rs:93:4 [INFO] [stdout] | [INFO] [stdout] 93 | fn get_u16(arr:&[u8], index:usize) -> u16{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 12.22s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "41c1c6df45e956d11014a60972b640c5debcd918c7cd841ba6aa6d47356d226c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "41c1c6df45e956d11014a60972b640c5debcd918c7cd841ba6aa6d47356d226c", kill_on_drop: false }` [INFO] [stdout] 41c1c6df45e956d11014a60972b640c5debcd918c7cd841ba6aa6d47356d226c [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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] 6695f83ddccfd915160fc57fd5dd6f71769e0a32712bfbfa1431b146e3e303ea [INFO] running `Command { std: "docker" "start" "-a" "6695f83ddccfd915160fc57fd5dd6f71769e0a32712bfbfa1431b146e3e303ea", kill_on_drop: false }` [INFO] [stderr] Compiling gba_emu v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `std::thread` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::thread; [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::time::Duration` [INFO] [stdout] --> src/main.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::time::Duration; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `address` is never read [INFO] [stdout] --> src/cpu/arm_instructions.rs:151:17 [INFO] [stdout] | [INFO] [stdout] 151 | address += offset; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] = note: `#[warn(unused_assignments)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: value assigned to `address` is never read [INFO] [stdout] --> src/cpu/arm_instructions.rs:153:17 [INFO] [stdout] | [INFO] [stdout] 153 | address -= offset; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: maybe it is overwritten before being read? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `THUMB` is never constructed [INFO] [stdout] --> src/cpu/enums.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum InstructionSet { [INFO] [stdout] | -------------- variant in this enum [INFO] [stdout] 2 | ARM, [INFO] [stdout] 3 | THUMB, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `write_16` is never used [INFO] [stdout] --> src/memory/writes.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 3 | impl Memory{ [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn write_16(&mut self, address:u32, value:u16) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_u16` is never used [INFO] [stdout] --> src/memory/writes.rs:96:4 [INFO] [stdout] | [INFO] [stdout] 96 | fn set_u16(arr: &mut [u8], index:usize, value:u16) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `read_16` is never used [INFO] [stdout] --> src/memory/reads.rs:30:12 [INFO] [stdout] | [INFO] [stdout] 3 | impl Memory{ [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 30 | pub fn read_16(&mut self, address:u32) -> u16{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_u16` is never used [INFO] [stdout] --> src/memory/reads.rs:93:4 [INFO] [stdout] | [INFO] [stdout] 93 | fn get_u16(arr:&[u8], index:usize) -> u16{ [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.24s [INFO] [stderr] warning: the following packages contain code that will be rejected by a future version of Rust: nom v5.1.2 [INFO] [stderr] note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1` [INFO] running `Command { std: "docker" "inspect" "6695f83ddccfd915160fc57fd5dd6f71769e0a32712bfbfa1431b146e3e303ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6695f83ddccfd915160fc57fd5dd6f71769e0a32712bfbfa1431b146e3e303ea", kill_on_drop: false }` [INFO] [stdout] 6695f83ddccfd915160fc57fd5dd6f71769e0a32712bfbfa1431b146e3e303ea