[INFO] cloning repository https://github.com/ennochian/gnhgde
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ennochian/gnhgde" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fennochian%2Fgnhgde", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fennochian%2Fgnhgde'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] 958016ec97fc32f64c0c444cee43fca66866c1cd
[INFO] checking ennochian/gnhgde against try#84addd32a13fa2d3f62fe5d99031611147b7fb13 for pr-147565
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fennochian%2Fgnhgde" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/ennochian/gnhgde
[INFO] finished tweaking git repo https://github.com/ennochian/gnhgde
[INFO] tweaked toml for git repo https://github.com/ennochian/gnhgde written to /workspace/builds/worker-0-tc2/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/ennochian/gnhgde on toolchain 84addd32a13fa2d3f62fe5d99031611147b7fb13
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+84addd32a13fa2d3f62fe5d99031611147b7fb13" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/ennochian/gnhgde 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" "+84addd32a13fa2d3f62fe5d99031611147b7fb13" "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-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+84addd32a13fa2d3f62fe5d99031611147b7fb13" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 1491506ae0483c7cb61f78a1cd4d667b58a2bbec9d32b6caf7d4e6658f89ee3f
[INFO] running `Command { std: "docker" "start" "-a" "1491506ae0483c7cb61f78a1cd4d667b58a2bbec9d32b6caf7d4e6658f89ee3f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1491506ae0483c7cb61f78a1cd4d667b58a2bbec9d32b6caf7d4e6658f89ee3f", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1491506ae0483c7cb61f78a1cd4d667b58a2bbec9d32b6caf7d4e6658f89ee3f", kill_on_drop: false }`
[INFO] [stdout] 1491506ae0483c7cb61f78a1cd4d667b58a2bbec9d32b6caf7d4e6658f89ee3f
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-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:e90291280db7d1fac5b66fc6dad9f9662629e7365a55743daf9bdf73ebc4ea79" "/opt/rustwide/cargo-home/bin/cargo" "+84addd32a13fa2d3f62fe5d99031611147b7fb13" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 34879fdaf28ba83734e771b8874172e62baa12ad1288f8700ca853cea3ce8eff
[INFO] running `Command { std: "docker" "start" "-a" "34879fdaf28ba83734e771b8874172e62baa12ad1288f8700ca853cea3ce8eff", kill_on_drop: false }`
[INFO] [stderr]    Compiling syn v1.0.89
[INFO] [stderr]    Compiling libc v0.2.121
[INFO] [stderr]    Compiling quote v1.0.16
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling clap_derive v3.1.4
[INFO] [stderr]     Checking clap v3.1.6
[INFO] [stderr]     Checking gender-neutral-handheld-game-device-emulator v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `cpu::Instruction`
[INFO] [stdout]   --> src/main.rs:5:16
[INFO] [stdout]    |
[INFO] [stdout]  5 | use cpu::{CPU, Instruction};
[INFO] [stdout]    |                ^^^^^^^^^^^
[INFO] [stdout]    |                |
[INFO] [stdout]    |                no `Instruction` in `cpu`
[INFO] [stdout]    |                help: a similar name exists in the module: `instructions`
[INFO] [stdout]    |
[INFO] [stdout] note: struct `crate::cpu::instructions::Instruction` exists but is inaccessible
[INFO] [stdout]   --> src/cpu.rs:35:5
[INFO] [stdout]    |
[INFO] [stdout] 35 |     pub struct Instruction {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot construct `rom::InfoHeader<'_>` with struct literal syntax due to private fields
[INFO] [stdout]   --> src/main.rs:21:22
[INFO] [stdout]    |
[INFO] [stdout] 21 |         info_header: InfoHeader {
[INFO] [stdout]    |                      ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: private fields that were not provided
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/cpu.rs:19:13
[INFO] [stdout]    |
[INFO] [stdout] 19 |         let mut regs = &self.registers;
[INFO] [stdout]    |             ----^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `regs`
[INFO] [stdout]   --> src/cpu.rs:19:13
[INFO] [stdout]    |
[INFO] [stdout] 19 |         let mut regs = &self.registers;
[INFO] [stdout]    |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_regs`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `gender-neutral-handheld-game-device-emulator` (bin "gender-neutral-handheld-game-device-emulator" test) due to 3 previous errors; 2 warnings emitted
[INFO] [stdout] error[E0382]: borrow of moved value: `args.rom`
[INFO] [stdout]   --> src/main.rs:32:33
[INFO] [stdout]    |
[INFO] [stdout] 30 |     let rom_bytes = fs::read(args.rom).expect("Invalid rom path. Exiting.");
[INFO] [stdout]    |                              -------- value moved here
[INFO] [stdout] 31 |
[INFO] [stdout] 32 |     println!("Loading rom: {}", args.rom);
[INFO] [stdout]    |                                 ^^^^^^^^ value borrowed here after move
[INFO] [stdout]    |
[INFO] [stdout]    = note: move occurs because `args.rom` has type `std::string::String`, which does not implement the `Copy` trait
[INFO] [stdout]    = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] Some errors have detailed explanations: E0382, E0432.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0382`.
[INFO] [stdout] 
[INFO] [stdout] error[E0432]: unresolved import `cpu::Instruction`
[INFO] [stdout]   --> src/main.rs:5:16
[INFO] [stdout]    |
[INFO] [stdout]  5 | use cpu::{CPU, Instruction};
[INFO] [stdout]    |                ^^^^^^^^^^^
[INFO] [stdout]    |                |
[INFO] [stdout]    |                no `Instruction` in `cpu`
[INFO] [stdout]    |                help: a similar name exists in the module: `instructions`
[INFO] [stdout]    |
[INFO] [stdout] note: struct `crate::cpu::instructions::Instruction` exists but is inaccessible
[INFO] [stdout]   --> src/cpu.rs:35:5
[INFO] [stdout]    |
[INFO] [stdout] 35 |     pub struct Instruction {
[INFO] [stdout]    |     ^^^^^^^^^^^^^^^^^^^^^^ not accessible
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: cannot construct `rom::InfoHeader<'_>` with struct literal syntax due to private fields
[INFO] [stdout]   --> src/main.rs:21:22
[INFO] [stdout]    |
[INFO] [stdout] 21 |         info_header: InfoHeader {
[INFO] [stdout]    |                      ^^^^^^^^^^
[INFO] [stdout]    |
[INFO] [stdout]    = note: private fields that were not provided
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: variable does not need to be mutable
[INFO] [stdout]   --> src/cpu.rs:19:13
[INFO] [stdout]    |
[INFO] [stdout] 19 |         let mut regs = &self.registers;
[INFO] [stdout]    |             ----^^^^
[INFO] [stdout]    |             |
[INFO] [stdout]    |             help: remove this `mut`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_mut)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused variable: `regs`
[INFO] [stdout]   --> src/cpu.rs:19:13
[INFO] [stdout]    |
[INFO] [stdout] 19 |         let mut regs = &self.registers;
[INFO] [stdout]    |             ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_regs`
[INFO] [stdout]    |
[INFO] [stdout]    = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0382]: borrow of moved value: `args.rom`
[INFO] [stdout]   --> src/main.rs:32:33
[INFO] [stdout]    |
[INFO] [stdout] 30 |     let rom_bytes = fs::read(args.rom).expect("Invalid rom path. Exiting.");
[INFO] [stdout]    |                              -------- value moved here
[INFO] [stdout] 31 |
[INFO] [stdout] 32 |     println!("Loading rom: {}", args.rom);
[INFO] [stdout]    |                                 ^^^^^^^^ value borrowed here after move
[INFO] [stdout]    |
[INFO] [stdout]    = note: move occurs because `args.rom` has type `std::string::String`, which does not implement the `Copy` trait
[INFO] [stdout]    = note: this error originates in the macro `$crate::format_args_nl` which comes from the expansion of the macro `println` (in Nightly builds, run with -Z macro-backtrace for more info)
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0382, E0432.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0382`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `gender-neutral-handheld-game-device-emulator` (bin "gender-neutral-handheld-game-device-emulator") due to 3 previous errors; 2 warnings emitted
[INFO] running `Command { std: "docker" "inspect" "34879fdaf28ba83734e771b8874172e62baa12ad1288f8700ca853cea3ce8eff", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "34879fdaf28ba83734e771b8874172e62baa12ad1288f8700ca853cea3ce8eff", kill_on_drop: false }`
[INFO] [stdout] 34879fdaf28ba83734e771b8874172e62baa12ad1288f8700ca853cea3ce8eff
