[INFO] cloning repository https://github.com/JamesPatrickGill/mos-6502-rusted [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/JamesPatrickGill/mos-6502-rusted" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJamesPatrickGill%2Fmos-6502-rusted", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJamesPatrickGill%2Fmos-6502-rusted'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 5216fac734e50fd4426583325b0d64ae5cafc513 [INFO] checking JamesPatrickGill/mos-6502-rusted against try#b1f2594eac607c1f051534800237eeedb5590a49 for pr-139493-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FJamesPatrickGill%2Fmos-6502-rusted" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/JamesPatrickGill/mos-6502-rusted [INFO] finished tweaking git repo https://github.com/JamesPatrickGill/mos-6502-rusted [INFO] tweaked toml for git repo https://github.com/JamesPatrickGill/mos-6502-rusted written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/JamesPatrickGill/mos-6502-rusted on toolchain b1f2594eac607c1f051534800237eeedb5590a49 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/JamesPatrickGill/mos-6502-rusted 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" "+b1f2594eac607c1f051534800237eeedb5590a49" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 18a439a0e9b645909bf8df560f476b5c268c23449b64a8724636f16a05bf1cdb [INFO] running `Command { std: "docker" "start" "-a" "18a439a0e9b645909bf8df560f476b5c268c23449b64a8724636f16a05bf1cdb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "18a439a0e9b645909bf8df560f476b5c268c23449b64a8724636f16a05bf1cdb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "18a439a0e9b645909bf8df560f476b5c268c23449b64a8724636f16a05bf1cdb", kill_on_drop: false }` [INFO] [stdout] 18a439a0e9b645909bf8df560f476b5c268c23449b64a8724636f16a05bf1cdb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:aa71247004a7fa38d13ec170f48f06cdedf5bc50b2a8645e56ed7e992e6fa513" "/opt/rustwide/cargo-home/bin/cargo" "+b1f2594eac607c1f051534800237eeedb5590a49" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 5aaf92e2d45d21408f5031ac254140812bd91a4fe6267521501b3095f0c8e991 [INFO] running `Command { std: "docker" "start" "-a" "5aaf92e2d45d21408f5031ac254140812bd91a4fe6267521501b3095f0c8e991", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.66 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Compiling log v0.4.8 [INFO] [stderr] Compiling maybe-uninit v2.0.0 [INFO] [stderr] Compiling byteorder v1.3.2 [INFO] [stderr] Compiling autocfg v0.1.7 [INFO] [stderr] Compiling pkg-config v0.3.17 [INFO] [stderr] Compiling semver-parser v0.7.0 [INFO] [stderr] Compiling cc v1.0.48 [INFO] [stderr] Compiling xml-rs v0.8.0 [INFO] [stderr] Checking arrayvec v0.5.1 [INFO] [stderr] Compiling nix v0.14.1 [INFO] [stderr] Checking void v1.0.2 [INFO] [stderr] Checking scopeguard v1.0.0 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Compiling semver v0.9.0 [INFO] [stderr] Checking lazycell v1.2.1 [INFO] [stderr] Checking lock_api v0.3.2 [INFO] [stderr] Checking downcast-rs v1.1.1 [INFO] [stderr] Checking atom v0.3.5 [INFO] [stderr] Checking same-file v1.0.5 [INFO] [stderr] Checking hibitset v0.6.2 [INFO] [stderr] Checking smallvec v1.1.0 [INFO] [stderr] Checking xdg v2.2.0 [INFO] [stderr] Checking walkdir v2.2.9 [INFO] [stderr] Checking relevant v0.4.2 [INFO] [stderr] Checking smallvec v0.6.13 [INFO] [stderr] Checking colorful v0.2.1 [INFO] [stderr] Compiling num-traits v0.2.10 [INFO] [stderr] Checking vec_map v0.8.1 [INFO] [stderr] Checking copyless v0.1.4 [INFO] [stderr] Checking percent-encoding v2.1.0 [INFO] [stderr] Compiling rustc_version v0.2.3 [INFO] [stderr] Checking instant v0.1.2 [INFO] [stderr] Checking hex v0.4.0 [INFO] [stderr] Compiling x11 v2.18.1 [INFO] [stderr] Compiling x11-dl v2.18.4 [INFO] [stderr] Checking bit-vec v0.6.1 [INFO] [stderr] Checking stb_truetype v0.3.1 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Checking raw-window-handle v0.3.3 [INFO] [stderr] Checking net2 v0.2.33 [INFO] [stderr] Checking iovec v0.1.4 [INFO] [stderr] Checking shared_library v0.1.9 [INFO] [stderr] Checking parking_lot_core v0.7.0 [INFO] [stderr] Checking memmap v0.7.0 [INFO] [stderr] Checking mio v0.6.21 [INFO] [stderr] Checking gfx-hal v0.4.1 [INFO] [stderr] Checking ash v0.29.0 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Checking parking_lot v0.10.0 [INFO] [stderr] Compiling libloading v0.5.2 [INFO] [stderr] Compiling wayland-scanner v0.23.6 [INFO] [stderr] Checking dlib v0.4.1 [INFO] [stderr] Checking ordered-float v1.0.2 [INFO] [stderr] Checking approx v0.3.2 [INFO] [stderr] Checking line_drawing v0.7.0 [INFO] [stderr] Checking wayland-sys v0.23.6 [INFO] [stderr] Checking rusttype v0.8.2 [INFO] [stderr] Checking mio-extras v2.0.6 [INFO] [stderr] Checking rusttype v0.7.9 [INFO] [stderr] Checking andrew v0.2.1 [INFO] [stderr] Compiling wayland-client v0.23.6 [INFO] [stderr] Compiling wayland-protocols v0.23.6 [INFO] [stderr] Checking calloop v0.4.4 [INFO] [stderr] Checking wayland-commons v0.23.6 [INFO] [stderr] Checking rendy-memory v0.5.2 [INFO] [stderr] Checking rendy-descriptor v0.5.1 [INFO] [stderr] Checking gfx-backend-empty v0.4.0 [INFO] [stderr] Compiling synstructure v0.10.2 [INFO] [stderr] Compiling zerocopy-derive v0.1.4 [INFO] [stderr] Checking zerocopy v0.2.8 [INFO] [stderr] Checking gfx-backend-vulkan v0.4.0 [INFO] [stderr] Checking wgpu-native v0.4.2 [INFO] [stderr] Checking wgpu v0.4.0 [INFO] [stderr] Checking pixels v0.0.2 [INFO] [stderr] Checking smithay-client-toolkit v0.6.4 [INFO] [stderr] Checking winit v0.20.0-alpha5 [INFO] [stderr] Checking winit_input_helper v0.4.0-alpha4 [INFO] [stderr] Checking mos-6502-rusted v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/bus.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | self.ram[(addr as usize)] = data; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 11 - self.ram[(addr as usize)] = data; [INFO] [stdout] 11 + self.ram[addr as usize ] = data; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/bus.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | self.ram[(addr as usize)] [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 15 - self.ram[(addr as usize)] [INFO] [stdout] 15 + self.ram[addr as usize ] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/bus.rs:11:18 [INFO] [stdout] | [INFO] [stdout] 11 | self.ram[(addr as usize)] = data; [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_parens)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 11 - self.ram[(addr as usize)] = data; [INFO] [stdout] 11 + self.ram[addr as usize ] = data; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unnecessary parentheses around index expression [INFO] [stdout] --> src/bus.rs:15:18 [INFO] [stdout] | [INFO] [stdout] 15 | self.ram[(addr as usize)] [INFO] [stdout] | ^ ^ [INFO] [stdout] | [INFO] [stdout] help: remove these parentheses [INFO] [stdout] | [INFO] [stdout] 15 - self.ram[(addr as usize)] [INFO] [stdout] 15 + self.ram[addr as usize ] [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/cpu.rs:440:85 [INFO] [stdout] | [INFO] [stdout] 440 | if self.lookup[self.opcode as usize].addrmode as usize != cpu_addrmode::IMP as usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(function_casts_as_integer)]` on by default [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 440 | if self.lookup[self.opcode as usize].addrmode as usize != cpu_addrmode::IMP as *const () as usize { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/cpu.rs:464:96 [INFO] [stdout] | [INFO] [stdout] 464 | if self.lookup[op_for_disassemble as usize].addrmode as usize == cpu_addrmode::IMP as usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 464 | if self.lookup[op_for_disassemble as usize].addrmode as usize == cpu_addrmode::IMP as *const () as usize { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/cpu.rs:467:38 [INFO] [stdout] | [INFO] [stdout] 467 | == cpu_addrmode::IMM as usize [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 467 | == cpu_addrmode::IMM as *const () as usize [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/cpu.rs:473:38 [INFO] [stdout] | [INFO] [stdout] 473 | == cpu_addrmode::ZP0 as usize [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 473 | == cpu_addrmode::ZP0 as *const () as usize [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/cpu.rs:479:38 [INFO] [stdout] | [INFO] [stdout] 479 | == cpu_addrmode::ZPX as usize [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 479 | == cpu_addrmode::ZPX as *const () as usize [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/cpu.rs:485:38 [INFO] [stdout] | [INFO] [stdout] 485 | == cpu_addrmode::ZPY as usize [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 485 | == cpu_addrmode::ZPY as *const () as usize [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/cpu.rs:491:38 [INFO] [stdout] | [INFO] [stdout] 491 | == cpu_addrmode::IZX as usize [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 491 | == cpu_addrmode::IZX as *const () as usize [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/cpu.rs:497:38 [INFO] [stdout] | [INFO] [stdout] 497 | == cpu_addrmode::IZY as usize [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 497 | == cpu_addrmode::IZY as *const () as usize [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/cpu.rs:503:38 [INFO] [stdout] | [INFO] [stdout] 503 | == cpu_addrmode::ABS as usize [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 503 | == cpu_addrmode::ABS as *const () as usize [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/cpu.rs:511:38 [INFO] [stdout] | [INFO] [stdout] 511 | == cpu_addrmode::ABX as usize [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 511 | == cpu_addrmode::ABX as *const () as usize [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/cpu.rs:519:38 [INFO] [stdout] | [INFO] [stdout] 519 | == cpu_addrmode::ABY as usize [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 519 | == cpu_addrmode::ABY as *const () as usize [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/cpu.rs:527:38 [INFO] [stdout] | [INFO] [stdout] 527 | == cpu_addrmode::IND as usize [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 527 | == cpu_addrmode::IND as *const () as usize [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/cpu.rs:535:38 [INFO] [stdout] | [INFO] [stdout] 535 | == cpu_addrmode::REL as usize [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 535 | == cpu_addrmode::REL as *const () as usize [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/cpu_ops.rs:61:79 [INFO] [stdout] | [INFO] [stdout] 61 | if cpu.lookup[cpu.opcode as usize].addrmode as usize == cpu_addrmode::IMP as usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 61 | if cpu.lookup[cpu.opcode as usize].addrmode as usize == cpu_addrmode::IMP as *const () as usize { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/cpu_ops.rs:348:79 [INFO] [stdout] | [INFO] [stdout] 348 | if cpu.lookup[cpu.opcode as usize].addrmode as usize == cpu_addrmode::IMP as usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 348 | if cpu.lookup[cpu.opcode as usize].addrmode as usize == cpu_addrmode::IMP as *const () as usize { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/cpu_ops.rs:405:79 [INFO] [stdout] | [INFO] [stdout] 405 | if cpu.lookup[cpu.opcode as usize].addrmode as usize == cpu_addrmode::IMP as usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 405 | if cpu.lookup[cpu.opcode as usize].addrmode as usize == cpu_addrmode::IMP as *const () as usize { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/cpu_ops.rs:418:79 [INFO] [stdout] | [INFO] [stdout] 418 | if cpu.lookup[cpu.opcode as usize].addrmode as usize == cpu_addrmode::IMP as usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 418 | if cpu.lookup[cpu.opcode as usize].addrmode as usize == cpu_addrmode::IMP as *const () as usize { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/cpu.rs:440:85 [INFO] [stdout] | [INFO] [stdout] 440 | if self.lookup[self.opcode as usize].addrmode as usize != cpu_addrmode::IMP as usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(function_casts_as_integer)]` on by default [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 440 | if self.lookup[self.opcode as usize].addrmode as usize != cpu_addrmode::IMP as *const () as usize { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/cpu.rs:464:96 [INFO] [stdout] | [INFO] [stdout] 464 | if self.lookup[op_for_disassemble as usize].addrmode as usize == cpu_addrmode::IMP as usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 464 | if self.lookup[op_for_disassemble as usize].addrmode as usize == cpu_addrmode::IMP as *const () as usize { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/cpu.rs:467:38 [INFO] [stdout] | [INFO] [stdout] 467 | == cpu_addrmode::IMM as usize [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 467 | == cpu_addrmode::IMM as *const () as usize [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/cpu.rs:473:38 [INFO] [stdout] | [INFO] [stdout] 473 | == cpu_addrmode::ZP0 as usize [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 473 | == cpu_addrmode::ZP0 as *const () as usize [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/cpu.rs:479:38 [INFO] [stdout] | [INFO] [stdout] 479 | == cpu_addrmode::ZPX as usize [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 479 | == cpu_addrmode::ZPX as *const () as usize [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/cpu.rs:485:38 [INFO] [stdout] | [INFO] [stdout] 485 | == cpu_addrmode::ZPY as usize [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 485 | == cpu_addrmode::ZPY as *const () as usize [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/cpu.rs:491:38 [INFO] [stdout] | [INFO] [stdout] 491 | == cpu_addrmode::IZX as usize [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 491 | == cpu_addrmode::IZX as *const () as usize [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/cpu.rs:497:38 [INFO] [stdout] | [INFO] [stdout] 497 | == cpu_addrmode::IZY as usize [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 497 | == cpu_addrmode::IZY as *const () as usize [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/cpu.rs:503:38 [INFO] [stdout] | [INFO] [stdout] 503 | == cpu_addrmode::ABS as usize [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 503 | == cpu_addrmode::ABS as *const () as usize [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/cpu.rs:511:38 [INFO] [stdout] | [INFO] [stdout] 511 | == cpu_addrmode::ABX as usize [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 511 | == cpu_addrmode::ABX as *const () as usize [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/cpu.rs:519:38 [INFO] [stdout] | [INFO] [stdout] 519 | == cpu_addrmode::ABY as usize [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 519 | == cpu_addrmode::ABY as *const () as usize [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/cpu.rs:527:38 [INFO] [stdout] | [INFO] [stdout] 527 | == cpu_addrmode::IND as usize [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 527 | == cpu_addrmode::IND as *const () as usize [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/cpu.rs:535:38 [INFO] [stdout] | [INFO] [stdout] 535 | == cpu_addrmode::REL as usize [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 535 | == cpu_addrmode::REL as *const () as usize [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/cpu_ops.rs:61:79 [INFO] [stdout] | [INFO] [stdout] 61 | if cpu.lookup[cpu.opcode as usize].addrmode as usize == cpu_addrmode::IMP as usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 61 | if cpu.lookup[cpu.opcode as usize].addrmode as usize == cpu_addrmode::IMP as *const () as usize { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/cpu_ops.rs:348:79 [INFO] [stdout] | [INFO] [stdout] 348 | if cpu.lookup[cpu.opcode as usize].addrmode as usize == cpu_addrmode::IMP as usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 348 | if cpu.lookup[cpu.opcode as usize].addrmode as usize == cpu_addrmode::IMP as *const () as usize { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/cpu_ops.rs:405:79 [INFO] [stdout] | [INFO] [stdout] 405 | if cpu.lookup[cpu.opcode as usize].addrmode as usize == cpu_addrmode::IMP as usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 405 | if cpu.lookup[cpu.opcode as usize].addrmode as usize == cpu_addrmode::IMP as *const () as usize { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: direct cast of function item into an integer [INFO] [stdout] --> src/cpu_ops.rs:418:79 [INFO] [stdout] | [INFO] [stdout] 418 | if cpu.lookup[cpu.opcode as usize].addrmode as usize == cpu_addrmode::IMP as usize { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: first cast to a pointer `as *const ()` [INFO] [stdout] | [INFO] [stdout] 418 | if cpu.lookup[cpu.opcode as usize].addrmode as usize == cpu_addrmode::IMP as *const () as usize { [INFO] [stdout] | ++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 39.34s [INFO] running `Command { std: "docker" "inspect" "5aaf92e2d45d21408f5031ac254140812bd91a4fe6267521501b3095f0c8e991", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5aaf92e2d45d21408f5031ac254140812bd91a4fe6267521501b3095f0c8e991", kill_on_drop: false }` [INFO] [stdout] 5aaf92e2d45d21408f5031ac254140812bd91a4fe6267521501b3095f0c8e991