[INFO] cloning repository https://github.com/tpyd/gameboy [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/tpyd/gameboy" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftpyd%2Fgameboy", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftpyd%2Fgameboy'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 993cf771af21b3cf43514bce1cd835c9912bce76 [INFO] checking tpyd/gameboy against a5689b034ad287112f709693384a37f1377eb9cc for pr-129249-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Ftpyd%2Fgameboy" "/workspace/builds/worker-1-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-1-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/tpyd/gameboy [INFO] finished tweaking git repo https://github.com/tpyd/gameboy [INFO] tweaked toml for git repo https://github.com/tpyd/gameboy written to /workspace/builds/worker-1-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/tpyd/gameboy on toolchain a5689b034ad287112f709693384a37f1377eb9cc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/tpyd/gameboy 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" "+a5689b034ad287112f709693384a37f1377eb9cc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-1-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] 1b94e2377e09f2ffa2efd656eb9e355b3273dbdc66e97f71195f0ec7f74ff1b9 [INFO] running `Command { std: "docker" "start" "1b94e2377e09f2ffa2efd656eb9e355b3273dbdc66e97f71195f0ec7f74ff1b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1b94e2377e09f2ffa2efd656eb9e355b3273dbdc66e97f71195f0ec7f74ff1b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "1b94e2377e09f2ffa2efd656eb9e355b3273dbdc66e97f71195f0ec7f74ff1b9" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1b94e2377e09f2ffa2efd656eb9e355b3273dbdc66e97f71195f0ec7f74ff1b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "1b94e2377e09f2ffa2efd656eb9e355b3273dbdc66e97f71195f0ec7f74ff1b9" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling unicode-ident v1.0.8 [INFO] [stderr] Compiling libc v0.2.141 [INFO] [stderr] Compiling pkg-config v0.3.26 [INFO] [stderr] Compiling xml-rs v0.8.3 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling version_check v0.9.2 [INFO] [stderr] Checking once_cell v1.17.1 [INFO] [stderr] Checking smallvec v1.6.1 [INFO] [stderr] Compiling io-lifetimes v1.0.10 [INFO] [stderr] Compiling rustix v0.37.8 [INFO] [stderr] Checking libloading v0.7.0 [INFO] [stderr] Checking linux-raw-sys v0.3.1 [INFO] [stderr] Compiling cc v1.2.19 [INFO] [stderr] Checking fastrand v1.9.0 [INFO] [stderr] Checking raw-window-handle v0.4.3 [INFO] [stderr] Checking instructions v0.1.0 (/opt/rustwide/workdir/crates/instructions) [INFO] [stderr] Compiling proc-macro2 v1.0.95 [INFO] [stdout] warning: unused import: `core::fmt` [INFO] [stdout] --> crates/instructions/src/types.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::fmt; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Display` [INFO] [stdout] --> crates/instructions/src/types.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `core::fmt` [INFO] [stdout] --> crates/instructions/src/types.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use core::fmt; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fmt::Display` [INFO] [stdout] --> crates/instructions/src/types.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::fmt::Display; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Checking dlib v0.5.0 [INFO] [stderr] Checking disassembler v0.1.0 (/opt/rustwide/workdir/crates/disassembler) [INFO] [stdout] error[E0425]: cannot find value `prefix` in this scope [INFO] [stdout] --> crates/disassembler/src/lib.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | prefix = true; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 51 | prefixed = true; [INFO] [stdout] | ++ [INFO] [stdout] help: you might have meant to introduce a new binding [INFO] [stdout] | [INFO] [stdout] 51 | let prefix = true; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `instruction_string` in this scope [INFO] [stdout] --> crates/disassembler/src/lib.rs:64:40 [INFO] [stdout] | [INFO] [stdout] 64 | line.instruction_string = Some(instruction_string); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: similarly named function `instruction_lookup` defined here [INFO] [stdout] --> crates/disassembler/src/lib.rs:72:1 [INFO] [stdout] | [INFO] [stdout] 72 | fn instruction_lookup(byte: &u8) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: a function with a similar name exists [INFO] [stdout] | [INFO] [stdout] 64 - line.instruction_string = Some(instruction_string); [INFO] [stdout] 64 + line.instruction_string = Some(instruction_lookup); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `&mut LineOfCode` [INFO] [stdout] --> crates/disassembler/src/lib.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 50 | if line == 0xCB { [INFO] [stdout] | ---- ^^ ---- {integer} [INFO] [stdout] | | [INFO] [stdout] | &mut LineOfCode [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> crates/disassembler/src/lib.rs:72:37 [INFO] [stdout] | [INFO] [stdout] 72 | fn instruction_lookup(byte: &u8) -> Option { [INFO] [stdout] | ------------------ ^^^^^^^^^^^^^^^^^^^ expected `Option`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0369, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `disassembler` (lib test) due to 4 previous errors [INFO] [stdout] error[E0425]: cannot find value `prefix` in this scope [INFO] [stdout] --> crates/disassembler/src/lib.rs:51:13 [INFO] [stdout] | [INFO] [stdout] 51 | prefix = true; [INFO] [stdout] | ^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a local variable with a similar name exists [INFO] [stdout] | [INFO] [stdout] 51 | prefixed = true; [INFO] [stdout] | ++ [INFO] [stdout] help: you might have meant to introduce a new binding [INFO] [stdout] | [INFO] [stdout] 51 | let prefix = true; [INFO] [stdout] | +++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0425]: cannot find value `instruction_string` in this scope [INFO] [stdout] --> crates/disassembler/src/lib.rs:64:40 [INFO] [stdout] | [INFO] [stdout] 64 | line.instruction_string = Some(instruction_string); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] note: similarly named function `instruction_lookup` defined here [INFO] [stdout] --> crates/disassembler/src/lib.rs:72:1 [INFO] [stdout] | [INFO] [stdout] 72 | fn instruction_lookup(byte: &u8) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] help: a function with a similar name exists [INFO] [stdout] | [INFO] [stdout] 64 - line.instruction_string = Some(instruction_string); [INFO] [stdout] 64 + line.instruction_string = Some(instruction_lookup); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0369]: binary operation `==` cannot be applied to type `&mut LineOfCode` [INFO] [stdout] --> crates/disassembler/src/lib.rs:50:17 [INFO] [stdout] | [INFO] [stdout] 50 | if line == 0xCB { [INFO] [stdout] | ---- ^^ ---- {integer} [INFO] [stdout] | | [INFO] [stdout] | &mut LineOfCode [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> crates/disassembler/src/lib.rs:72:37 [INFO] [stdout] | [INFO] [stdout] 72 | fn instruction_lookup(byte: &u8) -> Option { [INFO] [stdout] | ------------------ ^^^^^^^^^^^^^^^^^^^ expected `Option`, found `()` [INFO] [stdout] | | [INFO] [stdout] | implicitly returns `()` as its body has no tail or `return` expression [INFO] [stdout] | [INFO] [stdout] = note: expected enum `Option` [INFO] [stdout] found unit type `()` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0308, E0369, E0425. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0308`. [INFO] [stdout] [INFO] [stderr] error: could not compile `disassembler` (lib) due to 4 previous errors [INFO] running `Command { std: "docker" "inspect" "1b94e2377e09f2ffa2efd656eb9e355b3273dbdc66e97f71195f0ec7f74ff1b9", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1b94e2377e09f2ffa2efd656eb9e355b3273dbdc66e97f71195f0ec7f74ff1b9", kill_on_drop: false }` [INFO] [stdout] 1b94e2377e09f2ffa2efd656eb9e355b3273dbdc66e97f71195f0ec7f74ff1b9