[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] testing EMajesty/rusty-chip8 against master#1ef7943ee607160a564655b6596f83670ef95df5 for pr-146098-6
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FEMajesty%2Frusty-chip8" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-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-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/EMajesty/rusty-chip8 on toolchain 1ef7943ee607160a564655b6596f83670ef95df5
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "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" "+1ef7943ee607160a564655b6596f83670ef95df5" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] d0e30e166d8c02f8873240b4a09017bccd9e26c038a33a849ed585efeba22198
[INFO] running `Command { std: "docker" "start" "-a" "d0e30e166d8c02f8873240b4a09017bccd9e26c038a33a849ed585efeba22198", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "d0e30e166d8c02f8873240b4a09017bccd9e26c038a33a849ed585efeba22198", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "d0e30e166d8c02f8873240b4a09017bccd9e26c038a33a849ed585efeba22198", kill_on_drop: false }`
[INFO] [stdout] d0e30e166d8c02f8873240b4a09017bccd9e26c038a33a849ed585efeba22198
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:4848fb76d95f26979359cc7e45710b1dbc8f3acb7aeedee7c460d7702230f228" "/opt/rustwide/cargo-home/bin/cargo" "+1ef7943ee607160a564655b6596f83670ef95df5" "build" "--frozen" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] bac9945011fad9ed5380b19ab9665bc4b6b2987e193f47315d4c879672be60df
[INFO] running `Command { std: "docker" "start" "-a" "bac9945011fad9ed5380b19ab9665bc4b6b2987e193f47315d4c879672be60df", kill_on_drop: false }`
[INFO] [stderr]    Compiling 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] [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]   --> /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/slice/index.rs:215:1
[INFO] [stdout]    |
[INFO] [stdout]    = note: `usize` implements `SliceIndex<[T]>`
[INFO] [stdout]   --> /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/bstr/traits.rs:203:1
[INFO] [stdout]    |
[INFO] [stdout]    = note: `usize` implements `SliceIndex<ByteStr>`
[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]   --> /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/slice/index.rs:215:1
[INFO] [stdout]    |
[INFO] [stdout]    = note: `usize` implements `SliceIndex<[T]>`
[INFO] [stdout]   --> /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/bstr/traits.rs:203:1
[INFO] [stdout]    |
[INFO] [stdout]    = note: `usize` implements `SliceIndex<ByteStr>`
[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]   --> /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/slice/index.rs:215:1
[INFO] [stdout]    |
[INFO] [stdout]    = note: `usize` implements `SliceIndex<[T]>`
[INFO] [stdout]   --> /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/bstr/traits.rs:203:1
[INFO] [stdout]    |
[INFO] [stdout]    = note: `usize` implements `SliceIndex<ByteStr>`
[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]   --> /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/slice/index.rs:215:1
[INFO] [stdout]    |
[INFO] [stdout]    = note: `usize` implements `SliceIndex<[T]>`
[INFO] [stdout]   --> /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/bstr/traits.rs:203:1
[INFO] [stdout]    |
[INFO] [stdout]    = note: `usize` implements `SliceIndex<ByteStr>`
[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]   --> /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/slice/index.rs:215:1
[INFO] [stdout]    |
[INFO] [stdout]    = note: `usize` implements `SliceIndex<[T]>`
[INFO] [stdout]   --> /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/bstr/traits.rs:203:1
[INFO] [stdout]    |
[INFO] [stdout]    = note: `usize` implements `SliceIndex<ByteStr>`
[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]   --> /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/slice/index.rs:215:1
[INFO] [stdout]    |
[INFO] [stdout]    = note: `usize` implements `SliceIndex<[T]>`
[INFO] [stdout]   --> /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/bstr/traits.rs:203:1
[INFO] [stdout]    |
[INFO] [stdout]    = note: `usize` implements `SliceIndex<ByteStr>`
[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]   --> /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/slice/index.rs:215:1
[INFO] [stdout]    |
[INFO] [stdout]    = note: `usize` implements `SliceIndex<[T]>`
[INFO] [stdout]   --> /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/bstr/traits.rs:203:1
[INFO] [stdout]    |
[INFO] [stdout]    = note: `usize` implements `SliceIndex<ByteStr>`
[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]   --> /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/slice/index.rs:215:1
[INFO] [stdout]    |
[INFO] [stdout]    = note: `usize` implements `SliceIndex<[T]>`
[INFO] [stdout]   --> /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/bstr/traits.rs:203:1
[INFO] [stdout]    |
[INFO] [stdout]    = note: `usize` implements `SliceIndex<ByteStr>`
[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]   --> /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/slice/index.rs:215:1
[INFO] [stdout]    |
[INFO] [stdout]    = note: `usize` implements `SliceIndex<[T]>`
[INFO] [stdout]   --> /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/bstr/traits.rs:203:1
[INFO] [stdout]    |
[INFO] [stdout]    = note: `usize` implements `SliceIndex<ByteStr>`
[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]   --> /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/slice/index.rs:215:1
[INFO] [stdout]    |
[INFO] [stdout]    = note: `usize` implements `SliceIndex<[T]>`
[INFO] [stdout]   --> /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/bstr/traits.rs:203:1
[INFO] [stdout]    |
[INFO] [stdout]    = note: `usize` implements `SliceIndex<ByteStr>`
[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]   --> /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/slice/index.rs:215:1
[INFO] [stdout]    |
[INFO] [stdout]    = note: `usize` implements `SliceIndex<[T]>`
[INFO] [stdout]   --> /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/bstr/traits.rs:203:1
[INFO] [stdout]    |
[INFO] [stdout]    = note: `usize` implements `SliceIndex<ByteStr>`
[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]   --> /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/slice/index.rs:215:1
[INFO] [stdout]    |
[INFO] [stdout]    = note: `usize` implements `SliceIndex<[T]>`
[INFO] [stdout]   --> /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/bstr/traits.rs:203:1
[INFO] [stdout]    |
[INFO] [stdout]    = note: `usize` implements `SliceIndex<ByteStr>`
[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]   --> /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/slice/index.rs:215:1
[INFO] [stdout]    |
[INFO] [stdout]    = note: `usize` implements `SliceIndex<[T]>`
[INFO] [stdout]   --> /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/bstr/traits.rs:203:1
[INFO] [stdout]    |
[INFO] [stdout]    = note: `usize` implements `SliceIndex<ByteStr>`
[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]   --> /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/slice/index.rs:215:1
[INFO] [stdout]    |
[INFO] [stdout]    = note: `usize` implements `SliceIndex<[T]>`
[INFO] [stdout]   --> /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/bstr/traits.rs:203:1
[INFO] [stdout]    |
[INFO] [stdout]    = note: `usize` implements `SliceIndex<ByteStr>`
[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]   --> /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/slice/index.rs:215:1
[INFO] [stdout]    |
[INFO] [stdout]    = note: `usize` implements `SliceIndex<[T]>`
[INFO] [stdout]   --> /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/bstr/traits.rs:203:1
[INFO] [stdout]    |
[INFO] [stdout]    = note: `usize` implements `SliceIndex<ByteStr>`
[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]   --> /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/slice/index.rs:215:1
[INFO] [stdout]    |
[INFO] [stdout]    = note: `usize` implements `SliceIndex<[T]>`
[INFO] [stdout]   --> /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/bstr/traits.rs:203:1
[INFO] [stdout]    |
[INFO] [stdout]    = note: `usize` implements `SliceIndex<ByteStr>`
[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]   --> /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/slice/index.rs:215:1
[INFO] [stdout]    |
[INFO] [stdout]    = note: `usize` implements `SliceIndex<[T]>`
[INFO] [stdout]   --> /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/bstr/traits.rs:203:1
[INFO] [stdout]    |
[INFO] [stdout]    = note: `usize` implements `SliceIndex<ByteStr>`
[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]   --> /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/slice/index.rs:215:1
[INFO] [stdout]    |
[INFO] [stdout]    = note: `usize` implements `SliceIndex<[T]>`
[INFO] [stdout]   --> /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/bstr/traits.rs:203:1
[INFO] [stdout]    |
[INFO] [stdout]    = note: `usize` implements `SliceIndex<ByteStr>`
[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]   --> /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/slice/index.rs:215:1
[INFO] [stdout]    |
[INFO] [stdout]    = note: `usize` implements `SliceIndex<[T]>`
[INFO] [stdout]   --> /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/bstr/traits.rs:203:1
[INFO] [stdout]    |
[INFO] [stdout]    = note: `usize` implements `SliceIndex<ByteStr>`
[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]   --> /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/slice/index.rs:215:1
[INFO] [stdout]    |
[INFO] [stdout]    = note: `usize` implements `SliceIndex<[T]>`
[INFO] [stdout]   --> /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/bstr/traits.rs:203:1
[INFO] [stdout]    |
[INFO] [stdout]    = note: `usize` implements `SliceIndex<ByteStr>`
[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]   --> /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/slice/index.rs:215:1
[INFO] [stdout]    |
[INFO] [stdout]    = note: `usize` implements `SliceIndex<[T]>`
[INFO] [stdout]   --> /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/bstr/traits.rs:203:1
[INFO] [stdout]    |
[INFO] [stdout]    = note: `usize` implements `SliceIndex<ByteStr>`
[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]   --> /rustc/1ef7943ee607160a564655b6596f83670ef95df5/library/core/src/ops/arith.rs:114:1
[INFO] [stdout]    |
[INFO] [stdout]    = note: `&u16` implements `Add<u16>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `&u16` implements `Add`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `u16` implements `Add<&u16>`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `u16` implements `Add`
[INFO] [stdout]    = note: this error originates in the macro `add_impl` (in Nightly builds, run with -Z macro-backtrace for more info)
[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") due to 26 previous errors
[INFO] running `Command { std: "docker" "inspect" "bac9945011fad9ed5380b19ab9665bc4b6b2987e193f47315d4c879672be60df", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "bac9945011fad9ed5380b19ab9665bc4b6b2987e193f47315d4c879672be60df", kill_on_drop: false }`
[INFO] [stdout] bac9945011fad9ed5380b19ab9665bc4b6b2987e193f47315d4c879672be60df
