[INFO] cloning repository https://github.com/danijoo/jane [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/danijoo/jane" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanijoo%2Fjane", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanijoo%2Fjane'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e054472e65273748c8b48d15ef44502451c24f9b [INFO] testing danijoo/jane against beta-2022-04-10 for beta-1.61-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdanijoo%2Fjane" "/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/danijoo/jane on toolchain beta-2022-04-10 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/danijoo/jane [INFO] finished tweaking git repo https://github.com/danijoo/jane [INFO] tweaked toml for git repo https://github.com/danijoo/jane written to /workspace/builds/worker-6/source/Cargo.toml [INFO] crate git repo https://github.com/danijoo/jane already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-04-10" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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" "+beta-2022-04-10" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3799f3768afd7dcc2a97afb4c073f46224048144dcd08994483c99c474cb102a [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" "3799f3768afd7dcc2a97afb4c073f46224048144dcd08994483c99c474cb102a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3799f3768afd7dcc2a97afb4c073f46224048144dcd08994483c99c474cb102a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3799f3768afd7dcc2a97afb4c073f46224048144dcd08994483c99c474cb102a", kill_on_drop: false }` [INFO] [stdout] 3799f3768afd7dcc2a97afb4c073f46224048144dcd08994483c99c474cb102a [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" "+beta-2022-04-10" "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] aeea034d045751b5cd3d853a9e35c488c29a4dd39069240a852e16abd27f87d9 [INFO] running `Command { std: "docker" "start" "-a" "aeea034d045751b5cd3d853a9e35c488c29a4dd39069240a852e16abd27f87d9", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling xml-rs v0.8.0 [INFO] [stderr] Compiling cc v1.0.48 [INFO] [stderr] Compiling syn v1.0.11 [INFO] [stderr] Compiling arrayvec v0.5.1 [INFO] [stderr] Compiling piston-float v1.0.0 [INFO] [stderr] Compiling piston-graphics_api_version v0.2.0 [INFO] [stderr] Compiling downcast-rs v1.1.1 [INFO] [stderr] Compiling color_quant v1.0.1 [INFO] [stderr] Compiling scoped_threadpool v0.1.9 [INFO] [stderr] Compiling piston-texture v0.8.0 [INFO] [stderr] Compiling interpolation v0.2.0 [INFO] [stderr] Compiling read_color v1.0.0 [INFO] [stderr] Compiling siphasher v0.3.1 [INFO] [stderr] Compiling piston-shaders_graphics2d v0.3.1 [INFO] [stderr] Compiling fps_counter v1.0.0 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Compiling crossbeam-epoch v0.8.0 [INFO] [stderr] Compiling num-integer v0.1.41 [INFO] [stderr] Compiling num-iter v0.1.39 [INFO] [stderr] Compiling lock_api v0.3.2 [INFO] [stderr] Compiling inflate v0.4.5 [INFO] [stderr] Compiling x11-dl v2.18.4 [INFO] [stderr] Compiling piston-viewport v1.0.0 [INFO] [stderr] Compiling vecmath v1.0.0 [INFO] [stderr] Compiling phf_shared v0.8.0 [INFO] [stderr] Compiling gif v0.10.3 [INFO] [stderr] Compiling shader_version v0.6.0 [INFO] [stderr] Compiling num_cpus v1.11.1 [INFO] [stderr] Compiling getrandom v0.1.13 [INFO] [stderr] Compiling memmap v0.7.0 [INFO] [stderr] Compiling raw-window-handle v0.3.3 [INFO] [stderr] Compiling shared_library v0.1.9 [INFO] [stderr] Compiling time v0.1.42 [INFO] [stderr] Compiling atty v0.2.13 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Compiling stb_truetype v0.3.1 [INFO] [stderr] Compiling rustc-hash v1.0.1 [INFO] [stderr] Compiling deflate v0.7.20 [INFO] [stderr] Compiling gl_generator v0.11.0 [INFO] [stderr] Compiling gl_generator v0.13.1 [INFO] [stderr] Compiling gl_generator v0.10.0 [INFO] [stderr] Compiling gfx_core v0.9.2 [INFO] [stderr] Compiling crossbeam-queue v0.2.1 [INFO] [stderr] Compiling wayland-scanner v0.21.13 [INFO] [stderr] Compiling osmesa-sys v0.1.2 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling colored v1.9.0 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling num-derive v0.2.5 [INFO] [stderr] Compiling rand_pcg v0.2.1 [INFO] [stderr] Compiling rand_chacha v0.2.1 [INFO] [stderr] Compiling png v0.15.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling crossbeam-deque v0.7.2 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling backtrace-sys v0.1.32 [INFO] [stderr] Compiling rand v0.7.2 [INFO] [stderr] Compiling rayon-core v1.7.0 [INFO] [stderr] Compiling ordered-float v1.0.2 [INFO] [stderr] Compiling approx v0.3.2 [INFO] [stderr] Compiling line_drawing v0.7.0 [INFO] [stderr] Compiling glutin_glx_sys v0.1.5 [INFO] [stderr] Compiling gfx_gl v0.6.0 [INFO] [stderr] Compiling rayon v1.3.0 [INFO] [stderr] Compiling gl v0.11.0 [INFO] [stderr] Compiling glutin_egl_sys v0.1.4 [INFO] [stderr] Compiling gfx v0.18.2 [INFO] [stderr] Compiling rusttype v0.8.2 [INFO] [stderr] Compiling num-rational v0.2.2 [INFO] [stderr] Compiling chrono v0.4.10 [INFO] [stderr] Compiling twox-hash v1.5.0 [INFO] [stderr] Compiling phf_generator v0.8.0 [INFO] [stderr] Compiling dlib v0.4.1 [INFO] [stderr] Compiling wayland-client v0.21.13 [INFO] [stderr] Compiling wayland-protocols v0.21.13 [INFO] [stderr] Compiling rusttype v0.7.9 [INFO] [stderr] Compiling glyph_brush_layout v0.1.8 [INFO] [stderr] Compiling backtrace v0.3.40 [INFO] [stderr] Compiling wayland-sys v0.21.13 [INFO] [stderr] Compiling andrew v0.2.1 [INFO] [stderr] Compiling piston2d-graphics v0.35.0 [INFO] [stderr] Compiling glyph_brush v0.6.1 [INFO] [stderr] Compiling wayland-commons v0.21.13 [INFO] [stderr] Compiling simple_logger v1.3.0 [INFO] [stderr] Compiling tiff v0.3.1 [INFO] [stderr] Compiling gfx_glyph v0.16.0 [INFO] [stderr] Compiling jpeg-decoder v0.1.18 [INFO] [stderr] Compiling image v0.22.3 [INFO] [stderr] Compiling synstructure v0.12.3 [INFO] [stderr] Compiling serde_derive v1.0.104 [INFO] [stderr] Compiling proc-macro-hack v0.5.11 [INFO] [stderr] Compiling failure_derive v0.1.6 [INFO] [stderr] Compiling gfx_device_gl v0.16.2 [INFO] [stderr] Compiling piston-gfx_texture v0.40.0 [INFO] [stderr] Compiling piston2d-opengl_graphics v0.70.0 [INFO] [stderr] Compiling piston2d-gfx_graphics v0.66.0 [INFO] [stderr] Compiling failure v0.1.6 [INFO] [stderr] Compiling phf_macros v0.8.0 [INFO] [stderr] Compiling phf v0.8.0 [INFO] [stderr] Compiling pistoncore-input v0.28.0 [INFO] [stderr] Compiling pistoncore-window v0.44.0 [INFO] [stderr] Compiling pistoncore-event_loop v0.49.0 [INFO] [stderr] Compiling piston v0.49.0 [INFO] [stderr] Compiling smithay-client-toolkit v0.4.6 [INFO] [stderr] Compiling winit v0.19.5 [INFO] [stderr] Compiling glutin v0.21.2 [INFO] [stderr] Compiling pistoncore-glutin_window v0.63.0 [INFO] [stderr] Compiling piston_window v0.105.0 [INFO] [stderr] Compiling jane v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `failure::err_msg` [INFO] [stdout] --> src/nes/cpu/instructions.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use failure::err_msg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/nes/cpu/instructions.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use failure::{Error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Display` [INFO] [stdout] --> src/nes/cpu/instructions.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fmt::{Debug,Display}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/nes/cpu.rs:408:13 [INFO] [stdout] | [INFO] [stdout] 408 | (((hi as Word) << 8) | lo as Word) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 408 - (((hi as Word) << 8) | lo as Word) [INFO] [stdout] 408 + ((hi as Word) << 8) | lo as Word [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/nes/disasm.rs:21:72 [INFO] [stdout] | [INFO] [stdout] 21 | let mut mem_iter = ((start as usize) .. (stop as usize)+1).map({|a| a as Addr}); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 21 - let mut mem_iter = ((start as usize) .. (stop as usize)+1).map({|a| a as Addr}); [INFO] [stdout] 21 + let mut mem_iter = ((start as usize) .. (stop as usize)+1).map(|a| a as Addr); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | let mut main_texture: G2dTexture = Texture::from_image( [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: function is never used: `render_memory` [INFO] [stdout] --> src/main.rs:398:4 [INFO] [stdout] | [INFO] [stdout] 398 | fn render_memory(glyphs: &mut GlyphBrush, nes: &NES, offset: [f32; 2]) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `irq` [INFO] [stdout] --> src/nes/cpu.rs:152:12 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn irq(&mut self, mem: &mut T) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `prg_ram_size` [INFO] [stdout] --> src/nes/cartridge.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | prg_ram_size: Byte, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/nes/cartridge.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `tv1` [INFO] [stdout] --> src/nes/cartridge.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | tv1: Byte, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/nes/cartridge.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `tv2` [INFO] [stdout] --> src/nes/cartridge.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | tv2: Byte [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/nes/cartridge.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dummy` [INFO] [stdout] --> src/nes/cartridge.rs:117:12 [INFO] [stdout] | [INFO] [stdout] 117 | pub fn dummy(mirror: MirrorMode) -> Self { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `PPURegister` [INFO] [stdout] --> src/nes/ppu.rs:47:6 [INFO] [stdout] | [INFO] [stdout] 47 | enum PPURegister { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_status` [INFO] [stdout] --> src/nes/ppu.rs:150:8 [INFO] [stdout] | [INFO] [stdout] 150 | fn get_status(&self, flag: Status) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_control` [INFO] [stdout] --> src/nes/ppu.rs:154:8 [INFO] [stdout] | [INFO] [stdout] 154 | fn set_control(&mut self, flag: Control, val: bool) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_color` [INFO] [stdout] --> src/nes/ppu.rs:312:8 [INFO] [stdout] | [INFO] [stdout] 312 | fn get_color(&self, pixel: Byte, _palette: Byte) -> Pixel { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/nes/mappers.rs:35:30 [INFO] [stdout] | [INFO] [stdout] 35 | if 0x8000 <= addr && addr <= 0xFFFF { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/nes/mappers.rs:45:30 [INFO] [stdout] | [INFO] [stdout] 45 | if 0x8000 <= addr && addr <= 0xFFFF { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/nes/mappers.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | if 0x0000 <= addr && addr <= 0x1FFF { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/nes/mappers.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | if 0x0000 <= addr && addr <= 0x1FFF { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 20 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 4m 23s [INFO] running `Command { std: "docker" "inspect" "aeea034d045751b5cd3d853a9e35c488c29a4dd39069240a852e16abd27f87d9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "aeea034d045751b5cd3d853a9e35c488c29a4dd39069240a852e16abd27f87d9", kill_on_drop: false }` [INFO] [stdout] aeea034d045751b5cd3d853a9e35c488c29a4dd39069240a852e16abd27f87d9 [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" "+beta-2022-04-10" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] bb3cac441f021fb1eaed844555c41e046fe1cd1f2a6bded8c6c28cf2456ac5cf [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" "bb3cac441f021fb1eaed844555c41e046fe1cd1f2a6bded8c6c28cf2456ac5cf", kill_on_drop: false }` [INFO] [stderr] Compiling jane v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `failure::err_msg` [INFO] [stdout] --> src/nes/cpu/instructions.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use failure::err_msg; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Error` [INFO] [stdout] --> src/nes/cpu/instructions.rs:3:15 [INFO] [stdout] | [INFO] [stdout] 3 | use failure::{Error}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Display` [INFO] [stdout] --> src/nes/cpu/instructions.rs:5:22 [INFO] [stdout] | [INFO] [stdout] 5 | use std::fmt::{Debug,Display}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around block return value [INFO] [stdout] --> src/nes/cpu.rs:408:13 [INFO] [stdout] | [INFO] [stdout] 408 | (((hi as Word) << 8) | lo as Word) [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 408 - (((hi as Word) << 8) | lo as Word) [INFO] [stdout] 408 + ((hi as Word) << 8) | lo as Word [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary braces around method argument [INFO] [stdout] --> src/nes/disasm.rs:21:72 [INFO] [stdout] | [INFO] [stdout] 21 | let mut mem_iter = ((start as usize) .. (stop as usize)+1).map({|a| a as Addr}); [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_braces)]` on by default [INFO] [stdout] help: remove these braces [INFO] [stdout] | [INFO] [stdout] 21 - let mut mem_iter = ((start as usize) .. (stop as usize)+1).map({|a| a as Addr}); [INFO] [stdout] 21 + let mut mem_iter = ((start as usize) .. (stop as usize)+1).map(|a| a as Addr); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/nes/ppubus.rs:222:13 [INFO] [stdout] | [INFO] [stdout] 222 | let mut cart = Cartridge::dummy(mirror); [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: variable does not need to be mutable [INFO] [stdout] --> src/main.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | let mut main_texture: G2dTexture = Texture::from_image( [INFO] [stdout] | ----^^^^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `render_memory` [INFO] [stdout] --> src/main.rs:398:4 [INFO] [stdout] | [INFO] [stdout] 398 | fn render_memory(glyphs: &mut GlyphBrush, nes: &NES, offset: [f32; 2]) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `irq` [INFO] [stdout] --> src/nes/cpu.rs:152:12 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn irq(&mut self, mem: &mut T) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `prg_ram_size` [INFO] [stdout] --> src/nes/cartridge.rs:15:5 [INFO] [stdout] | [INFO] [stdout] 15 | prg_ram_size: Byte, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/nes/cartridge.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `tv1` [INFO] [stdout] --> src/nes/cartridge.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 16 | tv1: Byte, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/nes/cartridge.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field is never read: `tv2` [INFO] [stdout] --> src/nes/cartridge.rs:17:5 [INFO] [stdout] | [INFO] [stdout] 17 | tv2: Byte [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] --> src/nes/cartridge.rs:9:10 [INFO] [stdout] | [INFO] [stdout] 9 | #[derive(Debug)] [INFO] [stdout] | ^^^^^ [INFO] [stdout] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `PPURegister` [INFO] [stdout] --> src/nes/ppu.rs:47:6 [INFO] [stdout] | [INFO] [stdout] 47 | enum PPURegister { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_status` [INFO] [stdout] --> src/nes/ppu.rs:150:8 [INFO] [stdout] | [INFO] [stdout] 150 | fn get_status(&self, flag: Status) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `get_color` [INFO] [stdout] --> src/nes/ppu.rs:312:8 [INFO] [stdout] | [INFO] [stdout] 312 | fn get_color(&self, pixel: Byte, _palette: Byte) -> Pixel { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/nes/mappers.rs:35:30 [INFO] [stdout] | [INFO] [stdout] 35 | if 0x8000 <= addr && addr <= 0xFFFF { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/nes/mappers.rs:45:30 [INFO] [stdout] | [INFO] [stdout] 45 | if 0x8000 <= addr && addr <= 0xFFFF { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/nes/mappers.rs:56:12 [INFO] [stdout] | [INFO] [stdout] 56 | if 0x0000 <= addr && addr <= 0x1FFF { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: comparison is useless due to type limits [INFO] [stdout] --> src/nes/mappers.rs:63:12 [INFO] [stdout] | [INFO] [stdout] 63 | if 0x0000 <= addr && addr <= 0x1FFF { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 5.68s [INFO] [stderr] Executable unittests src/main.rs (/opt/rustwide/target/debug/deps/jane-811bfccaad490053) [INFO] running `Command { std: "docker" "inspect" "bb3cac441f021fb1eaed844555c41e046fe1cd1f2a6bded8c6c28cf2456ac5cf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "bb3cac441f021fb1eaed844555c41e046fe1cd1f2a6bded8c6c28cf2456ac5cf", kill_on_drop: false }` [INFO] [stdout] bb3cac441f021fb1eaed844555c41e046fe1cd1f2a6bded8c6c28cf2456ac5cf [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" "+beta-2022-04-10" "test" "--frozen", kill_on_drop: false }` [INFO] [stdout] cd909c68a6e7b41ae9b1c384c4d582983d613a83e06822f4426417565d980e4b [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" "cd909c68a6e7b41ae9b1c384c4d582983d613a83e06822f4426417565d980e4b", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] warning: unused import: `failure::err_msg` [INFO] [stderr] --> src/nes/cpu/instructions.rs:1:5 [INFO] [stderr] | [INFO] [stderr] 1 | use failure::err_msg; [INFO] [stderr] | ^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_imports)]` on by default [INFO] [stderr] [INFO] [stderr] warning: unused import: `Error` [INFO] [stderr] --> src/nes/cpu/instructions.rs:3:15 [INFO] [stderr] | [INFO] [stderr] 3 | use failure::{Error}; [INFO] [stderr] | ^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unused import: `Display` [INFO] [stderr] --> src/nes/cpu/instructions.rs:5:22 [INFO] [stderr] | [INFO] [stderr] 5 | use std::fmt::{Debug,Display}; [INFO] [stderr] | ^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: unnecessary parentheses around block return value [INFO] [stderr] --> src/nes/cpu.rs:408:13 [INFO] [stderr] | [INFO] [stderr] 408 | (((hi as Word) << 8) | lo as Word) [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_parens)]` on by default [INFO] [stderr] help: remove these parentheses [INFO] [stderr] | [INFO] [stderr] 408 - (((hi as Word) << 8) | lo as Word) [INFO] [stderr] 408 + ((hi as Word) << 8) | lo as Word [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: unnecessary braces around method argument [INFO] [stderr] --> src/nes/disasm.rs:21:72 [INFO] [stderr] | [INFO] [stderr] 21 | let mut mem_iter = ((start as usize) .. (stop as usize)+1).map({|a| a as Addr}); [INFO] [stderr] | ^ ^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_braces)]` on by default [INFO] [stderr] help: remove these braces [INFO] [stderr] | [INFO] [stderr] 21 - let mut mem_iter = ((start as usize) .. (stop as usize)+1).map({|a| a as Addr}); [INFO] [stderr] 21 + let mut mem_iter = ((start as usize) .. (stop as usize)+1).map(|a| a as Addr); [INFO] [stderr] | [INFO] [stderr] [INFO] [stderr] warning: variable does not need to be mutable [INFO] [stderr] --> src/nes/ppubus.rs:222:13 [INFO] [stderr] | [INFO] [stderr] 222 | let mut cart = Cartridge::dummy(mirror); [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: variable does not need to be mutable [INFO] [stderr] --> src/main.rs:88:9 [INFO] [stderr] | [INFO] [stderr] 88 | let mut main_texture: G2dTexture = Texture::from_image( [INFO] [stderr] | ----^^^^^^^^^^^^ [INFO] [stderr] | | [INFO] [stderr] | help: remove this `mut` [INFO] [stderr] [INFO] [stderr] warning: function is never used: `render_memory` [INFO] [stderr] --> src/main.rs:398:4 [INFO] [stderr] | [INFO] [stderr] 398 | fn render_memory(glyphs: &mut GlyphBrush, nes: &NES, offset: [f32; 2]) { [INFO] [stderr] | ^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(dead_code)]` on by default [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `irq` [INFO] [stderr] --> src/nes/cpu.rs:152:12 [INFO] [stderr] | [INFO] [stderr] 152 | pub fn irq(&mut self, mem: &mut T) { [INFO] [stderr] | ^^^ [INFO] [stderr] [INFO] [stderr] warning: field is never read: `prg_ram_size` [INFO] [stderr] --> src/nes/cartridge.rs:15:5 [INFO] [stderr] | [INFO] [stderr] 15 | prg_ram_size: Byte, [INFO] [stderr] | ^^^^^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/nes/cartridge.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `tv1` [INFO] [stderr] --> src/nes/cartridge.rs:16:5 [INFO] [stderr] | [INFO] [stderr] 16 | tv1: Byte, [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/nes/cartridge.rs:9:10 [INFO] [stderr] | [INFO] [stderr] 9 | #[derive(Debug)] [INFO] [stderr] | ^^^^^ [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stderr] [INFO] [stderr] warning: field is never read: `tv2` [INFO] [stderr] --> src/nes/cartridge.rs:17:5 [INFO] [stderr] | [INFO] [stdout] [INFO] [stderr] 17 | tv2: Byte [INFO] [stdout] running 19 tests [INFO] [stderr] | ^^^^^^^^^ [INFO] [stdout] test nes::cartridge::tests::test_header_get_mapper_id ... ok [INFO] [stderr] | [INFO] [stdout] test nes::cartridge::tests::test_header_has_trainer ... ok [INFO] [stderr] note: `Header` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stderr] --> src/nes/cartridge.rs:9:10 [INFO] [stderr] | [INFO] [stdout] test nes::cartridge::tests::test_header_get_mirror_mode ... ok [INFO] [stderr] 9 | #[derive(Debug)] [INFO] [stdout] test nes::cartridge::tests::test_cartridge_new ... ok [INFO] [stderr] | ^^^^^ [INFO] [stdout] test nes::ppubus::tests::test_ppu_memory_palette_internal_mirroring ... ok [INFO] [stderr] = note: this warning originates in the derive macro `Debug` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] test nes::ppubus::tests::test_ppu_memory_palette_mirroring ... ok [INFO] [stderr] [INFO] [stdout] test nes::cpu::instructions::tests::test_index_opcode_matches_inst_opcode ... ok [INFO] [stderr] warning: enum is never used: `PPURegister` [INFO] [stdout] test nes::cpu::instructions::tests::test_kill_addr_mode ... ok [INFO] [stderr] --> src/nes/ppu.rs:47:6 [INFO] [stdout] test nes::ppubus::tests::test_ppu_memory_nametable_rw ... ok [INFO] [stderr] | [INFO] [stderr] 47 | enum PPURegister { [INFO] [stderr] | ^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_status` [INFO] [stderr] --> src/nes/ppu.rs:150:8 [INFO] [stderr] | [INFO] [stderr] 150 | fn get_status(&self, flag: Status) -> bool { [INFO] [stderr] | ^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: associated function is never used: `get_color` [INFO] [stderr] --> src/nes/ppu.rs:312:8 [INFO] [stderr] | [INFO] [stderr] 312 | fn get_color(&self, pixel: Byte, _palette: Byte) -> Pixel { [INFO] [stderr] | ^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: comparison is useless due to type limits [INFO] [stderr] --> src/nes/mappers.rs:35:30 [INFO] [stderr] | [INFO] [stderr] 35 | if 0x8000 <= addr && addr <= 0xFFFF { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] | [INFO] [stderr] = note: `#[warn(unused_comparisons)]` on by default [INFO] [stderr] [INFO] [stderr] warning: comparison is useless due to type limits [INFO] [stderr] --> src/nes/mappers.rs:45:30 [INFO] [stderr] | [INFO] [stderr] 45 | if 0x8000 <= addr && addr <= 0xFFFF { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: comparison is useless due to type limits [INFO] [stderr] --> src/nes/mappers.rs:56:12 [INFO] [stderr] | [INFO] [stderr] 56 | if 0x0000 <= addr && addr <= 0x1FFF { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: comparison is useless due to type limits [INFO] [stderr] --> src/nes/mappers.rs:63:12 [INFO] [stderr] | [INFO] [stderr] 63 | if 0x0000 <= addr && addr <= 0x1FFF { [INFO] [stderr] | ^^^^^^^^^^^^^^ [INFO] [stderr] [INFO] [stderr] warning: `jane` (bin "jane" test) generated 19 warnings [INFO] [stderr] Finished test [unoptimized + debuginfo] target(s) in 0.84s [INFO] [stderr] Running unittests src/main.rs (/opt/rustwide/target/debug/deps/jane-811bfccaad490053) [INFO] [stdout] test nes::ppubus::tests::test_ppu_memory_palette_not_overwritten ... ok [INFO] [stdout] test nes::ppubus::tests::test_ppu_memory_pattern_no_overwrite ... ok [INFO] [stdout] test nes::ppubus::tests::test_ppu_memory_nametable_mirrormode_horizontal ... ok [INFO] [stdout] test nes::ppubus::tests::test_ppu_memory_nametable_not_overwritten ... ok [INFO] [stdout] test nes::ppubus::tests::test_ppu_memory_pattern ... ok [INFO] [stdout] test nes::ppubus::tests::test_ppu_memory_palette_rw ... ok [INFO] [stdout] test nes::ppubus::tests::test_ppu_memory_nametable_mirroring ... ok [INFO] [stdout] test nes::ppubus::tests::test_ppu_memory_nametable_mirrormode_vertical ... ok [INFO] [stdout] test nes::ppu::tests::test_set_flags ... ok [INFO] [stdout] test nes::ppu::tests::test_write_addr ... ok [INFO] [stdout] [INFO] [stdout] test result: ok. 19 passed; 0 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.07s [INFO] [stdout] [INFO] running `Command { std: "docker" "inspect" "cd909c68a6e7b41ae9b1c384c4d582983d613a83e06822f4426417565d980e4b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cd909c68a6e7b41ae9b1c384c4d582983d613a83e06822f4426417565d980e4b", kill_on_drop: false }` [INFO] [stdout] cd909c68a6e7b41ae9b1c384c4d582983d613a83e06822f4426417565d980e4b