[INFO] cloning repository https://github.com/araneavalon/cpu-emulator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/araneavalon/cpu-emulator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faraneavalon%2Fcpu-emulator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faraneavalon%2Fcpu-emulator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 80bab73fa7173f8df42c42db8de0e8f4ff918069 [INFO] checking araneavalon/cpu-emulator against try#f47dd4da3ae8c32c9e65d307bfe640b143e674df for pr-77526 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Faraneavalon%2Fcpu-emulator" "/workspace/builds/worker-4/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/araneavalon/cpu-emulator on toolchain f47dd4da3ae8c32c9e65d307bfe640b143e674df [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/araneavalon/cpu-emulator [INFO] removed path dependency assembler from git repo https://github.com/araneavalon/cpu-emulator [INFO] finished tweaking git repo https://github.com/araneavalon/cpu-emulator [INFO] tweaked toml for git repo https://github.com/araneavalon/cpu-emulator written to /workspace/builds/worker-4/source/Cargo.toml [INFO] crate git repo https://github.com/araneavalon/cpu-emulator already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (assembler) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Updating crates.io index [INFO] [stderr] error: the lock file /workspace/builds/worker-4/source/Cargo.lock needs to be updated but --locked was passed to prevent this [INFO] [stderr] If you want to try to generate the lock file without accessing the network, use the --offline flag. [INFO] the lockfile is outdated, regenerating it [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "generate-lockfile" "--manifest-path" "Cargo.toml" "-Zno-index-update", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] warning: dependency (assembler) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded assembler v0.10.1 [INFO] [stderr] Downloaded likely v0.1.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d8d58e705ec57d1fca262f07e691ab90a30781faa4674b519610285563dfc498 [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" "d8d58e705ec57d1fca262f07e691ab90a30781faa4674b519610285563dfc498", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d8d58e705ec57d1fca262f07e691ab90a30781faa4674b519610285563dfc498", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d8d58e705ec57d1fca262f07e691ab90a30781faa4674b519610285563dfc498", kill_on_drop: false }` [INFO] [stdout] d8d58e705ec57d1fca262f07e691ab90a30781faa4674b519610285563dfc498 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4/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" "rustops/crates-build-env@sha256:d92eaeed33fa75130ca1ee6c8a01d1ffb62bac859dfdfb3450e3e5d1c0146529" "/opt/rustwide/cargo-home/bin/cargo" "+f47dd4da3ae8c32c9e65d307bfe640b143e674df" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 453917c01f8e091a2442f2cb077d9cfa7bd46101921e93f5e4347bf0af74e7cc [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" "453917c01f8e091a2442f2cb077d9cfa7bd46101921e93f5e4347bf0af74e7cc", kill_on_drop: false }` [INFO] [stderr] warning: dependency (assembler) specified without providing a local path, Git repository, or version to use. This will be considered an error in future versions [INFO] [stderr] Compiling autocfg v1.0.1 [INFO] [stderr] Compiling bitflags v1.2.1 [INFO] [stderr] Checking unicode-width v0.1.8 [INFO] [stderr] Compiling sdl2 v0.32.2 [INFO] [stderr] Checking vec_map v0.8.2 [INFO] [stderr] Checking ansi_term v0.11.0 [INFO] [stderr] Checking strsim v0.8.0 [INFO] [stderr] Checking lazy_static v1.4.0 [INFO] [stderr] Compiling sdl2-sys v0.32.6 [INFO] [stderr] Checking rand_os v0.1.3 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking assembler v0.10.1 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking rand v0.6.5 [INFO] [stderr] Compiling num-traits v0.2.12 [INFO] [stderr] Compiling num-integer v0.1.43 [INFO] [stderr] Compiling num-iter v0.1.41 [INFO] [stderr] Checking clap v2.33.3 [INFO] [stderr] Checking num v0.1.42 [INFO] [stderr] Checking cpu v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find function `from_file` in crate `assembler` [INFO] [stdout] --> src/main.rs:133:26 [INFO] [stdout] | [INFO] [stdout] 133 | match assembler::from_file(filename) { [INFO] [stdout] | ^^^^^^^^^ not found in `assembler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: trait `Error` is private [INFO] [stdout] --> src/error.rs:29:32 [INFO] [stdout] | [INFO] [stdout] 29 | Assembler(String, assembler::Error), [INFO] [stdout] | ^^^^^ private trait [INFO] [stdout] | [INFO] [stdout] note: the trait `Error` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/assembler-0.10.1/src/lib.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | use ::std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:29:21 [INFO] [stdout] | [INFO] [stdout] 29 | Assembler(String, assembler::Error), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn assembler::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/io/screen.rs:139:14 [INFO] [stdout] | [INFO] [stdout] 139 | 0xC000 ... 0xDDFF | [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/io/screen.rs:140:14 [INFO] [stdout] | [INFO] [stdout] 140 | 0xDE00 ... 0xDE03 => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/io/screen.rs:147:14 [INFO] [stdout] | [INFO] [stdout] 147 | 0xC000 ... 0xDDFF => Ok(self.data[(address as usize) - RAM_OFFSET]), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/io/screen.rs:158:14 [INFO] [stdout] | [INFO] [stdout] 158 | 0xC000 ... 0xDDFF => self.data[(address as usize) - RAM_OFFSET] = value, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `from_file` in crate `assembler` [INFO] [stdout] --> src/main.rs:133:26 [INFO] [stdout] | [INFO] [stdout] 133 | match assembler::from_file(filename) { [INFO] [stdout] | ^^^^^^^^^ not found in `assembler` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: trait `Error` is private [INFO] [stdout] --> src/error.rs:29:32 [INFO] [stdout] | [INFO] [stdout] 29 | Assembler(String, assembler::Error), [INFO] [stdout] | ^^^^^ private trait [INFO] [stdout] | [INFO] [stdout] note: the trait `Error` is defined here [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/assembler-0.10.1/src/lib.rs:74:5 [INFO] [stdout] | [INFO] [stdout] 74 | use ::std::error::Error; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: trait objects without an explicit `dyn` are deprecated [INFO] [stdout] --> src/error.rs:29:21 [INFO] [stdout] | [INFO] [stdout] 29 | Assembler(String, assembler::Error), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ help: use `dyn`: `dyn assembler::Error` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(bare_trait_objects)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/io/screen.rs:139:14 [INFO] [stdout] | [INFO] [stdout] 139 | 0xC000 ... 0xDDFF | [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(ellipsis_inclusive_range_patterns)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/io/screen.rs:140:14 [INFO] [stdout] | [INFO] [stdout] 140 | 0xDE00 ... 0xDE03 => true, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/io/screen.rs:147:14 [INFO] [stdout] | [INFO] [stdout] 147 | 0xC000 ... 0xDDFF => Ok(self.data[(address as usize) - RAM_OFFSET]), [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `...` range patterns are deprecated [INFO] [stdout] --> src/io/screen.rs:158:14 [INFO] [stdout] | [INFO] [stdout] 158 | 0xC000 ... 0xDDFF => self.data[(address as usize) - RAM_OFFSET] = value, [INFO] [stdout] | ^^^ help: use `..=` for an inclusive range [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/error.rs:82:6 [INFO] [stdout] | [INFO] [stdout] 82 | impl From for Error { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/error.rs:88:6 [INFO] [stdout] | [INFO] [stdout] 88 | impl From for Error { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/error.rs:94:6 [INFO] [stdout] | [INFO] [stdout] 94 | impl From for Error { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/error.rs:100:6 [INFO] [stdout] | [INFO] [stdout] 100 | impl From for fmt::Error { [INFO] [stdout] | ^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/main.rs:62:26 [INFO] [stdout] | [INFO] [stdout] 62 | fn run(cpu: &mut Cpu) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/main.rs:109:14 [INFO] [stdout] | [INFO] [stdout] 109 | fn init() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/error.rs:29:21 [INFO] [stdout] | [INFO] [stdout] 29 | Assembler(String, assembler::Error), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: no field of an enum variant may have a dynamically sized type [INFO] [stdout] = help: change the field's type to have a statically known size [INFO] [stdout] help: borrowed types always have a statically known size [INFO] [stdout] | [INFO] [stdout] 29 | Assembler(String, &assembler::Error), [INFO] [stdout] | ^ [INFO] [stdout] help: the `Box` type always has a statically known size and allocates its contents in the heap [INFO] [stdout] | [INFO] [stdout] 29 | Assembler(String, Box), [INFO] [stdout] | ^^^^ ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/components/mod.rs:27:37 [INFO] [stdout] | [INFO] [stdout] 27 | fn load(&mut self, value: u16) -> Result<()>; [INFO] [stdout] | ^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/components/mod.rs:28:21 [INFO] [stdout] | [INFO] [stdout] 28 | fn data(&self) -> Result> { Ok(None) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/components/mod.rs:29:24 [INFO] [stdout] | [INFO] [stdout] 29 | fn address(&self) -> Result> { Ok(None) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/memory/addressable.rs:8:35 [INFO] [stdout] | [INFO] [stdout] 8 | fn read(&self, address: u16) -> Result; [INFO] [stdout] | ^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/memory/addressable.rs:9:35 [INFO] [stdout] | [INFO] [stdout] 9 | fn peek(&self, address: u16) -> Result { self.read(address) } [INFO] [stdout] | ^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/memory/addressable.rs:10:52 [INFO] [stdout] | [INFO] [stdout] 10 | fn write(&mut self, address: u16, value: u16) -> Result<()>; [INFO] [stdout] | ^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/components/address_register.rs:51:37 [INFO] [stdout] | [INFO] [stdout] 51 | fn load(&mut self, value: u16) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/components/address_register.rs:58:24 [INFO] [stdout] | [INFO] [stdout] 58 | fn address(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/components/alu.rs:117:37 [INFO] [stdout] | [INFO] [stdout] 117 | fn load(&mut self, value: u16) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/components/alu.rs:126:21 [INFO] [stdout] | [INFO] [stdout] 126 | fn data(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/components/flags.rs:110:37 [INFO] [stdout] | [INFO] [stdout] 110 | fn load(&mut self, value: u16) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/components/flags.rs:119:21 [INFO] [stdout] | [INFO] [stdout] 119 | fn data(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/components/instruction_register.rs:62:37 [INFO] [stdout] | [INFO] [stdout] 62 | fn load(&mut self, value: u16) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/components/instruction_register.rs:69:21 [INFO] [stdout] | [INFO] [stdout] 69 | fn data(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/components/link_register.rs:62:37 [INFO] [stdout] | [INFO] [stdout] 62 | fn load(&mut self, value: u16) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/components/link_register.rs:69:21 [INFO] [stdout] | [INFO] [stdout] 69 | fn data(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/components/program_counter.rs:66:37 [INFO] [stdout] | [INFO] [stdout] 66 | fn load(&mut self, value: u16) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/components/program_counter.rs:73:21 [INFO] [stdout] | [INFO] [stdout] 73 | fn data(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/components/program_counter.rs:81:24 [INFO] [stdout] | [INFO] [stdout] 81 | fn address(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/components/register_file.rs:70:37 [INFO] [stdout] | [INFO] [stdout] 70 | fn load(&mut self, value: u16) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/components/register_file.rs:78:21 [INFO] [stdout] | [INFO] [stdout] 78 | fn data(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/components/stack_pointers.rs:80:37 [INFO] [stdout] | [INFO] [stdout] 80 | fn load(&mut self, value: u16) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/components/stack_pointers.rs:89:21 [INFO] [stdout] | [INFO] [stdout] 89 | fn data(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/components/stack_pointers.rs:98:24 [INFO] [stdout] | [INFO] [stdout] 98 | fn address(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/memory/ram.rs:29:35 [INFO] [stdout] | [INFO] [stdout] 29 | fn read(&self, address: u16) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/memory/ram.rs:33:52 [INFO] [stdout] | [INFO] [stdout] 33 | fn write(&mut self, address: u16, value: u16) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/memory/rom.rs:36:35 [INFO] [stdout] | [INFO] [stdout] 36 | fn read(&self, address: u16) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/memory/rom.rs:40:48 [INFO] [stdout] | [INFO] [stdout] 40 | fn write(&mut self, address: u16, _: u16) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/memory/mod.rs:84:27 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn screen(&self) -> Result<&Screen> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/memory/mod.rs:88:33 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn keyboard(&mut self) -> Result<&mut Keyboard> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/memory/mod.rs:92:40 [INFO] [stdout] | [INFO] [stdout] 92 | fn component(&self, address: u16) -> Result<&dyn Addressable> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/memory/mod.rs:104:48 [INFO] [stdout] | [INFO] [stdout] 104 | fn component_mut(&mut self, address: u16) -> Result<&mut dyn Addressable> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/memory/mod.rs:126:37 [INFO] [stdout] | [INFO] [stdout] 126 | fn load(&mut self, value: u16) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/error.rs:82:6 [INFO] [stdout] | [INFO] [stdout] 82 | impl From for Error { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/memory/mod.rs:135:21 [INFO] [stdout] | [INFO] [stdout] 135 | fn data(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/error.rs:88:6 [INFO] [stdout] | [INFO] [stdout] 88 | impl From for Error { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/io/keyboard.rs:167:35 [INFO] [stdout] | [INFO] [stdout] 167 | fn read(&self, address: u16) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/io/keyboard.rs:175:35 [INFO] [stdout] | [INFO] [stdout] 175 | fn peek(&self, address: u16) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/error.rs:94:6 [INFO] [stdout] | [INFO] [stdout] 94 | impl From for Error { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/io/keyboard.rs:183:52 [INFO] [stdout] | [INFO] [stdout] 183 | fn write(&mut self, address: u16, value: u16) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/error.rs:100:6 [INFO] [stdout] | [INFO] [stdout] 100 | impl From for fmt::Error { [INFO] [stdout] | ^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/io/screen.rs:108:103 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn draw(&self, canvas: &mut Canvas, _bg: Color, fg: Color) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/io/screen.rs:145:35 [INFO] [stdout] | [INFO] [stdout] 145 | fn read(&self, address: u16) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/io/screen.rs:156:52 [INFO] [stdout] | [INFO] [stdout] 156 | fn write(&mut self, address: u16, value: u16) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/io/mod.rs:42:27 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn screen(&self) -> Result<&Screen> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/main.rs:62:26 [INFO] [stdout] | [INFO] [stdout] 62 | fn run(cpu: &mut Cpu) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/io/mod.rs:46:33 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn keyboard(&mut self) -> Result<&mut Keyboard> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/main.rs:109:14 [INFO] [stdout] | [INFO] [stdout] 109 | fn init() -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/io/mod.rs:60:35 [INFO] [stdout] | [INFO] [stdout] 60 | fn read(&self, address: u16) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/error.rs:29:21 [INFO] [stdout] | [INFO] [stdout] 29 | Assembler(String, assembler::Error), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: no field of an enum variant may have a dynamically sized type [INFO] [stdout] = help: change the field's type to have a statically known size [INFO] [stdout] help: borrowed types always have a statically known size [INFO] [stdout] | [INFO] [stdout] 29 | Assembler(String, &assembler::Error), [INFO] [stdout] | ^ [INFO] [stdout] help: the `Box` type always has a statically known size and allocates its contents in the heap [INFO] [stdout] | [INFO] [stdout] 29 | Assembler(String, Box), [INFO] [stdout] | ^^^^ ^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/io/mod.rs:70:35 [INFO] [stdout] | [INFO] [stdout] 70 | fn peek(&self, address: u16) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/io/mod.rs:80:52 [INFO] [stdout] | [INFO] [stdout] 80 | fn write(&mut self, address: u16, value: u16) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/control/microcode.rs:69:58 [INFO] [stdout] | [INFO] [stdout] 69 | fn decode(&self, op: u16, d: bool, c: &mut Control) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/control/microcode.rs:149:46 [INFO] [stdout] | [INFO] [stdout] 149 | fn parse_register(op: u16, offset: u16) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/control/microcode.rs:197:49 [INFO] [stdout] | [INFO] [stdout] 197 | fn decode(&self, op: u16, c: &mut Control) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/control/microcode.rs:224:49 [INFO] [stdout] | [INFO] [stdout] 224 | fn decode_binary(op: u16, c: &mut Control) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/components/mod.rs:27:37 [INFO] [stdout] | [INFO] [stdout] 27 | fn load(&mut self, value: u16) -> Result<()>; [INFO] [stdout] | ^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/components/mod.rs:28:21 [INFO] [stdout] | [INFO] [stdout] 28 | fn data(&self) -> Result> { Ok(None) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/components/mod.rs:29:24 [INFO] [stdout] | [INFO] [stdout] 29 | fn address(&self) -> Result> { Ok(None) } [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/control/microcode.rs:265:48 [INFO] [stdout] | [INFO] [stdout] 265 | fn decode_unary(op: u16, c: &mut Control) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/memory/addressable.rs:8:35 [INFO] [stdout] | [INFO] [stdout] 8 | fn read(&self, address: u16) -> Result; [INFO] [stdout] | ^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/control/microcode.rs:336:65 [INFO] [stdout] | [INFO] [stdout] 336 | pub fn decode(&self, op: u16, branch: Option<(bool, u16)>) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/memory/addressable.rs:9:35 [INFO] [stdout] | [INFO] [stdout] 9 | fn peek(&self, address: u16) -> Result { self.read(address) } [INFO] [stdout] | ^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/memory/addressable.rs:10:52 [INFO] [stdout] | [INFO] [stdout] 10 | fn write(&mut self, address: u16, value: u16) -> Result<()>; [INFO] [stdout] | ^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/components/address_register.rs:51:37 [INFO] [stdout] | [INFO] [stdout] 51 | fn load(&mut self, value: u16) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/components/address_register.rs:58:24 [INFO] [stdout] | [INFO] [stdout] 58 | fn address(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/components/alu.rs:117:37 [INFO] [stdout] | [INFO] [stdout] 117 | fn load(&mut self, value: u16) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/components/alu.rs:126:21 [INFO] [stdout] | [INFO] [stdout] 126 | fn data(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/control/instructions.rs:87:64 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn decode(&self, microcode: &MicrocodeArray, op: u16) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/control/instructions.rs:107:64 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn decode(&self, microcode: &MicrocodeArray, op: u16) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/components/flags.rs:110:37 [INFO] [stdout] | [INFO] [stdout] 110 | fn load(&mut self, value: u16) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/control/instructions.rs:151:64 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn decode(&self, microcode: &MicrocodeArray, op: u16) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/components/flags.rs:119:21 [INFO] [stdout] | [INFO] [stdout] 119 | fn data(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/control/instructions.rs:176:64 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn decode(&self, microcode: &MicrocodeArray, op: u16) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/control/instructions.rs:230:45 [INFO] [stdout] | [INFO] [stdout] 230 | pub fn new(microcode: &MicrocodeArray) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/components/instruction_register.rs:62:37 [INFO] [stdout] | [INFO] [stdout] 62 | fn load(&mut self, value: u16) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/control/instructions.rs:238:47 [INFO] [stdout] | [INFO] [stdout] 238 | fn init_iter(microcode: &MicrocodeArray) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/components/instruction_register.rs:69:21 [INFO] [stdout] | [INFO] [stdout] 69 | fn data(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/components/link_register.rs:62:37 [INFO] [stdout] | [INFO] [stdout] 62 | fn load(&mut self, value: u16) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/components/link_register.rs:69:21 [INFO] [stdout] | [INFO] [stdout] 69 | fn data(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/control/instructions.rs:304:74 [INFO] [stdout] | [INFO] [stdout] 304 | pub fn interrupt(&self, microcode: &MicrocodeArray, interrupt: u16) -> Result<(u16, Iter)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/components/program_counter.rs:66:37 [INFO] [stdout] | [INFO] [stdout] 66 | fn load(&mut self, value: u16) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/control/instructions.rs:309:64 [INFO] [stdout] | [INFO] [stdout] 309 | pub fn decode(&self, microcode: &MicrocodeArray, op: u16) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/components/program_counter.rs:73:21 [INFO] [stdout] | [INFO] [stdout] 73 | fn data(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/control/mod.rs:37:19 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn new() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/components/program_counter.rs:81:24 [INFO] [stdout] | [INFO] [stdout] 81 | fn address(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/control/mod.rs:50:50 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn interrupt(&mut self, interrupt: u16) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/components/register_file.rs:70:37 [INFO] [stdout] | [INFO] [stdout] 70 | fn load(&mut self, value: u16) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/control/mod.rs:59:85 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn decode(&mut self, op: u16, flags: &Flags, ir: &mut InstructionRegister) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/components/register_file.rs:78:21 [INFO] [stdout] | [INFO] [stdout] 78 | fn data(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/cpu.rs:52:41 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn new(hz: f64, rom: Vec) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/cpu.rs:94:45 [INFO] [stdout] | [INFO] [stdout] 94 | fn load(&mut self, value: Option) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/components/stack_pointers.rs:80:37 [INFO] [stdout] | [INFO] [stdout] 80 | fn load(&mut self, value: u16) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/components/stack_pointers.rs:89:21 [INFO] [stdout] | [INFO] [stdout] 89 | fn data(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/components/stack_pointers.rs:98:24 [INFO] [stdout] | [INFO] [stdout] 98 | fn address(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/memory/ram.rs:29:35 [INFO] [stdout] | [INFO] [stdout] 29 | fn read(&self, address: u16) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/memory/ram.rs:33:52 [INFO] [stdout] | [INFO] [stdout] 33 | fn write(&mut self, address: u16, value: u16) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/cpu.rs:103:25 [INFO] [stdout] | [INFO] [stdout] 103 | fn data(&mut self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/memory/rom.rs:36:35 [INFO] [stdout] | [INFO] [stdout] 36 | fn read(&self, address: u16) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/memory/rom.rs:40:48 [INFO] [stdout] | [INFO] [stdout] 40 | fn write(&mut self, address: u16, _: u16) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/cpu.rs:121:24 [INFO] [stdout] | [INFO] [stdout] 121 | fn address(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/cpu.rs:136:31 [INFO] [stdout] | [INFO] [stdout] 136 | fn half_cycle(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/memory/mod.rs:84:27 [INFO] [stdout] | [INFO] [stdout] 84 | pub fn screen(&self) -> Result<&Screen> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/cpu.rs:144:26 [INFO] [stdout] | [INFO] [stdout] 144 | fn cycle(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/memory/mod.rs:88:33 [INFO] [stdout] | [INFO] [stdout] 88 | pub fn keyboard(&mut self) -> Result<&mut Keyboard> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/cpu.rs:155:41 [INFO] [stdout] | [INFO] [stdout] 155 | pub fn run(&mut self, cycles: u32) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/memory/mod.rs:92:40 [INFO] [stdout] | [INFO] [stdout] 92 | fn component(&self, address: u16) -> Result<&dyn Addressable> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/memory/mod.rs:104:48 [INFO] [stdout] | [INFO] [stdout] 104 | fn component_mut(&mut self, address: u16) -> Result<&mut dyn Addressable> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/memory/mod.rs:126:37 [INFO] [stdout] | [INFO] [stdout] 126 | fn load(&mut self, value: u16) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/cpu.rs:181:27 [INFO] [stdout] | [INFO] [stdout] 181 | pub fn screen(&self) -> Result<&Screen> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/memory/mod.rs:135:21 [INFO] [stdout] | [INFO] [stdout] 135 | fn data(&self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/cpu.rs:185:33 [INFO] [stdout] | [INFO] [stdout] 185 | pub fn keyboard(&mut self) -> Result<&mut Keyboard> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/io/keyboard.rs:167:35 [INFO] [stdout] | [INFO] [stdout] 167 | fn read(&self, address: u16) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/cpu.rs:189:50 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn interrupt(&mut self, interrupt: u16) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/io/keyboard.rs:175:35 [INFO] [stdout] | [INFO] [stdout] 175 | fn peek(&self, address: u16) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/io/keyboard.rs:183:52 [INFO] [stdout] | [INFO] [stdout] 183 | fn write(&mut self, address: u16, value: u16) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/io/screen.rs:108:103 [INFO] [stdout] | [INFO] [stdout] 108 | pub fn draw(&self, canvas: &mut Canvas, _bg: Color, fg: Color) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/io/screen.rs:145:35 [INFO] [stdout] | [INFO] [stdout] 145 | fn read(&self, address: u16) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/io/screen.rs:156:52 [INFO] [stdout] | [INFO] [stdout] 156 | fn write(&mut self, address: u16, value: u16) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/io/mod.rs:42:27 [INFO] [stdout] | [INFO] [stdout] 42 | pub fn screen(&self) -> Result<&Screen> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/io/mod.rs:46:33 [INFO] [stdout] | [INFO] [stdout] 46 | pub fn keyboard(&mut self) -> Result<&mut Keyboard> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 81 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/io/mod.rs:60:35 [INFO] [stdout] | [INFO] [stdout] 60 | fn read(&self, address: u16) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/io/mod.rs:70:35 [INFO] [stdout] | [INFO] [stdout] 70 | fn peek(&self, address: u16) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/io/mod.rs:80:52 [INFO] [stdout] | [INFO] [stdout] 80 | fn write(&mut self, address: u16, value: u16) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/control/microcode.rs:69:58 [INFO] [stdout] | [INFO] [stdout] 69 | fn decode(&self, op: u16, d: bool, c: &mut Control) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/control/microcode.rs:149:46 [INFO] [stdout] | [INFO] [stdout] 149 | fn parse_register(op: u16, offset: u16) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/control/microcode.rs:197:49 [INFO] [stdout] | [INFO] [stdout] 197 | fn decode(&self, op: u16, c: &mut Control) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cpu` [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/control/microcode.rs:224:49 [INFO] [stdout] | [INFO] [stdout] 224 | fn decode_binary(op: u16, c: &mut Control) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/control/microcode.rs:265:48 [INFO] [stdout] | [INFO] [stdout] 265 | fn decode_unary(op: u16, c: &mut Control) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/control/microcode.rs:336:65 [INFO] [stdout] | [INFO] [stdout] 336 | pub fn decode(&self, op: u16, branch: Option<(bool, u16)>) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/control/instructions.rs:87:64 [INFO] [stdout] | [INFO] [stdout] 87 | pub fn decode(&self, microcode: &MicrocodeArray, op: u16) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/control/instructions.rs:107:64 [INFO] [stdout] | [INFO] [stdout] 107 | pub fn decode(&self, microcode: &MicrocodeArray, op: u16) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/control/instructions.rs:151:64 [INFO] [stdout] | [INFO] [stdout] 151 | pub fn decode(&self, microcode: &MicrocodeArray, op: u16) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/control/instructions.rs:176:64 [INFO] [stdout] | [INFO] [stdout] 176 | pub fn decode(&self, microcode: &MicrocodeArray, op: u16) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/control/instructions.rs:230:45 [INFO] [stdout] | [INFO] [stdout] 230 | pub fn new(microcode: &MicrocodeArray) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/control/instructions.rs:238:47 [INFO] [stdout] | [INFO] [stdout] 238 | fn init_iter(microcode: &MicrocodeArray) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/control/instructions.rs:304:74 [INFO] [stdout] | [INFO] [stdout] 304 | pub fn interrupt(&self, microcode: &MicrocodeArray, interrupt: u16) -> Result<(u16, Iter)> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/control/instructions.rs:309:64 [INFO] [stdout] | [INFO] [stdout] 309 | pub fn decode(&self, microcode: &MicrocodeArray, op: u16) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/control/mod.rs:37:19 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn new() -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/control/mod.rs:50:50 [INFO] [stdout] | [INFO] [stdout] 50 | pub fn interrupt(&mut self, interrupt: u16) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/control/mod.rs:59:85 [INFO] [stdout] | [INFO] [stdout] 59 | pub fn decode(&mut self, op: u16, flags: &Flags, ir: &mut InstructionRegister) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/cpu.rs:52:41 [INFO] [stdout] | [INFO] [stdout] 52 | pub fn new(hz: f64, rom: Vec) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/cpu.rs:94:45 [INFO] [stdout] | [INFO] [stdout] 94 | fn load(&mut self, value: Option) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/cpu.rs:103:25 [INFO] [stdout] | [INFO] [stdout] 103 | fn data(&mut self) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/cpu.rs:121:24 [INFO] [stdout] | [INFO] [stdout] 121 | fn address(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/cpu.rs:136:31 [INFO] [stdout] | [INFO] [stdout] 136 | fn half_cycle(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/cpu.rs:144:26 [INFO] [stdout] | [INFO] [stdout] 144 | fn cycle(&mut self) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/cpu.rs:155:41 [INFO] [stdout] | [INFO] [stdout] 155 | pub fn run(&mut self, cycles: u32) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/cpu.rs:181:27 [INFO] [stdout] | [INFO] [stdout] 181 | pub fn screen(&self) -> Result<&Screen> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/cpu.rs:185:33 [INFO] [stdout] | [INFO] [stdout] 185 | pub fn keyboard(&mut self) -> Result<&mut Keyboard> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `(dyn std::error::Error + 'static)` cannot be known at compilation time [INFO] [stdout] --> src/cpu.rs:189:50 [INFO] [stdout] | [INFO] [stdout] 189 | pub fn interrupt(&mut self, interrupt: u16) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: within `error::Error`, the trait `Sized` is not implemented for `(dyn std::error::Error + 'static)` [INFO] [stdout] = note: required because it appears within the type `error::Error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 81 previous errors; 5 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "453917c01f8e091a2442f2cb077d9cfa7bd46101921e93f5e4347bf0af74e7cc", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "453917c01f8e091a2442f2cb077d9cfa7bd46101921e93f5e4347bf0af74e7cc", kill_on_drop: false }` [INFO] [stdout] 453917c01f8e091a2442f2cb077d9cfa7bd46101921e93f5e4347bf0af74e7cc