[INFO] cloning repository https://github.com/noremac90/rust_gb2 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/noremac90/rust_gb2" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnoremac90%2Frust_gb2", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnoremac90%2Frust_gb2'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f717625e35f646d0e58b71b0b3d6e0310798f584 [INFO] testing noremac90/rust_gb2 against 1.60.0 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fnoremac90%2Frust_gb2" "/workspace/builds/worker-6/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/noremac90/rust_gb2 on toolchain 1.60.0 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/noremac90/rust_gb2 [INFO] finished tweaking git repo https://github.com/noremac90/rust_gb2 [INFO] tweaked toml for git repo https://github.com/noremac90/rust_gb2 written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/noremac90/rust_gb2 already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+1.60.0" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded mio-misc v1.2.2 [INFO] [stderr] Downloaded old_school_gfx_glutin_ext v0.27.0 [INFO] [stderr] Downloaded smart-default v0.6.0 [INFO] [stderr] Downloaded float_next_after v0.1.5 [INFO] [stderr] Downloaded glyph_brush v0.7.3 [INFO] [stderr] Downloaded lyon_geom v0.17.6 [INFO] [stderr] Downloaded lyon_path v0.17.7 [INFO] [stderr] Downloaded lyon v0.17.10 [INFO] [stderr] Downloaded lyon_algorithms v0.17.7 [INFO] [stderr] Downloaded glyph_brush_draw_cache v0.1.5 [INFO] [stderr] Downloaded skeptic v0.13.6 [INFO] [stderr] Downloaded ggez v0.7.0 [INFO] [stderr] Downloaded lyon_tessellation v0.17.10 [INFO] [stderr] Downloaded glam v0.20.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d02bc0d712ebca0aeece92f25e9fbcf822627b738c0732c32d05bd29dc052eaa [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" "d02bc0d712ebca0aeece92f25e9fbcf822627b738c0732c32d05bd29dc052eaa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d02bc0d712ebca0aeece92f25e9fbcf822627b738c0732c32d05bd29dc052eaa", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d02bc0d712ebca0aeece92f25e9fbcf822627b738c0732c32d05bd29dc052eaa", kill_on_drop: false }` [INFO] [stdout] d02bc0d712ebca0aeece92f25e9fbcf822627b738c0732c32d05bd29dc052eaa [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 39d206bb23a38807a5ac9248800738e3c1d347384ccf71fd765cea1e00936514 [INFO] running `Command { std: "docker" "start" "-a" "39d206bb23a38807a5ac9248800738e3c1d347384ccf71fd765cea1e00936514", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.112 [INFO] [stderr] Compiling pkg-config v0.3.24 [INFO] [stderr] Compiling xml-rs v0.8.4 [INFO] [stderr] Compiling crossbeam-utils v0.8.5 [INFO] [stderr] Compiling khronos_api v3.1.0 [INFO] [stderr] Compiling crossbeam-epoch v0.9.5 [INFO] [stderr] Compiling serde_derive v1.0.131 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.5 [INFO] [stderr] Compiling cc v1.0.72 [INFO] [stderr] Compiling serde v1.0.131 [INFO] [stderr] Compiling memchr v2.4.1 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Compiling crossbeam-queue v0.3.2 [INFO] [stderr] Compiling ttf-parser v0.6.2 [INFO] [stderr] Compiling nix v0.18.0 [INFO] [stderr] Compiling rayon-core v1.9.1 [INFO] [stderr] Compiling serde_json v1.0.73 [INFO] [stderr] Compiling pulldown-cmark v0.8.0 [INFO] [stderr] Compiling crc32fast v1.3.0 [INFO] [stderr] Compiling ttf-parser v0.13.4 [INFO] [stderr] Compiling arrayvec v0.5.2 [INFO] [stderr] Compiling cty v0.2.2 [INFO] [stderr] Compiling winit v0.25.0 [INFO] [stderr] Compiling adler32 v1.2.0 [INFO] [stderr] Compiling weezl v0.1.5 [INFO] [stderr] Compiling cpal v0.13.4 [INFO] [stderr] Compiling bytecount v0.6.2 [INFO] [stderr] Compiling xi-unicode v0.3.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.22 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling bytemuck v1.7.3 [INFO] [stderr] Compiling claxon v0.4.3 [INFO] [stderr] Compiling hound v3.4.0 [INFO] [stderr] Compiling mint v0.5.8 [INFO] [stderr] Compiling libloading v0.7.2 [INFO] [stderr] Compiling libloading v0.6.7 [INFO] [stderr] Compiling num-traits v0.2.14 [INFO] [stderr] Compiling memoffset v0.6.5 [INFO] [stderr] Compiling nom v7.1.0 [INFO] [stderr] Compiling unicase v2.6.0 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling miniz_oxide v0.4.4 [INFO] [stderr] Compiling rayon v1.5.1 [INFO] [stderr] Compiling draw_state v0.8.0 [INFO] [stderr] Compiling num-rational v0.3.2 [INFO] [stderr] Compiling num-iter v0.1.42 [INFO] [stderr] Compiling ogg v0.8.0 [INFO] [stderr] Compiling walkdir v2.3.2 [INFO] [stderr] Compiling raw-window-handle v0.4.2 [INFO] [stderr] Compiling miniz_oxide v0.3.7 [INFO] [stderr] Compiling deflate v0.8.6 [INFO] [stderr] Compiling gif v0.11.3 [INFO] [stderr] Compiling wayland-sys v0.28.6 [INFO] [stderr] Compiling x11-dl v2.19.1 [INFO] [stderr] Compiling alsa-sys v0.3.1 [INFO] [stderr] Compiling libudev-sys v0.1.4 [INFO] [stderr] Compiling dlib v0.5.0 [INFO] [stderr] Compiling dlib v0.4.2 [INFO] [stderr] Compiling owned_ttf_parser v0.6.0 [INFO] [stderr] Compiling glam v0.20.1 [INFO] [stderr] Compiling lewton v0.10.2 [INFO] [stderr] Compiling gfx_core v0.9.2 [INFO] [stderr] Compiling rusttype v0.9.2 [INFO] [stderr] Compiling minimp3-sys v0.3.2 [INFO] [stderr] Compiling bzip2-sys v0.1.11+1.0.8 [INFO] [stderr] Compiling gl_generator v0.14.0 [INFO] [stderr] Compiling wayland-scanner v0.28.6 [INFO] [stderr] Compiling crossbeam-channel v0.5.1 [INFO] [stderr] Compiling owned_ttf_parser v0.13.2 [INFO] [stderr] Compiling png v0.16.8 [INFO] [stderr] Compiling thiserror-impl v1.0.30 [INFO] [stderr] Compiling smart-default v0.6.0 [INFO] [stderr] Compiling ab_glyph v0.2.12 [INFO] [stderr] Compiling tiff v0.6.1 [INFO] [stderr] Compiling crossbeam-deque v0.8.1 [INFO] [stderr] Compiling euclid v0.22.6 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling approx v0.5.0 [INFO] [stderr] Compiling float_next_after v0.1.5 [INFO] [stderr] Compiling sid v0.6.1 [INFO] [stderr] Compiling ordered-float v2.8.0 [INFO] [stderr] Compiling nix v0.20.0 [INFO] [stderr] Compiling dirs-sys v0.3.6 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling getrandom v0.2.3 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling mio v0.7.14 [INFO] [stderr] Compiling memmap2 v0.1.0 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling raw-window-handle v0.3.4 [INFO] [stderr] Compiling slice-deque v0.3.0 [INFO] [stderr] Compiling gfx v0.18.2 [INFO] [stderr] Compiling gfx_gl v0.6.1 [INFO] [stderr] Compiling glutin_glx_sys v0.1.7 [INFO] [stderr] Compiling glutin_egl_sys v0.1.5 [INFO] [stderr] Compiling wayland-client v0.28.6 [INFO] [stderr] Compiling wayland-protocols v0.28.6 [INFO] [stderr] Compiling glyph_brush_layout v0.2.3 [INFO] [stderr] Compiling tempfile v3.2.0 [INFO] [stderr] Compiling crossbeam v0.8.1 [INFO] [stderr] Compiling dirs v3.0.2 [INFO] [stderr] Compiling directories v3.0.2 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling rand_core v0.6.3 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling lyon_geom v0.17.6 [INFO] [stderr] Compiling xcursor v0.3.4 [INFO] [stderr] Compiling bzip2 v0.4.3 [INFO] [stderr] Compiling mio-misc v1.2.2 [INFO] [stderr] Compiling toml v0.5.8 [INFO] [stderr] Compiling xdg v2.4.0 [INFO] [stderr] Compiling rand_chacha v0.3.1 [INFO] [stderr] Compiling image v0.23.14 [INFO] [stderr] Compiling andrew v0.3.1 [INFO] [stderr] Compiling lyon_path v0.17.7 [INFO] [stderr] Compiling rand v0.8.4 [INFO] [stderr] Compiling thiserror v1.0.30 [INFO] [stderr] Compiling minimp3 v0.5.1 [INFO] [stderr] Compiling zip v0.5.13 [INFO] [stderr] Compiling lyon_tessellation v0.17.10 [INFO] [stderr] Compiling lyon_algorithms v0.17.7 [INFO] [stderr] Compiling wayland-commons v0.28.6 [INFO] [stderr] Compiling alsa v0.5.0 [INFO] [stderr] Compiling gilrs-core v0.3.1 [INFO] [stderr] Compiling calloop v0.6.5 [INFO] [stderr] Compiling twox-hash v1.6.1 [INFO] [stderr] Compiling lyon v0.17.10 [INFO] [stderr] Compiling gilrs v0.8.1 [INFO] [stderr] Compiling glyph_brush_draw_cache v0.1.5 [INFO] [stderr] Compiling glyph_brush v0.7.3 [INFO] [stderr] Compiling wayland-cursor v0.28.6 [INFO] [stderr] Compiling wayland-egl v0.28.6 [INFO] [stderr] Compiling rodio v0.14.0 [INFO] [stderr] Compiling gfx_device_gl v0.16.2 [INFO] [stderr] Compiling cargo-platform v0.1.2 [INFO] [stderr] Compiling semver v0.11.0 [INFO] [stderr] Compiling cargo_metadata v0.12.3 [INFO] [stderr] Compiling skeptic v0.13.6 [INFO] [stderr] Compiling ggez v0.7.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.12.3 [INFO] [stderr] Compiling glutin v0.27.0 [INFO] [stderr] Compiling old_school_gfx_glutin_ext v0.27.0 [INFO] [stderr] Compiling gb2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `cell::RefCell`, `rc::Rc` [INFO] [stdout] --> src/main.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{hash::Hasher, cell::RefCell, rc::Rc}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:162:11 [INFO] [stdout] | [INFO] [stdout] 162 | if(addr > 0x8000 && addr < 0x9FFF) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 162 - if(addr > 0x8000 && addr < 0x9FFF) { [INFO] [stdout] 162 + if addr > 0x8000 && addr < 0x9FFF { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:1094:20 [INFO] [stdout] | [INFO] [stdout] 1094 | if (color) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1094 - if (color) { [INFO] [stdout] 1094 + if color { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `while` condition [INFO] [stdout] --> src/main.rs:1180:14 [INFO] [stdout] | [INFO] [stdout] 1180 | while(self.cpu.cycles < cycles + 28000) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1180 - while(self.cpu.cycles < cycles + 28000) { [INFO] [stdout] 1180 + while self.cpu.cycles < cycles + 28000 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hash::Hasher` [INFO] [stdout] --> src/main.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{hash::Hasher, cell::RefCell, rc::Rc}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `ROM0` should have a snake case name [INFO] [stdout] --> src/main.rs:966:5 [INFO] [stdout] | [INFO] [stdout] 966 | ROM0: [u8; 0x4000], [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `rom0` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `ROM1` should have a snake case name [INFO] [stdout] --> src/main.rs:967:5 [INFO] [stdout] | [INFO] [stdout] 967 | ROM1: [u8; 0x4000], [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `rom1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `VRAM` should have a snake case name [INFO] [stdout] --> src/main.rs:968:5 [INFO] [stdout] | [INFO] [stdout] 968 | VRAM: [u8; 0x2000], [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `vram` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `EXRAM` should have a snake case name [INFO] [stdout] --> src/main.rs:969:5 [INFO] [stdout] | [INFO] [stdout] 969 | EXRAM: [u8; 0x2000], [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `exram` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `WRAM0` should have a snake case name [INFO] [stdout] --> src/main.rs:970:5 [INFO] [stdout] | [INFO] [stdout] 970 | WRAM0: [u8; 0x1000], [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `wram0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `WRAM1` should have a snake case name [INFO] [stdout] --> src/main.rs:971:5 [INFO] [stdout] | [INFO] [stdout] 971 | WRAM1: [u8; 0x1000], [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `wram1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `OAM` should have a snake case name [INFO] [stdout] --> src/main.rs:972:5 [INFO] [stdout] | [INFO] [stdout] 972 | OAM: [u8; 0xA0], [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `oam` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `IOREG` should have a snake case name [INFO] [stdout] --> src/main.rs:973:5 [INFO] [stdout] | [INFO] [stdout] 973 | IOREG: [u8; 0x80], [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `ioreg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `HRAM` should have a snake case name [INFO] [stdout] --> src/main.rs:974:5 [INFO] [stdout] | [INFO] [stdout] 974 | HRAM: [u8; 0x7F], [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `hram` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `IE` should have a snake case name [INFO] [stdout] --> src/main.rs:975:5 [INFO] [stdout] | [INFO] [stdout] 975 | IE: u8 [INFO] [stdout] | ^^ help: convert the identifier to snake case: `ie` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:1198:17 [INFO] [stdout] | [INFO] [stdout] 1198 | graphics::draw(ctx, &img, DrawParam::default()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5m 08s [INFO] running `Command { std: "docker" "inspect" "39d206bb23a38807a5ac9248800738e3c1d347384ccf71fd765cea1e00936514", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39d206bb23a38807a5ac9248800738e3c1d347384ccf71fd765cea1e00936514", kill_on_drop: false }` [INFO] [stdout] 39d206bb23a38807a5ac9248800738e3c1d347384ccf71fd765cea1e00936514 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] b0e7c80616f1b6d9fce652e0da7a33cdd0d3e3e73ac3f4ab38595e80e821b7fc [INFO] running `Command { std: "docker" "start" "-a" "b0e7c80616f1b6d9fce652e0da7a33cdd0d3e3e73ac3f4ab38595e80e821b7fc", kill_on_drop: false }` [INFO] [stderr] Compiling gb2 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `cell::RefCell`, `rc::Rc` [INFO] [stdout] --> src/main.rs:1:25 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{hash::Hasher, cell::RefCell, rc::Rc}; [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:162:11 [INFO] [stdout] | [INFO] [stdout] 162 | if(addr > 0x8000 && addr < 0x9FFF) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 162 - if(addr > 0x8000 && addr < 0x9FFF) { [INFO] [stdout] 162 + if addr > 0x8000 && addr < 0x9FFF { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `if` condition [INFO] [stdout] --> src/main.rs:1094:20 [INFO] [stdout] | [INFO] [stdout] 1094 | if (color) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1094 - if (color) { [INFO] [stdout] 1094 + if color { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around `while` condition [INFO] [stdout] --> src/main.rs:1180:14 [INFO] [stdout] | [INFO] [stdout] 1180 | while(self.cpu.cycles < cycles + 28000) { [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 1180 - while(self.cpu.cycles < cycles + 28000) { [INFO] [stdout] 1180 + while self.cpu.cycles < cycles + 28000 { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `hash::Hasher` [INFO] [stdout] --> src/main.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{hash::Hasher, cell::RefCell, rc::Rc}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `ROM0` should have a snake case name [INFO] [stdout] --> src/main.rs:966:5 [INFO] [stdout] | [INFO] [stdout] 966 | ROM0: [u8; 0x4000], [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `rom0` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `ROM1` should have a snake case name [INFO] [stdout] --> src/main.rs:967:5 [INFO] [stdout] | [INFO] [stdout] 967 | ROM1: [u8; 0x4000], [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `rom1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `VRAM` should have a snake case name [INFO] [stdout] --> src/main.rs:968:5 [INFO] [stdout] | [INFO] [stdout] 968 | VRAM: [u8; 0x2000], [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `vram` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `EXRAM` should have a snake case name [INFO] [stdout] --> src/main.rs:969:5 [INFO] [stdout] | [INFO] [stdout] 969 | EXRAM: [u8; 0x2000], [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `exram` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `WRAM0` should have a snake case name [INFO] [stdout] --> src/main.rs:970:5 [INFO] [stdout] | [INFO] [stdout] 970 | WRAM0: [u8; 0x1000], [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `wram0` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `WRAM1` should have a snake case name [INFO] [stdout] --> src/main.rs:971:5 [INFO] [stdout] | [INFO] [stdout] 971 | WRAM1: [u8; 0x1000], [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `wram1` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `OAM` should have a snake case name [INFO] [stdout] --> src/main.rs:972:5 [INFO] [stdout] | [INFO] [stdout] 972 | OAM: [u8; 0xA0], [INFO] [stdout] | ^^^ help: convert the identifier to snake case: `oam` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `IOREG` should have a snake case name [INFO] [stdout] --> src/main.rs:973:5 [INFO] [stdout] | [INFO] [stdout] 973 | IOREG: [u8; 0x80], [INFO] [stdout] | ^^^^^ help: convert the identifier to snake case: `ioreg` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `HRAM` should have a snake case name [INFO] [stdout] --> src/main.rs:974:5 [INFO] [stdout] | [INFO] [stdout] 974 | HRAM: [u8; 0x7F], [INFO] [stdout] | ^^^^ help: convert the identifier to snake case: `hram` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `IE` should have a snake case name [INFO] [stdout] --> src/main.rs:975:5 [INFO] [stdout] | [INFO] [stdout] 975 | IE: u8 [INFO] [stdout] | ^^ help: convert the identifier to snake case: `ie` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused `Result` that must be used [INFO] [stdout] --> src/main.rs:1198:17 [INFO] [stdout] | [INFO] [stdout] 1198 | graphics::draw(ctx, &img, DrawParam::default()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 16 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 2.03s [INFO] running `Command { std: "docker" "inspect" "b0e7c80616f1b6d9fce652e0da7a33cdd0d3e3e73ac3f4ab38595e80e821b7fc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0e7c80616f1b6d9fce652e0da7a33cdd0d3e3e73ac3f4ab38595e80e821b7fc", kill_on_drop: false }` [INFO] [stdout] b0e7c80616f1b6d9fce652e0da7a33cdd0d3e3e73ac3f4ab38595e80e821b7fc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6/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=warn" "-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:eaef2f80f755933c374d2ae5edccceec0c1312ceb8a4e0b6404e8ab76561e1e5" "/opt/rustwide/cargo-home/bin/cargo" "+1.60.0" "test" "--frozen", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 32cf08be3e0eb1d99c9325f2e41c1eea7e66d2ceecd790045d7ece724add6e6d [INFO] running `Command { std: "docker" "start" "-a" "32cf08be3e0eb1d99c9325f2e41c1eea7e66d2ceecd790045d7ece724add6e6d", kill_on_drop: false }` [INFO] [stderr] warning: unused imports: `cell::RefCell`, `rc::Rc` [INFO] [stderr] --> src/main.rs:1:25 [INFO] [stderr] | [INFO] [stderr] 1 | use std::{hash::Hasher, cell::RefCell, rc::Rc}; [INFO] [stderr] | ^^^^^^^^^^^^^ ^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/main.rs:162:11 [INFO] [stderr] | [INFO] [stderr] 162 | if(addr > 0x8000 && addr < 0x9FFF) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 162 - if(addr > 0x8000 && addr < 0x9FFF) { [INFO] [stderr] 162 + if addr > 0x8000 && addr < 0x9FFF { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `if` condition [INFO] [stderr] --> src/main.rs:1094:20 [INFO] [stderr] | [INFO] [stderr] 1094 | if (color) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 1094 - if (color) { [INFO] [stderr] 1094 + if color { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around `while` condition [INFO] [stderr] --> src/main.rs:1180:14 [INFO] [stderr] | [INFO] [stderr] 1180 | while(self.cpu.cycles < cycles + 28000) { [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 1180 - while(self.cpu.cycles < cycles + 28000) { [INFO] [stderr] 1180 + while self.cpu.cycles < cycles + 28000 { [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unused import: `hash::Hasher` [INFO] [stderr] --> src/main.rs:1:11 [INFO] [stderr] | [INFO] [stderr] 1 | use std::{hash::Hasher, cell::RefCell, rc::Rc}; [INFO] [stderr] | ^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: structure field `ROM0` should have a snake case name [INFO] [stderr] --> src/main.rs:966:5 [INFO] [stderr] | [INFO] [stderr] 966 | ROM0: [u8; 0x4000], [INFO] [stderr] | ^^^^ help: convert the identifier to snake case: `rom0` [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(non_snake_case)]` on by default [INFO] [stderr] [INFO] [stderr] warning: structure field `ROM1` should have a snake case name [INFO] [stderr] --> src/main.rs:967:5 [INFO] [stderr] | [INFO] [stderr] 967 | ROM1: [u8; 0x4000], [INFO] [stderr] | ^^^^ help: convert the identifier to snake case: `rom1` [INFO] [stderr] [INFO] [stderr] warning: structure field `VRAM` should have a snake case name [INFO] [stdout] [INFO] [stderr] --> src/main.rs:968:5 [INFO] [stdout] running 0 tests [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] 968 | VRAM: [u8; 0x2000], [INFO] [stderr] | ^^^^ help: convert the identifier to snake case: `vram` [INFO] [stderr] [INFO] [stdout] test result: ok. 0 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.00s [INFO] [stderr] warning: structure field `EXRAM` should have a snake case name [INFO] [stdout] [INFO] [stderr] --> src/main.rs:969:5 [INFO] [stderr] | [INFO] [stderr] 969 | EXRAM: [u8; 0x2000], [INFO] [stderr] | ^^^^^ help: convert the identifier to snake case: `exram` [INFO] [stderr] [INFO] [stderr] warning: structure field `WRAM0` should have a snake case name [INFO] [stderr] --> src/main.rs:970:5 [INFO] [stderr] | [INFO] [stderr] 970 | WRAM0: [u8; 0x1000], [INFO] [stderr] | ^^^^^ help: convert the identifier to snake case: `wram0` [INFO] [stderr] [INFO] [stderr] warning: structure field `WRAM1` should have a snake case name [INFO] [stderr] --> src/main.rs:971:5 [INFO] [stderr] | [INFO] [stderr] 971 | WRAM1: [u8; 0x1000], [INFO] [stderr] | ^^^^^ help: convert the identifier to snake case: `wram1` [INFO] [stderr] [INFO] [stderr] warning: structure field `OAM` should have a snake case name [INFO] [stderr] --> src/main.rs:972:5 [INFO] [stderr] | [INFO] [stderr] 972 | OAM: [u8; 0xA0], [INFO] [stderr] | ^^^ help: convert the identifier to snake case: `oam` [INFO] [stderr] [INFO] [stderr] warning: structure field `IOREG` should have a snake case name [INFO] [stderr] --> src/main.rs:973:5 [INFO] [stderr] | [INFO] [stderr] 973 | IOREG: [u8; 0x80], [INFO] [stderr] | ^^^^^ help: convert the identifier to snake case: `ioreg` [INFO] [stderr] [INFO] [stderr] warning: structure field `HRAM` should have a snake case name [INFO] [stderr] --> src/main.rs:974:5 [INFO] [stderr] | [INFO] [stderr] 974 | HRAM: [u8; 0x7F], [INFO] [stderr] | ^^^^ help: convert the identifier to snake case: `hram` [INFO] [stderr] [INFO] [stderr] warning: structure field `IE` should have a snake case name [INFO] [stderr] --> src/main.rs:975:5 [INFO] [stderr] | [INFO] [stderr] 975 | IE: u8 [INFO] [stderr] | ^^ help: convert the identifier to snake case: `ie` [INFO] [stderr] [INFO] [stderr] warning: unused `Result` that must be used [INFO] [stderr] --> src/main.rs:1198:17 [INFO] [stderr] | [INFO] [stderr] 1198 | graphics::draw(ctx, &img, DrawParam::default()); [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_must_use)]` on by default [INFO] [stderr] = note: this `Result` may be an `Err` variant, which should be handled [INFO] [stderr] [INFO] [stderr] warning: `gb2` (bin "gb2" test) generated 16 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.21s [INFO] [stderr] Running unittests (/opt/rustwide/target/debug/deps/gb2-441e99a142331b7c) [INFO] running `Command { std: "docker" "inspect" "32cf08be3e0eb1d99c9325f2e41c1eea7e66d2ceecd790045d7ece724add6e6d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "32cf08be3e0eb1d99c9325f2e41c1eea7e66d2ceecd790045d7ece724add6e6d", kill_on_drop: false }` [INFO] [stdout] 32cf08be3e0eb1d99c9325f2e41c1eea7e66d2ceecd790045d7ece724add6e6d