[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] checking proxin187/bitforge against try#a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d for pr-145342-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fproxin187%2Fbitforge" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-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-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/proxin187/bitforge on toolchain a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 441bc7bf0d559f984b28b6bb4fc05f2c747c5ecbaa6d4e93bc4fda4656299df6 [INFO] running `Command { std: "docker" "start" "-a" "441bc7bf0d559f984b28b6bb4fc05f2c747c5ecbaa6d4e93bc4fda4656299df6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "441bc7bf0d559f984b28b6bb4fc05f2c747c5ecbaa6d4e93bc4fda4656299df6", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "441bc7bf0d559f984b28b6bb4fc05f2c747c5ecbaa6d4e93bc4fda4656299df6", kill_on_drop: false }` [INFO] [stdout] 441bc7bf0d559f984b28b6bb4fc05f2c747c5ecbaa6d4e93bc4fda4656299df6 [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=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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+a4980311fb7bb9e7893708e6bd3fbbfb2819fd3d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3bf432772f17bbecc136654c274c82471d50edc8a2e653e803eba09b7e68c675 [INFO] running `Command { std: "docker" "start" "-a" "3bf432772f17bbecc136654c274c82471d50edc8a2e653e803eba09b7e68c675", kill_on_drop: false }` [INFO] [stderr] Checking memchr v2.7.4 [INFO] [stderr] Compiling proc-macro2 v1.0.93 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Compiling unicode-ident v1.0.14 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking anstyle-query v1.1.2 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking anstyle v1.0.10 [INFO] [stderr] Checking colorchoice v1.0.3 [INFO] [stderr] Checking regex-syntax v0.8.5 [INFO] [stderr] Checking adler2 v2.0.0 [INFO] [stderr] Checking static_assertions v1.1.0 [INFO] [stderr] Checking clap_lex v0.7.4 [INFO] [stderr] Compiling object v0.36.7 [INFO] [stderr] Compiling heck v0.5.0 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking log v0.4.25 [INFO] [stderr] Compiling libc v0.2.169 [INFO] [stderr] Checking crc32fast v1.4.2 [INFO] [stderr] Checking twox-hash v1.6.3 [INFO] [stderr] Checking anstyle-parse v0.2.6 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking miniz_oxide v0.8.3 [INFO] [stderr] Checking anstream v0.6.18 [INFO] [stderr] Checking ruzstd v0.7.3 [INFO] [stderr] Checking aho-corasick v1.1.3 [INFO] [stderr] Checking clap_builder v4.5.26 [INFO] [stderr] Checking flate2 v1.0.35 [INFO] [stderr] Compiling quote v1.0.38 [INFO] [stderr] Compiling syn v2.0.96 [INFO] [stderr] Checking regex-automata v0.4.9 [INFO] [stderr] Checking regex v1.11.1 [INFO] [stderr] Checking env_filter v0.1.3 [INFO] [stderr] Checking env_logger v0.11.6 [INFO] [stderr] Compiling clap_derive v4.5.24 [INFO] [stderr] Checking clap v4.5.26 [INFO] [stderr] Checking 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)]` 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 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)]` 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)]` 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)]` 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)]` 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: 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] [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)]` 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)]` 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: 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)]` 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)]` 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)]` 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)]` 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)]` 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 `dev` profile [unoptimized + debuginfo] target(s) in 17.19s [INFO] running `Command { std: "docker" "inspect" "3bf432772f17bbecc136654c274c82471d50edc8a2e653e803eba09b7e68c675", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3bf432772f17bbecc136654c274c82471d50edc8a2e653e803eba09b7e68c675", kill_on_drop: false }` [INFO] [stdout] 3bf432772f17bbecc136654c274c82471d50edc8a2e653e803eba09b7e68c675