[INFO] cloning repository https://github.com/proxin187/bitforge [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/proxin187/bitforge" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fproxin187%2Fbitforge", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fproxin187%2Fbitforge'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 668973e6504857cc766b048593c031f9d75687ac [INFO] building proxin187/bitforge against try#d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 for pr-146237-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fproxin187%2Fbitforge" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/proxin187/bitforge [INFO] finished tweaking git repo https://github.com/proxin187/bitforge [INFO] tweaked toml for git repo https://github.com/proxin187/bitforge written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/proxin187/bitforge on toolchain d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/proxin187/bitforge 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" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 582b737c3aba6206f38c524e30be56d2a6ca186273ae3fb27d0a658c37afccbc [INFO] running `Command { std: "docker" "start" "-a" "582b737c3aba6206f38c524e30be56d2a6ca186273ae3fb27d0a658c37afccbc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "582b737c3aba6206f38c524e30be56d2a6ca186273ae3fb27d0a658c37afccbc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "582b737c3aba6206f38c524e30be56d2a6ca186273ae3fb27d0a658c37afccbc", kill_on_drop: false }` [INFO] [stdout] 582b737c3aba6206f38c524e30be56d2a6ca186273ae3fb27d0a658c37afccbc [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 86e1dbaaa5b650484c130e11a86e35b462ff40965476fc0f7fc7b0707c86b182 [INFO] running `Command { std: "docker" "start" "-a" "86e1dbaaa5b650484c130e11a86e35b462ff40965476fc0f7fc7b0707c86b182", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling log v0.4.25 [INFO] [stderr] Compiling ruzstd v0.7.3 [INFO] [stderr] Compiling clap_builder v4.5.26 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling clap_derive v4.5.24 [INFO] [stderr] Compiling env_filter v0.1.3 [INFO] [stderr] Compiling env_logger v0.11.6 [INFO] [stderr] Compiling clap v4.5.26 [INFO] [stderr] Compiling sandbox v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `AccessKind` [INFO] [stdout] --> src/emu/translate.rs:1:38 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::instruction::{MemoryAddr, AccessKind}; [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: `memory` [INFO] [stdout] --> src/emu/translate.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::emu::{CONTEXT, memory}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/emu/jit.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::emu::{self, Context, CONTEXT, Translate}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::info` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use log::info; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `naked_functions` has been stable since 1.88.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(naked_functions)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/main.rs:47:26 [INFO] [stdout] | [INFO] [stdout] 47 | Command::Trace { path } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `path: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/emu/translate.rs:75:25 [INFO] [stdout] | [INFO] [stdout] 75 | let ctx_addr = (unsafe { addr_of!(CONTEXT) as usize }).to_ne_bytes() [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Both` is never constructed [INFO] [stdout] --> src/instruction/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum AccessKind { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 12 | Both, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `CF`, `OF`, `SF`, `AF`, and `PF` are never read [INFO] [stdout] --> src/emu/mod.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct Eflags { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 67 | CF: bool, [INFO] [stdout] | ^^ [INFO] [stdout] 68 | OF: bool, [INFO] [stdout] | ^^ [INFO] [stdout] 69 | SF: bool, [INFO] [stdout] | ^^ [INFO] [stdout] 70 | ZF: bool, [INFO] [stdout] 71 | AF: bool, [INFO] [stdout] | ^^ [INFO] [stdout] 72 | PF: bool, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Eflags` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `CF` should have a snake case name [INFO] [stdout] --> src/emu/mod.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | CF: bool, [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `cf` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `OF` should have a snake case name [INFO] [stdout] --> src/emu/mod.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | OF: bool, [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `of` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `SF` should have a snake case name [INFO] [stdout] --> src/emu/mod.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | SF: bool, [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `sf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `ZF` should have a snake case name [INFO] [stdout] --> src/emu/mod.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | ZF: bool, [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `zf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `AF` should have a snake case name [INFO] [stdout] --> src/emu/mod.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | AF: bool, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `af` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `PF` should have a snake case name [INFO] [stdout] --> src/emu/mod.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | PF: bool, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/emu/mod.rs:117:60 [INFO] [stdout] | [INFO] [stdout] 117 | info!("register: {:?}, imm8: {}", unsafe { CONTEXT.get_register(®ister) }, imm8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/emu/mod.rs:119:43 [INFO] [stdout] | [INFO] [stdout] 119 | self.eflags.ZF = unsafe { CONTEXT.get_register(®ister) } == imm8 as u64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/instruction/mod.rs:57:26 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn memory_access(&self) -> Option { [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 57 | pub fn memory_access(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rex` is never read [INFO] [stdout] --> src/instruction/mod.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Instruction { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 35 | pub rex: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `segments` is never used [INFO] [stdout] --> src/emu/memory.rs:150:8 [INFO] [stdout] | [INFO] [stdout] 150 | pub fn segments() -> Result, Box> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 15.93s [INFO] running `Command { std: "docker" "inspect" "86e1dbaaa5b650484c130e11a86e35b462ff40965476fc0f7fc7b0707c86b182", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "86e1dbaaa5b650484c130e11a86e35b462ff40965476fc0f7fc7b0707c86b182", kill_on_drop: false }` [INFO] [stdout] 86e1dbaaa5b650484c130e11a86e35b462ff40965476fc0f7fc7b0707c86b182 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+d79d87d4c0f7f0d0785ad6e493cf8cf718ed89a6" "test" "--frozen" "--no-run" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e413873596047bfc2d1cf7e087d4c166684340e5fb3cf5f8a21a161e8b08f9ea [INFO] running `Command { std: "docker" "start" "-a" "e413873596047bfc2d1cf7e087d4c166684340e5fb3cf5f8a21a161e8b08f9ea", kill_on_drop: false }` [INFO] [stderr] Compiling sandbox v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `AccessKind` [INFO] [stdout] --> src/emu/translate.rs:1:38 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::instruction::{MemoryAddr, AccessKind}; [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: `memory` [INFO] [stdout] --> src/emu/translate.rs:3:27 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::emu::{CONTEXT, memory}; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Context` [INFO] [stdout] --> src/emu/jit.rs:1:24 [INFO] [stdout] | [INFO] [stdout] 1 | use crate::emu::{self, Context, CONTEXT, Translate}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `log::info` [INFO] [stdout] --> src/main.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 12 | use log::info; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `naked_functions` has been stable since 1.88.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/main.rs:1:12 [INFO] [stdout] | [INFO] [stdout] 1 | #![feature(naked_functions)] [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary `unsafe` block [INFO] [stdout] --> src/emu/translate.rs:75:25 [INFO] [stdout] | [INFO] [stdout] 75 | let ctx_addr = (unsafe { addr_of!(CONTEXT) as usize }).to_ne_bytes() [INFO] [stdout] | ^^^^^^ unnecessary `unsafe` block [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_unsafe)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `path` [INFO] [stdout] --> src/main.rs:47:26 [INFO] [stdout] | [INFO] [stdout] 47 | Command::Trace { path } => { [INFO] [stdout] | ^^^^ help: try ignoring the field: `path: _` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Both` is never constructed [INFO] [stdout] --> src/instruction/mod.rs:12:5 [INFO] [stdout] | [INFO] [stdout] 9 | pub enum AccessKind { [INFO] [stdout] | ---------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 12 | Both, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `rex` is never read [INFO] [stdout] --> src/instruction/mod.rs:35:9 [INFO] [stdout] | [INFO] [stdout] 31 | pub struct Instruction { [INFO] [stdout] | ----------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 35 | pub rex: Option, [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `CF`, `OF`, `SF`, `AF`, and `PF` are never read [INFO] [stdout] --> src/emu/mod.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 66 | pub struct Eflags { [INFO] [stdout] | ------ fields in this struct [INFO] [stdout] 67 | CF: bool, [INFO] [stdout] | ^^ [INFO] [stdout] 68 | OF: bool, [INFO] [stdout] | ^^ [INFO] [stdout] 69 | SF: bool, [INFO] [stdout] | ^^ [INFO] [stdout] 70 | ZF: bool, [INFO] [stdout] 71 | AF: bool, [INFO] [stdout] | ^^ [INFO] [stdout] 72 | PF: bool, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Eflags` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: hiding a lifetime that's elided elsewhere is confusing [INFO] [stdout] --> src/instruction/mod.rs:57:26 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn memory_access(&self) -> Option { [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] = note: `#[warn(mismatched_lifetime_syntaxes)]` on by default [INFO] [stdout] help: use `'_` for type paths [INFO] [stdout] | [INFO] [stdout] 57 | pub fn memory_access(&self) -> Option> { [INFO] [stdout] | ++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `CF` should have a snake case name [INFO] [stdout] --> src/emu/mod.rs:67:5 [INFO] [stdout] | [INFO] [stdout] 67 | CF: bool, [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `cf` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `OF` should have a snake case name [INFO] [stdout] --> src/emu/mod.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 68 | OF: bool, [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `of` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `SF` should have a snake case name [INFO] [stdout] --> src/emu/mod.rs:69:5 [INFO] [stdout] | [INFO] [stdout] 69 | SF: bool, [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `sf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `ZF` should have a snake case name [INFO] [stdout] --> src/emu/mod.rs:70:5 [INFO] [stdout] | [INFO] [stdout] 70 | ZF: bool, [INFO] [stdout] | ^^ help: convert the identifier to snake case (notice the capitalization): `zf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `AF` should have a snake case name [INFO] [stdout] --> src/emu/mod.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | AF: bool, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `af` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: structure field `PF` should have a snake case name [INFO] [stdout] --> src/emu/mod.rs:72:5 [INFO] [stdout] | [INFO] [stdout] 72 | PF: bool, [INFO] [stdout] | ^^ help: convert the identifier to snake case: `pf` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/emu/mod.rs:117:60 [INFO] [stdout] | [INFO] [stdout] 117 | info!("register: {:?}, imm8: {}", unsafe { CONTEXT.get_register(®ister) }, imm8); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: creating a shared reference to mutable static [INFO] [stdout] --> src/emu/mod.rs:119:43 [INFO] [stdout] | [INFO] [stdout] 119 | self.eflags.ZF = unsafe { CONTEXT.get_register(®ister) } == imm8 as u64; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ shared reference to mutable static [INFO] [stdout] | [INFO] [stdout] = note: for more information, see [INFO] [stdout] = note: shared references to mutable statics are dangerous; it's undefined behavior if the static is mutated or if a mutable reference is created for it while the shared reference lives [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `test` profile [unoptimized + debuginfo] target(s) in 0.87s [INFO] running `Command { std: "docker" "inspect" "e413873596047bfc2d1cf7e087d4c166684340e5fb3cf5f8a21a161e8b08f9ea", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e413873596047bfc2d1cf7e087d4c166684340e5fb3cf5f8a21a161e8b08f9ea", kill_on_drop: false }` [INFO] [stdout] e413873596047bfc2d1cf7e087d4c166684340e5fb3cf5f8a21a161e8b08f9ea