[INFO] cloning repository https://github.com/ClockworkG/chip8 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ClockworkG/chip8" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FClockworkG%2Fchip8", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FClockworkG%2Fchip8'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 92f578ad0a0fe0992d90f2e9b56c1ecada9bfd83 [INFO] checking ClockworkG/chip8/92f578ad0a0fe0992d90f2e9b56c1ecada9bfd83 against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FClockworkG%2Fchip8" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/ClockworkG/chip8 on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/ClockworkG/chip8 [INFO] finished tweaking git repo https://github.com/ClockworkG/chip8 [INFO] tweaked toml for git repo https://github.com/ClockworkG/chip8 written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/ClockworkG/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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded minifb v0.13.0 [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 8d44e01eac74a2f2562ae94d575ed957bfe164c0eda14a5016aa3a925977e10a [INFO] running `Command { std: "docker" "start" "-a" "8d44e01eac74a2f2562ae94d575ed957bfe164c0eda14a5016aa3a925977e10a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "8d44e01eac74a2f2562ae94d575ed957bfe164c0eda14a5016aa3a925977e10a", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8d44e01eac74a2f2562ae94d575ed957bfe164c0eda14a5016aa3a925977e10a", kill_on_drop: false }` [INFO] [stdout] 8d44e01eac74a2f2562ae94d575ed957bfe164c0eda14a5016aa3a925977e10a [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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ff3556bc57bdc5b810a90d8dd7debe6d1773d5c1323fd7a11e153def877c9115 [INFO] running `Command { std: "docker" "start" "-a" "ff3556bc57bdc5b810a90d8dd7debe6d1773d5c1323fd7a11e153def877c9115", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.65 [INFO] [stderr] Checking unicode-width v0.1.6 [INFO] [stderr] Compiling cc v1.0.46 [INFO] [stderr] Compiling x11-dl v2.18.4 [INFO] [stderr] Checking ppv-lite86 v0.2.6 [INFO] [stderr] Checking cast v0.2.2 [INFO] [stderr] Checking utf8parse v0.1.1 [INFO] [stderr] Checking unicode-segmentation v1.3.0 [INFO] [stderr] Checking textwrap v0.11.0 [INFO] [stderr] Checking numtoa v0.1.0 [INFO] [stderr] Checking c2-chacha v0.2.3 [INFO] [stderr] Checking getrandom v0.1.12 [INFO] [stderr] Checking dirs-sys v0.3.4 [INFO] [stderr] Checking nix v0.14.1 [INFO] [stderr] Checking time v0.1.42 [INFO] [stderr] Checking atty v0.2.13 [INFO] [stderr] Checking termion v1.5.3 [INFO] [stderr] Compiling minifb v0.13.0 [INFO] [stderr] Checking clap v2.33.0 [INFO] [stderr] Checking dirs v2.0.2 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.1 [INFO] [stderr] Checking rand v0.7.2 [INFO] [stderr] Checking rustyline v5.0.3 [INFO] [stderr] Checking chip-8 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `memory::MainMemory` in the current scope [INFO] [stdout] --> src/memory.rs:186:35 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct MainMemory { [INFO] [stdout] | --------------------- function or associated item `new` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 186 | let mut mem = MainMemory::new(); [INFO] [stdout] | ^^^ function or associated item not found in `MainMemory` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `memory::MainMemory`, consider using `memory::MainMemory::with_rom` which returns `memory::MainMemory` [INFO] [stdout] --> src/memory.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn with_rom(rom: ROM) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `new`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `UniformSampler` [INFO] [stdout] candidate #2: `rustyline::tty::Term` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `memory::MainMemory` in the current scope [INFO] [stdout] --> src/memory.rs:193:35 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct MainMemory { [INFO] [stdout] | --------------------- function or associated item `new` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 193 | let mut mem = MainMemory::new(); [INFO] [stdout] | ^^^ function or associated item not found in `MainMemory` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `memory::MainMemory`, consider using `memory::MainMemory::with_rom` which returns `memory::MainMemory` [INFO] [stdout] --> src/memory.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn with_rom(rom: ROM) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `new`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `UniformSampler` [INFO] [stdout] candidate #2: `rustyline::tty::Term` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `memory::MainMemory` in the current scope [INFO] [stdout] --> src/memory.rs:201:35 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct MainMemory { [INFO] [stdout] | --------------------- function or associated item `new` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 201 | let mut mem = MainMemory::new(); [INFO] [stdout] | ^^^ function or associated item not found in `MainMemory` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `memory::MainMemory`, consider using `memory::MainMemory::with_rom` which returns `memory::MainMemory` [INFO] [stdout] --> src/memory.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn with_rom(rom: ROM) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `new`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `UniformSampler` [INFO] [stdout] candidate #2: `rustyline::tty::Term` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `0` is never read [INFO] [stdout] --> src/cli.rs:15:17 [INFO] [stdout] | [INFO] [stdout] 15 | IOError(io::Error), [INFO] [stdout] | ------- ^^^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | field in this variant [INFO] [stdout] | [INFO] [stdout] = note: `CLIError` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] help: consider changing the field to be of unit type to suppress this warning while preserving the field numbering, or remove the field [INFO] [stdout] | [INFO] [stdout] 15 | IOError(()), [INFO] [stdout] | ~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `debug` is never read [INFO] [stdout] --> src/watcher.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 4 | pub struct Watcher { [INFO] [stdout] | ------- field in this struct [INFO] [stdout] 5 | pub verbose: bool, [INFO] [stdout] 6 | pub debug: bool, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/memory.rs:31:9 [INFO] [stdout] | [INFO] [stdout] 31 | &mem[inf_bound..sup_bound].copy_from_slice(rom.bytes()); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_must_use)]` on by default [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 31 | let _ = &mem[inf_bound..sup_bound].copy_from_slice(rom.bytes()); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/memory.rs:46:9 [INFO] [stdout] | [INFO] [stdout] 46 | &self.mem[0..5].copy_from_slice(&[0xF0, 0x90, 0x90, 0x90, 0xF0]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 46 | let _ = &self.mem[0..5].copy_from_slice(&[0xF0, 0x90, 0x90, 0x90, 0xF0]); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/memory.rs:49:9 [INFO] [stdout] | [INFO] [stdout] 49 | &self.mem[5..10].copy_from_slice(&[0x20, 0x60, 0x20, 0x20, 0x70]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 49 | let _ = &self.mem[5..10].copy_from_slice(&[0x20, 0x60, 0x20, 0x20, 0x70]); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/memory.rs:52:9 [INFO] [stdout] | [INFO] [stdout] 52 | &self.mem[10..15].copy_from_slice(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 52 | let _ = &self.mem[10..15].copy_from_slice(&[0xF0, 0x10, 0xF0, 0x80, 0xF0]); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/memory.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | &self.mem[15..20].copy_from_slice(&[0xF0, 0x10, 0xF0, 0x10, 0xF0]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 55 | let _ = &self.mem[15..20].copy_from_slice(&[0xF0, 0x10, 0xF0, 0x10, 0xF0]); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/memory.rs:58:9 [INFO] [stdout] | [INFO] [stdout] 58 | &self.mem[20..25].copy_from_slice(&[0xF0, 0x10, 0xF0, 0x10, 0xF0]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 58 | let _ = &self.mem[20..25].copy_from_slice(&[0xF0, 0x10, 0xF0, 0x10, 0xF0]); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `new` found for struct `memory::MainMemory` in the current scope [INFO] [stdout] --> src/memory.rs:208:31 [INFO] [stdout] | [INFO] [stdout] 17 | pub struct MainMemory { [INFO] [stdout] | --------------------- function or associated item `new` not found for this struct [INFO] [stdout] ... [INFO] [stdout] 208 | let mem = MainMemory::new(); [INFO] [stdout] | ^^^ function or associated item not found in `MainMemory` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `memory::MainMemory`, consider using `memory::MainMemory::with_rom` which returns `memory::MainMemory` [INFO] [stdout] --> src/memory.rs:26:5 [INFO] [stdout] | [INFO] [stdout] 26 | pub fn with_rom(rom: ROM) -> Self { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following traits define an item `new`, perhaps you need to implement one of them: [INFO] [stdout] candidate #1: `UniformSampler` [INFO] [stdout] candidate #2: `rustyline::tty::Term` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/memory.rs:61:9 [INFO] [stdout] | [INFO] [stdout] 61 | &self.mem[25..30].copy_from_slice(&[0xF0, 0x80, 0xF0, 0x10, 0xF0]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 61 | let _ = &self.mem[25..30].copy_from_slice(&[0xF0, 0x80, 0xF0, 0x10, 0xF0]); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/memory.rs:64:9 [INFO] [stdout] | [INFO] [stdout] 64 | &self.mem[30..35].copy_from_slice(&[0xF0, 0x80, 0xF0, 0x90, 0xF0]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 64 | let _ = &self.mem[30..35].copy_from_slice(&[0xF0, 0x80, 0xF0, 0x90, 0xF0]); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/memory.rs:67:9 [INFO] [stdout] | [INFO] [stdout] 67 | &self.mem[35..40].copy_from_slice(&[0xF0, 0x10, 0x20, 0x40, 0x40]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 67 | let _ = &self.mem[35..40].copy_from_slice(&[0xF0, 0x10, 0x20, 0x40, 0x40]); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/memory.rs:70:9 [INFO] [stdout] | [INFO] [stdout] 70 | &self.mem[40..45].copy_from_slice(&[0xF0, 0x90, 0xF0, 0x90, 0xF0]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 70 | let _ = &self.mem[40..45].copy_from_slice(&[0xF0, 0x90, 0xF0, 0x90, 0xF0]); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/memory.rs:73:9 [INFO] [stdout] | [INFO] [stdout] 73 | &self.mem[45..50].copy_from_slice(&[0xF0, 0x90, 0xF0, 0x10, 0xF0]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 73 | let _ = &self.mem[45..50].copy_from_slice(&[0xF0, 0x90, 0xF0, 0x10, 0xF0]); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/memory.rs:76:9 [INFO] [stdout] | [INFO] [stdout] 76 | &self.mem[50..55].copy_from_slice(&[0xF0, 0x90, 0xF0, 0x90, 0x90]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 76 | let _ = &self.mem[50..55].copy_from_slice(&[0xF0, 0x90, 0xF0, 0x90, 0x90]); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/memory.rs:79:9 [INFO] [stdout] | [INFO] [stdout] 79 | &self.mem[55..60].copy_from_slice(&[0xE0, 0x90, 0xE0, 0x90, 0xE0]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 79 | let _ = &self.mem[55..60].copy_from_slice(&[0xE0, 0x90, 0xE0, 0x90, 0xE0]); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/memory.rs:82:9 [INFO] [stdout] | [INFO] [stdout] 82 | &self.mem[60..65].copy_from_slice(&[0xF0, 0x80, 0x80, 0x80, 0xF0]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 82 | let _ = &self.mem[60..65].copy_from_slice(&[0xF0, 0x80, 0x80, 0x80, 0xF0]); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/memory.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | &self.mem[65..70].copy_from_slice(&[0xE0, 0x90, 0x90, 0x90, 0xE0]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 85 | let _ = &self.mem[65..70].copy_from_slice(&[0xE0, 0x90, 0x90, 0x90, 0xE0]); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/memory.rs:88:9 [INFO] [stdout] | [INFO] [stdout] 88 | &self.mem[70..75].copy_from_slice(&[0xF0, 0x80, 0xF0, 0x80, 0xF0]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 88 | let _ = &self.mem[70..75].copy_from_slice(&[0xF0, 0x80, 0xF0, 0x80, 0xF0]); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused borrow that must be used [INFO] [stdout] --> src/memory.rs:91:9 [INFO] [stdout] | [INFO] [stdout] 91 | &self.mem[75..80].copy_from_slice(&[0xF0, 0x80, 0xF0, 0x80, 0x80]); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ the borrow produces a value [INFO] [stdout] | [INFO] [stdout] help: use `let _ = ...` to ignore the resulting value [INFO] [stdout] | [INFO] [stdout] 91 | let _ = &self.mem[75..80].copy_from_slice(&[0xF0, 0x80, 0xF0, 0x80, 0x80]); [INFO] [stdout] | +++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 19 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 4 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0599`. [INFO] [stdout] [INFO] [stderr] error: could not compile `chip-8` (bin "chip-8" test) due to 5 previous errors [INFO] running `Command { std: "docker" "inspect" "ff3556bc57bdc5b810a90d8dd7debe6d1773d5c1323fd7a11e153def877c9115", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ff3556bc57bdc5b810a90d8dd7debe6d1773d5c1323fd7a11e153def877c9115", kill_on_drop: false }` [INFO] [stdout] ff3556bc57bdc5b810a90d8dd7debe6d1773d5c1323fd7a11e153def877c9115