[INFO] cloning repository https://github.com/asubaruwrxsti/emulator-rust [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/asubaruwrxsti/emulator-rust" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fasubaruwrxsti%2Femulator-rust", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fasubaruwrxsti%2Femulator-rust'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 0813cdd6e7b519774076e01b2d658101b9c5e450 [INFO] building asubaruwrxsti/emulator-rust against master#9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19 for pr-117684 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fasubaruwrxsti%2Femulator-rust" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/asubaruwrxsti/emulator-rust on toolchain 9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/asubaruwrxsti/emulator-rust [INFO] finished tweaking git repo https://github.com/asubaruwrxsti/emulator-rust [INFO] tweaked toml for git repo https://github.com/asubaruwrxsti/emulator-rust written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] crate git repo https://github.com/asubaruwrxsti/emulator-rust 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" "+9bd71afb90c2a6e0348cdd4a2b10a3bf39908f19" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [ERROR] error running command: no output for 300 seconds [ERROR] this task or one of its parent failed! [ERROR] no output for 300 seconds [ERROR] note: run with `RUST_BACKTRACE=1` to display a backtrace. [INFO] building asubaruwrxsti/emulator-rust against try#53e03135c36e913ff664ce8329041b7e3c2fd358 for pr-117684 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fasubaruwrxsti%2Femulator-rust" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/asubaruwrxsti/emulator-rust on toolchain 53e03135c36e913ff664ce8329041b7e3c2fd358 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+53e03135c36e913ff664ce8329041b7e3c2fd358" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/asubaruwrxsti/emulator-rust [INFO] finished tweaking git repo https://github.com/asubaruwrxsti/emulator-rust [INFO] tweaked toml for git repo https://github.com/asubaruwrxsti/emulator-rust written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/asubaruwrxsti/emulator-rust 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" "+53e03135c36e913ff664ce8329041b7e3c2fd358" "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 [ERROR] error running command: no output for 300 seconds [INFO] building asubaruwrxsti/emulator-rust against try#53e03135c36e913ff664ce8329041b7e3c2fd358 for pr-117684 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fasubaruwrxsti%2Femulator-rust" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/asubaruwrxsti/emulator-rust on toolchain 53e03135c36e913ff664ce8329041b7e3c2fd358 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+53e03135c36e913ff664ce8329041b7e3c2fd358" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/asubaruwrxsti/emulator-rust [INFO] finished tweaking git repo https://github.com/asubaruwrxsti/emulator-rust [INFO] tweaked toml for git repo https://github.com/asubaruwrxsti/emulator-rust written to /workspace/builds/worker-0-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/asubaruwrxsti/emulator-rust 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" "+53e03135c36e913ff664ce8329041b7e3c2fd358" "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:0c7e0e8312ad82a1bed3696438480b7da990d348377d3754e1cd95b06a8a36c7" "/opt/rustwide/cargo-home/bin/cargo" "+53e03135c36e913ff664ce8329041b7e3c2fd358" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cc2f314b43ae9a75e0dd5ec4c7abe8aeb66c722d8c7132ab2fbd653f12725e06 [INFO] running `Command { std: "docker" "start" "-a" "cc2f314b43ae9a75e0dd5ec4c7abe8aeb66c722d8c7132ab2fbd653f12725e06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cc2f314b43ae9a75e0dd5ec4c7abe8aeb66c722d8c7132ab2fbd653f12725e06", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cc2f314b43ae9a75e0dd5ec4c7abe8aeb66c722d8c7132ab2fbd653f12725e06", kill_on_drop: false }` [INFO] [stdout] cc2f314b43ae9a75e0dd5ec4c7abe8aeb66c722d8c7132ab2fbd653f12725e06 [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:0c7e0e8312ad82a1bed3696438480b7da990d348377d3754e1cd95b06a8a36c7" "/opt/rustwide/cargo-home/bin/cargo" "+53e03135c36e913ff664ce8329041b7e3c2fd358" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e07851fd6ea72ca293f949e72aeb21111ec73d09b1dafdab33ec722f74ea8728 [INFO] running `Command { std: "docker" "start" "-a" "e07851fd6ea72ca293f949e72aeb21111ec73d09b1dafdab33ec722f74ea8728", kill_on_drop: false }` [INFO] [stderr] Compiling emulator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected `,`, or `}`, found `h` [INFO] [stdout] --> src/main.rs:7:19 [INFO] [stdout] | [INFO] [stdout] 7 | f: FlagsRegister [INFO] [stdout] | ^ help: try adding a comma: `,` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> src/main.rs:106:12 [INFO] [stdout] | [INFO] [stdout] 106 | fn add(&mut self, value:u8) { [INFO] [stdout] | ^^^^^^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: `self` parameter is only allowed in associated functions [INFO] [stdout] --> src/main.rs:116:13 [INFO] [stdout] | [INFO] [stdout] 116 | fn step(&mut self) { [INFO] [stdout] | ^^^^^^^^^ not semantically valid as function parameter [INFO] [stdout] | [INFO] [stdout] = note: associated functions are those in `impl` or `trait` definitions [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0401]: can't use generic parameters from outer item [INFO] [stdout] --> src/main.rs:106:17 [INFO] [stdout] | [INFO] [stdout] 89 | impl CPU { [INFO] [stdout] | ---- `Self` type implicitly declared here, by this `impl` [INFO] [stdout] ... [INFO] [stdout] 106 | fn add(&mut self, value:u8) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of generic parameter from outer item [INFO] [stdout] | refer to the type directly here instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0401]: can't use generic parameters from outer item [INFO] [stdout] --> src/main.rs:116:18 [INFO] [stdout] | [INFO] [stdout] 89 | impl CPU { [INFO] [stdout] | ---- `Self` type implicitly declared here, by this `impl` [INFO] [stdout] ... [INFO] [stdout] 116 | fn step(&mut self) { [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | use of generic parameter from outer item [INFO] [stdout] | refer to the type directly here instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0601]: `main` function not found in crate `emulator` [INFO] [stdout] --> src/main.rs:128:2 [INFO] [stdout] | [INFO] [stdout] 128 | } [INFO] [stdout] | ^ consider adding a `main` function to `src/main.rs` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `INC` found for enum `Instruction` in the current scope [INFO] [stdout] --> src/main.rs:82:33 [INFO] [stdout] | [INFO] [stdout] 76 | enum Instruction { ADD(ArithmeticTarget), } [INFO] [stdout] | ---------------- variant or associated item `INC` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 82 | 0x02 => Some(Instruction::INC(IncDecTarget::BC)), [INFO] [stdout] | ^^^ variant or associated item not found in `Instruction` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Instruction`, consider using `Instruction::from_byte` which returns `Option` [INFO] [stdout] --> src/main.rs:80:3 [INFO] [stdout] | [INFO] [stdout] 80 | fn from_byte(byte: u8) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IncDecTarget` [INFO] [stdout] --> src/main.rs:82:37 [INFO] [stdout] | [INFO] [stdout] 82 | 0x02 => Some(Instruction::INC(IncDecTarget::BC)), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `IncDecTarget` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant or associated item named `INC` found for enum `Instruction` in the current scope [INFO] [stdout] --> src/main.rs:83:33 [INFO] [stdout] | [INFO] [stdout] 76 | enum Instruction { ADD(ArithmeticTarget), } [INFO] [stdout] | ---------------- variant or associated item `INC` not found for this enum [INFO] [stdout] ... [INFO] [stdout] 83 | 0x13 => Some(Instruction::INC(IncDecTarget::DE)), [INFO] [stdout] | ^^^ variant or associated item not found in `Instruction` [INFO] [stdout] | [INFO] [stdout] note: if you're trying to build a new `Instruction`, consider using `Instruction::from_byte` which returns `Option` [INFO] [stdout] --> src/main.rs:80:3 [INFO] [stdout] | [INFO] [stdout] 80 | fn from_byte(byte: u8) -> Option { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `IncDecTarget` [INFO] [stdout] --> src/main.rs:83:37 [INFO] [stdout] | [INFO] [stdout] 83 | 0x13 => Some(Instruction::INC(IncDecTarget::DE)), [INFO] [stdout] | ^^^^^^^^^^^^ use of undeclared type `IncDecTarget` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `add` found for mutable reference `&mut CPU` in the current scope [INFO] [stdout] --> src/main.rs:96:34 [INFO] [stdout] | [INFO] [stdout] 96 | let new_value = self.add(value); [INFO] [stdout] | ^^^ method not found in `&mut CPU` [INFO] [stdout] | [INFO] [stdout] = help: items from traits can only be used if the trait is implemented and in scope [INFO] [stdout] = note: the following trait defines an item `add`, perhaps you need to implement it: [INFO] [stdout] candidate #1: `Add` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 11 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0401, E0433, E0599, E0601. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0401`. [INFO] [stdout] [INFO] [stderr] error: could not compile `emulator` (bin "emulator") due to 12 previous errors [INFO] running `Command { std: "docker" "inspect" "e07851fd6ea72ca293f949e72aeb21111ec73d09b1dafdab33ec722f74ea8728", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e07851fd6ea72ca293f949e72aeb21111ec73d09b1dafdab33ec722f74ea8728", kill_on_drop: false }` [INFO] [stdout] e07851fd6ea72ca293f949e72aeb21111ec73d09b1dafdab33ec722f74ea8728