[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 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fanthonyvd%2Fyagbe" "/workspace/builds/worker-4-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/anthonyvd/yagbe on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] removed /workspace/builds/worker-4-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-4-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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded redox_termios v0.1.2 [INFO] [stderr] Downloaded tui v0.16.0 [INFO] [stderr] Downloaded sdl2 v0.34.2 [INFO] [stderr] Downloaded sdl2-sys v0.34.2 [INFO] [stderr] Downloaded libc v0.2.73 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 474556066eb374257b8367d3bca00dbe82932194ecd987469c60b85c19c25a24 [INFO] running `Command { std: "docker" "start" "-a" "474556066eb374257b8367d3bca00dbe82932194ecd987469c60b85c19c25a24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "474556066eb374257b8367d3bca00dbe82932194ecd987469c60b85c19c25a24", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "474556066eb374257b8367d3bca00dbe82932194ecd987469c60b85c19c25a24", kill_on_drop: false }` [INFO] [stdout] 474556066eb374257b8367d3bca00dbe82932194ecd987469c60b85c19c25a24 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] af48720e3fcdc68087327656cb40273cb21856af80422bd8d8c3a7dc2202eb77 [INFO] running `Command { std: "docker" "start" "-a" "af48720e3fcdc68087327656cb40273cb21856af80422bd8d8c3a7dc2202eb77", 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 bitflags v1.2.1 [INFO] [stderr] Checking numtoa v0.1.0 [INFO] [stderr] Compiling sdl2 v0.34.2 [INFO] [stderr] Checking cassowary v0.3.0 [INFO] [stderr] Checking unicode-width v0.1.9 [INFO] [stderr] Checking regex v1.5.4 [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: the item `Vec` is imported redundantly [INFO] [stdout] --> joypad.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [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: the item `Vec` is imported redundantly [INFO] [stdout] --> joypad.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::vec::Vec; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] --> /rustc/af4a5a13a15fa0c60e06321077ef452f769b42fd/library/std/src/prelude/mod.rs:134:13 [INFO] [stdout] | [INFO] [stdout] = note: the item `Vec` is already defined here [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] 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] 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: 2 warnings emitted [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; 4 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; 4 warnings emitted [INFO] running `Command { std: "docker" "inspect" "af48720e3fcdc68087327656cb40273cb21856af80422bd8d8c3a7dc2202eb77", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "af48720e3fcdc68087327656cb40273cb21856af80422bd8d8c3a7dc2202eb77", kill_on_drop: false }` [INFO] [stdout] af48720e3fcdc68087327656cb40273cb21856af80422bd8d8c3a7dc2202eb77