[INFO] cloning repository https://github.com/LeafChage/fc.rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LeafChage/fc.rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLeafChage%2Ffc.rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLeafChage%2Ffc.rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 4830c5b723be77aeb398ef4e814a6c934ba52f4c [INFO] building LeafChage/fc.rust against try#8b8eff55bd72abbb57167bc42222a7f91d41cb0d for pr-142134-abi-ast-error [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLeafChage%2Ffc.rust" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LeafChage/fc.rust on toolchain 8b8eff55bd72abbb57167bc42222a7f91d41cb0d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/LeafChage/fc.rust [INFO] finished tweaking git repo https://github.com/LeafChage/fc.rust [INFO] tweaked toml for git repo https://github.com/LeafChage/fc.rust written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/LeafChage/fc.rust 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" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 44f71d2db9be68d9659bebe0e78f58e38402b43a2edf1fe442042527e664ffb8 [INFO] running `Command { std: "docker" "start" "-a" "44f71d2db9be68d9659bebe0e78f58e38402b43a2edf1fe442042527e664ffb8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "44f71d2db9be68d9659bebe0e78f58e38402b43a2edf1fe442042527e664ffb8", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "44f71d2db9be68d9659bebe0e78f58e38402b43a2edf1fe442042527e664ffb8", kill_on_drop: false }` [INFO] [stdout] 44f71d2db9be68d9659bebe0e78f58e38402b43a2edf1fe442042527e664ffb8 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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" "RUSTDOCFLAGS=--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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f0a95599d62dc45390051958c70dbb80d359ee262a1d20a5cc6b475551290e34 [INFO] running `Command { std: "docker" "start" "-a" "f0a95599d62dc45390051958c70dbb80d359ee262a1d20a5cc6b475551290e34", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.152 [INFO] [stderr] Compiling proc-macro2 v1.0.76 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling pkg-config v0.3.28 [INFO] [stderr] Compiling libloading v0.8.1 [INFO] [stderr] Compiling bitflags v1.3.2 [INFO] [stderr] Compiling bitflags v2.4.1 [INFO] [stderr] Compiling memoffset v0.7.1 [INFO] [stderr] Compiling smallvec v1.11.2 [INFO] [stderr] Compiling downcast-rs v1.2.0 [INFO] [stderr] Compiling crossbeam-utils v0.8.19 [INFO] [stderr] Compiling memchr v2.7.1 [INFO] [stderr] Compiling scoped-tls v1.0.1 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Compiling rustix v0.38.30 [INFO] [stderr] Compiling simd-adler32 v0.3.7 [INFO] [stderr] Compiling dlib v0.5.2 [INFO] [stderr] Compiling rayon-core v1.12.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.12 [INFO] [stderr] Compiling slab v0.4.9 [INFO] [stderr] Compiling tracing-core v0.1.32 [INFO] [stderr] Compiling adler v1.0.2 [INFO] [stderr] Compiling crc32fast v1.3.2 [INFO] [stderr] Compiling pin-project-lite v0.2.13 [INFO] [stderr] Compiling thiserror v1.0.56 [INFO] [stderr] Compiling bytemuck v1.14.0 [INFO] [stderr] Compiling miniz_oxide v0.7.1 [INFO] [stderr] Compiling num-traits v0.2.17 [INFO] [stderr] Compiling ahash v0.8.7 [INFO] [stderr] Compiling num-integer v0.1.45 [INFO] [stderr] Compiling zerocopy v0.7.32 [INFO] [stderr] Compiling either v1.9.0 [INFO] [stderr] Compiling spin v0.9.8 [INFO] [stderr] Compiling num-rational v0.4.1 [INFO] [stderr] Compiling xcursor v0.3.5 [INFO] [stderr] Compiling quick-xml v0.30.0 [INFO] [stderr] Compiling tracing v0.1.40 [INFO] [stderr] Compiling wayland-sys v0.31.1 [INFO] [stderr] Compiling smithay-client-toolkit v0.18.0 [INFO] [stderr] Compiling utf8parse v0.2.1 [INFO] [stderr] Compiling weezl v0.1.7 [INFO] [stderr] Compiling ttf-parser v0.20.0 [INFO] [stderr] Compiling strict-num v0.1.1 [INFO] [stderr] Compiling xkeysym v0.2.0 [INFO] [stderr] Compiling cursor-icon v1.1.0 [INFO] [stderr] Compiling arrayref v0.3.7 [INFO] [stderr] Compiling anstyle-parse v0.2.3 [INFO] [stderr] Compiling flume v0.11.0 [INFO] [stderr] Compiling tiny-skia-path v0.11.3 [INFO] [stderr] Compiling quote v1.0.35 [INFO] [stderr] Compiling flate2 v1.0.28 [INFO] [stderr] Compiling crossbeam-epoch v0.9.18 [INFO] [stderr] Compiling x11-dl v2.21.0 [INFO] [stderr] Compiling syn v2.0.48 [INFO] [stderr] Compiling slotmap v1.0.7 [INFO] [stderr] Compiling zune-inflate v0.2.54 [INFO] [stderr] Compiling fdeflate v0.3.3 [INFO] [stderr] Compiling miniquad v0.4.0-alpha.10 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling crossbeam-deque v0.8.5 [INFO] [stderr] Compiling arrayvec v0.7.4 [INFO] [stderr] Compiling lebe v0.5.2 [INFO] [stderr] Compiling wayland-scanner v0.31.0 [INFO] [stderr] Compiling colorchoice v1.0.0 [INFO] [stderr] Compiling color_quant v1.1.0 [INFO] [stderr] Compiling anstyle v1.0.4 [INFO] [stderr] Compiling nix v0.26.4 [INFO] [stderr] Compiling getrandom v0.2.12 [INFO] [stderr] Compiling memmap2 v0.9.3 [INFO] [stderr] Compiling cfg_aliases v0.1.1 [INFO] [stderr] Compiling bit_field v0.10.2 [INFO] [stderr] Compiling anstyle-query v1.0.2 [INFO] [stderr] Compiling half v2.2.1 [INFO] [stderr] Compiling ab_glyph_rasterizer v0.1.8 [INFO] [stderr] Compiling png v0.17.10 [INFO] [stderr] Compiling anstream v0.6.11 [INFO] [stderr] Compiling winit v0.29.9 [INFO] [stderr] Compiling tiny-skia v0.11.3 [INFO] [stderr] Compiling gif v0.12.0 [INFO] [stderr] Compiling rayon v1.8.0 [INFO] [stderr] Compiling hashbrown v0.13.2 [INFO] [stderr] Compiling exr v1.71.0 [INFO] [stderr] Compiling owned_ttf_parser v0.20.0 [INFO] [stderr] Compiling ab_glyph v0.2.23 [INFO] [stderr] Compiling qoi v0.4.1 [INFO] [stderr] Compiling as-raw-xcb-connection v1.0.1 [INFO] [stderr] Compiling wayland-backend v0.3.2 [INFO] [stderr] Compiling x11rb-protocol v0.13.0 [INFO] [stderr] Compiling byteorder v1.5.0 [INFO] [stderr] Compiling strsim v0.10.0 [INFO] [stderr] Compiling ttf-parser v0.15.2 [INFO] [stderr] Compiling heck v0.4.1 [INFO] [stderr] Compiling clap_lex v0.6.0 [INFO] [stderr] Compiling clap_builder v4.4.18 [INFO] [stderr] Compiling xkbcommon-dl v0.4.1 [INFO] [stderr] Compiling percent-encoding v2.3.1 [INFO] [stderr] Compiling bumpalo v3.14.0 [INFO] [stderr] Compiling quad-rand v0.2.1 [INFO] [stderr] Compiling raw-window-handle v0.6.0 [INFO] [stderr] Compiling glam v0.21.3 [INFO] [stderr] Compiling macroquad_macro v0.1.7 [INFO] [stderr] Compiling smol_str v0.2.0 [INFO] [stderr] Compiling binary v0.1.0 (/opt/rustwide/workdir/binary) [INFO] [stderr] Compiling fontdue v0.7.3 [INFO] [stderr] Compiling wayland-client v0.31.1 [INFO] [stderr] Compiling wayland-csd-frame v0.3.0 [INFO] [stderr] Compiling thiserror-impl v1.0.56 [INFO] [stderr] Compiling clap_derive v4.4.7 [INFO] [stderr] Compiling jpeg-decoder v0.3.0 [INFO] [stderr] Compiling wayland-protocols v0.31.0 [INFO] [stderr] Compiling wayland-cursor v0.31.0 [INFO] [stderr] Compiling tiff v0.9.0 [INFO] [stderr] Compiling clap v4.4.18 [INFO] [stderr] Compiling image v0.24.7 [INFO] [stderr] Compiling polling v3.3.1 [INFO] [stderr] Compiling calloop v0.12.3 [INFO] [stderr] Compiling calloop-wayland-source v0.2.0 [INFO] [stderr] Compiling wayland-protocols-wlr v0.2.0 [INFO] [stderr] Compiling wayland-protocols-plasma v0.2.0 [INFO] [stderr] Compiling macroquad v0.4.4 [INFO] [stderr] Compiling sctk-adwaita v0.8.1 [INFO] [stderr] Compiling x11rb v0.13.0 [INFO] [stderr] Compiling fc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `sprite_byte::SpriteByte` [INFO] [stdout] --> src/sprite/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use sprite_byte::SpriteByte; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 108 | / loop { [INFO] [stdout] 109 | | if macroquad::input::is_key_pressed(macroquad::input::KeyCode::Space) { [INFO] [stdout] 110 | | cpu.reset()?; [INFO] [stdout] ... | [INFO] [stdout] 128 | | quad::next_frame().await; [INFO] [stdout] 129 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 130 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/cpu/cpu.rs:456:23 [INFO] [stdout] | [INFO] [stdout] 456 | fn rti(&mut self, value: Value) -> Result<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/cpu/status_register.rs:121:39 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn update_overflow(&mut self, result: u8) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/cpu/status_register.rs:125:36 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn update_break(&mut self, result: u8) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/cpu/status_register.rs:129:38 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn update_decimal(&mut self, result: u8) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/cpu/status_register.rs:133:40 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn update_interrupt(&mut self, result: u8) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `S`, `P`, and `PC` are never constructed [INFO] [stdout] --> src/cpu/cpu.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 45 | pub enum R { [INFO] [stdout] | - variants in this enum [INFO] [stdout] ... [INFO] [stdout] 49 | S, [INFO] [stdout] | ^ [INFO] [stdout] 50 | P, [INFO] [stdout] | ^ [INFO] [stdout] 51 | PC, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `raw` is never used [INFO] [stdout] --> src/ines/sprite_rom.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl SpriteROM { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 9 | #[cfg(debug_assertions)] [INFO] [stdout] 10 | pub fn raw(&self) -> &Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_16_le_bytes` is never used [INFO] [stdout] --> src/ppu/buf_byte.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl Bufu8 { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn from_16_le_bytes(v: u16) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `sprite_palette0`, `sprite_palette1`, `sprite_palette2`, and `sprite_palette3` are never used [INFO] [stdout] --> src/ppu/palette.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl PaletteTable { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn sprite_palette0(&self) -> Palette { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn sprite_palette1(&self) -> Palette { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn sprite_palette2(&self) -> Palette { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub fn sprite_palette3(&self) -> Palette { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `debug_program` is never used [INFO] [stdout] --> src/program/mod.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn debug_program(rom: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_pos2`, `x`, `y`, `width`, `height`, and `max_pos` are never used [INFO] [stdout] --> src/rect.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Rect { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 10 | pub fn from_pos2(pos: Vec2, max_pos: Vec2) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn x(&self) -> usize { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn y(&self) -> usize { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn width(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn height(&self) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn max_pos(&self) -> Vec2 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `debug_sprite` is never used [INFO] [stdout] --> src/sprite/mod.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn debug_sprite(sprites: SpriteROM) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `x` and `y` are never used [INFO] [stdout] --> src/vec2.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 10 | / impl Vec2 [INFO] [stdout] 11 | | where [INFO] [stdout] 12 | | T: Clone + Copy, [INFO] [stdout] | |____________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn x(&self) -> T { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn y(&self) -> T { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `one` is never used [INFO] [stdout] --> src/vec2.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl Vec2 { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 32 | pub fn one() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add` is never used [INFO] [stdout] --> src/x/range.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn add(r: Range, offset: T) -> Range { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sub` is never used [INFO] [stdout] --> src/x/range.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn sub(r: Range, offset: T) -> Range { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 00s [INFO] running `Command { std: "docker" "inspect" "f0a95599d62dc45390051958c70dbb80d359ee262a1d20a5cc6b475551290e34", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f0a95599d62dc45390051958c70dbb80d359ee262a1d20a5cc6b475551290e34", kill_on_drop: false }` [INFO] [stdout] f0a95599d62dc45390051958c70dbb80d359ee262a1d20a5cc6b475551290e34 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/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" "RUSTDOCFLAGS=--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:eea15d5475069c3ef791f10c2c6b5af2ee421ef2da1e680ecce1cba46243983b" "/opt/rustwide/cargo-home/bin/cargo" "+8b8eff55bd72abbb57167bc42222a7f91d41cb0d" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ddf6b5b3ae3c7927b6d8a4b2e90db47f63ba5acddd38666073ddc107d008e060 [INFO] running `Command { std: "docker" "start" "-a" "ddf6b5b3ae3c7927b6d8a4b2e90db47f63ba5acddd38666073ddc107d008e060", kill_on_drop: false }` [INFO] [stderr] Compiling fc v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `sprite_byte::SpriteByte` [INFO] [stdout] --> src/sprite/mod.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | pub use sprite_byte::SpriteByte; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable expression [INFO] [stdout] --> src/main.rs:130:5 [INFO] [stdout] | [INFO] [stdout] 108 | / loop { [INFO] [stdout] 109 | | if macroquad::input::is_key_pressed(macroquad::input::KeyCode::Space) { [INFO] [stdout] 110 | | cpu.reset()?; [INFO] [stdout] ... | [INFO] [stdout] 128 | | quad::next_frame().await; [INFO] [stdout] 129 | | } [INFO] [stdout] | |_____- any code following this expression is unreachable [INFO] [stdout] 130 | Ok(()) [INFO] [stdout] | ^^^^^^ unreachable expression [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/cpu/cpu.rs:456:23 [INFO] [stdout] | [INFO] [stdout] 456 | fn rti(&mut self, value: Value) -> Result<()> { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/cpu/status_register.rs:121:39 [INFO] [stdout] | [INFO] [stdout] 121 | pub fn update_overflow(&mut self, result: u8) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/cpu/status_register.rs:125:36 [INFO] [stdout] | [INFO] [stdout] 125 | pub fn update_break(&mut self, result: u8) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/cpu/status_register.rs:129:38 [INFO] [stdout] | [INFO] [stdout] 129 | pub fn update_decimal(&mut self, result: u8) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `result` [INFO] [stdout] --> src/cpu/status_register.rs:133:40 [INFO] [stdout] | [INFO] [stdout] 133 | pub fn update_interrupt(&mut self, result: u8) { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_result` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `S`, `P`, and `PC` are never constructed [INFO] [stdout] --> src/cpu/cpu.rs:49:5 [INFO] [stdout] | [INFO] [stdout] 45 | pub enum R { [INFO] [stdout] | - variants in this enum [INFO] [stdout] ... [INFO] [stdout] 49 | S, [INFO] [stdout] | ^ [INFO] [stdout] 50 | P, [INFO] [stdout] | ^ [INFO] [stdout] 51 | PC, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `raw` is never used [INFO] [stdout] --> src/ines/sprite_rom.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 8 | impl SpriteROM { [INFO] [stdout] | -------------- method in this implementation [INFO] [stdout] 9 | #[cfg(debug_assertions)] [INFO] [stdout] 10 | pub fn raw(&self) -> &Vec { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `from_16_le_bytes` is never used [INFO] [stdout] --> src/ppu/buf_byte.rs:42:12 [INFO] [stdout] | [INFO] [stdout] 28 | impl Bufu8 { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 42 | pub fn from_16_le_bytes(v: u16) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `sprite_palette0`, `sprite_palette1`, `sprite_palette2`, and `sprite_palette3` are never used [INFO] [stdout] --> src/ppu/palette.rs:86:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl PaletteTable { [INFO] [stdout] | ----------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 86 | pub fn sprite_palette0(&self) -> Palette { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 94 | pub fn sprite_palette1(&self) -> Palette { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 102 | pub fn sprite_palette2(&self) -> Palette { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 110 | pub fn sprite_palette3(&self) -> Palette { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `debug_program` is never used [INFO] [stdout] --> src/program/mod.rs:9:8 [INFO] [stdout] | [INFO] [stdout] 9 | pub fn debug_program(rom: Vec) { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `from_pos2`, `x`, `y`, `width`, `height`, and `max_pos` are never used [INFO] [stdout] --> src/rect.rs:10:12 [INFO] [stdout] | [INFO] [stdout] 9 | impl Rect { [INFO] [stdout] | --------- associated items in this implementation [INFO] [stdout] 10 | pub fn from_pos2(pos: Vec2, max_pos: Vec2) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 20 | pub fn x(&self) -> usize { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 23 | pub fn y(&self) -> usize { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 26 | pub fn width(&self) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 29 | pub fn height(&self) -> usize { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 41 | pub fn max_pos(&self) -> Vec2 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `debug_sprite` is never used [INFO] [stdout] --> src/sprite/mod.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | pub fn debug_sprite(sprites: SpriteROM) { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `debug_new` is never used [INFO] [stdout] --> src/sprite/sprite.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 10 | impl Sprite { [INFO] [stdout] | ----------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 36 | pub fn debug_new(raw: [[u8; SPRITE_LENGTH]; SPRITE_LENGTH]) -> Self { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `x` and `y` are never used [INFO] [stdout] --> src/vec2.rs:18:12 [INFO] [stdout] | [INFO] [stdout] 10 | / impl Vec2 [INFO] [stdout] 11 | | where [INFO] [stdout] 12 | | T: Clone + Copy, [INFO] [stdout] | |____________________- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 18 | pub fn x(&self) -> T { [INFO] [stdout] | ^ [INFO] [stdout] ... [INFO] [stdout] 22 | pub fn y(&self) -> T { [INFO] [stdout] | ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `one` is never used [INFO] [stdout] --> src/vec2.rs:32:12 [INFO] [stdout] | [INFO] [stdout] 31 | impl Vec2 { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 32 | pub fn one() -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `add` is never used [INFO] [stdout] --> src/x/range.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn add(r: Range, offset: T) -> Range { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `sub` is never used [INFO] [stdout] --> src/x/range.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 15 | pub fn sub(r: Range, offset: T) -> Range { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.91s [INFO] running `Command { std: "docker" "inspect" "ddf6b5b3ae3c7927b6d8a4b2e90db47f63ba5acddd38666073ddc107d008e060", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ddf6b5b3ae3c7927b6d8a4b2e90db47f63ba5acddd38666073ddc107d008e060", kill_on_drop: false }` [INFO] [stdout] ddf6b5b3ae3c7927b6d8a4b2e90db47f63ba5acddd38666073ddc107d008e060