[INFO] cloning repository https://github.com/totem3/machine [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/totem3/machine" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftotem3%2Fmachine", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftotem3%2Fmachine'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 405ae9a044e0dbe08e4801cc50a9141509b541f3 [INFO] checking totem3/machine against master#a609fb45efad59dfd459c76e50899be9f0583b5a for pr-80579 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftotem3%2Fmachine" "/workspace/builds/worker-0/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/totem3/machine on toolchain a609fb45efad59dfd459c76e50899be9f0583b5a [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "read-manifest" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/totem3/machine [INFO] finished tweaking git repo https://github.com/totem3/machine [INFO] tweaked toml for git repo https://github.com/totem3/machine written to /workspace/builds/worker-0/source/Cargo.toml [INFO] crate git repo https://github.com/totem3/machine already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 02e1ac3f1020dce75c92ddb3c59a5734d7b3c0e6a23296b1fab49e08d05082ca [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" "02e1ac3f1020dce75c92ddb3c59a5734d7b3c0e6a23296b1fab49e08d05082ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "02e1ac3f1020dce75c92ddb3c59a5734d7b3c0e6a23296b1fab49e08d05082ca", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "02e1ac3f1020dce75c92ddb3c59a5734d7b3c0e6a23296b1fab49e08d05082ca", kill_on_drop: false }` [INFO] [stdout] 02e1ac3f1020dce75c92ddb3c59a5734d7b3c0e6a23296b1fab49e08d05082ca [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/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" "rustops/crates-build-env@sha256:c8ac004eab7d63a0ad09a2dde3d3353ba464f767bee4de425dc8f74c46a1905e" "/opt/rustwide/cargo-home/bin/cargo" "+a609fb45efad59dfd459c76e50899be9f0583b5a" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3ba66dcdcddcd05a29cce7e00513fb12eea16e3b2ad1f8fde1c19b0430ab3a22 [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" "3ba66dcdcddcd05a29cce7e00513fb12eea16e3b2ad1f8fde1c19b0430ab3a22", kill_on_drop: false }` [INFO] [stderr] Compiling winapi-build v0.1.1 [INFO] [stderr] Checking libc v0.2.17 [INFO] [stderr] Checking regex-syntax v0.3.9 [INFO] [stderr] Checking utf8-ranges v0.1.3 [INFO] [stderr] Checking log v0.3.6 [INFO] [stderr] Compiling kernel32-sys v0.2.2 [INFO] [stderr] Checking memchr v0.1.11 [INFO] [stderr] Checking aho-corasick v0.5.3 [INFO] [stderr] Checking thread-id v2.0.0 [INFO] [stderr] Checking thread_local v0.2.7 [INFO] [stderr] Checking regex v0.1.80 [INFO] [stderr] Checking env_logger v0.3.5 [INFO] [stderr] Checking vm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `super::super::ops::ByteContainer` [INFO] [stdout] --> src/cpu.rs:174:9 [INFO] [stdout] | [INFO] [stdout] 174 | use super::super::ops::ByteContainer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lop` [INFO] [stdout] --> src/instruction.rs:38:27 [INFO] [stdout] | [INFO] [stdout] 38 | Operation::Ld(ref lop, ref rop) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lop` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rop` [INFO] [stdout] --> src/instruction.rs:38:36 [INFO] [stdout] | [INFO] [stdout] 38 | Operation::Ld(ref lop, ref rop) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lop` [INFO] [stdout] --> src/instruction.rs:41:28 [INFO] [stdout] | [INFO] [stdout] 41 | Operation::Add(ref lop, ref rop) => {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rop` [INFO] [stdout] --> src/instruction.rs:41:37 [INFO] [stdout] | [INFO] [stdout] 41 | Operation::Add(ref lop, ref rop) => {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num` [INFO] [stdout] --> src/instruction.rs:51:29 [INFO] [stdout] | [INFO] [stdout] 51 | (Operand::Reg16(ref num), ref Immediate16) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Immediate16` [INFO] [stdout] --> src/instruction.rs:51:39 [INFO] [stdout] | [INFO] [stdout] 51 | (Operand::Reg16(ref num), ref Immediate16) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_Immediate16` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/instruction.rs:52:21 [INFO] [stdout] | [INFO] [stdout] 52 | let val: u16 = ((args[1] as u16) << 8) | (args[0] as u16); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/instruction.rs:45:20 [INFO] [stdout] | [INFO] [stdout] 45 | fn load(&self, cpu: &mut Cpu, args: Vec) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lop` [INFO] [stdout] --> src/instruction.rs:38:27 [INFO] [stdout] | [INFO] [stdout] 38 | Operation::Ld(ref lop, ref rop) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lop` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rop` [INFO] [stdout] --> src/instruction.rs:38:36 [INFO] [stdout] | [INFO] [stdout] 38 | Operation::Ld(ref lop, ref rop) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `lop` [INFO] [stdout] --> src/instruction.rs:41:28 [INFO] [stdout] | [INFO] [stdout] 41 | Operation::Add(ref lop, ref rop) => {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_lop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `rop` [INFO] [stdout] --> src/instruction.rs:41:37 [INFO] [stdout] | [INFO] [stdout] 41 | Operation::Add(ref lop, ref rop) => {} [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_rop` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `num` [INFO] [stdout] --> src/instruction.rs:51:29 [INFO] [stdout] | [INFO] [stdout] 51 | (Operand::Reg16(ref num), ref Immediate16) => { [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_num` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `Immediate16` [INFO] [stdout] --> src/instruction.rs:51:39 [INFO] [stdout] | [INFO] [stdout] 51 | (Operand::Reg16(ref num), ref Immediate16) => { [INFO] [stdout] | ^^^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_Immediate16` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `val` [INFO] [stdout] --> src/instruction.rs:52:21 [INFO] [stdout] | [INFO] [stdout] 52 | let val: u16 = ((args[1] as u16) << 8) | (args[0] as u16); [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_val` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cpu` [INFO] [stdout] --> src/instruction.rs:45:20 [INFO] [stdout] | [INFO] [stdout] 45 | fn load(&self, cpu: &mut Cpu, args: Vec) { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_cpu` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Immediate16` should have a snake case name [INFO] [stdout] --> src/instruction.rs:51:43 [INFO] [stdout] | [INFO] [stdout] 51 | (Operand::Reg16(ref num), ref Immediate16) => { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `immediate16` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cpu.rs:191:13 [INFO] [stdout] | [INFO] [stdout] 191 | let mut b = match cpu.reg16(Register16::SP) { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/cpu.rs:204:13 [INFO] [stdout] | [INFO] [stdout] 204 | let mut b = match cpu.reg16(Register16::BC) { [INFO] [stdout] | ----^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 9 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable `Immediate16` should have a snake case name [INFO] [stdout] --> src/instruction.rs:51:43 [INFO] [stdout] | [INFO] [stdout] 51 | (Operand::Reg16(ref num), ref Immediate16) => { [INFO] [stdout] | ^^^^^^^^^^^ help: convert the identifier to snake case (notice the capitalization): `immediate16` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_snake_case)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 12 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished dev [unoptimized + debuginfo] target(s) in 5.49s [INFO] running `Command { std: "docker" "inspect" "3ba66dcdcddcd05a29cce7e00513fb12eea16e3b2ad1f8fde1c19b0430ab3a22", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3ba66dcdcddcd05a29cce7e00513fb12eea16e3b2ad1f8fde1c19b0430ab3a22", kill_on_drop: false }` [INFO] [stdout] 3ba66dcdcddcd05a29cce7e00513fb12eea16e3b2ad1f8fde1c19b0430ab3a22