[INFO] cloning repository https://github.com/AeroNotix/rs-z80 [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AeroNotix/rs-z80" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAeroNotix%2Frs-z80", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAeroNotix%2Frs-z80'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] e50968b03f890110c33bc8fa6dca9504fc1f66e5 [INFO] checking AeroNotix/rs-z80 against master#af4a5a13a15fa0c60e06321077ef452f769b42fd for pr-122960-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAeroNotix%2Frs-z80" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/AeroNotix/rs-z80 on toolchain af4a5a13a15fa0c60e06321077ef452f769b42fd [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/AeroNotix/rs-z80 [INFO] finished tweaking git repo https://github.com/AeroNotix/rs-z80 [INFO] tweaked toml for git repo https://github.com/AeroNotix/rs-z80 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/AeroNotix/rs-z80 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" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] f7acf3921846a484e328835c74ab9bd1b425c2ce49b6e5edd5b8e8cb11f98184 [INFO] running `Command { std: "docker" "start" "-a" "f7acf3921846a484e328835c74ab9bd1b425c2ce49b6e5edd5b8e8cb11f98184", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "f7acf3921846a484e328835c74ab9bd1b425c2ce49b6e5edd5b8e8cb11f98184", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f7acf3921846a484e328835c74ab9bd1b425c2ce49b6e5edd5b8e8cb11f98184", kill_on_drop: false }` [INFO] [stdout] f7acf3921846a484e328835c74ab9bd1b425c2ce49b6e5edd5b8e8cb11f98184 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/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:2788e3201cd34a07e3172128adcd8b3090168a8e3bcc40d7c032b9dda1df7d1c" "/opt/rustwide/cargo-home/bin/cargo" "+af4a5a13a15fa0c60e06321077ef452f769b42fd" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d949c97b6827c74ef37c5068590e0d9590da166a5965bbd1ccf5e61bfa313a91 [INFO] running `Command { std: "docker" "start" "-a" "d949c97b6827c74ef37c5068590e0d9590da166a5965bbd1ccf5e61bfa313a91", kill_on_drop: false }` [INFO] [stderr] Checking z80 v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/instructions.rs:307:19 [INFO] [stdout] | [INFO] [stdout] 307 | let cpu = CPU::new(); [INFO] [stdout] | ^^^^^^^^-- an argument of type `Vec` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/instructions.rs:152:12 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn new(program: Vec) -> CPU { [INFO] [stdout] | ^^^ ---------------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 307 | let cpu = CPU::new(/* Vec */); [INFO] [stdout] | ~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/instructions.rs:334:19 [INFO] [stdout] | [INFO] [stdout] 334 | let cpu = CPU::new(); [INFO] [stdout] | ^^^^^^^^-- an argument of type `Vec` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/instructions.rs:152:12 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn new(program: Vec) -> CPU { [INFO] [stdout] | ^^^ ---------------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 334 | let cpu = CPU::new(/* Vec */); [INFO] [stdout] | ~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `REGISTER_TABLE_AF` is never used [INFO] [stdout] --> src/instructions.rs:23:7 [INFO] [stdout] | [INFO] [stdout] 23 | const REGISTER_TABLE_AF: [Register; 4] = [ [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `PC` is never constructed [INFO] [stdout] --> src/instructions.rs:59:5 [INFO] [stdout] | [INFO] [stdout] 46 | pub enum Register { [INFO] [stdout] | -------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 59 | PC, [INFO] [stdout] | ^^ [INFO] [stdout] | [INFO] [stdout] = note: `Register` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `IndirectWithOffset` is never constructed [INFO] [stdout] --> src/instructions.rs:68:5 [INFO] [stdout] | [INFO] [stdout] 63 | pub enum Operand { [INFO] [stdout] | ------- variant in this enum [INFO] [stdout] ... [INFO] [stdout] 68 | IndirectWithOffset(Rc>, Rc>), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Operand` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/instructions.rs:77:5 [INFO] [stdout] | [INFO] [stdout] 73 | pub enum Instruction { [INFO] [stdout] | ----------- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 77 | In(Operand, u8), [INFO] [stdout] | ^^ [INFO] [stdout] 78 | Out(u8, Operand), [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 84 | Call(Operand), [INFO] [stdout] | ^^^^ [INFO] [stdout] 85 | ConditionalRet(Condition), [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 92 | Pop(Operand), [INFO] [stdout] | ^^^ [INFO] [stdout] 93 | Push(Operand), [INFO] [stdout] | ^^^^ [INFO] [stdout] 94 | [INFO] [stdout] 95 | UnconditionalRet, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 96 | EXX, [INFO] [stdout] | ^^^ [INFO] [stdout] 97 | RST, [INFO] [stdout] | ^^^ [INFO] [stdout] 98 | RES(u8, Operand), [INFO] [stdout] | ^^^ [INFO] [stdout] 99 | BIT(u8, Operand), [INFO] [stdout] | ^^^ [INFO] [stdout] 100 | SET(u8, Operand), [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Instruction` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/instructions.rs:345:25 [INFO] [stdout] | [INFO] [stdout] 345 | instruction.execute(); [INFO] [stdout] | ^^^^^^^-- an argument of type `&mut instructions::CPU` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/instructions.rs:118:12 [INFO] [stdout] | [INFO] [stdout] 118 | pub fn execute(&self, cpu: &mut CPU) { [INFO] [stdout] | ^^^^^^^ ------------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 345 | instruction.execute(/* &mut instructions::CPU */); [INFO] [stdout] | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/instructions.rs:351:19 [INFO] [stdout] | [INFO] [stdout] 351 | let cpu = CPU::new(); [INFO] [stdout] | ^^^^^^^^-- an argument of type `Vec` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/instructions.rs:152:12 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn new(program: Vec) -> CPU { [INFO] [stdout] | ^^^ ---------------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 351 | let cpu = CPU::new(/* Vec */); [INFO] [stdout] | ~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this function takes 1 argument but 0 arguments were supplied [INFO] [stdout] --> src/instructions.rs:363:19 [INFO] [stdout] | [INFO] [stdout] 363 | let cpu = CPU::new(); [INFO] [stdout] | ^^^^^^^^-- an argument of type `Vec` is missing [INFO] [stdout] | [INFO] [stdout] note: associated function defined here [INFO] [stdout] --> src/instructions.rs:152:12 [INFO] [stdout] | [INFO] [stdout] 152 | pub fn new(program: Vec) -> CPU { [INFO] [stdout] | ^^^ ---------------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 363 | let cpu = CPU::new(/* Vec */); [INFO] [stdout] | ~~~~~~~~~~~~~~~ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 4 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 5 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `z80` (bin "z80" test) due to 6 previous errors [INFO] running `Command { std: "docker" "inspect" "d949c97b6827c74ef37c5068590e0d9590da166a5965bbd1ccf5e61bfa313a91", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d949c97b6827c74ef37c5068590e0d9590da166a5965bbd1ccf5e61bfa313a91", kill_on_drop: false }` [INFO] [stdout] d949c97b6827c74ef37c5068590e0d9590da166a5965bbd1ccf5e61bfa313a91