[INFO] cloning repository https://github.com/boribs/cpu_sim [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/boribs/cpu_sim" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fboribs%2Fcpu_sim", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fboribs%2Fcpu_sim'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 694a22344a4742470aea03f9e251befbbcf0b7e5 [INFO] checking boribs/cpu_sim against try#a611f2a14e38407ec6717a86a01424ee6fc80762 for pr-154992 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fboribs%2Fcpu_sim" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/boribs/cpu_sim [INFO] finished tweaking git repo https://github.com/boribs/cpu_sim [INFO] tweaked toml for git repo https://github.com/boribs/cpu_sim written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/boribs/cpu_sim on toolchain a611f2a14e38407ec6717a86a01424ee6fc80762 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a611f2a14e38407ec6717a86a01424ee6fc80762" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/boribs/cpu_sim 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" "+a611f2a14e38407ec6717a86a01424ee6fc80762" "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] checking boribs/cpu_sim against try#a611f2a14e38407ec6717a86a01424ee6fc80762 for pr-154992 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fboribs%2Fcpu_sim" "/workspace/builds/worker-2-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/boribs/cpu_sim [INFO] finished tweaking git repo https://github.com/boribs/cpu_sim [INFO] tweaked toml for git repo https://github.com/boribs/cpu_sim written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/boribs/cpu_sim on toolchain a611f2a14e38407ec6717a86a01424ee6fc80762 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a611f2a14e38407ec6717a86a01424ee6fc80762" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/boribs/cpu_sim 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" "+a611f2a14e38407ec6717a86a01424ee6fc80762" "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-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+a611f2a14e38407ec6717a86a01424ee6fc80762" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 1812a6b29828203a6dad6b54b797fbd0eefbbe9e0c92c3c03c4237ab63305354 [INFO] running `Command { std: "docker" "start" "-a" "1812a6b29828203a6dad6b54b797fbd0eefbbe9e0c92c3c03c4237ab63305354", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "1812a6b29828203a6dad6b54b797fbd0eefbbe9e0c92c3c03c4237ab63305354", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1812a6b29828203a6dad6b54b797fbd0eefbbe9e0c92c3c03c4237ab63305354", kill_on_drop: false }` [INFO] [stdout] 1812a6b29828203a6dad6b54b797fbd0eefbbe9e0c92c3c03c4237ab63305354 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:d429b63d4308055ea97f60fb1d3dfca48854a00942f1bd2ad806beaf015945ec" "/opt/rustwide/cargo-home/bin/cargo" "+a611f2a14e38407ec6717a86a01424ee6fc80762" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1386d604faa725753875460ba61afeead19781a9b9b25ff058149509622f9ace [INFO] running `Command { std: "docker" "start" "-a" "1386d604faa725753875460ba61afeead19781a9b9b25ff058149509622f9ace", kill_on_drop: false }` [INFO] [stderr] Checking cpu_sim v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0599]: no variant, associated function, or constant named `RegA` found for enum `cpu::Dest` in the current scope [INFO] [stdout] --> src/main.rs:6:43 [INFO] [stdout] | [INFO] [stdout] 6 | cpu.execute(Instruction::Ld(-5, Dest::RegA)); [INFO] [stdout] | ^^^^ variant, associated function, or constant not found in `cpu::Dest` [INFO] [stdout] | [INFO] [stdout] ::: src/cpu.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | pub enum Dest { [INFO] [stdout] | ------------- variant, associated function, or constant `RegA` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:6:33 [INFO] [stdout] | [INFO] [stdout] 6 | cpu.execute(Instruction::Ld(-5, Dest::RegA)); [INFO] [stdout] | --------------- ^^ expected `GenerousInpt`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> src/cpu.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | Ld(GenerousInpt, Dest), [INFO] [stdout] | ^^ [INFO] [stdout] help: try wrapping the expression in a variant of `GenerousInpt` [INFO] [stdout] | [INFO] [stdout] 6 | cpu.execute(Instruction::Ld(cpu::GenerousInpt::Const(-5), Dest::RegA)); [INFO] [stdout] | +++++++++++++++++++++++++ + [INFO] [stdout] 6 | cpu.execute(Instruction::Ld(cpu::GenerousInpt::Memory(-5), Dest::RegA)); [INFO] [stdout] | ++++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/main.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | cpu.execute(Instruction::Ld(-5, Dest::RegA)); [INFO] [stdout] | ^^^^^^^--------------------------------- argument #2 of type `&mut Mem` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/cpu.rs:414:12 [INFO] [stdout] | [INFO] [stdout] 414 | pub fn execute(&mut self, instr: Instruction, mem: &mut Mem) { [INFO] [stdout] | ^^^^^^^ ------------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 6 | cpu.execute(Instruction::Ld(-5, Dest::RegA), /* &mut Mem */); [INFO] [stdout] | ++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no variant, associated function, or constant named `RegA` found for enum `cpu::Dest` in the current scope [INFO] [stdout] --> src/main.rs:6:43 [INFO] [stdout] | [INFO] [stdout] 6 | cpu.execute(Instruction::Ld(-5, Dest::RegA)); [INFO] [stdout] | ^^^^ variant, associated function, or constant not found in `cpu::Dest` [INFO] [stdout] | [INFO] [stdout] ::: src/cpu.rs:23:1 [INFO] [stdout] | [INFO] [stdout] 23 | pub enum Dest { [INFO] [stdout] | ------------- variant, associated function, or constant `RegA` not found for this enum [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/main.rs:6:33 [INFO] [stdout] | [INFO] [stdout] 6 | cpu.execute(Instruction::Ld(-5, Dest::RegA)); [INFO] [stdout] | --------------- ^^ expected `GenerousInpt`, found integer [INFO] [stdout] | | [INFO] [stdout] | arguments to this enum variant are incorrect [INFO] [stdout] | [INFO] [stdout] note: tuple variant defined here [INFO] [stdout] --> src/cpu.rs:40:5 [INFO] [stdout] | [INFO] [stdout] 40 | Ld(GenerousInpt, Dest), [INFO] [stdout] | ^^ [INFO] [stdout] help: try wrapping the expression in a variant of `cpu::GenerousInpt` [INFO] [stdout] | [INFO] [stdout] 6 | cpu.execute(Instruction::Ld(cpu::GenerousInpt::Const(-5), Dest::RegA)); [INFO] [stdout] | +++++++++++++++++++++++++ + [INFO] [stdout] 6 | cpu.execute(Instruction::Ld(cpu::GenerousInpt::Memory(-5), Dest::RegA)); [INFO] [stdout] | ++++++++++++++++++++++++++ + [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0061]: this method takes 2 arguments but 1 argument was supplied [INFO] [stdout] --> src/main.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | cpu.execute(Instruction::Ld(-5, Dest::RegA)); [INFO] [stdout] | ^^^^^^^--------------------------------- argument #2 of type `&mut cpu::Mem` is missing [INFO] [stdout] | [INFO] [stdout] note: method defined here [INFO] [stdout] --> src/cpu.rs:414:12 [INFO] [stdout] | [INFO] [stdout] 414 | pub fn execute(&mut self, instr: Instruction, mem: &mut Mem) { [INFO] [stdout] | ^^^^^^^ ------------- [INFO] [stdout] help: provide the argument [INFO] [stdout] | [INFO] [stdout] 6 | cpu.execute(Instruction::Ld(-5, Dest::RegA), /* &mut cpu::Mem */); [INFO] [stdout] | +++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cpu_sim` (bin "cpu_sim") due to 3 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] Some errors have detailed explanations: E0061, E0308, E0599. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0061`. [INFO] [stdout] [INFO] [stderr] error: could not compile `cpu_sim` (bin "cpu_sim" test) due to 3 previous errors [INFO] running `Command { std: "docker" "inspect" "1386d604faa725753875460ba61afeead19781a9b9b25ff058149509622f9ace", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1386d604faa725753875460ba61afeead19781a9b9b25ff058149509622f9ace", kill_on_drop: false }` [INFO] [stdout] 1386d604faa725753875460ba61afeead19781a9b9b25ff058149509622f9ace