[INFO] cloning repository https://github.com/anthonyvd/yagbe [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/anthonyvd/yagbe" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanthonyvd%2Fyagbe", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanthonyvd%2Fyagbe'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e912b062603c1b500349af59ba4ffd12db86333d [INFO] checking anthonyvd/yagbe/e912b062603c1b500349af59ba4ffd12db86333d against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanthonyvd%2Fyagbe" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/anthonyvd/yagbe on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-6-tc1/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/anthonyvd/yagbe [INFO] finished tweaking git repo https://github.com/anthonyvd/yagbe [INFO] tweaked toml for git repo https://github.com/anthonyvd/yagbe written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/anthonyvd/yagbe already has a lockfile, it will not be regenerated [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded tui v0.16.0 [INFO] [stderr] Downloaded sdl2 v0.34.2 [INFO] [stderr] Downloaded sdl2-sys v0.34.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] d50b0afed90a1fb561e758d025a4e553377ef538617c06ded65db530aaef7016 [INFO] running `Command { std: "docker" "start" "-a" "d50b0afed90a1fb561e758d025a4e553377ef538617c06ded65db530aaef7016", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "d50b0afed90a1fb561e758d025a4e553377ef538617c06ded65db530aaef7016", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d50b0afed90a1fb561e758d025a4e553377ef538617c06ded65db530aaef7016", kill_on_drop: false }` [INFO] [stdout] d50b0afed90a1fb561e758d025a4e553377ef538617c06ded65db530aaef7016 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:6252d7ea7fb8caaf7af6d800c5fb250a9cd862b9a7f9508afb3c54fa7fe1102e" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ce5f07c24a0d6de2b5e23f84936db1826497906112d32d2a2c478f48ea445236 [INFO] running `Command { std: "docker" "start" "-a" "ce5f07c24a0d6de2b5e23f84936db1826497906112d32d2a2c478f48ea445236", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.73 [INFO] [stderr] Compiling version-compare v0.0.10 [INFO] [stderr] Compiling cfg-if v0.1.10 [INFO] [stderr] Compiling sdl2 v0.34.2 [INFO] [stderr] Checking numtoa v0.1.0 [INFO] [stderr] Checking unicode-segmentation v1.8.0 [INFO] [stderr] Checking cassowary v0.3.0 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking hex v0.4.3 [INFO] [stderr] Compiling sdl2-sys v0.34.2 [INFO] [stderr] Checking termion v1.5.6 [INFO] [stderr] Checking tui v0.16.0 [INFO] [stderr] Checking foo v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `crate::opcodes` [INFO] [stdout] --> cpu.rs:1014:9 [INFO] [stdout] | [INFO] [stdout] 1014 | use crate::opcodes; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::registers::Registers` [INFO] [stdout] --> cpu.rs:1016:9 [INFO] [stdout] | [INFO] [stdout] 1016 | use crate::registers::Registers; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `title` and `cartridge_type` are never read [INFO] [stdout] --> cartridge.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 8 | pub struct Cartridge { [INFO] [stdout] | --------- fields in this struct [INFO] [stdout] 9 | pub title: String, [INFO] [stdout] | ^^^^^ [INFO] [stdout] 10 | pub cartridge_type: CartridgeType, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0594]: cannot assign to data in an index of `Memory` [INFO] [stdout] --> cpu.rs:1058:9 [INFO] [stdout] | [INFO] [stdout] 1058 | memory[0x1234] = 0xFF; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot assign [INFO] [stdout] | [INFO] [stdout] = help: trait `IndexMut` is required to modify indexed content, but it is not implemented for `Memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0594]: cannot assign to data in an index of `Memory` [INFO] [stdout] --> cpu.rs:1060:9 [INFO] [stdout] | [INFO] [stdout] 1060 | memory[0x00] = 0x46; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot assign [INFO] [stdout] | [INFO] [stdout] = help: trait `IndexMut` is required to modify indexed content, but it is not implemented for `Memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0594]: cannot assign to data in an index of `Memory` [INFO] [stdout] --> cpu.rs:1068:9 [INFO] [stdout] | [INFO] [stdout] 1068 | memory[0x1234] = 0xFF; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot assign [INFO] [stdout] | [INFO] [stdout] = help: trait `IndexMut` is required to modify indexed content, but it is not implemented for `Memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0594]: cannot assign to data in an index of `Memory` [INFO] [stdout] --> cpu.rs:1070:9 [INFO] [stdout] | [INFO] [stdout] 1070 | memory[0x00] = 0x2A; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot assign [INFO] [stdout] | [INFO] [stdout] = help: trait `IndexMut` is required to modify indexed content, but it is not implemented for `Memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0594]: cannot assign to data in an index of `Memory` [INFO] [stdout] --> cpu.rs:1077:9 [INFO] [stdout] | [INFO] [stdout] 1077 | memory[0x1234] = 0xFF; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot assign [INFO] [stdout] | [INFO] [stdout] = help: trait `IndexMut` is required to modify indexed content, but it is not implemented for `Memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0594]: cannot assign to data in an index of `Memory` [INFO] [stdout] --> cpu.rs:1079:9 [INFO] [stdout] | [INFO] [stdout] 1079 | memory[0x00] = 0x3A; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot assign [INFO] [stdout] | [INFO] [stdout] = help: trait `IndexMut` is required to modify indexed content, but it is not implemented for `Memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0594]: cannot assign to data in an index of `Memory` [INFO] [stdout] --> cpu.rs:1086:9 [INFO] [stdout] | [INFO] [stdout] 1086 | memory[0x1234] = 0xFF; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot assign [INFO] [stdout] | [INFO] [stdout] = help: trait `IndexMut` is required to modify indexed content, but it is not implemented for `Memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0594]: cannot assign to data in an index of `Memory` [INFO] [stdout] --> cpu.rs:1088:9 [INFO] [stdout] | [INFO] [stdout] 1088 | memory[0x00] = 0x32; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot assign [INFO] [stdout] | [INFO] [stdout] = help: trait `IndexMut` is required to modify indexed content, but it is not implemented for `Memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0594]: cannot assign to data in an index of `Memory` [INFO] [stdout] --> cpu.rs:1153:9 [INFO] [stdout] | [INFO] [stdout] 1153 | memory[0x00] = 0x79; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot assign [INFO] [stdout] | [INFO] [stdout] = help: trait `IndexMut` is required to modify indexed content, but it is not implemented for `Memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0594]: cannot assign to data in an index of `Memory` [INFO] [stdout] --> cpu.rs:1156:9 [INFO] [stdout] | [INFO] [stdout] 1156 | memory[0x01] = 0xE6; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot assign [INFO] [stdout] | [INFO] [stdout] = help: trait `IndexMut` is required to modify indexed content, but it is not implemented for `Memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0594]: cannot assign to data in an index of `Memory` [INFO] [stdout] --> cpu.rs:1157:9 [INFO] [stdout] | [INFO] [stdout] 1157 | memory[0x02] = 0xF0; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot assign [INFO] [stdout] | [INFO] [stdout] = help: trait `IndexMut` is required to modify indexed content, but it is not implemented for `Memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0594]: cannot assign to data in an index of `Memory` [INFO] [stdout] --> cpu.rs:1160:9 [INFO] [stdout] | [INFO] [stdout] 1160 | memory[0x03] = 0xBB; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ cannot assign [INFO] [stdout] | [INFO] [stdout] = help: trait `IndexMut` is required to modify indexed content, but it is not implemented for `Memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0594]: cannot assign to data in an index of `Memory` [INFO] [stdout] --> cpu.rs:1296:9 [INFO] [stdout] | [INFO] [stdout] 1296 | memory[0x1234] = 0xCD; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot assign [INFO] [stdout] | [INFO] [stdout] = help: trait `IndexMut` is required to modify indexed content, but it is not implemented for `Memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0594]: cannot assign to data in an index of `Memory` [INFO] [stdout] --> cpu.rs:1297:9 [INFO] [stdout] | [INFO] [stdout] 1297 | memory[0x1235] = 0x78; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot assign [INFO] [stdout] | [INFO] [stdout] = help: trait `IndexMut` is required to modify indexed content, but it is not implemented for `Memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0594]: cannot assign to data in an index of `Memory` [INFO] [stdout] --> cpu.rs:1298:9 [INFO] [stdout] | [INFO] [stdout] 1298 | memory[0x1236] = 0x56; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot assign [INFO] [stdout] | [INFO] [stdout] = help: trait `IndexMut` is required to modify indexed content, but it is not implemented for `Memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0594]: cannot assign to data in an index of `Memory` [INFO] [stdout] --> cpu.rs:1299:9 [INFO] [stdout] | [INFO] [stdout] 1299 | memory[0x5678] = 0xC9; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot assign [INFO] [stdout] | [INFO] [stdout] = help: trait `IndexMut` is required to modify indexed content, but it is not implemented for `Memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0594]: cannot assign to data in an index of `Memory` [INFO] [stdout] --> cpu.rs:1318:9 [INFO] [stdout] | [INFO] [stdout] 1318 | memory[0x1234] = 0xCD; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot assign [INFO] [stdout] | [INFO] [stdout] = help: trait `IndexMut` is required to modify indexed content, but it is not implemented for `Memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0594]: cannot assign to data in an index of `Memory` [INFO] [stdout] --> cpu.rs:1319:9 [INFO] [stdout] | [INFO] [stdout] 1319 | memory[0x1235] = 0x78; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot assign [INFO] [stdout] | [INFO] [stdout] = help: trait `IndexMut` is required to modify indexed content, but it is not implemented for `Memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0594]: cannot assign to data in an index of `Memory` [INFO] [stdout] --> cpu.rs:1320:9 [INFO] [stdout] | [INFO] [stdout] 1320 | memory[0x1236] = 0x56; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot assign [INFO] [stdout] | [INFO] [stdout] = help: trait `IndexMut` is required to modify indexed content, but it is not implemented for `Memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0594]: cannot assign to data in an index of `Memory` [INFO] [stdout] --> cpu.rs:1321:9 [INFO] [stdout] | [INFO] [stdout] 1321 | memory[0x5678] = 0xD9; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot assign [INFO] [stdout] | [INFO] [stdout] = help: trait `IndexMut` is required to modify indexed content, but it is not implemented for `Memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0594]: cannot assign to data in an index of `Memory` [INFO] [stdout] --> cpu.rs:1338:9 [INFO] [stdout] | [INFO] [stdout] 1338 | memory[0x1234] = 0xC3; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot assign [INFO] [stdout] | [INFO] [stdout] = help: trait `IndexMut` is required to modify indexed content, but it is not implemented for `Memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0594]: cannot assign to data in an index of `Memory` [INFO] [stdout] --> cpu.rs:1339:9 [INFO] [stdout] | [INFO] [stdout] 1339 | memory[0x1235] = 0xAD; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot assign [INFO] [stdout] | [INFO] [stdout] = help: trait `IndexMut` is required to modify indexed content, but it is not implemented for `Memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0594]: cannot assign to data in an index of `Memory` [INFO] [stdout] --> cpu.rs:1340:9 [INFO] [stdout] | [INFO] [stdout] 1340 | memory[0x1236] = 0xDE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot assign [INFO] [stdout] | [INFO] [stdout] = help: trait `IndexMut` is required to modify indexed content, but it is not implemented for `Memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0594]: cannot assign to data in an index of `Memory` [INFO] [stdout] --> cpu.rs:1347:9 [INFO] [stdout] | [INFO] [stdout] 1347 | memory[0x1234] = 0xC2; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot assign [INFO] [stdout] | [INFO] [stdout] = help: trait `IndexMut` is required to modify indexed content, but it is not implemented for `Memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0594]: cannot assign to data in an index of `Memory` [INFO] [stdout] --> cpu.rs:1348:9 [INFO] [stdout] | [INFO] [stdout] 1348 | memory[0x1235] = 0xAD; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot assign [INFO] [stdout] | [INFO] [stdout] = help: trait `IndexMut` is required to modify indexed content, but it is not implemented for `Memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0594]: cannot assign to data in an index of `Memory` [INFO] [stdout] --> cpu.rs:1349:9 [INFO] [stdout] | [INFO] [stdout] 1349 | memory[0x1236] = 0xDE; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot assign [INFO] [stdout] | [INFO] [stdout] = help: trait `IndexMut` is required to modify indexed content, but it is not implemented for `Memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0594]: cannot assign to data in an index of `Memory` [INFO] [stdout] --> cpu.rs:1361:9 [INFO] [stdout] | [INFO] [stdout] 1361 | memory[0x0480] = 0x18; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot assign [INFO] [stdout] | [INFO] [stdout] = help: trait `IndexMut` is required to modify indexed content, but it is not implemented for `Memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0594]: cannot assign to data in an index of `Memory` [INFO] [stdout] --> cpu.rs:1362:9 [INFO] [stdout] | [INFO] [stdout] 1362 | memory[0x0481] = 0x03; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot assign [INFO] [stdout] | [INFO] [stdout] = help: trait `IndexMut` is required to modify indexed content, but it is not implemented for `Memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0594]: cannot assign to data in an index of `Memory` [INFO] [stdout] --> cpu.rs:1368:9 [INFO] [stdout] | [INFO] [stdout] 1368 | memory[0x0480] = 0x18; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot assign [INFO] [stdout] | [INFO] [stdout] = help: trait `IndexMut` is required to modify indexed content, but it is not implemented for `Memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0594]: cannot assign to data in an index of `Memory` [INFO] [stdout] --> cpu.rs:1369:9 [INFO] [stdout] | [INFO] [stdout] 1369 | memory[0x0481] = 0b11111101; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ cannot assign [INFO] [stdout] | [INFO] [stdout] = help: trait `IndexMut` is required to modify indexed content, but it is not implemented for `Memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0594]: cannot assign to data in an index of `Memory` [INFO] [stdout] --> cpu.rs:1699:9 [INFO] [stdout] | [INFO] [stdout] 1699 | memory[0x1234] = 0xF8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot assign [INFO] [stdout] | [INFO] [stdout] = help: trait `IndexMut` is required to modify indexed content, but it is not implemented for `Memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0594]: cannot assign to data in an index of `Memory` [INFO] [stdout] --> cpu.rs:1700:9 [INFO] [stdout] | [INFO] [stdout] 1700 | memory[0x1235] = 0x01; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot assign [INFO] [stdout] | [INFO] [stdout] = help: trait `IndexMut` is required to modify indexed content, but it is not implemented for `Memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0594]: cannot assign to data in an index of `Memory` [INFO] [stdout] --> cpu.rs:1701:9 [INFO] [stdout] | [INFO] [stdout] 1701 | memory[0x1236] = 0x00; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot assign [INFO] [stdout] | [INFO] [stdout] = help: trait `IndexMut` is required to modify indexed content, but it is not implemented for `Memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0594]: cannot assign to data in an index of `Memory` [INFO] [stdout] --> cpu.rs:1712:9 [INFO] [stdout] | [INFO] [stdout] 1712 | memory[0x1234] = 0xF8; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot assign [INFO] [stdout] | [INFO] [stdout] = help: trait `IndexMut` is required to modify indexed content, but it is not implemented for `Memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0594]: cannot assign to data in an index of `Memory` [INFO] [stdout] --> cpu.rs:1713:9 [INFO] [stdout] | [INFO] [stdout] 1713 | memory[0x1235] = 0xFF; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot assign [INFO] [stdout] | [INFO] [stdout] = help: trait `IndexMut` is required to modify indexed content, but it is not implemented for `Memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0594]: cannot assign to data in an index of `Memory` [INFO] [stdout] --> cpu.rs:1714:9 [INFO] [stdout] | [INFO] [stdout] 1714 | memory[0x1236] = 0x00; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ cannot assign [INFO] [stdout] | [INFO] [stdout] = help: trait `IndexMut` is required to modify indexed content, but it is not implemented for `Memory` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `i` [INFO] [stdout] --> memory.rs:33:13 [INFO] [stdout] | [INFO] [stdout] 33 | for i in 0..num_banks { [INFO] [stdout] | ^ help: if this is intentional, prefix it with an underscore: `_i` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 36 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0594`. [INFO] [stdout] [INFO] [stderr] error: could not compile `foo` (bin "foo" test) due to 37 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ce5f07c24a0d6de2b5e23f84936db1826497906112d32d2a2c478f48ea445236", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ce5f07c24a0d6de2b5e23f84936db1826497906112d32d2a2c478f48ea445236", kill_on_drop: false }` [INFO] [stdout] ce5f07c24a0d6de2b5e23f84936db1826497906112d32d2a2c478f48ea445236