[INFO] cloning repository https://github.com/ariel215/chip8 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ariel215/chip8" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fariel215%2Fchip8", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fariel215%2Fchip8'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b60286e69c759d19a91433b9967b0aa80bfaf612 [INFO] checking ariel215/chip8 against master#e9182f195b8505c87c4bd055b9f6e114ccda0981 for pr-144098 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fariel215%2Fchip8" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ariel215/chip8 [INFO] finished tweaking git repo https://github.com/ariel215/chip8 [INFO] tweaked toml for git repo https://github.com/ariel215/chip8 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ariel215/chip8 on toolchain e9182f195b8505c87c4bd055b9f6e114ccda0981 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e9182f195b8505c87c4bd055b9f6e114ccda0981" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ariel215/chip8 already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+e9182f195b8505c87c4bd055b9f6e114ccda0981" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Locking 1 package to latest Rust 1.90.0-nightly compatible version [INFO] [stderr] Updating getrandom v0.2.15 -> v0.2.16 (available: v0.3.3) [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded egui-miniquad v0.16.0 [INFO] [stderr] Downloaded sapp-jsutils v0.1.7 [INFO] [stderr] Downloaded quad-url v0.1.2 [INFO] [stderr] Downloaded zbus v5.6.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+e9182f195b8505c87c4bd055b9f6e114ccda0981" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 37df4692e3e63c80303d6e9f8875c14181412e81401b7cd4bfc062da98682236 [INFO] running `Command { std: "docker" "start" "-a" "37df4692e3e63c80303d6e9f8875c14181412e81401b7cd4bfc062da98682236", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "37df4692e3e63c80303d6e9f8875c14181412e81401b7cd4bfc062da98682236", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "37df4692e3e63c80303d6e9f8875c14181412e81401b7cd4bfc062da98682236", kill_on_drop: false }` [INFO] [stdout] 37df4692e3e63c80303d6e9f8875c14181412e81401b7cd4bfc062da98682236 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:cf8efcab8866f2cf4285301c7418e2f4f2a9b088c91ba69c40d5b659f81557f7" "/opt/rustwide/cargo-home/bin/cargo" "+e9182f195b8505c87c4bd055b9f6e114ccda0981" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 45b498cf6cb109a0e9623eb85a716c4acf730751b589bd308fbf78b3d0d49531 [INFO] running `Command { std: "docker" "start" "-a" "45b498cf6cb109a0e9623eb85a716c4acf730751b589bd308fbf78b3d0d49531", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Compiling autocfg v1.4.0 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Checking cfg-if v1.0.1 [INFO] [stderr] Checking pin-project-lite v0.2.16 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking fastrand v2.3.0 [INFO] [stderr] Checking bitflags v2.8.0 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking futures-core v0.3.31 [INFO] [stderr] Checking once_cell v1.20.2 [INFO] [stderr] Checking parking v2.2.1 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Checking byteorder v1.5.0 [INFO] [stderr] Checking smallvec v1.13.2 [INFO] [stderr] Checking futures-io v0.3.31 [INFO] [stderr] Compiling winnow v0.7.11 [INFO] [stderr] Checking litemap v0.8.0 [INFO] [stderr] Compiling hashbrown v0.15.4 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Checking writeable v0.6.1 [INFO] [stderr] Compiling icu_properties_data v2.0.1 [INFO] [stderr] Compiling icu_normalizer_data v2.0.0 [INFO] [stderr] Compiling toml_datetime v0.6.11 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling rustix v1.0.7 [INFO] [stderr] Checking tracing-core v0.1.34 [INFO] [stderr] Checking futures-lite v2.6.0 [INFO] [stderr] Checking slab v0.4.10 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Compiling glob v0.3.2 [INFO] [stderr] Checking linux-raw-sys v0.9.4 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Compiling thiserror v2.0.12 [INFO] [stderr] Checking event-listener v5.4.0 [INFO] [stderr] Checking anstyle-parse v0.2.6 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling matrixmultiply v0.3.9 [INFO] [stderr] Compiling rustix v0.38.43 [INFO] [stderr] Compiling indexmap v2.10.0 [INFO] [stderr] Compiling prettyplease v0.2.29 [INFO] [stderr] Checking event-listener-strategy v0.5.4 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Checking async-lock v3.4.0 [INFO] [stderr] Checking colorchoice v1.0.3 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Checking rawpointer v0.2.1 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking anstyle-query v1.1.2 [INFO] [stderr] Checking async-task v4.7.1 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Checking anstream v0.6.18 [INFO] [stderr] Checking async-channel v2.5.0 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Compiling linux-raw-sys v0.4.15 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Compiling getrandom v0.3.3 [INFO] [stderr] Checking clap_lex v0.7.4 [INFO] [stderr] Compiling regex-syntax v0.8.5 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Compiling libloading v0.8.6 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking clap_builder v4.5.26 [INFO] [stderr] Checking num-complex v0.4.6 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking piper v0.2.4 [INFO] [stderr] Compiling toml_edit v0.22.27 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking ndarray v0.15.6 [INFO] [stderr] Checking itertools v0.13.0 [INFO] [stderr] Checking getrandom v0.2.16 [INFO] [stderr] Compiling memoffset v0.9.1 [INFO] [stderr] Checking same-file v1.0.6 [INFO] [stderr] Compiling home v0.5.11 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Compiling bindgen v0.69.5 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling endi v1.1.0 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Checking walkdir v2.5.0 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Checking signal-hook-registry v1.4.5 [INFO] [stderr] Checking is-terminal v0.4.13 [INFO] [stderr] Checking blocking v1.6.2 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling cc v1.2.9 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling hashbrown v0.7.2 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling ucd-trie v0.1.7 [INFO] [stderr] Checking tempfile v3.15.0 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling log v0.4.25 [INFO] [stderr] Checking rand_core v0.9.3 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Compiling fs_extra v1.3.0 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking ahash v0.3.8 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Checking async-executor v1.13.2 [INFO] [stderr] Compiling cmake v0.1.52 [INFO] [stderr] Compiling proc-macro-crate v3.3.0 [INFO] [stderr] Checking async-broadcast v0.7.2 [INFO] [stderr] Checking ordered-stream v0.2.0 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking futures-task v0.3.31 [INFO] [stderr] Checking arrayvec v0.5.2 [INFO] [stderr] Checking pin-utils v0.1.0 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Checking mopa v0.2.2 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Checking tynm v0.1.10 [INFO] [stderr] Checking crossbeam-queue v0.2.3 [INFO] [stderr] Checking async-fs v2.1.2 [INFO] [stderr] Checking futures-channel v0.3.31 [INFO] [stderr] Checking shrev v1.1.3 [INFO] [stderr] Checking shred v0.10.2 [INFO] [stderr] Checking hibitset v0.6.4 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Checking raw-window-handle v0.6.2 [INFO] [stderr] Checking tuple_utils v0.3.0 [INFO] [stderr] Compiling rfd v0.15.3 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking urlencoding v2.1.3 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Checking pollster v0.4.0 [INFO] [stderr] Checking itertools v0.14.0 [INFO] [stderr] Checking bumpalo v3.18.1 [INFO] [stderr] Checking specs v0.16.1 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Compiling pest_consume_macros v1.1.0 [INFO] [stderr] Compiling specs-derive v0.4.1 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling enumflags2_derive v0.7.12 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling thiserror-impl v2.0.12 [INFO] [stderr] Compiling clap_derive v4.5.24 [INFO] [stderr] Compiling async-trait v0.1.88 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling futures-macro v0.3.31 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking polling v3.8.0 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Compiling pest v2.8.0 [INFO] [stderr] Checking futures-util v0.3.31 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking async-io v2.4.1 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking zerovec v0.11.2 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Checking clap v4.5.26 [INFO] [stderr] Checking clio v0.3.5 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking async-signal v0.2.11 [INFO] [stderr] Checking async-net v2.0.0 [INFO] [stderr] Checking async-process v2.3.1 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking rand_chacha v0.9.0 [INFO] [stderr] Compiling pest_meta v2.8.0 [INFO] [stderr] Checking rand v0.9.1 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Compiling pest_generator v2.8.0 [INFO] [stderr] Checking chippy-lib v0.1.0 (/opt/rustwide/workdir/chippy-lib) [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Compiling pest_derive v2.8.0 [INFO] [stderr] Checking zvariant_utils v3.2.0 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking enumflags2 v0.7.12 [INFO] [stderr] Checking pest_consume v1.1.3 [INFO] [stderr] Checking chip8cc v0.1.0 (/opt/rustwide/workdir/chip8cc) [INFO] [stdout] warning: unused import: `Pair` [INFO] [stdout] --> chip8cc/src/c.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | iterators::{Pair, Pairs}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `left` [INFO] [stdout] --> chip8cc/src/c.rs:152:14 [INFO] [stdout] | [INFO] [stdout] 152 | macro_rules! left { [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `right` [INFO] [stdout] --> chip8cc/src/c.rs:161:14 [INFO] [stdout] | [INFO] [stdout] 161 | macro_rules! right { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `operation` [INFO] [stdout] --> chip8cc/src/c.rs:170:14 [INFO] [stdout] | [INFO] [stdout] 170 | macro_rules! operation { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BTreeMap` and `ops::Range` [INFO] [stdout] --> chip8cc/src/labels.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | collections::{BTreeMap, HashMap}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 3 | hash::Hash, [INFO] [stdout] 4 | ops::Range, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Pair` [INFO] [stdout] --> chip8cc/src/c.rs:3:17 [INFO] [stdout] | [INFO] [stdout] 3 | iterators::{Pair, Pairs}, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BTreeMap` and `ops::Range` [INFO] [stdout] --> chip8cc/src/labels.rs:2:19 [INFO] [stdout] | [INFO] [stdout] 2 | collections::{BTreeMap, HashMap}, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 3 | hash::Hash, [INFO] [stdout] 4 | ops::Range, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instructions` [INFO] [stdout] --> chip8cc/src/basicblock.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | fn new(instructions: &[Instruction]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instructions` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Parser` [INFO] [stdout] --> chip8cc/src/c.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | Parser as PestParser, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instructions` [INFO] [stdout] --> chip8cc/src/basicblock.rs:53:12 [INFO] [stdout] | [INFO] [stdout] 53 | fn new(instructions: &[Instruction]) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instructions` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `string` [INFO] [stdout] --> chip8cc/src/c.rs:196:21 [INFO] [stdout] | [INFO] [stdout] 196 | fn parse_string<'a>(string: Pairs<'a, Rule>) -> String { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `string` [INFO] [stdout] --> chip8cc/src/c.rs:196:21 [INFO] [stdout] | [INFO] [stdout] 196 | fn parse_string<'a>(string: Pairs<'a, Rule>) -> String { [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_string` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InstructionHandle` is never constructed [INFO] [stdout] --> chip8cc/src/basicblock.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct InstructionHandle(usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BBHandle` is never constructed [INFO] [stdout] --> chip8cc/src/basicblock.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct BBHandle(usize); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BasicBlock` is never constructed [INFO] [stdout] --> chip8cc/src/basicblock.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | struct BasicBlock { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `blocks` is never used [INFO] [stdout] --> chip8cc/src/basicblock.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 15 | impl BasicBlock { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 16 | fn blocks(instructions: &[Line]) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CFG` is never constructed [INFO] [stdout] --> chip8cc/src/basicblock.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | struct CFG { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> chip8cc/src/basicblock.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 52 | impl CFG { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] 53 | fn new(instructions: &[Instruction]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ExprId` is never constructed [INFO] [stdout] --> chip8cc/src/c.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | struct ExprId(usize); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ScopeId` is never constructed [INFO] [stdout] --> chip8cc/src/c.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | struct ScopeId(usize); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `operand` is never read [INFO] [stdout] --> chip8cc/src/c.rs:81:5 [INFO] [stdout] | [INFO] [stdout] 80 | struct UnaryExpression<'a> { [INFO] [stdout] | --------------- field in this struct [INFO] [stdout] 81 | operand: BoxExpr<'a>, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `UnaryExpression` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ExpressionList` is never constructed [INFO] [stdout] --> chip8cc/src/c.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | struct ExpressionList<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> chip8cc/src/c.rs:117:5 [INFO] [stdout] | [INFO] [stdout] 98 | enum Operation { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 117 | Eq, [INFO] [stdout] | ^^ [INFO] [stdout] 118 | Neq, [INFO] [stdout] | ^^^ [INFO] [stdout] 119 | Gt, [INFO] [stdout] | ^^ [INFO] [stdout] 120 | Lt, [INFO] [stdout] | ^^ [INFO] [stdout] 121 | Geq, [INFO] [stdout] | ^^^ [INFO] [stdout] 122 | Leq, [INFO] [stdout] | ^^^ [INFO] [stdout] 123 | BinaryAnd, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 124 | BinaryOr, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 125 | BinaryXor, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 126 | LogicalAnd, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 127 | LogicalOr, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 128 | Call, [INFO] [stdout] 129 | Comma, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Operation` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `ModEq`, `AndEq`, and `OrEq` are never constructed [INFO] [stdout] --> chip8cc/src/c.rs:138:5 [INFO] [stdout] | [INFO] [stdout] 134 | enum AssignmentOp { [INFO] [stdout] | ------------ variants in this enum [INFO] [stdout] ... [INFO] [stdout] 138 | ModEq, [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 141 | AndEq, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 142 | OrEq, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `AssignmentOp` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> chip8cc/src/labels.rs:323:28 [INFO] [stdout] | [INFO] [stdout] 323 | pub fn parse_program(file: &str) -> Result { [INFO] [stdout] | ^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 323 | pub fn parse_program(file: &str) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InstructionHandle` is never constructed [INFO] [stdout] --> chip8cc/src/basicblock.rs:5:8 [INFO] [stdout] | [INFO] [stdout] 5 | struct InstructionHandle(usize); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BBHandle` is never constructed [INFO] [stdout] --> chip8cc/src/basicblock.rs:8:8 [INFO] [stdout] | [INFO] [stdout] 8 | struct BBHandle(usize); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BasicBlock` is never constructed [INFO] [stdout] --> chip8cc/src/basicblock.rs:10:8 [INFO] [stdout] | [INFO] [stdout] 10 | struct BasicBlock { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `blocks` is never used [INFO] [stdout] --> chip8cc/src/basicblock.rs:16:8 [INFO] [stdout] | [INFO] [stdout] 15 | impl BasicBlock { [INFO] [stdout] | --------------- associated function in this implementation [INFO] [stdout] 16 | fn blocks(instructions: &[Line]) -> Vec { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CFG` is never constructed [INFO] [stdout] --> chip8cc/src/basicblock.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | struct CFG { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> chip8cc/src/basicblock.rs:53:8 [INFO] [stdout] | [INFO] [stdout] 52 | impl CFG { [INFO] [stdout] | -------- associated function in this implementation [INFO] [stdout] 53 | fn new(instructions: &[Instruction]) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ExprId` is never constructed [INFO] [stdout] --> chip8cc/src/c.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | struct ExprId(usize); [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ScopeId` is never constructed [INFO] [stdout] --> chip8cc/src/c.rs:68:8 [INFO] [stdout] | [INFO] [stdout] 68 | struct ScopeId(usize); [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Value` is never used [INFO] [stdout] --> chip8cc/src/c.rs:71:6 [INFO] [stdout] | [INFO] [stdout] 71 | enum Value { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type alias `BoxExpr` is never used [INFO] [stdout] --> chip8cc/src/c.rs:77:6 [INFO] [stdout] | [INFO] [stdout] 77 | type BoxExpr<'a> = BBox<'a, Expression<'a>>; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `UnaryExpression` is never constructed [INFO] [stdout] --> chip8cc/src/c.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | struct UnaryExpression<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `BinaryExpression` is never constructed [INFO] [stdout] --> chip8cc/src/c.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 86 | struct BinaryExpression<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ExpressionList` is never constructed [INFO] [stdout] --> chip8cc/src/c.rs:93:8 [INFO] [stdout] | [INFO] [stdout] 93 | struct ExpressionList<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Operation` is never used [INFO] [stdout] --> chip8cc/src/c.rs:98:6 [INFO] [stdout] | [INFO] [stdout] 98 | enum Operation { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `AssignmentOp` is never used [INFO] [stdout] --> chip8cc/src/c.rs:134:6 [INFO] [stdout] | [INFO] [stdout] 134 | enum AssignmentOp { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `Expression` is never used [INFO] [stdout] --> chip8cc/src/c.rs:146:6 [INFO] [stdout] | [INFO] [stdout] 146 | enum Expression<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_constant` is never used [INFO] [stdout] --> chip8cc/src/c.rs:180:4 [INFO] [stdout] | [INFO] [stdout] 180 | fn parse_constant<'a>(mut constant: Pairs<'a, Rule>) -> u64 { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_string` is never used [INFO] [stdout] --> chip8cc/src/c.rs:196:4 [INFO] [stdout] | [INFO] [stdout] 196 | fn parse_string<'a>(string: Pairs<'a, Rule>) -> String { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `parse_expression` is never used [INFO] [stdout] --> chip8cc/src/c.rs:200:4 [INFO] [stdout] | [INFO] [stdout] 200 | fn parse_expression<'input, 'arena>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lifetime flowing from input to output with different syntax can be confusing [INFO] [stdout] --> chip8cc/src/labels.rs:323:28 [INFO] [stdout] | [INFO] [stdout] 323 | pub fn parse_program(file: &str) -> Result { [INFO] [stdout] | ^^^^ ------- the lifetime gets resolved as `'_` [INFO] [stdout] | | [INFO] [stdout] | this lifetime flows to the output [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: one option is to remove the lifetime for references and use the anonymous lifetime for paths [INFO] [stdout] | [INFO] [stdout] 323 | pub fn parse_program(file: &str) -> Result, Error> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling raylib-sys v5.0.2 [INFO] [stderr] Compiling zvariant_derive v5.6.0 [INFO] [stderr] Compiling zvariant v5.6.0 [INFO] [stderr] Checking zbus_names v4.2.0 [INFO] [stderr] Compiling zbus_macros v5.8.0 [INFO] [stderr] Checking zbus v5.6.0 [INFO] [stderr] Checking ashpd v0.11.0 [INFO] [stderr] Checking raylib v5.0.2 [INFO] [stderr] Checking chippy v0.1.0 (/opt/rustwide/workdir/chippy) [INFO] [stdout] warning: unused import: `logging` [INFO] [stdout] --> chippy/src/frontend/raylib.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | logging [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `logging` [INFO] [stdout] --> chippy/src/frontend/raylib.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 18 | logging [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> chippy/src/frontend/raylib.rs:114:17 [INFO] [stdout] | [INFO] [stdout] 114 | other => print!("unknown key input: {:?}", other) [INFO] [stdout] | ^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> chippy/src/frontend/raylib.rs:114:17 [INFO] [stdout] | [INFO] [stdout] 99 | KeyInput::Step => { [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 103 | KeyInput::Chip8Key(val) => { [INFO] [stdout] | ----------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 107 | KeyInput::TogglePause => self.mode = EmulatorMode::Running, [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] 108 | KeyInput::ToggleDebug => self.display.toggle_debug(), [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 114 | other => print!("unknown key input: {:?}", other) [INFO] [stdout] | ^^^^^ ...and 3 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> chippy/src/frontend/raylib.rs:114:17 [INFO] [stdout] | [INFO] [stdout] 114 | other => print!("unknown key input: {:?}", other) [INFO] [stdout] | ^^^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> chippy/src/frontend/raylib.rs:114:17 [INFO] [stdout] | [INFO] [stdout] 99 | KeyInput::Step => { [INFO] [stdout] | -------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 103 | KeyInput::Chip8Key(val) => { [INFO] [stdout] | ----------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 107 | KeyInput::TogglePause => self.mode = EmulatorMode::Running, [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] 108 | KeyInput::ToggleDebug => self.display.toggle_debug(), [INFO] [stdout] | --------------------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 114 | other => print!("unknown key input: {:?}", other) [INFO] [stdout] | ^^^^^ ...and 3 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `FONT_FILE` is never used [INFO] [stdout] --> chippy/src/frontend/raylib.rs:253:15 [INFO] [stdout] | [INFO] [stdout] 201 | impl RaylibDisplay { [INFO] [stdout] | ------------------ associated constant in this implementation [INFO] [stdout] ... [INFO] [stdout] 253 | pub const FONT_FILE: &'static [u8] = [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated constant `FONT_FILE` is never used [INFO] [stdout] --> chippy/src/frontend/raylib.rs:253:15 [INFO] [stdout] | [INFO] [stdout] 201 | impl RaylibDisplay { [INFO] [stdout] | ------------------ associated constant in this implementation [INFO] [stdout] ... [INFO] [stdout] 253 | pub const FONT_FILE: &'static [u8] = [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cfg_if::cfg_if` [INFO] [stdout] --> chippy/src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cfg_if::cfg_if; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Chip8Driver`, `EmulatorMode`, and `run` [INFO] [stdout] --> chippy/src/main.rs:2:28 [INFO] [stdout] | [INFO] [stdout] 2 | use chippy::driver::{self, run, Chip8Driver, EmulatorMode}; [INFO] [stdout] | ^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> chippy/src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `clio::*` [INFO] [stdout] --> chippy/src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use clio::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `cfg_if::cfg_if` [INFO] [stdout] --> chippy/src/main.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use cfg_if::cfg_if; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Chip8Driver`, `EmulatorMode`, and `run` [INFO] [stdout] --> chippy/src/main.rs:2:28 [INFO] [stdout] | [INFO] [stdout] 2 | use chippy::driver::{self, run, Chip8Driver, EmulatorMode}; [INFO] [stdout] | ^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> chippy/src/main.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `clio::*` [INFO] [stdout] --> chippy/src/main.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use clio::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 10s [INFO] running `Command { std: "docker" "inspect" "45b498cf6cb109a0e9623eb85a716c4acf730751b589bd308fbf78b3d0d49531", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "45b498cf6cb109a0e9623eb85a716c4acf730751b589bd308fbf78b3d0d49531", kill_on_drop: false }` [INFO] [stdout] 45b498cf6cb109a0e9623eb85a716c4acf730751b589bd308fbf78b3d0d49531