[INFO] cloning repository https://github.com/cbeust/space-invade.rs [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/cbeust/space-invade.rs" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcbeust%2Fspace-invade.rs", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcbeust%2Fspace-invade.rs'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] bb75b1bd1e931f71c257b95c7993260fc0c2acbc [INFO] checking cbeust/space-invade.rs against try#8de4b308b608cded0ebccf658a0fc719bce87d4e for pr-89056 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fcbeust%2Fspace-invade.rs" "/workspace/builds/worker-5/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-5/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/cbeust/space-invade.rs on toolchain 8de4b308b608cded0ebccf658a0fc719bce87d4e [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/cbeust/space-invade.rs [INFO] finished tweaking git repo https://github.com/cbeust/space-invade.rs [INFO] tweaked toml for git repo https://github.com/cbeust/space-invade.rs written to /workspace/builds/worker-5/source/Cargo.toml [INFO] crate git repo https://github.com/cbeust/space-invade.rs already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-5/source/emulator/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-5/source/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /workspace/builds/worker-5/source/wasm-space-invaders/Cargo.toml [INFO] [stderr] workspace: /workspace/builds/worker-5/source/Cargo.toml [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded wasm-bindgen-test-macro v0.3.28 [INFO] [stderr] Downloaded wasm-bindgen-test v0.3.28 [INFO] [stderr] Downloaded sdl2-sys v0.34.5 [INFO] [stderr] Downloaded sdl2 v0.34.5 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] 7900d9e198993b5373431205ba6919d90824ebd76591a61e5547c5ddbb0e3c26 [INFO] running `Command { std: "docker" "start" "-a" "7900d9e198993b5373431205ba6919d90824ebd76591a61e5547c5ddbb0e3c26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "7900d9e198993b5373431205ba6919d90824ebd76591a61e5547c5ddbb0e3c26", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7900d9e198993b5373431205ba6919d90824ebd76591a61e5547c5ddbb0e3c26", kill_on_drop: false }` [INFO] [stdout] 7900d9e198993b5373431205ba6919d90824ebd76591a61e5547c5ddbb0e3c26 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-5/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" "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:a89201d6b5b9fd45c15d5952ece0a0129e7e80cb26ec023fd59cf09bc26f1604" "/opt/rustwide/cargo-home/bin/cargo" "+8de4b308b608cded0ebccf658a0fc719bce87d4e" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 655ee5af6ddcc0a1d6fcc42c3a09d94db7717df951f2c3e7f63b33ebc8847624 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "655ee5af6ddcc0a1d6fcc42c3a09d94db7717df951f2c3e7f63b33ebc8847624", kill_on_drop: false }` [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/emulator/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] warning: profiles for the non root package will be ignored, specify profiles at the workspace root: [INFO] [stderr] package: /opt/rustwide/workdir/wasm-space-invaders/Cargo.toml [INFO] [stderr] workspace: /opt/rustwide/workdir/Cargo.toml [INFO] [stderr] Compiling proc-macro2 v1.0.29 [INFO] [stderr] Compiling cfg-if v1.0.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling wasm-bindgen v0.2.78 [INFO] [stderr] Checking once_cell v1.8.0 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling libc v0.2.99 [INFO] [stderr] Checking scoped-tls v1.0.0 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling sdl2-sys v0.34.5 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling sdl2 v0.34.5 [INFO] [stderr] Compiling quote v1.0.9 [INFO] [stderr] Compiling syn v1.0.76 [INFO] [stderr] Compiling wasm-bindgen-test-macro v0.3.28 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.78 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.78 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.78 [INFO] [stderr] Checking emulator v0.1.0 (/opt/rustwide/workdir/emulator) [INFO] [stderr] Checking js-sys v0.3.55 [INFO] [stderr] Checking console_error_panic_hook v0.1.6 [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> emulator/src/memory.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::listener::Listener` [INFO] [stdout] --> emulator/src/memory.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use crate::listener::Listener; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Mutex` [INFO] [stdout] --> emulator/src/memory.rs:5:17 [INFO] [stdout] | [INFO] [stdout] 5 | use std::sync::{Mutex, RwLock}; [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::Read` [INFO] [stdout] --> emulator/src/memory.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::io::Read; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_verbose` [INFO] [stdout] --> emulator/src/memory.rs:37:19 [INFO] [stdout] | [INFO] [stdout] 37 | pub(crate) fn set_verbose(&mut self, v: bool) { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `set_flags` [INFO] [stdout] --> emulator/src/state.rs:24:19 [INFO] [stdout] | [INFO] [stdout] 24 | pub(crate) fn set_flags(&mut self, value: u8) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `value` [INFO] [stdout] --> emulator/src/state.rs:32:19 [INFO] [stdout] | [INFO] [stdout] 32 | pub(crate) fn value(&self) -> u16 { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `new` [INFO] [stdout] --> emulator/src/state.rs:66:19 [INFO] [stdout] | [INFO] [stdout] 66 | pub(crate) fn new(pc: usize) -> Cpu { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 8 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking wasm-space-invaders v0.1.0 (/opt/rustwide/workdir/wasm-space-invaders) [INFO] [stderr] Checking space-invaders v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `emulator::memory::Memory` [INFO] [stdout] --> src/sdl2.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use emulator::memory::Memory; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Mutex` [INFO] [stdout] --> src/sdl2.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lazy_static::lazy_static` [INFO] [stdout] --> src/emulator2.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use lazy_static::lazy_static; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Mutex` [INFO] [stdout] --> src/emulator2.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `emulator::opcodes::STA` [INFO] [stdout] --> src/emulator2.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use emulator::opcodes::STA; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function is never used: `set_panic_hook` [INFO] [stdout] --> wasm-space-invaders/src/utils.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | pub fn set_panic_hook() { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `emulator::memory::Memory` [INFO] [stdout] --> src/sdl2.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use emulator::memory::Memory; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Mutex` [INFO] [stdout] --> src/sdl2.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | use std::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `lazy_static::lazy_static` [INFO] [stdout] --> src/emulator2.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use lazy_static::lazy_static; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::sync::Mutex` [INFO] [stdout] --> src/emulator2.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use std::sync::Mutex; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `emulator::opcodes::STA` [INFO] [stdout] --> src/emulator2.rs:9:5 [INFO] [stdout] | [INFO] [stdout] 9 | use emulator::opcodes::STA; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `memory` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:271:22 [INFO] [stdout] | [INFO] [stdout] 271 | self.memory.write(word, cpu.l); [INFO] [stdout] | ^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 271 | self.memory().write(word, cpu.l); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `memory` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:272:22 [INFO] [stdout] | [INFO] [stdout] 272 | self.memory.write(word + 1, cpu.h); [INFO] [stdout] | ^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 272 | self.memory().write(word + 1, cpu.h); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `memory` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:280:22 [INFO] [stdout] | [INFO] [stdout] 280 | self.memory.write(word, cpu.psw.a); [INFO] [stdout] | ^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 280 | self.memory().write(word, cpu.psw.a); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `memory` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:312:22 [INFO] [stdout] | [INFO] [stdout] 312 | self.memory.write(cpu.m(), byte1); [INFO] [stdout] | ^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 312 | self.memory().write(cpu.m(), byte1); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `memory` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:344:22 [INFO] [stdout] | [INFO] [stdout] 344 | self.memory.write(cpu.m(), cpu.inr(self.read_memory(cpu.m()))); [INFO] [stdout] | ^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 344 | self.memory().write(cpu.m(), cpu.inr(self.read_memory(cpu.m()))); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `memory` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:376:22 [INFO] [stdout] | [INFO] [stdout] 376 | self.memory.write(cpu.m(), cpu.dec(self.read_memory(cpu.m()))); [INFO] [stdout] | ^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 376 | self.memory().write(cpu.m(), cpu.dec(self.read_memory(cpu.m()))); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `memory` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:548:22 [INFO] [stdout] | [INFO] [stdout] 548 | self.memory.write(cpu.m(), cpu.b); [INFO] [stdout] | ^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 548 | self.memory().write(cpu.m(), cpu.b); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `memory` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:552:22 [INFO] [stdout] | [INFO] [stdout] 552 | self.memory.write(cpu.m(), cpu.c); [INFO] [stdout] | ^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 552 | self.memory().write(cpu.m(), cpu.c); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `memory` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:556:22 [INFO] [stdout] | [INFO] [stdout] 556 | self.memory.write(cpu.m(), cpu.d); [INFO] [stdout] | ^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 556 | self.memory().write(cpu.m(), cpu.d); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `memory` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:560:22 [INFO] [stdout] | [INFO] [stdout] 560 | self.memory.write(cpu.m(), cpu.e); [INFO] [stdout] | ^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 560 | self.memory().write(cpu.m(), cpu.e); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `memory` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:564:22 [INFO] [stdout] | [INFO] [stdout] 564 | self.memory.write(cpu.m(), cpu.h); [INFO] [stdout] | ^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 564 | self.memory().write(cpu.m(), cpu.h); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `memory` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:568:22 [INFO] [stdout] | [INFO] [stdout] 568 | self.memory.write(cpu.m(), cpu.l); [INFO] [stdout] | ^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 568 | self.memory().write(cpu.m(), cpu.l); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `memory` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:573:22 [INFO] [stdout] | [INFO] [stdout] 573 | self.memory.write(cpu.m(), cpu.psw.a); [INFO] [stdout] | ^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 573 | self.memory().write(cpu.m(), cpu.psw.a); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `memory` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:271:22 [INFO] [stdout] | [INFO] [stdout] 271 | self.memory.write(word, cpu.l); [INFO] [stdout] | ^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 271 | self.memory().write(word, cpu.l); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `memory` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:272:22 [INFO] [stdout] | [INFO] [stdout] 272 | self.memory.write(word + 1, cpu.h); [INFO] [stdout] | ^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 272 | self.memory().write(word + 1, cpu.h); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `memory` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:280:22 [INFO] [stdout] | [INFO] [stdout] 280 | self.memory.write(word, cpu.psw.a); [INFO] [stdout] | ^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 280 | self.memory().write(word, cpu.psw.a); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `memory` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:312:22 [INFO] [stdout] | [INFO] [stdout] 312 | self.memory.write(cpu.m(), byte1); [INFO] [stdout] | ^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 312 | self.memory().write(cpu.m(), byte1); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `memory` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:344:22 [INFO] [stdout] | [INFO] [stdout] 344 | self.memory.write(cpu.m(), cpu.inr(self.read_memory(cpu.m()))); [INFO] [stdout] | ^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 344 | self.memory().write(cpu.m(), cpu.inr(self.read_memory(cpu.m()))); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `memory` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:376:22 [INFO] [stdout] | [INFO] [stdout] 376 | self.memory.write(cpu.m(), cpu.dec(self.read_memory(cpu.m()))); [INFO] [stdout] | ^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 376 | self.memory().write(cpu.m(), cpu.dec(self.read_memory(cpu.m()))); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `memory` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:548:22 [INFO] [stdout] | [INFO] [stdout] 548 | self.memory.write(cpu.m(), cpu.b); [INFO] [stdout] | ^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 548 | self.memory().write(cpu.m(), cpu.b); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `memory` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:552:22 [INFO] [stdout] | [INFO] [stdout] 552 | self.memory.write(cpu.m(), cpu.c); [INFO] [stdout] | ^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 552 | self.memory().write(cpu.m(), cpu.c); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `memory` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:556:22 [INFO] [stdout] | [INFO] [stdout] 556 | self.memory.write(cpu.m(), cpu.d); [INFO] [stdout] | ^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 556 | self.memory().write(cpu.m(), cpu.d); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `memory` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:560:22 [INFO] [stdout] | [INFO] [stdout] 560 | self.memory.write(cpu.m(), cpu.e); [INFO] [stdout] | ^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 560 | self.memory().write(cpu.m(), cpu.e); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `memory` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:564:22 [INFO] [stdout] | [INFO] [stdout] 564 | self.memory.write(cpu.m(), cpu.h); [INFO] [stdout] | ^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 564 | self.memory().write(cpu.m(), cpu.h); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `memory` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:568:22 [INFO] [stdout] | [INFO] [stdout] 568 | self.memory.write(cpu.m(), cpu.l); [INFO] [stdout] | ^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 568 | self.memory().write(cpu.m(), cpu.l); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `memory` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:573:22 [INFO] [stdout] | [INFO] [stdout] 573 | self.memory.write(cpu.m(), cpu.psw.a); [INFO] [stdout] | ^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 573 | self.memory().write(cpu.m(), cpu.psw.a); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `output_buffer` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:796:47 [INFO] [stdout] | [INFO] [stdout] 796 | let output: String = self.output_buffer.clone().into_iter().collect(); [INFO] [stdout] | ^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `paused` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `memory` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:805:53 [INFO] [stdout] | [INFO] [stdout] 805 | pc_was_assigned = cpu.ret(&mut self.memory, ! cpu.psw.parity); [INFO] [stdout] | ^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 805 | pc_was_assigned = cpu.ret(&mut self.memory(), ! cpu.psw.parity); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `memory` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:809:53 [INFO] [stdout] | [INFO] [stdout] 809 | pc_was_assigned = cpu.ret(&mut self.memory, cpu.psw.parity); [INFO] [stdout] | ^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 809 | pc_was_assigned = cpu.ret(&mut self.memory(), cpu.psw.parity); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `memory` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:813:53 [INFO] [stdout] | [INFO] [stdout] 813 | pc_was_assigned = cpu.ret(&mut self.memory, ! cpu.psw.carry); [INFO] [stdout] | ^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 813 | pc_was_assigned = cpu.ret(&mut self.memory(), ! cpu.psw.carry); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `memory` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:817:53 [INFO] [stdout] | [INFO] [stdout] 817 | pc_was_assigned = cpu.ret(&mut self.memory, cpu.psw.carry); [INFO] [stdout] | ^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 817 | pc_was_assigned = cpu.ret(&mut self.memory(), cpu.psw.carry); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `memory` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:821:53 [INFO] [stdout] | [INFO] [stdout] 821 | pc_was_assigned = cpu.ret(&mut self.memory, ! cpu.psw.sign); [INFO] [stdout] | ^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 821 | pc_was_assigned = cpu.ret(&mut self.memory(), ! cpu.psw.sign); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `memory` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:825:53 [INFO] [stdout] | [INFO] [stdout] 825 | pc_was_assigned = cpu.ret(&mut self.memory, cpu.psw.sign); [INFO] [stdout] | ^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 825 | pc_was_assigned = cpu.ret(&mut self.memory(), cpu.psw.sign); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `memory` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:829:53 [INFO] [stdout] | [INFO] [stdout] 829 | pc_was_assigned = cpu.ret(&mut self.memory, cpu.psw.zero); [INFO] [stdout] | ^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 829 | pc_was_assigned = cpu.ret(&mut self.memory(), cpu.psw.zero); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `memory` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:833:53 [INFO] [stdout] | [INFO] [stdout] 833 | pc_was_assigned = cpu.ret(&mut self.memory, ! cpu.psw.zero); [INFO] [stdout] | ^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 833 | pc_was_assigned = cpu.ret(&mut self.memory(), ! cpu.psw.zero); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `memory` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:837:53 [INFO] [stdout] | [INFO] [stdout] 837 | pc_was_assigned = cpu.ret(&mut self.memory, true); [INFO] [stdout] | ^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 837 | pc_was_assigned = cpu.ret(&mut self.memory(), true); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `memory` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:859:22 [INFO] [stdout] | [INFO] [stdout] 859 | self.memory.write(cpu.sp - 1, cpu.b); [INFO] [stdout] | ^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 859 | self.memory().write(cpu.sp - 1, cpu.b); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `memory` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:860:22 [INFO] [stdout] | [INFO] [stdout] 860 | self.memory.write(cpu.sp - 2, cpu.c); [INFO] [stdout] | ^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 860 | self.memory().write(cpu.sp - 2, cpu.c); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `memory` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:865:22 [INFO] [stdout] | [INFO] [stdout] 865 | self.memory.write(cpu.sp - 1, cpu.d); [INFO] [stdout] | ^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 865 | self.memory().write(cpu.sp - 1, cpu.d); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `memory` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:866:22 [INFO] [stdout] | [INFO] [stdout] 866 | self.memory.write(cpu.sp - 2, cpu.e); [INFO] [stdout] | ^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 866 | self.memory().write(cpu.sp - 2, cpu.e); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `memory` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:871:22 [INFO] [stdout] | [INFO] [stdout] 871 | self.memory.write(cpu.sp - 1, cpu.h); [INFO] [stdout] | ^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 871 | self.memory().write(cpu.sp - 1, cpu.h); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `memory` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:872:22 [INFO] [stdout] | [INFO] [stdout] 872 | self.memory.write(cpu.sp - 2, cpu.l); [INFO] [stdout] | ^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 872 | self.memory().write(cpu.sp - 2, cpu.l); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `memory` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:885:40 [INFO] [stdout] | [INFO] [stdout] 885 | cpu.call(&mut self.memory, word); [INFO] [stdout] | ^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 885 | cpu.call(&mut self.memory(), word); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `memory` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:892:40 [INFO] [stdout] | [INFO] [stdout] 892 | cpu.call(&mut self.memory, word); [INFO] [stdout] | ^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 892 | cpu.call(&mut self.memory(), word); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `memory` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:899:40 [INFO] [stdout] | [INFO] [stdout] 899 | cpu.call(&mut self.memory, word); [INFO] [stdout] | ^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 899 | cpu.call(&mut self.memory(), word); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `memory` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:906:40 [INFO] [stdout] | [INFO] [stdout] 906 | cpu.call(&mut self.memory, word); [INFO] [stdout] | ^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 906 | cpu.call(&mut self.memory(), word); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `memory` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:913:40 [INFO] [stdout] | [INFO] [stdout] 913 | cpu.call(&mut self.memory, word); [INFO] [stdout] | ^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 913 | cpu.call(&mut self.memory(), word); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `memory` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:920:40 [INFO] [stdout] | [INFO] [stdout] 920 | cpu.call(&mut self.memory, word); [INFO] [stdout] | ^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 920 | cpu.call(&mut self.memory(), word); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `memory` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:927:40 [INFO] [stdout] | [INFO] [stdout] 927 | cpu.call(&mut self.memory, word); [INFO] [stdout] | ^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 927 | cpu.call(&mut self.memory(), word); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `memory` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:981:48 [INFO] [stdout] | [INFO] [stdout] 981 | ... cpu.call(&mut self.memory, word); [INFO] [stdout] | ^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 981 | cpu.call(&mut self.memory(), word); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `memory` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:985:44 [INFO] [stdout] | [INFO] [stdout] 985 | cpu.call(&mut self.memory, word); [INFO] [stdout] | ^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 985 | cpu.call(&mut self.memory(), word); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `memory` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:989:40 [INFO] [stdout] | [INFO] [stdout] 989 | cpu.call(&mut self.memory, word); [INFO] [stdout] | ^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 989 | cpu.call(&mut self.memory(), word); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `memory` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:1107:22 [INFO] [stdout] | [INFO] [stdout] 1107 | self.memory.write(cpu.sp, cpu.l); [INFO] [stdout] | ^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 1107 | self.memory().write(cpu.sp, cpu.l); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `memory` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:1110:22 [INFO] [stdout] | [INFO] [stdout] 1110 | self.memory.write(cpu.sp + 1, cpu.h); [INFO] [stdout] | ^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 1110 | self.memory().write(cpu.sp + 1, cpu.h); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `memory` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:1156:22 [INFO] [stdout] | [INFO] [stdout] 1156 | self.memory.write(cpu.sp - 1, cpu.psw.a); [INFO] [stdout] | ^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 1156 | self.memory().write(cpu.sp - 1, cpu.psw.a); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `memory` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:1157:22 [INFO] [stdout] | [INFO] [stdout] 1157 | self.memory.write(cpu.sp - 2, (cpu.psw.value() & 0xff) as u8); [INFO] [stdout] | ^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 1157 | self.memory().write(cpu.sp - 2, (cpu.psw.value() & 0xff) as u8); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: associated function `value` is private [INFO] [stdout] --> src/emulator2.rs:1157:56 [INFO] [stdout] | [INFO] [stdout] 1157 | self.memory.write(cpu.sp - 2, (cpu.psw.value() & 0xff) as u8); [INFO] [stdout] | ^^^^^ private associated function [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/emulator/src/state.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub(crate) fn value(&self) -> u16 { [INFO] [stdout] | --------------------------------- private associated function defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: associated function `set_flags` is private [INFO] [stdout] --> src/emulator2.rs:1163:25 [INFO] [stdout] | [INFO] [stdout] 1163 | cpu.psw.set_flags(self.read_memory(cpu.sp)); [INFO] [stdout] | ^^^^^^^^^ private associated function [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/emulator/src/state.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub(crate) fn set_flags(&mut self, value: u8) { [INFO] [stdout] | --------------------------------------------- private associated function defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `shift_register_offset` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:1223:30 [INFO] [stdout] | [INFO] [stdout] 1223 | self.shift_register_offset = cpu.psw.a & 0x7; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `paused` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `shift_register` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:1229:30 [INFO] [stdout] | [INFO] [stdout] 1229 | self.shift_register = ((cpu.psw.a as u16) << 8) [INFO] [stdout] | ^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `paused` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `shift_register` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:1230:37 [INFO] [stdout] | [INFO] [stdout] 1230 | ... | (self.shift_register >> 8) [INFO] [stdout] | ^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `paused` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `memory` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:1247:42 [INFO] [stdout] | [INFO] [stdout] 1247 | cpu.psw.a = self.memory.listener.unwrap().lock().unwrap().get_in_1(); [INFO] [stdout] | ^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 1247 | cpu.psw.a = self.memory().listener.unwrap().lock().unwrap().get_in_1(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `memory` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:1250:42 [INFO] [stdout] | [INFO] [stdout] 1250 | cpu.psw.a = self.memory.listener.unwrap().lock().unwrap().get_in_2(); [INFO] [stdout] | ^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 1250 | cpu.psw.a = self.memory().listener.unwrap().lock().unwrap().get_in_2(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `shift_register_offset` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:1253:53 [INFO] [stdout] | [INFO] [stdout] 1253 | let shift_amount = 8 - self.shift_register_offset; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `paused` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `shift_register` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:1254:43 [INFO] [stdout] | [INFO] [stdout] 1254 | cpu.psw.a = (self.shift_register >> shift_amount) as u8; [INFO] [stdout] | ^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `paused` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `memory` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:1263:36 [INFO] [stdout] | [INFO] [stdout] 1263 | cpu.call(&mut self.memory, 1 * 8); [INFO] [stdout] | ^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 1263 | cpu.call(&mut self.memory(), 1 * 8); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `memory` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:1268:36 [INFO] [stdout] | [INFO] [stdout] 1268 | cpu.call(&mut self.memory, 2 * 8); [INFO] [stdout] | ^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 1268 | cpu.call(&mut self.memory(), 2 * 8); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `memory` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:1273:36 [INFO] [stdout] | [INFO] [stdout] 1273 | cpu.call(&mut self.memory, 7 * 8); [INFO] [stdout] | ^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 1273 | cpu.call(&mut self.memory(), 7 * 8); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0616]: field `size` of struct `Opcode` is private [INFO] [stdout] --> src/emulator2.rs:1281:30 [INFO] [stdout] | [INFO] [stdout] 1281 | cpu.pc += opcode.size; [INFO] [stdout] | ^^^^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `output_buffer` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:796:47 [INFO] [stdout] | [INFO] [stdout] 796 | let output: String = self.output_buffer.clone().into_iter().collect(); [INFO] [stdout] | ^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `paused` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `memory` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:805:53 [INFO] [stdout] | [INFO] [stdout] 805 | pc_was_assigned = cpu.ret(&mut self.memory, ! cpu.psw.parity); [INFO] [stdout] | ^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 805 | pc_was_assigned = cpu.ret(&mut self.memory(), ! cpu.psw.parity); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `memory` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:809:53 [INFO] [stdout] | [INFO] [stdout] 809 | pc_was_assigned = cpu.ret(&mut self.memory, cpu.psw.parity); [INFO] [stdout] | ^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 809 | pc_was_assigned = cpu.ret(&mut self.memory(), cpu.psw.parity); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `memory` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:813:53 [INFO] [stdout] | [INFO] [stdout] 813 | pc_was_assigned = cpu.ret(&mut self.memory, ! cpu.psw.carry); [INFO] [stdout] | ^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 813 | pc_was_assigned = cpu.ret(&mut self.memory(), ! cpu.psw.carry); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `memory` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:817:53 [INFO] [stdout] | [INFO] [stdout] 817 | pc_was_assigned = cpu.ret(&mut self.memory, cpu.psw.carry); [INFO] [stdout] | ^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 817 | pc_was_assigned = cpu.ret(&mut self.memory(), cpu.psw.carry); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `memory` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:821:53 [INFO] [stdout] | [INFO] [stdout] 821 | pc_was_assigned = cpu.ret(&mut self.memory, ! cpu.psw.sign); [INFO] [stdout] | ^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 821 | pc_was_assigned = cpu.ret(&mut self.memory(), ! cpu.psw.sign); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `memory` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:825:53 [INFO] [stdout] | [INFO] [stdout] 825 | pc_was_assigned = cpu.ret(&mut self.memory, cpu.psw.sign); [INFO] [stdout] | ^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 825 | pc_was_assigned = cpu.ret(&mut self.memory(), cpu.psw.sign); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `memory` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:829:53 [INFO] [stdout] | [INFO] [stdout] 829 | pc_was_assigned = cpu.ret(&mut self.memory, cpu.psw.zero); [INFO] [stdout] | ^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 829 | pc_was_assigned = cpu.ret(&mut self.memory(), cpu.psw.zero); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `memory` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:833:53 [INFO] [stdout] | [INFO] [stdout] 833 | pc_was_assigned = cpu.ret(&mut self.memory, ! cpu.psw.zero); [INFO] [stdout] | ^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 833 | pc_was_assigned = cpu.ret(&mut self.memory(), ! cpu.psw.zero); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `memory` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:837:53 [INFO] [stdout] | [INFO] [stdout] 837 | pc_was_assigned = cpu.ret(&mut self.memory, true); [INFO] [stdout] | ^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 837 | pc_was_assigned = cpu.ret(&mut self.memory(), true); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `memory` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:859:22 [INFO] [stdout] | [INFO] [stdout] 859 | self.memory.write(cpu.sp - 1, cpu.b); [INFO] [stdout] | ^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 859 | self.memory().write(cpu.sp - 1, cpu.b); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `memory` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:860:22 [INFO] [stdout] | [INFO] [stdout] 860 | self.memory.write(cpu.sp - 2, cpu.c); [INFO] [stdout] | ^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 860 | self.memory().write(cpu.sp - 2, cpu.c); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `memory` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:865:22 [INFO] [stdout] | [INFO] [stdout] 865 | self.memory.write(cpu.sp - 1, cpu.d); [INFO] [stdout] | ^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 865 | self.memory().write(cpu.sp - 1, cpu.d); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `memory` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:866:22 [INFO] [stdout] | [INFO] [stdout] 866 | self.memory.write(cpu.sp - 2, cpu.e); [INFO] [stdout] | ^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 866 | self.memory().write(cpu.sp - 2, cpu.e); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `memory` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:871:22 [INFO] [stdout] | [INFO] [stdout] 871 | self.memory.write(cpu.sp - 1, cpu.h); [INFO] [stdout] | ^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 871 | self.memory().write(cpu.sp - 1, cpu.h); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `memory` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:872:22 [INFO] [stdout] | [INFO] [stdout] 872 | self.memory.write(cpu.sp - 2, cpu.l); [INFO] [stdout] | ^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 872 | self.memory().write(cpu.sp - 2, cpu.l); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `memory` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:885:40 [INFO] [stdout] | [INFO] [stdout] 885 | cpu.call(&mut self.memory, word); [INFO] [stdout] | ^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 885 | cpu.call(&mut self.memory(), word); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `state` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:1296:17 [INFO] [stdout] | [INFO] [stdout] 1296 | if self.state.as_ref().unwrap().enable_interrupts { [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `paused` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `memory` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:892:40 [INFO] [stdout] | [INFO] [stdout] 892 | cpu.call(&mut self.memory, word); [INFO] [stdout] | ^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 892 | cpu.call(&mut self.memory(), word); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `memory` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:899:40 [INFO] [stdout] | [INFO] [stdout] 899 | cpu.call(&mut self.memory, word); [INFO] [stdout] | ^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 899 | cpu.call(&mut self.memory(), word); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `state` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:1298:30 [INFO] [stdout] | [INFO] [stdout] 1298 | let state = self.state.as_mut().unwrap(); [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `paused` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `memory` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:906:40 [INFO] [stdout] | [INFO] [stdout] 906 | cpu.call(&mut self.memory, word); [INFO] [stdout] | ^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 906 | cpu.call(&mut self.memory(), word); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `memory` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:1299:18 [INFO] [stdout] | [INFO] [stdout] 1299 | self.memory.write(state.sp - 1, ((state.pc as u16 & 0xff00) >> 8) as u8); [INFO] [stdout] | ^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 1299 | self.memory().write(state.sp - 1, ((state.pc as u16 & 0xff00) >> 8) as u8); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `memory` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:913:40 [INFO] [stdout] | [INFO] [stdout] 913 | cpu.call(&mut self.memory, word); [INFO] [stdout] | ^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 913 | cpu.call(&mut self.memory(), word); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `memory` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:1300:18 [INFO] [stdout] | [INFO] [stdout] 1300 | self.memory.write(state.sp - 2, (state.pc as u16 & 0xff) as u8); [INFO] [stdout] | ^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 1300 | self.memory().write(state.sp - 2, (state.pc as u16 & 0xff) as u8); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `memory` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:920:40 [INFO] [stdout] | [INFO] [stdout] 920 | cpu.call(&mut self.memory, word); [INFO] [stdout] | ^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 920 | cpu.call(&mut self.memory(), word); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `memory` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:927:40 [INFO] [stdout] | [INFO] [stdout] 927 | cpu.call(&mut self.memory, word); [INFO] [stdout] | ^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 927 | cpu.call(&mut self.memory(), word); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `RwLockReadGuard<'_, State>` [INFO] [stdout] --> src/emulator2.rs:1346:9 [INFO] [stdout] | [INFO] [stdout] 1346 | SHARED_STATE.read().unwrap()[address] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `memory` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:981:48 [INFO] [stdout] | [INFO] [stdout] 981 | ... cpu.call(&mut self.memory, word); [INFO] [stdout] | ^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 981 | cpu.call(&mut self.memory(), word); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `memory` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:985:44 [INFO] [stdout] | [INFO] [stdout] 985 | cpu.call(&mut self.memory, word); [INFO] [stdout] | ^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 985 | cpu.call(&mut self.memory(), word); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `memory` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:989:40 [INFO] [stdout] | [INFO] [stdout] 989 | cpu.call(&mut self.memory, word); [INFO] [stdout] | ^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 989 | cpu.call(&mut self.memory(), word); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/emulator2.rs:1376:16 [INFO] [stdout] | [INFO] [stdout] 1376 | e2.run_one_frame(); [INFO] [stdout] | ^^^^^^^^^^^^^- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/emulator2.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | fn run_one_frame(&mut self, verbose: bool) -> u64; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `memory` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:1107:22 [INFO] [stdout] | [INFO] [stdout] 1107 | self.memory.write(cpu.sp, cpu.l); [INFO] [stdout] | ^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 1107 | self.memory().write(cpu.sp, cpu.l); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `memory` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:1110:22 [INFO] [stdout] | [INFO] [stdout] 1110 | self.memory.write(cpu.sp + 1, cpu.h); [INFO] [stdout] | ^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 1110 | self.memory().write(cpu.sp + 1, cpu.h); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `memory` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:1156:22 [INFO] [stdout] | [INFO] [stdout] 1156 | self.memory.write(cpu.sp - 1, cpu.psw.a); [INFO] [stdout] | ^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 1156 | self.memory().write(cpu.sp - 1, cpu.psw.a); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `memory` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:1157:22 [INFO] [stdout] | [INFO] [stdout] 1157 | self.memory.write(cpu.sp - 2, (cpu.psw.value() & 0xff) as u8); [INFO] [stdout] | ^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 1157 | self.memory().write(cpu.sp - 2, (cpu.psw.value() & 0xff) as u8); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/emulator2.rs:1385:12 [INFO] [stdout] | [INFO] [stdout] 1385 | e3.set_input_1(value); [INFO] [stdout] | ^^^^^^^^^^^ ----- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/emulator2.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | fn set_input_1(&mut self, bit: u8, value: bool); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: associated function `value` is private [INFO] [stdout] --> src/emulator2.rs:1157:56 [INFO] [stdout] | [INFO] [stdout] 1157 | self.memory.write(cpu.sp - 2, (cpu.psw.value() & 0xff) as u8); [INFO] [stdout] | ^^^^^ private associated function [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/emulator/src/state.rs:32:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub(crate) fn value(&self) -> u16 { [INFO] [stdout] | --------------------------------- private associated function defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0624]: associated function `set_flags` is private [INFO] [stdout] --> src/emulator2.rs:1163:25 [INFO] [stdout] | [INFO] [stdout] 1163 | cpu.psw.set_flags(self.read_memory(cpu.sp)); [INFO] [stdout] | ^^^^^^^^^ private associated function [INFO] [stdout] | [INFO] [stdout] ::: /opt/rustwide/workdir/emulator/src/state.rs:24:5 [INFO] [stdout] | [INFO] [stdout] 24 | pub(crate) fn set_flags(&mut self, value: u8) { [INFO] [stdout] | --------------------------------------------- private associated function defined here [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `shift_register_offset` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:1223:30 [INFO] [stdout] | [INFO] [stdout] 1223 | self.shift_register_offset = cpu.psw.a & 0x7; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `paused` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `shift_register` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:1229:30 [INFO] [stdout] | [INFO] [stdout] 1229 | self.shift_register = ((cpu.psw.a as u16) << 8) [INFO] [stdout] | ^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `paused` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `shift_register` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:1230:37 [INFO] [stdout] | [INFO] [stdout] 1230 | ... | (self.shift_register >> 8) [INFO] [stdout] | ^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `paused` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `memory` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:1247:42 [INFO] [stdout] | [INFO] [stdout] 1247 | cpu.psw.a = self.memory.listener.unwrap().lock().unwrap().get_in_1(); [INFO] [stdout] | ^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 1247 | cpu.psw.a = self.memory().listener.unwrap().lock().unwrap().get_in_1(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `memory` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:1250:42 [INFO] [stdout] | [INFO] [stdout] 1250 | cpu.psw.a = self.memory.listener.unwrap().lock().unwrap().get_in_2(); [INFO] [stdout] | ^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 1250 | cpu.psw.a = self.memory().listener.unwrap().lock().unwrap().get_in_2(); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `shift_register_offset` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:1253:53 [INFO] [stdout] | [INFO] [stdout] 1253 | let shift_amount = 8 - self.shift_register_offset; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `paused` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `shift_register` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:1254:43 [INFO] [stdout] | [INFO] [stdout] 1254 | cpu.psw.a = (self.shift_register >> shift_amount) as u8; [INFO] [stdout] | ^^^^^^^^^^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `paused` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `memory` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:1263:36 [INFO] [stdout] | [INFO] [stdout] 1263 | cpu.call(&mut self.memory, 1 * 8); [INFO] [stdout] | ^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 1263 | cpu.call(&mut self.memory(), 1 * 8); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `memory` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:1268:36 [INFO] [stdout] | [INFO] [stdout] 1268 | cpu.call(&mut self.memory, 2 * 8); [INFO] [stdout] | ^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 1268 | cpu.call(&mut self.memory(), 2 * 8); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `memory` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:1273:36 [INFO] [stdout] | [INFO] [stdout] 1273 | cpu.call(&mut self.memory, 7 * 8); [INFO] [stdout] | ^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 1273 | cpu.call(&mut self.memory(), 7 * 8); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 63 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0608, E0609, E0615, E0616, E0624. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] error[E0616]: field `size` of struct `Opcode` is private [INFO] [stdout] --> src/emulator2.rs:1281:30 [INFO] [stdout] | [INFO] [stdout] 1281 | cpu.pc += opcode.size; [INFO] [stdout] | ^^^^ private field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `state` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:1296:17 [INFO] [stdout] | [INFO] [stdout] 1296 | if self.state.as_ref().unwrap().enable_interrupts { [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `paused` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `space-invaders` due to 64 previous errors; 5 warnings emitted [INFO] [stdout] error[E0609]: no field `state` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:1298:30 [INFO] [stdout] | [INFO] [stdout] 1298 | let state = self.state.as_mut().unwrap(); [INFO] [stdout] | ^^^^^ unknown field [INFO] [stdout] | [INFO] [stdout] = note: available fields are: `paused` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0615]: attempted to take value of method `memory` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:1299:18 [INFO] [stdout] | [INFO] [stdout] 1299 | self.memory.write(state.sp - 1, ((state.pc as u16 & 0xff00) >> 8) as u8); [INFO] [stdout] | ^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 1299 | self.memory().write(state.sp - 1, ((state.pc as u16 & 0xff00) >> 8) as u8); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0615]: attempted to take value of method `memory` on type `&mut Runner` [INFO] [stdout] --> src/emulator2.rs:1300:18 [INFO] [stdout] | [INFO] [stdout] 1300 | self.memory.write(state.sp - 2, (state.pc as u16 & 0xff) as u8); [INFO] [stdout] | ^^^^^^ method, not a field [INFO] [stdout] | [INFO] [stdout] help: use parentheses to call the method [INFO] [stdout] | [INFO] [stdout] 1300 | self.memory().write(state.sp - 2, (state.pc as u16 & 0xff) as u8); [INFO] [stdout] | ++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0608]: cannot index into a value of type `RwLockReadGuard<'_, State>` [INFO] [stdout] --> src/emulator2.rs:1346:9 [INFO] [stdout] | [INFO] [stdout] 1346 | SHARED_STATE.read().unwrap()[address] [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/emulator2.rs:1376:16 [INFO] [stdout] | [INFO] [stdout] 1376 | e2.run_one_frame(); [INFO] [stdout] | ^^^^^^^^^^^^^- supplied 0 arguments [INFO] [stdout] | | [INFO] [stdout] | expected 1 argument [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/emulator2.rs:67:8 [INFO] [stdout] | [INFO] [stdout] 67 | fn run_one_frame(&mut self, verbose: bool) -> u64; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/emulator2.rs:1385:12 [INFO] [stdout] | [INFO] [stdout] 1385 | e3.set_input_1(value); [INFO] [stdout] | ^^^^^^^^^^^ ----- supplied 1 argument [INFO] [stdout] | | [INFO] [stdout] | expected 2 arguments [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/emulator2.rs:75:8 [INFO] [stdout] | [INFO] [stdout] 75 | fn set_input_1(&mut self, bit: u8, value: bool); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 63 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0608, E0609, E0615, E0616, E0624. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "655ee5af6ddcc0a1d6fcc42c3a09d94db7717df951f2c3e7f63b33ebc8847624", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "655ee5af6ddcc0a1d6fcc42c3a09d94db7717df951f2c3e7f63b33ebc8847624", kill_on_drop: false }` [INFO] [stdout] 655ee5af6ddcc0a1d6fcc42c3a09d94db7717df951f2c3e7f63b33ebc8847624