[INFO] cloning repository https://github.com/esi271/emurust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/esi271/emurust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fesi271%2Femurust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fesi271%2Femurust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] fb81a5ee1db88eff59917e21300c83d9053edb9f [INFO] checking esi271/emurust against try#6284d7b4bd27983dba388146648ab844ca7d032f for pr-152971 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fesi271%2Femurust" "/workspace/builds/worker-6-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/esi271/emurust [INFO] finished tweaking git repo https://github.com/esi271/emurust [INFO] tweaked toml for git repo https://github.com/esi271/emurust written to /workspace/builds/worker-6-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/esi271/emurust on toolchain 6284d7b4bd27983dba388146648ab844ca7d032f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+6284d7b4bd27983dba388146648ab844ca7d032f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/esi271/emurust 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" "+6284d7b4bd27983dba388146648ab844ca7d032f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+6284d7b4bd27983dba388146648ab844ca7d032f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 64ab81e319cc89225e73e30d67856d764a1876f325de4f573a75b3ed06c45872 [INFO] running `Command { std: "docker" "start" "-a" "64ab81e319cc89225e73e30d67856d764a1876f325de4f573a75b3ed06c45872", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "64ab81e319cc89225e73e30d67856d764a1876f325de4f573a75b3ed06c45872", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "64ab81e319cc89225e73e30d67856d764a1876f325de4f573a75b3ed06c45872", kill_on_drop: false }` [INFO] [stdout] 64ab81e319cc89225e73e30d67856d764a1876f325de4f573a75b3ed06c45872 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc2/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:61361fe0aef631f17e9d025a70c5a647956f8c671dd02950a60ad3f5cc5526d7" "/opt/rustwide/cargo-home/bin/cargo" "+6284d7b4bd27983dba388146648ab844ca7d032f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] b4ea3ef0a1176eb3ff7bb6c15149bd23531c8eb1b45702e0f4db73308de57e79 [INFO] running `Command { std: "docker" "start" "-a" "b4ea3ef0a1176eb3ff7bb6c15149bd23531c8eb1b45702e0f4db73308de57e79", kill_on_drop: false }` [INFO] [stderr] Checking emurust v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/cpu.rs:164:40 [INFO] [stdout] | [INFO] [stdout] 164 | fn execute_cb(&mut self, code: u8, val: u8) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/cpu.rs:164:40 [INFO] [stdout] | [INFO] [stdout] 164 | fn execute_cb(&mut self, code: u8, val: u8) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cpu.rs:369:13 [INFO] [stdout] | [INFO] [stdout] 369 | _ => println!("ciao") [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/cpu.rs:369:13 [INFO] [stdout] | [INFO] [stdout] 336 | OpType::ADD => { [INFO] [stdout] | ----------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 341 | OpType::SUB | OpType::CP => { [INFO] [stdout] | ------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 346 | OpType::INC => { [INFO] [stdout] | ----------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 350 | OpType::DEC => { [INFO] [stdout] | ----------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 369 | _ => println!("ciao") [INFO] [stdout] | ^ ...and 3 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Registers` is never constructed [INFO] [stdout] --> src/cpu.rs:1:8 [INFO] [stdout] | [INFO] [stdout] 1 | struct Registers { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `init` and `set_a` are never used [INFO] [stdout] --> src/cpu.rs:13:8 [INFO] [stdout] | [INFO] [stdout] 11 | impl Registers { [INFO] [stdout] | -------------- associated items in this implementation [INFO] [stdout] 12 | [INFO] [stdout] 13 | fn init() -> Registers { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 17 | fn set_a(&mut self, val: u8) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Flags` is never constructed [INFO] [stdout] --> src/cpu.rs:23:8 [INFO] [stdout] | [INFO] [stdout] 23 | struct Flags { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `init` is never used [INFO] [stdout] --> src/cpu.rs:31:8 [INFO] [stdout] | [INFO] [stdout] 30 | impl Flags { [INFO] [stdout] | ---------- associated function in this implementation [INFO] [stdout] 31 | fn init() -> Flags { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `CPU` is never constructed [INFO] [stdout] --> src/cpu.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | struct CPU { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `OpType` is never used [INFO] [stdout] --> src/cpu.rs:41:6 [INFO] [stdout] | [INFO] [stdout] 41 | enum OpType { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/cpu.rs:55:8 [INFO] [stdout] | [INFO] [stdout] 53 | impl CPU { [INFO] [stdout] | -------- associated items in this implementation [INFO] [stdout] 54 | [INFO] [stdout] 55 | fn init() -> CPU { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 60 | fn execute(&mut self, code: u8, val: u8) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 164 | fn execute_cb(&mut self, code: u8, val: u8) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 228 | fn srl(&mut self, val: u8) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 232 | fn shift_right(&mut self, val: u8) -> u8 { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 236 | fn shift_left(&mut self, val: u8) -> u8 { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 240 | fn rrc(&mut self, val: u8) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 244 | fn rlc(&mut self, val: u8) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 248 | fn rr(&mut self, val: u8) -> u8 { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 253 | fn rl(&mut self, val: u8) -> u8 { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 258 | fn shift_op(&mut self, is_left: bool, val: u8, or_op: u8) -> u8 { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 270 | fn or(&mut self, val: u8) { [INFO] [stdout] | ^^ [INFO] [stdout] ... [INFO] [stdout] 274 | fn and(&mut self, val: u8) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 278 | fn xor(&mut self, val: u8) { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 282 | fn logical_op u8>(&mut self, op: F, x: u8, y: u8, optype: OpType) { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 289 | fn compare(&mut self, val: u8) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 293 | fn inc(&mut self, reg_val: u8) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 298 | fn dec(&mut self, reg_val: u8) -> u8 { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 303 | fn adda_r8(&mut self, val:u8) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 308 | fn suba_r8(&mut self, val:u8) { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 313 | fn add_with_carry(&mut self, val: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 318 | fn sub_with_carry(&mut self, val: u8) { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 323 | fn reg_operation(&mut self, op: F, reg1: u8, reg2: u8, optype: OpType) -> u8 [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 332 | fn set_flags (u8, bool)>(&mut self, x: u8, y: u8, f: F, optype: OpType) { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/cpu.rs:369:13 [INFO] [stdout] | [INFO] [stdout] 369 | _ => println!("ciao") [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] note: multiple earlier patterns match some of the same values [INFO] [stdout] --> src/cpu.rs:369:13 [INFO] [stdout] | [INFO] [stdout] 336 | OpType::ADD => { [INFO] [stdout] | ----------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 341 | OpType::SUB | OpType::CP => { [INFO] [stdout] | ------------------------ matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 346 | OpType::INC => { [INFO] [stdout] | ----------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 350 | OpType::DEC => { [INFO] [stdout] | ----------- matches some of the same values [INFO] [stdout] ... [INFO] [stdout] 369 | _ => println!("ciao") [INFO] [stdout] | ^ ...and 3 other patterns collectively make this unreachable [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.09s [INFO] running `Command { std: "docker" "inspect" "b4ea3ef0a1176eb3ff7bb6c15149bd23531c8eb1b45702e0f4db73308de57e79", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b4ea3ef0a1176eb3ff7bb6c15149bd23531c8eb1b45702e0f4db73308de57e79", kill_on_drop: false }` [INFO] [stdout] b4ea3ef0a1176eb3ff7bb6c15149bd23531c8eb1b45702e0f4db73308de57e79