[INFO] cloning repository https://github.com/ak47andrew/virtual-console [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ak47andrew/virtual-console" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fak47andrew%2Fvirtual-console", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fak47andrew%2Fvirtual-console'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] db4cee2c914c251536098708b679bdf49229f45f [INFO] checking ak47andrew/virtual-console against c0dfa9ae292642b7683cf7162ffb6880170df098 for pr-160902 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fak47andrew%2Fvirtual-console" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ak47andrew/virtual-console [INFO] finished tweaking git repo https://github.com/ak47andrew/virtual-console [INFO] tweaked toml for git repo https://github.com/ak47andrew/virtual-console written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ak47andrew/virtual-console on toolchain c0dfa9ae292642b7683cf7162ffb6880170df098 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+c0dfa9ae292642b7683cf7162ffb6880170df098" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ak47andrew/virtual-console 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" "+c0dfa9ae292642b7683cf7162ffb6880170df098" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:8683fc1fc2eb5c9ac98e0d076ab094b2ffac7f99da555d2b6a2e27f346de2ec7" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] d7fb4079d32d27a9d11aa0e0e7fc857f59b4865b11cc2dfea50a7cee6ad0898b [INFO] running `Command { std: "docker" "start" "d7fb4079d32d27a9d11aa0e0e7fc857f59b4865b11cc2dfea50a7cee6ad0898b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d7fb4079d32d27a9d11aa0e0e7fc857f59b4865b11cc2dfea50a7cee6ad0898b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "d7fb4079d32d27a9d11aa0e0e7fc857f59b4865b11cc2dfea50a7cee6ad0898b" "/opt/rustwide/cargo-home/bin/cargo" "+c0dfa9ae292642b7683cf7162ffb6880170df098" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d7fb4079d32d27a9d11aa0e0e7fc857f59b4865b11cc2dfea50a7cee6ad0898b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "d7fb4079d32d27a9d11aa0e0e7fc857f59b4865b11cc2dfea50a7cee6ad0898b" "/opt/rustwide/cargo-home/bin/cargo" "+c0dfa9ae292642b7683cf7162ffb6880170df098" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.106 [INFO] [stderr] Compiling quote v1.0.45 [INFO] [stderr] Compiling unicode-ident v1.0.24 [INFO] [stderr] Compiling libc v0.2.186 [INFO] [stderr] Checking cfg-if v1.0.4 [INFO] [stderr] Compiling serde v1.0.228 [INFO] [stderr] Compiling serde_core v1.0.228 [INFO] [stderr] Checking pin-project-lite v0.2.17 [INFO] [stderr] Checking memchr v2.8.1 [INFO] [stderr] Checking typenum v1.20.1 [INFO] [stderr] Compiling find-msvc-tools v0.1.9 [INFO] [stderr] Compiling shlex v2.0.1 [INFO] [stderr] Checking futures-core v0.3.32 [INFO] [stderr] Compiling autocfg v1.5.1 [INFO] [stderr] Compiling crossbeam-utils v0.8.21 [INFO] [stderr] Checking futures-io v0.3.32 [INFO] [stderr] Checking stable_deref_trait v1.2.1 [INFO] [stderr] Checking cmov v0.5.4 [INFO] [stderr] Checking zeroize v1.8.2 [INFO] [stderr] Checking winnow v1.0.3 [INFO] [stderr] Checking parking v2.2.1 [INFO] [stderr] Compiling pkg-config v0.3.33 [INFO] [stderr] Checking const-oid v0.10.2 [INFO] [stderr] Checking slab v0.4.12 [INFO] [stderr] Checking simd-adler32 v0.3.9 [INFO] [stderr] Compiling crc32fast v1.5.0 [INFO] [stderr] Compiling equivalent v1.0.2 [INFO] [stderr] Checking smallvec v1.15.2 [INFO] [stderr] Checking cpufeatures v0.3.0 [INFO] [stderr] Checking ctutils v0.4.2 [INFO] [stderr] Compiling hashbrown v0.17.1 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Checking log v0.4.32 [INFO] [stderr] Checking once_cell v1.21.4 [INFO] [stderr] Compiling prettyplease v0.2.37 [INFO] [stderr] Compiling zstd-safe v7.2.4 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Checking bitflags v2.12.1 [INFO] [stderr] Checking adler2 v2.0.1 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Compiling toml_datetime v1.1.1+spec-1.1.0 [INFO] [stderr] Checking powerfmt v0.2.0 [INFO] [stderr] Checking miniz_oxide v0.8.9 [INFO] [stderr] Checking zlib-rs v0.6.3 [INFO] [stderr] Checking fastrand v2.4.1 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Compiling minimal-lexical v0.2.1 [INFO] [stderr] Checking writeable v0.6.3 [INFO] [stderr] Compiling regex-syntax v0.8.11 [INFO] [stderr] Compiling syn v2.0.117 [INFO] [stderr] Compiling getrandom v0.4.2 [INFO] [stderr] Checking litemap v0.8.2 [INFO] [stderr] Compiling indexmap v2.14.0 [INFO] [stderr] Compiling libloading v0.8.9 [INFO] [stderr] Checking deranged v0.5.8 [INFO] [stderr] Checking event-listener v5.4.1 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking bumpalo v3.20.3 [INFO] [stderr] Checking hybrid-array v0.4.12 [INFO] [stderr] Checking utf8_iter v1.0.4 [INFO] [stderr] Compiling bindgen v0.72.1 [INFO] [stderr] Checking num-conv v0.2.2 [INFO] [stderr] Compiling jobserver v0.1.34 [INFO] [stderr] Compiling icu_properties_data v2.2.0 [INFO] [stderr] Checking time-core v0.1.8 [INFO] [stderr] Checking errno v0.3.14 [INFO] [stderr] Checking signal-hook-registry v1.4.8 [INFO] [stderr] Compiling either v1.16.0 [INFO] [stderr] Compiling rustix v1.1.4 [INFO] [stderr] Compiling cc v1.2.63 [INFO] [stderr] Compiling toml_parser v1.1.2+spec-1.1.0 [INFO] [stderr] Checking libbz2-rs-sys v0.2.5 [INFO] [stderr] Checking cpubits v0.1.1 [INFO] [stderr] Compiling icu_normalizer_data v2.2.0 [INFO] [stderr] Compiling itertools v0.13.0 [INFO] [stderr] Checking crypto-common v0.2.2 [INFO] [stderr] Checking block-buffer v0.12.0 [INFO] [stderr] Checking inout v0.2.2 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Checking flate2 v1.1.9 [INFO] [stderr] Checking zopfli v0.8.3 [INFO] [stderr] Checking time v0.3.47 [INFO] [stderr] Checking bzip2 v0.6.1 [INFO] [stderr] Compiling toml_edit v0.25.12+spec-1.1.0 [INFO] [stderr] Checking event-listener-strategy v0.5.4 [INFO] [stderr] Compiling regex-automata v0.4.14 [INFO] [stderr] Checking futures-lite v2.6.1 [INFO] [stderr] Checking winnow v0.7.15 [INFO] [stderr] Checking ppmd-rust v1.4.0 [INFO] [stderr] Compiling rustc-hash v2.1.2 [INFO] [stderr] Compiling parking_lot_core v0.9.12 [INFO] [stderr] Checking digest v0.11.3 [INFO] [stderr] Checking cipher v0.5.2 [INFO] [stderr] Checking deflate64 v0.1.12 [INFO] [stderr] Checking typed-path v0.12.3 [INFO] [stderr] Checking sha2 v0.11.0 [INFO] [stderr] Checking hmac v0.13.0 [INFO] [stderr] Checking aes v0.9.1 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Checking pbkdf2 v0.13.0 [INFO] [stderr] Checking sha1 v0.11.0 [INFO] [stderr] Checking toml_writer v1.1.1+spec-1.1.0 [INFO] [stderr] Checking toml_datetime v0.7.5+spec-1.1.0 [INFO] [stderr] Checking serde_spanned v1.1.1 [INFO] [stderr] Compiling shlex v1.3.0 [INFO] [stderr] Checking linux-raw-sys v0.12.1 [INFO] [stderr] Checking constant_time_eq v0.4.2 [INFO] [stderr] Compiling proc-macro-crate v3.5.0 [INFO] [stderr] Compiling cmake v0.1.58 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Compiling zstd-sys v2.0.16+zstd.1.5.7 [INFO] [stderr] Checking tracing-core v0.1.36 [INFO] [stderr] Compiling async-io v2.6.0 [INFO] [stderr] Checking aho-corasick v1.1.4 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking futures-sink v0.3.32 [INFO] [stderr] Checking unsigned-varint v0.8.0 [INFO] [stderr] Checking lock_api v0.4.14 [INFO] [stderr] Checking lzma-rust2 v0.16.4 [INFO] [stderr] Compiling zmij v1.0.21 [INFO] [stderr] Compiling endi v1.1.1 [INFO] [stderr] Compiling thiserror v2.0.18 [INFO] [stderr] Checking async-task v4.7.1 [INFO] [stderr] Checking futures-channel v0.3.32 [INFO] [stderr] Checking async-channel v2.5.0 [INFO] [stderr] Checking atomic-waker v1.1.2 [INFO] [stderr] Checking percent-encoding v2.3.2 [INFO] [stderr] Checking futures-task v0.3.32 [INFO] [stderr] Compiling serde_json v1.0.150 [INFO] [stderr] Checking form_urlencoded v1.2.2 [INFO] [stderr] Checking piper v0.2.5 [INFO] [stderr] Checking parking_lot v0.12.5 [INFO] [stderr] Checking async-lock v3.4.2 [INFO] [stderr] Checking mio v1.2.1 [INFO] [stderr] Checking socket2 v0.6.4 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Checking itoa v1.0.18 [INFO] [stderr] Checking bytes v1.12.1 [INFO] [stderr] Compiling httparse v1.10.1 [INFO] [stderr] Compiling seq-macro v0.3.6 [INFO] [stderr] Checking toml v0.9.12+spec-1.1.0 [INFO] [stderr] Checking anstyle-parse v1.0.0 [INFO] [stderr] Checking blocking v1.6.2 [INFO] [stderr] Compiling regex v1.12.4 [INFO] [stderr] Checking async-executor v1.14.0 [INFO] [stderr] Checking uuid v1.23.4 [INFO] [stderr] Checking async-broadcast v0.7.2 [INFO] [stderr] Checking ordered-stream v0.2.0 [INFO] [stderr] Checking anstyle v1.0.14 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Checking anstyle-query v1.1.5 [INFO] [stderr] Checking tower-service v0.3.3 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Checking is_terminal_polyfill v1.70.2 [INFO] [stderr] Checking colorchoice v1.0.5 [INFO] [stderr] Checking tower-layer v0.3.3 [INFO] [stderr] Checking fdeflate v0.3.7 [INFO] [stderr] Checking anstream v1.0.0 [INFO] [stderr] Compiling lsp v0.1.0 (/opt/rustwide/workdir/src/lsp) [INFO] [stderr] Checking jiff v0.2.28 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking png v0.18.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling serde_derive v1.0.228 [INFO] [stderr] Compiling zerofrom-derive v0.1.7 [INFO] [stderr] Compiling yoke-derive v0.8.2 [INFO] [stderr] Compiling zerovec-derive v0.11.3 [INFO] [stderr] Compiling displaydoc v0.2.6 [INFO] [stderr] Compiling enumflags2_derive v0.7.12 [INFO] [stderr] Compiling tracing-attributes v0.1.31 [INFO] [stderr] Compiling serde_repr v0.1.20 [INFO] [stderr] Compiling async-trait v0.1.89 [INFO] [stderr] Compiling thiserror-impl v2.0.18 [INFO] [stderr] Compiling futures-macro v0.3.32 [INFO] [stderr] Compiling pin-project-internal v1.1.13 [INFO] [stderr] Compiling tokio-macros v2.7.0 [INFO] [stderr] Checking zerofrom v0.1.8 [INFO] [stderr] Compiling async-recursion v1.1.1 [INFO] [stderr] Compiling tower-lsp-macros v0.9.0 [INFO] [stderr] Checking futures-util v0.3.32 [INFO] [stderr] Checking tracing v0.1.44 [INFO] [stderr] Checking yoke v0.8.3 [INFO] [stderr] Compiling auto_impl v1.3.0 [INFO] [stderr] Checking pin-project v1.1.13 [INFO] [stderr] Checking zerovec v0.11.6 [INFO] [stderr] Checking zerotrie v0.2.4 [INFO] [stderr] Checking tokio v1.52.3 [INFO] [stderr] Checking polling v3.11.0 [INFO] [stderr] Checking tinystr v0.8.3 [INFO] [stderr] Checking potential_utf v0.1.5 [INFO] [stderr] Checking icu_locale_core v2.2.0 [INFO] [stderr] Checking icu_collections v2.2.0 [INFO] [stderr] Checking env_filter v1.0.1 [INFO] [stderr] Checking flowchart-gen v0.1.0 (/opt/rustwide/workdir/src/flowchart-gen) [INFO] [stderr] Checking async-signal v0.2.14 [INFO] [stderr] Checking async-process v2.5.0 [INFO] [stderr] Checking env_logger v0.11.10 [INFO] [stderr] Checking icu_provider v2.2.0 [INFO] [stderr] Checking icu_normalizer v2.2.0 [INFO] [stderr] Checking icu_properties v2.2.0 [INFO] [stderr] Checking zstd v0.13.3 [INFO] [stderr] Checking zip v8.6.0 [INFO] [stderr] Checking enumflags2 v0.7.12 [INFO] [stderr] Checking zvariant_utils v3.4.0 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking futures v0.3.32 [INFO] [stderr] Compiling zvariant_derive v5.12.0 [INFO] [stderr] Checking idna_adapter v1.2.2 [INFO] [stderr] Checking idna v1.1.0 [INFO] [stderr] Checking vea_shared v0.1.0 (/opt/rustwide/workdir/src/shared) [INFO] [stderr] Checking url v2.5.8 [INFO] [stderr] Checking vea_compiler v0.1.0 (/opt/rustwide/workdir/src/compiler) [INFO] [stderr] Compiling zvariant v5.12.0 [INFO] [stderr] Checking lsp-types v0.94.1 [INFO] [stderr] Checking tokio-util v0.7.18 [INFO] [stderr] Compiling raylib-sys v6.0.0 [INFO] [stderr] Checking zbus_names v4.3.2 [INFO] [stderr] Compiling zbus_macros v5.16.0 [INFO] [stderr] Checking zbus v5.16.0 [INFO] [stderr] Checking notify-rust v4.18.0 [INFO] [stderr] Checking tower-lsp v0.20.0 [INFO] [stderr] Checking raylib v6.0.0 [INFO] [stderr] Checking vea_runtime v0.1.0 (/opt/rustwide/workdir/src/runtime) [INFO] [stderr] Checking vea_launcher v0.1.0 (/opt/rustwide/workdir/src/launcher) [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/launcher/src/nonui.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/launcher/src/main.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | use std::path::{absolute, Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `byte` [INFO] [stdout] --> src/runtime/src/debugger.rs:401:25 [INFO] [stdout] | [INFO] [stdout] 401 | let byte = self.emulator.memory.peek(addr, 1)[0]; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_byte` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/runtime/src/debugger.rs:528:71 [INFO] [stdout] | [INFO] [stdout] 528 | pub fn entry_debugger(mut rl: RaylibHandle, mut thread: RaylibThread, mut emulator: Emulator) { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/launcher/src/nonui.rs:2:17 [INFO] [stdout] | [INFO] [stdout] 2 | use std::path::{Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Path` [INFO] [stdout] --> src/launcher/src/main.rs:5:27 [INFO] [stdout] | [INFO] [stdout] 5 | use std::path::{absolute, Path, PathBuf}; [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rom_size` is never read [INFO] [stdout] --> src/runtime/src/memory.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Memory { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | pub rom_size: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `rom_size` is never used [INFO] [stdout] --> src/runtime/src/memory.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl Memory { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn rom_size(&self) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/runtime/src/memory.rs:149:17 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn peek(&self, addr: usize, amount: usize) -> Cow<[u8]> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 149 | pub fn peek(&self, addr: usize, amount: usize) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/runtime/src/memory.rs:163:17 [INFO] [stdout] | [INFO] [stdout] 163 | pub fn read(&mut self, amount: usize) -> Cow<[u8]> { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 163 | pub fn read(&mut self, amount: usize) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `byte` [INFO] [stdout] --> src/runtime/src/debugger.rs:401:25 [INFO] [stdout] | [INFO] [stdout] 401 | let byte = self.emulator.memory.peek(addr, 1)[0]; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_byte` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/runtime/src/debugger.rs:528:71 [INFO] [stdout] | [INFO] [stdout] 528 | pub fn entry_debugger(mut rl: RaylibHandle, mut thread: RaylibThread, mut emulator: Emulator) { [INFO] [stdout] | ----^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rom_size` is never read [INFO] [stdout] --> src/runtime/src/memory.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 10 | pub struct Memory { [INFO] [stdout] | ------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 15 | pub rom_size: usize, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `rom_size` is never used [INFO] [stdout] --> src/runtime/src/memory.rs:111:12 [INFO] [stdout] | [INFO] [stdout] 39 | impl Memory { [INFO] [stdout] | ----------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn rom_size(&self) -> usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/runtime/src/memory.rs:149:17 [INFO] [stdout] | [INFO] [stdout] 149 | pub fn peek(&self, addr: usize, amount: usize) -> Cow<[u8]> { [INFO] [stdout] | ^^^^^ the lifetime is elided here ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 149 | pub fn peek(&self, addr: usize, amount: usize) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/runtime/src/memory.rs:163:17 [INFO] [stdout] | [INFO] [stdout] 163 | pub fn read(&mut self, amount: usize) -> Cow<[u8]> { [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^ the same lifetime is hidden here [INFO] [stdout] | | [INFO] [stdout] | the lifetime is elided here [INFO] [stdout] | [INFO] [stdout] = help: the same lifetime is referred to in inconsistent ways, making the signature confusing [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 163 | pub fn read(&mut self, amount: usize) -> Cow<'_, [u8]> { [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 1m 42s [INFO] running `Command { std: "docker" "inspect" "d7fb4079d32d27a9d11aa0e0e7fc857f59b4865b11cc2dfea50a7cee6ad0898b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d7fb4079d32d27a9d11aa0e0e7fc857f59b4865b11cc2dfea50a7cee6ad0898b", kill_on_drop: false }` [INFO] [stdout] d7fb4079d32d27a9d11aa0e0e7fc857f59b4865b11cc2dfea50a7cee6ad0898b