[INFO] cloning repository https://github.com/EMajesty/rusty-chip8
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/EMajesty/rusty-chip8" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEMajesty%2Frusty-chip8", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEMajesty%2Frusty-chip8'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f00fec3c1fe7426b43bc72658bb6021447b2e149
[INFO] checking EMajesty/rusty-chip8 against master#04ff05c9c0cfbca33115c5f1b8bb20a66a54b799 for pr-147834
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEMajesty%2Frusty-chip8" "/workspace/builds/worker-1-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/EMajesty/rusty-chip8
[INFO] finished tweaking git repo https://github.com/EMajesty/rusty-chip8
[INFO] tweaked toml for git repo https://github.com/EMajesty/rusty-chip8 written to /workspace/builds/worker-1-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/EMajesty/rusty-chip8 on toolchain 04ff05c9c0cfbca33115c5f1b8bb20a66a54b799
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+04ff05c9c0cfbca33115c5f1b8bb20a66a54b799" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/EMajesty/rusty-chip8 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" "+04ff05c9c0cfbca33115c5f1b8bb20a66a54b799" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+04ff05c9c0cfbca33115c5f1b8bb20a66a54b799" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 475436d81a8a5fb9bfe210e341d432e0d2f3ed22a4656f482b166dbde3485a81
[INFO] running `Command { std: "docker" "start" "-a" "475436d81a8a5fb9bfe210e341d432e0d2f3ed22a4656f482b166dbde3485a81", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "475436d81a8a5fb9bfe210e341d432e0d2f3ed22a4656f482b166dbde3485a81", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "475436d81a8a5fb9bfe210e341d432e0d2f3ed22a4656f482b166dbde3485a81", kill_on_drop: false }`
[INFO] [stdout] 475436d81a8a5fb9bfe210e341d432e0d2f3ed22a4656f482b166dbde3485a81
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+04ff05c9c0cfbca33115c5f1b8bb20a66a54b799" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] ad65d0e649793c7b6ba4543d867ed831c14786bc2dd7a4c0fe2d8375ed01d401
[INFO] running `Command { std: "docker" "start" "-a" "ad65d0e649793c7b6ba4543d867ed831c14786bc2dd7a4c0fe2d8375ed01d401", kill_on_drop: false }`
[INFO] [stderr]     Checking chip v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error: expected expression, found `,`
[INFO] [stdout]   --> src/main.rs:43:27
[INFO] [stdout]    |
[INFO] [stdout] 43 |                 0x00E0 => , // CLS
[INFO] [stdout]    |                        -- ^ expected expression
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        while parsing the `match` arm starting here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected expression, found `,`
[INFO] [stdout]   --> src/main.rs:63:27
[INFO] [stdout]    |
[INFO] [stdout] 63 |                 0x0004 => , // ADD
[INFO] [stdout]    |                        -- ^ expected expression
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        while parsing the `match` arm starting here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected expression, found `,`
[INFO] [stdout]   --> src/main.rs:73:20
[INFO] [stdout]    |
[INFO] [stdout] 73 |             0xC => , // RND Vx, byte
[INFO] [stdout]    |                 -- ^ expected expression
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 while parsing the `match` arm starting here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `chip` (bin "chip") due to 26 previous errors
[INFO] [stdout] error[E0277]: the type `[u8]` cannot be indexed by `u16`
[INFO] [stdout]   --> src/main.rs:32:34
[INFO] [stdout]    |
[INFO] [stdout] 32 |         let opcode: u16 = memory[program_counter] << 8 | memory[program_counter + 1];
[INFO] [stdout]    |                                  ^^^^^^^^^^^^^^^ slice indices are of type `usize` or ranges of `usize`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `SliceIndex<[u8]>` is not implemented for `u16`
[INFO] [stdout]    = help: the following other types implement trait `SliceIndex<T>`:
[INFO] [stdout]              `usize` implements `SliceIndex<ByteStr>`
[INFO] [stdout]              `usize` implements `SliceIndex<[T]>`
[INFO] [stdout]    = note: required for `[u8]` to implement `Index<u16>`
[INFO] [stdout]    = note: 1 redundant requirement hidden
[INFO] [stdout]    = note: required for `[u8; 4096]` to implement `Index<u16>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error[E0277]: the type `[u8]` cannot be indexed by `u16`
[INFO] [stdout]   --> src/main.rs:32:65
[INFO] [stdout]    |
[INFO] [stdout] 32 |         let opcode: u16 = memory[program_counter] << 8 | memory[program_counter + 1];
[INFO] [stdout]    |                                                                 ^^^^^^^^^^^^^^^^^^^ slice indices are of type `usize` or ranges of `usize`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `SliceIndex<[u8]>` is not implemented for `u16`
[INFO] [stdout]    = help: the following other types implement trait `SliceIndex<T>`:
[INFO] [stdout]              `usize` implements `SliceIndex<ByteStr>`
[INFO] [stdout]              `usize` implements `SliceIndex<[T]>`
[INFO] [stdout]    = note: required for `[u8]` to implement `Index<u16>`
[INFO] [stdout]    = note: 1 redundant requirement hidden
[INFO] [stdout]    = note: required for `[u8; 4096]` to implement `Index<u16>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the type `[u8]` cannot be indexed by `u16`
[INFO] [stdout]   --> src/main.rs:53:25
[INFO] [stdout]    |
[INFO] [stdout] 53 |             0x3 => if v[x] == kk { program_counter += 2; }, // SE Vx, byte         
[INFO] [stdout]    |                         ^ slice indices are of type `usize` or ranges of `usize`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `SliceIndex<[u8]>` is not implemented for `u16`
[INFO] [stdout]    = help: the following other types implement trait `SliceIndex<T>`:
[INFO] [stdout]              `usize` implements `SliceIndex<ByteStr>`
[INFO] [stdout]              `usize` implements `SliceIndex<[T]>`
[INFO] [stdout]    = note: required for `[u8]` to implement `Index<u16>`
[INFO] [stdout]    = note: 1 redundant requirement hidden
[INFO] [stdout]    = note: required for `[u8; 16]` to implement `Index<u16>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the type `[u8]` cannot be indexed by `u16`
[INFO] [stdout]   --> src/main.rs:54:25
[INFO] [stdout]    |
[INFO] [stdout] 54 |             0x4 => if v[x] != kk { program_counter += 2; }, // SNE Vx, byte
[INFO] [stdout]    |                         ^ slice indices are of type `usize` or ranges of `usize`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `SliceIndex<[u8]>` is not implemented for `u16`
[INFO] [stdout]    = help: the following other types implement trait `SliceIndex<T>`:
[INFO] [stdout]              `usize` implements `SliceIndex<ByteStr>`
[INFO] [stdout]              `usize` implements `SliceIndex<[T]>`
[INFO] [stdout]    = note: required for `[u8]` to implement `Index<u16>`
[INFO] [stdout]    = note: 1 redundant requirement hidden
[INFO] [stdout]    = note: required for `[u8; 16]` to implement `Index<u16>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the type `[u8]` cannot be indexed by `u16`
[INFO] [stdout]   --> src/main.rs:55:25
[INFO] [stdout]    |
[INFO] [stdout] 55 |             0x5 => if v[x] == v[y] { program_counter += 2; }, // SE Vx, Vy       
[INFO] [stdout]    |                         ^ slice indices are of type `usize` or ranges of `usize`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `SliceIndex<[u8]>` is not implemented for `u16`
[INFO] [stdout]    = help: the following other types implement trait `SliceIndex<T>`:
[INFO] [stdout]              `usize` implements `SliceIndex<ByteStr>`
[INFO] [stdout]              `usize` implements `SliceIndex<[T]>`
[INFO] [stdout]    = note: required for `[u8]` to implement `Index<u16>`
[INFO] [stdout]    = note: 1 redundant requirement hidden
[INFO] [stdout]    = note: required for `[u8; 16]` to implement `Index<u16>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the type `[u8]` cannot be indexed by `u16`
[INFO] [stdout]   --> src/main.rs:55:33
[INFO] [stdout]    |
[INFO] [stdout] 55 |             0x5 => if v[x] == v[y] { program_counter += 2; }, // SE Vx, Vy       
[INFO] [stdout]    |                                 ^ slice indices are of type `usize` or ranges of `usize`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `SliceIndex<[u8]>` is not implemented for `u16`
[INFO] [stdout]    = help: the following other types implement trait `SliceIndex<T>`:
[INFO] [stdout]              `usize` implements `SliceIndex<ByteStr>`
[INFO] [stdout]              `usize` implements `SliceIndex<[T]>`
[INFO] [stdout]    = note: required for `[u8]` to implement `Index<u16>`
[INFO] [stdout]    = note: 1 redundant requirement hidden
[INFO] [stdout]    = note: required for `[u8; 16]` to implement `Index<u16>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the type `[u8]` cannot be indexed by `u16`
[INFO] [stdout]   --> src/main.rs:56:22
[INFO] [stdout]    |
[INFO] [stdout] 56 |             0x6 => v[x] = kk, // LD Vx, byte
[INFO] [stdout]    |                      ^ slice indices are of type `usize` or ranges of `usize`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `SliceIndex<[u8]>` is not implemented for `u16`
[INFO] [stdout]    = help: the following other types implement trait `SliceIndex<T>`:
[INFO] [stdout]              `usize` implements `SliceIndex<ByteStr>`
[INFO] [stdout]              `usize` implements `SliceIndex<[T]>`
[INFO] [stdout]    = note: required for `[u8]` to implement `Index<u16>`
[INFO] [stdout]    = note: 1 redundant requirement hidden
[INFO] [stdout]    = note: required for `[u8; 16]` to implement `Index<u16>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the type `[u8]` cannot be indexed by `u16`
[INFO] [stdout]   --> src/main.rs:57:22
[INFO] [stdout]    |
[INFO] [stdout] 57 |             0x7 => v[x] += kk, // ADD Vx, byte
[INFO] [stdout]    |                      ^ slice indices are of type `usize` or ranges of `usize`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `SliceIndex<[u8]>` is not implemented for `u16`
[INFO] [stdout]    = help: the following other types implement trait `SliceIndex<T>`:
[INFO] [stdout]              `usize` implements `SliceIndex<ByteStr>`
[INFO] [stdout]              `usize` implements `SliceIndex<[T]>`
[INFO] [stdout]    = note: required for `[u8]` to implement `Index<u16>`
[INFO] [stdout]    = note: 1 redundant requirement hidden
[INFO] [stdout]    = note: required for `[u8; 16]` to implement `Index<u16>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the type `[u8]` cannot be indexed by `u16`
[INFO] [stdout]   --> src/main.rs:59:29
[INFO] [stdout]    |
[INFO] [stdout] 59 |                 0x0000 => v[x] = v[y], // LD Vx, Vy
[INFO] [stdout]    |                             ^ slice indices are of type `usize` or ranges of `usize`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `SliceIndex<[u8]>` is not implemented for `u16`
[INFO] [stdout]    = help: the following other types implement trait `SliceIndex<T>`:
[INFO] [stdout]              `usize` implements `SliceIndex<ByteStr>`
[INFO] [stdout]              `usize` implements `SliceIndex<[T]>`
[INFO] [stdout]    = note: required for `[u8]` to implement `Index<u16>`
[INFO] [stdout]    = note: 1 redundant requirement hidden
[INFO] [stdout]    = note: required for `[u8; 16]` to implement `Index<u16>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the type `[u8]` cannot be indexed by `u16`
[INFO] [stdout]   --> src/main.rs:59:36
[INFO] [stdout]    |
[INFO] [stdout] 59 |                 0x0000 => v[x] = v[y], // LD Vx, Vy
[INFO] [stdout]    |                                    ^ slice indices are of type `usize` or ranges of `usize`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `SliceIndex<[u8]>` is not implemented for `u16`
[INFO] [stdout]    = help: the following other types implement trait `SliceIndex<T>`:
[INFO] [stdout]              `usize` implements `SliceIndex<ByteStr>`
[INFO] [stdout]              `usize` implements `SliceIndex<[T]>`
[INFO] [stdout]    = note: required for `[u8]` to implement `Index<u16>`
[INFO] [stdout]    = note: 1 redundant requirement hidden
[INFO] [stdout]    = note: required for `[u8; 16]` to implement `Index<u16>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the type `[u8]` cannot be indexed by `u16`
[INFO] [stdout]   --> src/main.rs:60:29
[INFO] [stdout]    |
[INFO] [stdout] 60 |                 0x0001 => v[x] = v[x] | v[y], // OR
[INFO] [stdout]    |                             ^ slice indices are of type `usize` or ranges of `usize`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `SliceIndex<[u8]>` is not implemented for `u16`
[INFO] [stdout]    = help: the following other types implement trait `SliceIndex<T>`:
[INFO] [stdout]              `usize` implements `SliceIndex<ByteStr>`
[INFO] [stdout]              `usize` implements `SliceIndex<[T]>`
[INFO] [stdout]    = note: required for `[u8]` to implement `Index<u16>`
[INFO] [stdout]    = note: 1 redundant requirement hidden
[INFO] [stdout]    = note: required for `[u8; 16]` to implement `Index<u16>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the type `[u8]` cannot be indexed by `u16`
[INFO] [stdout]   --> src/main.rs:60:36
[INFO] [stdout]    |
[INFO] [stdout] 60 |                 0x0001 => v[x] = v[x] | v[y], // OR
[INFO] [stdout]    |                                    ^ slice indices are of type `usize` or ranges of `usize`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `SliceIndex<[u8]>` is not implemented for `u16`
[INFO] [stdout]    = help: the following other types implement trait `SliceIndex<T>`:
[INFO] [stdout]              `usize` implements `SliceIndex<ByteStr>`
[INFO] [stdout]              `usize` implements `SliceIndex<[T]>`
[INFO] [stdout]    = note: required for `[u8]` to implement `Index<u16>`
[INFO] [stdout]    = note: 1 redundant requirement hidden
[INFO] [stdout]    = note: required for `[u8; 16]` to implement `Index<u16>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the type `[u8]` cannot be indexed by `u16`
[INFO] [stdout]   --> src/main.rs:60:43
[INFO] [stdout]    |
[INFO] [stdout] 60 |                 0x0001 => v[x] = v[x] | v[y], // OR
[INFO] [stdout]    |                                           ^ slice indices are of type `usize` or ranges of `usize`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `SliceIndex<[u8]>` is not implemented for `u16`
[INFO] [stdout]    = help: the following other types implement trait `SliceIndex<T>`:
[INFO] [stdout]              `usize` implements `SliceIndex<ByteStr>`
[INFO] [stdout]              `usize` implements `SliceIndex<[T]>`
[INFO] [stdout]    = note: required for `[u8]` to implement `Index<u16>`
[INFO] [stdout]    = note: 1 redundant requirement hidden
[INFO] [stdout]    = note: required for `[u8; 16]` to implement `Index<u16>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the type `[u8]` cannot be indexed by `u16`
[INFO] [stdout]   --> src/main.rs:61:29
[INFO] [stdout]    |
[INFO] [stdout] 61 |                 0x0002 => v[x] = v[x] & v[y], // AND
[INFO] [stdout]    |                             ^ slice indices are of type `usize` or ranges of `usize`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `SliceIndex<[u8]>` is not implemented for `u16`
[INFO] [stdout]    = help: the following other types implement trait `SliceIndex<T>`:
[INFO] [stdout]              `usize` implements `SliceIndex<ByteStr>`
[INFO] [stdout]              `usize` implements `SliceIndex<[T]>`
[INFO] [stdout]    = note: required for `[u8]` to implement `Index<u16>`
[INFO] [stdout]    = note: 1 redundant requirement hidden
[INFO] [stdout]    = note: required for `[u8; 16]` to implement `Index<u16>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the type `[u8]` cannot be indexed by `u16`
[INFO] [stdout]   --> src/main.rs:61:36
[INFO] [stdout]    |
[INFO] [stdout] 61 |                 0x0002 => v[x] = v[x] & v[y], // AND
[INFO] [stdout]    |                                    ^ slice indices are of type `usize` or ranges of `usize`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `SliceIndex<[u8]>` is not implemented for `u16`
[INFO] [stdout]    = help: the following other types implement trait `SliceIndex<T>`:
[INFO] [stdout]              `usize` implements `SliceIndex<ByteStr>`
[INFO] [stdout]              `usize` implements `SliceIndex<[T]>`
[INFO] [stdout]    = note: required for `[u8]` to implement `Index<u16>`
[INFO] [stdout]    = note: 1 redundant requirement hidden
[INFO] [stdout]    = note: required for `[u8; 16]` to implement `Index<u16>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the type `[u8]` cannot be indexed by `u16`
[INFO] [stdout]   --> src/main.rs:61:43
[INFO] [stdout]    |
[INFO] [stdout] 61 |                 0x0002 => v[x] = v[x] & v[y], // AND
[INFO] [stdout]    |                                           ^ slice indices are of type `usize` or ranges of `usize`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `SliceIndex<[u8]>` is not implemented for `u16`
[INFO] [stdout]    = help: the following other types implement trait `SliceIndex<T>`:
[INFO] [stdout]              `usize` implements `SliceIndex<ByteStr>`
[INFO] [stdout]              `usize` implements `SliceIndex<[T]>`
[INFO] [stdout]    = note: required for `[u8]` to implement `Index<u16>`
[INFO] [stdout]    = note: 1 redundant requirement hidden
[INFO] [stdout]    = note: required for `[u8; 16]` to implement `Index<u16>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the type `[u8]` cannot be indexed by `u16`
[INFO] [stdout]   --> src/main.rs:62:29
[INFO] [stdout]    |
[INFO] [stdout] 62 |                 0x0003 => v[x] = v[x] ^ v[y], // XOR
[INFO] [stdout]    |                             ^ slice indices are of type `usize` or ranges of `usize`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `SliceIndex<[u8]>` is not implemented for `u16`
[INFO] [stdout]    = help: the following other types implement trait `SliceIndex<T>`:
[INFO] [stdout]              `usize` implements `SliceIndex<ByteStr>`
[INFO] [stdout]              `usize` implements `SliceIndex<[T]>`
[INFO] [stdout]    = note: required for `[u8]` to implement `Index<u16>`
[INFO] [stdout]    = note: 1 redundant requirement hidden
[INFO] [stdout]    = note: required for `[u8; 16]` to implement `Index<u16>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the type `[u8]` cannot be indexed by `u16`
[INFO] [stdout]   --> src/main.rs:62:36
[INFO] [stdout]    |
[INFO] [stdout] 62 |                 0x0003 => v[x] = v[x] ^ v[y], // XOR
[INFO] [stdout]    |                                    ^ slice indices are of type `usize` or ranges of `usize`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `SliceIndex<[u8]>` is not implemented for `u16`
[INFO] [stdout]    = help: the following other types implement trait `SliceIndex<T>`:
[INFO] [stdout]              `usize` implements `SliceIndex<ByteStr>`
[INFO] [stdout]              `usize` implements `SliceIndex<[T]>`
[INFO] [stdout]    = note: required for `[u8]` to implement `Index<u16>`
[INFO] [stdout]    = note: 1 redundant requirement hidden
[INFO] [stdout]    = note: required for `[u8; 16]` to implement `Index<u16>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the type `[u8]` cannot be indexed by `u16`
[INFO] [stdout]   --> src/main.rs:62:43
[INFO] [stdout]    |
[INFO] [stdout] 62 |                 0x0003 => v[x] = v[x] ^ v[y], // XOR
[INFO] [stdout]    |                                           ^ slice indices are of type `usize` or ranges of `usize`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `SliceIndex<[u8]>` is not implemented for `u16`
[INFO] [stdout]    = help: the following other types implement trait `SliceIndex<T>`:
[INFO] [stdout]              `usize` implements `SliceIndex<ByteStr>`
[INFO] [stdout]              `usize` implements `SliceIndex<[T]>`
[INFO] [stdout]    = note: required for `[u8]` to implement `Index<u16>`
[INFO] [stdout]    = note: 1 redundant requirement hidden
[INFO] [stdout]    = note: required for `[u8; 16]` to implement `Index<u16>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the type `[u8]` cannot be indexed by `u16`
[INFO] [stdout]   --> src/main.rs:70:25
[INFO] [stdout]    |
[INFO] [stdout] 70 |             0x9 => if v[x] != v[y] { program_counter += 2; }, // SNE Vx, Vy
[INFO] [stdout]    |                         ^ slice indices are of type `usize` or ranges of `usize`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `SliceIndex<[u8]>` is not implemented for `u16`
[INFO] [stdout]    = help: the following other types implement trait `SliceIndex<T>`:
[INFO] [stdout]              `usize` implements `SliceIndex<ByteStr>`
[INFO] [stdout]              `usize` implements `SliceIndex<[T]>`
[INFO] [stdout]    = note: required for `[u8]` to implement `Index<u16>`
[INFO] [stdout]    = note: 1 redundant requirement hidden
[INFO] [stdout]    = note: required for `[u8; 16]` to implement `Index<u16>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the type `[u8]` cannot be indexed by `u16`
[INFO] [stdout]   --> src/main.rs:70:33
[INFO] [stdout]    |
[INFO] [stdout] 70 |             0x9 => if v[x] != v[y] { program_counter += 2; }, // SNE Vx, Vy
[INFO] [stdout]    |                                 ^ slice indices are of type `usize` or ranges of `usize`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `SliceIndex<[u8]>` is not implemented for `u16`
[INFO] [stdout]    = help: the following other types implement trait `SliceIndex<T>`:
[INFO] [stdout]              `usize` implements `SliceIndex<ByteStr>`
[INFO] [stdout]              `usize` implements `SliceIndex<[T]>`
[INFO] [stdout]    = note: required for `[u8]` to implement `Index<u16>`
[INFO] [stdout]    = note: 1 redundant requirement hidden
[INFO] [stdout]    = note: required for `[u8; 16]` to implement `Index<u16>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:72:44
[INFO] [stdout]    |
[INFO] [stdout] 72 |             0xB => program_counter = nnn + v[0], // JP V0, addr
[INFO] [stdout]    |                                            ^^^^ expected `u16`, found `u8`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: cannot add `u8` to `u16`
[INFO] [stdout]   --> src/main.rs:72:42
[INFO] [stdout]    |
[INFO] [stdout] 72 |             0xB => program_counter = nnn + v[0], // JP V0, addr
[INFO] [stdout]    |                                          ^ no implementation for `u16 + u8`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Add<u8>` is not implemented for `u16`
[INFO] [stdout]    = help: the following other types implement trait `Add<Rhs>`:
[INFO] [stdout]              `&u16` implements `Add<u16>`
[INFO] [stdout]              `&u16` implements `Add`
[INFO] [stdout]              `u16` implements `Add<&u16>`
[INFO] [stdout]              `u16` implements `Add`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stdout] error: expected expression, found `,`
[INFO] [stdout]   --> src/main.rs:43:27
[INFO] [stdout]    |
[INFO] [stdout] 43 |                 0x00E0 => , // CLS
[INFO] [stdout]    |                        -- ^ expected expression
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        while parsing the `match` arm starting here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected expression, found `,`
[INFO] [stdout]   --> src/main.rs:63:27
[INFO] [stdout]    |
[INFO] [stdout] 63 |                 0x0004 => , // ADD
[INFO] [stdout]    |                        -- ^ expected expression
[INFO] [stdout]    |                        |
[INFO] [stdout]    |                        while parsing the `match` arm starting here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: expected expression, found `,`
[INFO] [stdout]   --> src/main.rs:73:20
[INFO] [stdout]    |
[INFO] [stdout] 73 |             0xC => , // RND Vx, byte
[INFO] [stdout]    |                 -- ^ expected expression
[INFO] [stdout]    |                 |
[INFO] [stdout]    |                 while parsing the `match` arm starting here
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the type `[u8]` cannot be indexed by `u16`
[INFO] [stdout]   --> src/main.rs:32:34
[INFO] [stdout]    |
[INFO] [stdout] 32 |         let opcode: u16 = memory[program_counter] << 8 | memory[program_counter + 1];
[INFO] [stdout]    |                                  ^^^^^^^^^^^^^^^ slice indices are of type `usize` or ranges of `usize`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `SliceIndex<[u8]>` is not implemented for `u16`
[INFO] [stdout]    = help: the following other types implement trait `SliceIndex<T>`:
[INFO] [stdout]              `usize` implements `SliceIndex<ByteStr>`
[INFO] [stdout]              `usize` implements `SliceIndex<[T]>`
[INFO] [stdout]    = note: required for `[u8]` to implement `Index<u16>`
[INFO] [stdout]    = note: 1 redundant requirement hidden
[INFO] [stdout]    = note: required for `[u8; 4096]` to implement `Index<u16>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the type `[u8]` cannot be indexed by `u16`
[INFO] [stdout]   --> src/main.rs:32:65
[INFO] [stdout]    |
[INFO] [stdout] 32 |         let opcode: u16 = memory[program_counter] << 8 | memory[program_counter + 1];
[INFO] [stdout]    |                                                                 ^^^^^^^^^^^^^^^^^^^ slice indices are of type `usize` or ranges of `usize`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `SliceIndex<[u8]>` is not implemented for `u16`
[INFO] [stdout]    = help: the following other types implement trait `SliceIndex<T>`:
[INFO] [stdout]              `usize` implements `SliceIndex<ByteStr>`
[INFO] [stdout]              `usize` implements `SliceIndex<[T]>`
[INFO] [stdout]    = note: required for `[u8]` to implement `Index<u16>`
[INFO] [stdout]    = note: 1 redundant requirement hidden
[INFO] [stdout]    = note: required for `[u8; 4096]` to implement `Index<u16>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the type `[u8]` cannot be indexed by `u16`
[INFO] [stdout]   --> src/main.rs:53:25
[INFO] [stdout]    |
[INFO] [stdout] 53 |             0x3 => if v[x] == kk { program_counter += 2; }, // SE Vx, byte         
[INFO] [stdout]    |                         ^ slice indices are of type `usize` or ranges of `usize`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `SliceIndex<[u8]>` is not implemented for `u16`
[INFO] [stdout]    = help: the following other types implement trait `SliceIndex<T>`:
[INFO] [stdout]              `usize` implements `SliceIndex<ByteStr>`
[INFO] [stdout]              `usize` implements `SliceIndex<[T]>`
[INFO] [stdout]    = note: required for `[u8]` to implement `Index<u16>`
[INFO] [stdout]    = note: 1 redundant requirement hidden
[INFO] [stdout]    = note: required for `[u8; 16]` to implement `Index<u16>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the type `[u8]` cannot be indexed by `u16`
[INFO] [stdout]   --> src/main.rs:54:25
[INFO] [stdout]    |
[INFO] [stdout] 54 |             0x4 => if v[x] != kk { program_counter += 2; }, // SNE Vx, byte
[INFO] [stdout]    |                         ^ slice indices are of type `usize` or ranges of `usize`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `SliceIndex<[u8]>` is not implemented for `u16`
[INFO] [stdout]    = help: the following other types implement trait `SliceIndex<T>`:
[INFO] [stdout]              `usize` implements `SliceIndex<ByteStr>`
[INFO] [stdout]              `usize` implements `SliceIndex<[T]>`
[INFO] [stdout]    = note: required for `[u8]` to implement `Index<u16>`
[INFO] [stdout]    = note: 1 redundant requirement hidden
[INFO] [stdout]    = note: required for `[u8; 16]` to implement `Index<u16>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the type `[u8]` cannot be indexed by `u16`
[INFO] [stdout]   --> src/main.rs:55:25
[INFO] [stdout]    |
[INFO] [stdout] 55 |             0x5 => if v[x] == v[y] { program_counter += 2; }, // SE Vx, Vy       
[INFO] [stdout]    |                         ^ slice indices are of type `usize` or ranges of `usize`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `SliceIndex<[u8]>` is not implemented for `u16`
[INFO] [stdout]    = help: the following other types implement trait `SliceIndex<T>`:
[INFO] [stdout]              `usize` implements `SliceIndex<ByteStr>`
[INFO] [stdout]              `usize` implements `SliceIndex<[T]>`
[INFO] [stdout]    = note: required for `[u8]` to implement `Index<u16>`
[INFO] [stdout]    = note: 1 redundant requirement hidden
[INFO] [stdout]    = note: required for `[u8; 16]` to implement `Index<u16>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the type `[u8]` cannot be indexed by `u16`
[INFO] [stdout]   --> src/main.rs:55:33
[INFO] [stdout]    |
[INFO] [stdout] 55 |             0x5 => if v[x] == v[y] { program_counter += 2; }, // SE Vx, Vy       
[INFO] [stdout]    |                                 ^ slice indices are of type `usize` or ranges of `usize`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `SliceIndex<[u8]>` is not implemented for `u16`
[INFO] [stdout]    = help: the following other types implement trait `SliceIndex<T>`:
[INFO] [stdout]              `usize` implements `SliceIndex<ByteStr>`
[INFO] [stdout]              `usize` implements `SliceIndex<[T]>`
[INFO] [stdout]    = note: required for `[u8]` to implement `Index<u16>`
[INFO] [stdout]    = note: 1 redundant requirement hidden
[INFO] [stdout]    = note: required for `[u8; 16]` to implement `Index<u16>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the type `[u8]` cannot be indexed by `u16`
[INFO] [stdout]   --> src/main.rs:56:22
[INFO] [stdout]    |
[INFO] [stdout] 56 |             0x6 => v[x] = kk, // LD Vx, byte
[INFO] [stdout]    |                      ^ slice indices are of type `usize` or ranges of `usize`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `SliceIndex<[u8]>` is not implemented for `u16`
[INFO] [stdout]    = help: the following other types implement trait `SliceIndex<T>`:
[INFO] [stdout]              `usize` implements `SliceIndex<ByteStr>`
[INFO] [stdout]              `usize` implements `SliceIndex<[T]>`
[INFO] [stdout]    = note: required for `[u8]` to implement `Index<u16>`
[INFO] [stdout]    = note: 1 redundant requirement hidden
[INFO] [stdout]    = note: required for `[u8; 16]` to implement `Index<u16>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the type `[u8]` cannot be indexed by `u16`
[INFO] [stdout]   --> src/main.rs:57:22
[INFO] [stdout]    |
[INFO] [stdout] 57 |             0x7 => v[x] += kk, // ADD Vx, byte
[INFO] [stdout]    |                      ^ slice indices are of type `usize` or ranges of `usize`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `SliceIndex<[u8]>` is not implemented for `u16`
[INFO] [stdout]    = help: the following other types implement trait `SliceIndex<T>`:
[INFO] [stdout]              `usize` implements `SliceIndex<ByteStr>`
[INFO] [stdout]              `usize` implements `SliceIndex<[T]>`
[INFO] [stdout]    = note: required for `[u8]` to implement `Index<u16>`
[INFO] [stdout]    = note: 1 redundant requirement hidden
[INFO] [stdout]    = note: required for `[u8; 16]` to implement `Index<u16>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the type `[u8]` cannot be indexed by `u16`
[INFO] [stdout]   --> src/main.rs:59:29
[INFO] [stdout]    |
[INFO] [stdout] 59 |                 0x0000 => v[x] = v[y], // LD Vx, Vy
[INFO] [stdout]    |                             ^ slice indices are of type `usize` or ranges of `usize`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `SliceIndex<[u8]>` is not implemented for `u16`
[INFO] [stdout]    = help: the following other types implement trait `SliceIndex<T>`:
[INFO] [stdout]              `usize` implements `SliceIndex<ByteStr>`
[INFO] [stdout]              `usize` implements `SliceIndex<[T]>`
[INFO] [stdout]    = note: required for `[u8]` to implement `Index<u16>`
[INFO] [stdout]    = note: 1 redundant requirement hidden
[INFO] [stdout]    = note: required for `[u8; 16]` to implement `Index<u16>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the type `[u8]` cannot be indexed by `u16`
[INFO] [stdout]   --> src/main.rs:59:36
[INFO] [stdout]    |
[INFO] [stdout] 59 |                 0x0000 => v[x] = v[y], // LD Vx, Vy
[INFO] [stdout]    |                                    ^ slice indices are of type `usize` or ranges of `usize`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `SliceIndex<[u8]>` is not implemented for `u16`
[INFO] [stdout]    = help: the following other types implement trait `SliceIndex<T>`:
[INFO] [stdout]              `usize` implements `SliceIndex<ByteStr>`
[INFO] [stdout]              `usize` implements `SliceIndex<[T]>`
[INFO] [stdout]    = note: required for `[u8]` to implement `Index<u16>`
[INFO] [stdout]    = note: 1 redundant requirement hidden
[INFO] [stdout]    = note: required for `[u8; 16]` to implement `Index<u16>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the type `[u8]` cannot be indexed by `u16`
[INFO] [stdout]   --> src/main.rs:60:29
[INFO] [stdout]    |
[INFO] [stdout] 60 |                 0x0001 => v[x] = v[x] | v[y], // OR
[INFO] [stdout]    |                             ^ slice indices are of type `usize` or ranges of `usize`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `SliceIndex<[u8]>` is not implemented for `u16`
[INFO] [stdout]    = help: the following other types implement trait `SliceIndex<T>`:
[INFO] [stdout]              `usize` implements `SliceIndex<ByteStr>`
[INFO] [stdout]              `usize` implements `SliceIndex<[T]>`
[INFO] [stdout]    = note: required for `[u8]` to implement `Index<u16>`
[INFO] [stdout]    = note: 1 redundant requirement hidden
[INFO] [stdout]    = note: required for `[u8; 16]` to implement `Index<u16>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the type `[u8]` cannot be indexed by `u16`
[INFO] [stdout]   --> src/main.rs:60:36
[INFO] [stdout]    |
[INFO] [stdout] 60 |                 0x0001 => v[x] = v[x] | v[y], // OR
[INFO] [stdout]    |                                    ^ slice indices are of type `usize` or ranges of `usize`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `SliceIndex<[u8]>` is not implemented for `u16`
[INFO] [stdout]    = help: the following other types implement trait `SliceIndex<T>`:
[INFO] [stdout]              `usize` implements `SliceIndex<ByteStr>`
[INFO] [stdout]              `usize` implements `SliceIndex<[T]>`
[INFO] [stdout]    = note: required for `[u8]` to implement `Index<u16>`
[INFO] [stdout]    = note: 1 redundant requirement hidden
[INFO] [stdout]    = note: required for `[u8; 16]` to implement `Index<u16>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the type `[u8]` cannot be indexed by `u16`
[INFO] [stdout]   --> src/main.rs:60:43
[INFO] [stdout]    |
[INFO] [stdout] 60 |                 0x0001 => v[x] = v[x] | v[y], // OR
[INFO] [stdout]    |                                           ^ slice indices are of type `usize` or ranges of `usize`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `SliceIndex<[u8]>` is not implemented for `u16`
[INFO] [stdout]    = help: the following other types implement trait `SliceIndex<T>`:
[INFO] [stdout]              `usize` implements `SliceIndex<ByteStr>`
[INFO] [stdout]              `usize` implements `SliceIndex<[T]>`
[INFO] [stdout]    = note: required for `[u8]` to implement `Index<u16>`
[INFO] [stdout]    = note: 1 redundant requirement hidden
[INFO] [stdout]    = note: required for `[u8; 16]` to implement `Index<u16>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the type `[u8]` cannot be indexed by `u16`
[INFO] [stdout]   --> src/main.rs:61:29
[INFO] [stdout]    |
[INFO] [stdout] 61 |                 0x0002 => v[x] = v[x] & v[y], // AND
[INFO] [stdout]    |                             ^ slice indices are of type `usize` or ranges of `usize`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `SliceIndex<[u8]>` is not implemented for `u16`
[INFO] [stdout]    = help: the following other types implement trait `SliceIndex<T>`:
[INFO] [stdout]              `usize` implements `SliceIndex<ByteStr>`
[INFO] [stdout]              `usize` implements `SliceIndex<[T]>`
[INFO] [stdout]    = note: required for `[u8]` to implement `Index<u16>`
[INFO] [stdout]    = note: 1 redundant requirement hidden
[INFO] [stdout]    = note: required for `[u8; 16]` to implement `Index<u16>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the type `[u8]` cannot be indexed by `u16`
[INFO] [stdout]   --> src/main.rs:61:36
[INFO] [stdout]    |
[INFO] [stdout] 61 |                 0x0002 => v[x] = v[x] & v[y], // AND
[INFO] [stdout]    |                                    ^ slice indices are of type `usize` or ranges of `usize`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `SliceIndex<[u8]>` is not implemented for `u16`
[INFO] [stdout]    = help: the following other types implement trait `SliceIndex<T>`:
[INFO] [stdout]              `usize` implements `SliceIndex<ByteStr>`
[INFO] [stdout]              `usize` implements `SliceIndex<[T]>`
[INFO] [stdout]    = note: required for `[u8]` to implement `Index<u16>`
[INFO] [stdout]    = note: 1 redundant requirement hidden
[INFO] [stdout]    = note: required for `[u8; 16]` to implement `Index<u16>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the type `[u8]` cannot be indexed by `u16`
[INFO] [stdout]   --> src/main.rs:61:43
[INFO] [stdout]    |
[INFO] [stdout] 61 |                 0x0002 => v[x] = v[x] & v[y], // AND
[INFO] [stdout]    |                                           ^ slice indices are of type `usize` or ranges of `usize`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `SliceIndex<[u8]>` is not implemented for `u16`
[INFO] [stdout]    = help: the following other types implement trait `SliceIndex<T>`:
[INFO] [stdout]              `usize` implements `SliceIndex<ByteStr>`
[INFO] [stdout]              `usize` implements `SliceIndex<[T]>`
[INFO] [stdout]    = note: required for `[u8]` to implement `Index<u16>`
[INFO] [stdout]    = note: 1 redundant requirement hidden
[INFO] [stdout]    = note: required for `[u8; 16]` to implement `Index<u16>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the type `[u8]` cannot be indexed by `u16`
[INFO] [stdout]   --> src/main.rs:62:29
[INFO] [stdout]    |
[INFO] [stdout] 62 |                 0x0003 => v[x] = v[x] ^ v[y], // XOR
[INFO] [stdout]    |                             ^ slice indices are of type `usize` or ranges of `usize`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `SliceIndex<[u8]>` is not implemented for `u16`
[INFO] [stdout]    = help: the following other types implement trait `SliceIndex<T>`:
[INFO] [stdout]              `usize` implements `SliceIndex<ByteStr>`
[INFO] [stdout]              `usize` implements `SliceIndex<[T]>`
[INFO] [stdout]    = note: required for `[u8]` to implement `Index<u16>`
[INFO] [stdout]    = note: 1 redundant requirement hidden
[INFO] [stdout]    = note: required for `[u8; 16]` to implement `Index<u16>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the type `[u8]` cannot be indexed by `u16`
[INFO] [stdout]   --> src/main.rs:62:36
[INFO] [stdout]    |
[INFO] [stdout] 62 |                 0x0003 => v[x] = v[x] ^ v[y], // XOR
[INFO] [stdout]    |                                    ^ slice indices are of type `usize` or ranges of `usize`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `SliceIndex<[u8]>` is not implemented for `u16`
[INFO] [stdout]    = help: the following other types implement trait `SliceIndex<T>`:
[INFO] [stdout]              `usize` implements `SliceIndex<ByteStr>`
[INFO] [stdout]              `usize` implements `SliceIndex<[T]>`
[INFO] [stdout]    = note: required for `[u8]` to implement `Index<u16>`
[INFO] [stdout]    = note: 1 redundant requirement hidden
[INFO] [stdout]    = note: required for `[u8; 16]` to implement `Index<u16>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the type `[u8]` cannot be indexed by `u16`
[INFO] [stdout]   --> src/main.rs:62:43
[INFO] [stdout]    |
[INFO] [stdout] 62 |                 0x0003 => v[x] = v[x] ^ v[y], // XOR
[INFO] [stdout]    |                                           ^ slice indices are of type `usize` or ranges of `usize`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `SliceIndex<[u8]>` is not implemented for `u16`
[INFO] [stdout]    = help: the following other types implement trait `SliceIndex<T>`:
[INFO] [stdout]              `usize` implements `SliceIndex<ByteStr>`
[INFO] [stdout]              `usize` implements `SliceIndex<[T]>`
[INFO] [stdout]    = note: required for `[u8]` to implement `Index<u16>`
[INFO] [stdout]    = note: 1 redundant requirement hidden
[INFO] [stdout]    = note: required for `[u8; 16]` to implement `Index<u16>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the type `[u8]` cannot be indexed by `u16`
[INFO] [stdout]   --> src/main.rs:70:25
[INFO] [stdout]    |
[INFO] [stdout] 70 |             0x9 => if v[x] != v[y] { program_counter += 2; }, // SNE Vx, Vy
[INFO] [stdout]    |                         ^ slice indices are of type `usize` or ranges of `usize`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `SliceIndex<[u8]>` is not implemented for `u16`
[INFO] [stdout]    = help: the following other types implement trait `SliceIndex<T>`:
[INFO] [stdout]              `usize` implements `SliceIndex<ByteStr>`
[INFO] [stdout]              `usize` implements `SliceIndex<[T]>`
[INFO] [stdout]    = note: required for `[u8]` to implement `Index<u16>`
[INFO] [stdout]    = note: 1 redundant requirement hidden
[INFO] [stdout]    = note: required for `[u8; 16]` to implement `Index<u16>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: the type `[u8]` cannot be indexed by `u16`
[INFO] [stdout]   --> src/main.rs:70:33
[INFO] [stdout]    |
[INFO] [stdout] 70 |             0x9 => if v[x] != v[y] { program_counter += 2; }, // SNE Vx, Vy
[INFO] [stdout]    |                                 ^ slice indices are of type `usize` or ranges of `usize`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `SliceIndex<[u8]>` is not implemented for `u16`
[INFO] [stdout]    = help: the following other types implement trait `SliceIndex<T>`:
[INFO] [stdout]              `usize` implements `SliceIndex<ByteStr>`
[INFO] [stdout]              `usize` implements `SliceIndex<[T]>`
[INFO] [stdout]    = note: required for `[u8]` to implement `Index<u16>`
[INFO] [stdout]    = note: 1 redundant requirement hidden
[INFO] [stdout]    = note: required for `[u8; 16]` to implement `Index<u16>`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0308]: mismatched types
[INFO] [stdout]   --> src/main.rs:72:44
[INFO] [stdout]    |
[INFO] [stdout] 72 |             0xB => program_counter = nnn + v[0], // JP V0, addr
[INFO] [stdout]    |                                            ^^^^ expected `u16`, found `u8`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0277]: cannot add `u8` to `u16`
[INFO] [stdout]   --> src/main.rs:72:42
[INFO] [stdout]    |
[INFO] [stdout] 72 |             0xB => program_counter = nnn + v[0], // JP V0, addr
[INFO] [stdout]    |                                          ^ no implementation for `u16 + u8`
[INFO] [stdout]    |
[INFO] [stdout]    = help: the trait `Add<u8>` is not implemented for `u16`
[INFO] [stdout]    = help: the following other types implement trait `Add<Rhs>`:
[INFO] [stdout]              `&u16` implements `Add<u16>`
[INFO] [stdout]              `&u16` implements `Add`
[INFO] [stdout]              `u16` implements `Add<&u16>`
[INFO] [stdout]              `u16` implements `Add`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0277, E0308.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0277`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `chip` (bin "chip" test) due to 26 previous errors
[INFO] running `Command { std: "docker" "inspect" "ad65d0e649793c7b6ba4543d867ed831c14786bc2dd7a4c0fe2d8375ed01d401", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "ad65d0e649793c7b6ba4543d867ed831c14786bc2dd7a4c0fe2d8375ed01d401", kill_on_drop: false }`
[INFO] [stdout] ad65d0e649793c7b6ba4543d867ed831c14786bc2dd7a4c0fe2d8375ed01d401
