[INFO] cloning repository https://github.com/eddychu/y86sim [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/eddychu/y86sim" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feddychu%2Fy86sim", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feddychu%2Fy86sim'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] d8b883dfe79850b7c6643b8a789c7e15e1e23084 [INFO] checking eddychu/y86sim against master#dfd7b8d03fb93d0e03147d28b3be6d93260fa94d for pr-87050 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Feddychu%2Fy86sim" "/workspace/builds/worker-7/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-7/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/eddychu/y86sim on toolchain dfd7b8d03fb93d0e03147d28b3be6d93260fa94d [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/eddychu/y86sim [INFO] finished tweaking git repo https://github.com/eddychu/y86sim [INFO] tweaked toml for git repo https://github.com/eddychu/y86sim written to /workspace/builds/worker-7/source/Cargo.toml [INFO] crate git repo https://github.com/eddychu/y86sim already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 9a196bb7e586393a46ee742798de0c8bbf473b3e25533ec4d3875a8fe182bd1b [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "9a196bb7e586393a46ee742798de0c8bbf473b3e25533ec4d3875a8fe182bd1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "9a196bb7e586393a46ee742798de0c8bbf473b3e25533ec4d3875a8fe182bd1b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "9a196bb7e586393a46ee742798de0c8bbf473b3e25533ec4d3875a8fe182bd1b", kill_on_drop: false }` [INFO] [stdout] 9a196bb7e586393a46ee742798de0c8bbf473b3e25533ec4d3875a8fe182bd1b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-7/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+dfd7b8d03fb93d0e03147d28b3be6d93260fa94d" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] c82141e4225f08bbc8006e94076c6cf88cf564d62c304e8db1f59709076b5ed1 [INFO] running `Command { std: "docker" "start" "-a" "c82141e4225f08bbc8006e94076c6cf88cf564d62c304e8db1f59709076b5ed1", kill_on_drop: false }` [INFO] [stderr] Compiling memchr v2.4.0 [INFO] [stderr] Checking regex-syntax v0.6.25 [INFO] [stderr] Checking aho-corasick v0.7.18 [INFO] [stderr] Checking regex v1.5.4 [INFO] [stderr] Checking y86sim v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `io` [INFO] [stdout] --> src/main.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | use std::{fs, io}; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `io` [INFO] [stdout] --> src/main.rs:9:15 [INFO] [stdout] | [INFO] [stdout] 9 | use std::{fs, io}; [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ra` [INFO] [stdout] --> src/cpu.rs:95:14 [INFO] [stdout] | [INFO] [stdout] 95 | let (ra, rb) = read_nibbles(mem.read_byte(self.pc + 1)); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ra` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `valp` [INFO] [stdout] --> src/cpu.rs:228:13 [INFO] [stdout] | [INFO] [stdout] 228 | let valp = self.pc + 1; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_valp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `InstructionType` [INFO] [stdout] --> src/constants.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum InstructionType { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_zf` [INFO] [stdout] --> src/cpu.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn write_zf(&mut self, v: bool) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_sf` [INFO] [stdout] --> src/cpu.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn write_sf(&mut self, v: bool) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_of` [INFO] [stdout] --> src/cpu.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn write_of(&mut self, v: bool) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_zf` [INFO] [stdout] --> src/cpu.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn read_zf(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_sf` [INFO] [stdout] --> src/cpu.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn read_sf(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_of` [INFO] [stdout] --> src/cpu.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn read_of(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_pc` [INFO] [stdout] --> src/cpu.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn read_pc(&self) -> u64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dump` [INFO] [stdout] --> src/memory.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn dump(&self, start: u8, end: u8) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ra` [INFO] [stdout] --> src/cpu.rs:95:14 [INFO] [stdout] | [INFO] [stdout] 95 | let (ra, rb) = read_nibbles(mem.read_byte(self.pc + 1)); [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ra` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `valp` [INFO] [stdout] --> src/cpu.rs:228:13 [INFO] [stdout] | [INFO] [stdout] 228 | let valp = self.pc + 1; [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_valp` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum is never used: `InstructionType` [INFO] [stdout] --> src/constants.rs:1:10 [INFO] [stdout] | [INFO] [stdout] 1 | pub enum InstructionType { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_zf` [INFO] [stdout] --> src/cpu.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 25 | pub fn write_zf(&mut self, v: bool) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_sf` [INFO] [stdout] --> src/cpu.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub fn write_sf(&mut self, v: bool) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `write_of` [INFO] [stdout] --> src/cpu.rs:33:12 [INFO] [stdout] | [INFO] [stdout] 33 | pub fn write_of(&mut self, v: bool) { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_zf` [INFO] [stdout] --> src/cpu.rs:37:12 [INFO] [stdout] | [INFO] [stdout] 37 | pub fn read_zf(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_sf` [INFO] [stdout] --> src/cpu.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 41 | pub fn read_sf(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_of` [INFO] [stdout] --> src/cpu.rs:45:12 [INFO] [stdout] | [INFO] [stdout] 45 | pub fn read_of(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `read_pc` [INFO] [stdout] --> src/cpu.rs:57:12 [INFO] [stdout] | [INFO] [stdout] 57 | pub fn read_pc(&self) -> u64 { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function is never used: `dump` [INFO] [stdout] --> src/memory.rs:36:12 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn dump(&self, start: u8, end: u8) { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 6.02s [INFO] running `Command { std: "docker" "inspect" "c82141e4225f08bbc8006e94076c6cf88cf564d62c304e8db1f59709076b5ed1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "c82141e4225f08bbc8006e94076c6cf88cf564d62c304e8db1f59709076b5ed1", kill_on_drop: false }` [INFO] [stdout] c82141e4225f08bbc8006e94076c6cf88cf564d62c304e8db1f59709076b5ed1