[INFO] cloning repository https://github.com/daniellf99/sap1-emulator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/daniellf99/sap1-emulator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdaniellf99%2Fsap1-emulator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdaniellf99%2Fsap1-emulator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] f032db49911455cb1ebf48bc9cc05ad3c75ddbd8 [INFO] checking daniellf99/sap1-emulator against master#64b185eddaa1d7ddf5e0c024be23b9cbba6c1722 for pr-143929 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fdaniellf99%2Fsap1-emulator" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/daniellf99/sap1-emulator [INFO] finished tweaking git repo https://github.com/daniellf99/sap1-emulator [INFO] tweaked toml for git repo https://github.com/daniellf99/sap1-emulator written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/daniellf99/sap1-emulator on toolchain 64b185eddaa1d7ddf5e0c024be23b9cbba6c1722 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/daniellf99/sap1-emulator 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" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [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-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 85589e27be2373a1d2ca390edf422558382bbd1e11c93acc50295475334a5a2b [INFO] running `Command { std: "docker" "start" "-a" "85589e27be2373a1d2ca390edf422558382bbd1e11c93acc50295475334a5a2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "85589e27be2373a1d2ca390edf422558382bbd1e11c93acc50295475334a5a2b", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "85589e27be2373a1d2ca390edf422558382bbd1e11c93acc50295475334a5a2b", kill_on_drop: false }` [INFO] [stdout] 85589e27be2373a1d2ca390edf422558382bbd1e11c93acc50295475334a5a2b [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:90999bfc7ae267e83380e433d8e61a7c072ca6729e92edbae886d3423b3a6f4c" "/opt/rustwide/cargo-home/bin/cargo" "+64b185eddaa1d7ddf5e0c024be23b9cbba6c1722" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 131659d3312cb45d592b0dae3f232198fde4a18fd7668d0105e660ba10abdc16 [INFO] running `Command { std: "docker" "start" "-a" "131659d3312cb45d592b0dae3f232198fde4a18fd7668d0105e660ba10abdc16", kill_on_drop: false }` [INFO] [stderr] Checking sap-1-emulator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0573]: expected type, found variant `None` [INFO] [stdout] --> src/instruction.rs:3:31 [INFO] [stdout] | [INFO] [stdout] 3 | fn execute(&self, system: None); [INFO] [stdout] | ^^^^ not a type [INFO] [stdout] | [INFO] [stdout] help: try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 3 - fn execute(&self, system: None); [INFO] [stdout] 3 + fn execute(&self, system: core::option::Option); [INFO] [stdout] | [INFO] [stdout] 3 - fn execute(&self, system: None); [INFO] [stdout] 3 + fn execute(&self, system: std::option::Option); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0573]: expected type, found variant `None` [INFO] [stdout] --> src/instruction.rs:12:31 [INFO] [stdout] | [INFO] [stdout] 12 | fn execute(&self, system: None) { [INFO] [stdout] | ^^^^ not a type [INFO] [stdout] | [INFO] [stdout] help: try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 12 - fn execute(&self, system: None) { [INFO] [stdout] 12 + fn execute(&self, system: core::option::Option) { [INFO] [stdout] | [INFO] [stdout] 12 - fn execute(&self, system: None) { [INFO] [stdout] 12 + fn execute(&self, system: std::option::Option) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0573]: expected type, found variant `None` [INFO] [stdout] --> src/instruction.rs:19:31 [INFO] [stdout] | [INFO] [stdout] 19 | fn execute(&self, system: None) { [INFO] [stdout] | ^^^^ not a type [INFO] [stdout] | [INFO] [stdout] help: try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 19 - fn execute(&self, system: None) { [INFO] [stdout] 19 + fn execute(&self, system: core::option::Option) { [INFO] [stdout] | [INFO] [stdout] 19 - fn execute(&self, system: None) { [INFO] [stdout] 19 + fn execute(&self, system: std::option::Option) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0573]: expected type, found variant `None` [INFO] [stdout] --> src/instruction.rs:26:31 [INFO] [stdout] | [INFO] [stdout] 26 | fn execute(&self, system: None) { [INFO] [stdout] | ^^^^ not a type [INFO] [stdout] | [INFO] [stdout] help: try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 26 - fn execute(&self, system: None) { [INFO] [stdout] 26 + fn execute(&self, system: core::option::Option) { [INFO] [stdout] | [INFO] [stdout] 26 - fn execute(&self, system: None) { [INFO] [stdout] 26 + fn execute(&self, system: std::option::Option) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0573]: expected type, found variant `None` [INFO] [stdout] --> src/instruction.rs:33:31 [INFO] [stdout] | [INFO] [stdout] 33 | fn execute(&self, system: None) { [INFO] [stdout] | ^^^^ not a type [INFO] [stdout] | [INFO] [stdout] help: try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 33 - fn execute(&self, system: None) { [INFO] [stdout] 33 + fn execute(&self, system: core::option::Option) { [INFO] [stdout] | [INFO] [stdout] 33 - fn execute(&self, system: None) { [INFO] [stdout] 33 + fn execute(&self, system: std::option::Option) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0573]: expected type, found variant `None` [INFO] [stdout] --> src/instruction.rs:40:31 [INFO] [stdout] | [INFO] [stdout] 40 | fn execute(&self, system: None) { [INFO] [stdout] | ^^^^ not a type [INFO] [stdout] | [INFO] [stdout] help: try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 40 - fn execute(&self, system: None) { [INFO] [stdout] 40 + fn execute(&self, system: core::option::Option) { [INFO] [stdout] | [INFO] [stdout] 40 - fn execute(&self, system: None) { [INFO] [stdout] 40 + fn execute(&self, system: std::option::Option) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0573]: expected type, found variant `None` [INFO] [stdout] --> src/instruction.rs:3:31 [INFO] [stdout] | [INFO] [stdout] 3 | fn execute(&self, system: None); [INFO] [stdout] | ^^^^ not a type [INFO] [stdout] | [INFO] [stdout] help: try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 3 - fn execute(&self, system: None); [INFO] [stdout] 3 + fn execute(&self, system: core::option::Option); [INFO] [stdout] | [INFO] [stdout] 3 - fn execute(&self, system: None); [INFO] [stdout] 3 + fn execute(&self, system: std::option::Option); [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0573]: expected type, found variant `None` [INFO] [stdout] --> src/instruction.rs:12:31 [INFO] [stdout] | [INFO] [stdout] 12 | fn execute(&self, system: None) { [INFO] [stdout] | ^^^^ not a type [INFO] [stdout] | [INFO] [stdout] help: try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 12 - fn execute(&self, system: None) { [INFO] [stdout] 12 + fn execute(&self, system: core::option::Option) { [INFO] [stdout] | [INFO] [stdout] 12 - fn execute(&self, system: None) { [INFO] [stdout] 12 + fn execute(&self, system: std::option::Option) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0573]: expected type, found variant `None` [INFO] [stdout] --> src/instruction.rs:19:31 [INFO] [stdout] | [INFO] [stdout] 19 | fn execute(&self, system: None) { [INFO] [stdout] | ^^^^ not a type [INFO] [stdout] | [INFO] [stdout] help: try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 19 - fn execute(&self, system: None) { [INFO] [stdout] 19 + fn execute(&self, system: core::option::Option) { [INFO] [stdout] | [INFO] [stdout] 19 - fn execute(&self, system: None) { [INFO] [stdout] 19 + fn execute(&self, system: std::option::Option) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0573]: expected type, found variant `None` [INFO] [stdout] --> src/instruction.rs:26:31 [INFO] [stdout] | [INFO] [stdout] 26 | fn execute(&self, system: None) { [INFO] [stdout] | ^^^^ not a type [INFO] [stdout] | [INFO] [stdout] help: try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 26 - fn execute(&self, system: None) { [INFO] [stdout] 26 + fn execute(&self, system: core::option::Option) { [INFO] [stdout] | [INFO] [stdout] 26 - fn execute(&self, system: None) { [INFO] [stdout] 26 + fn execute(&self, system: std::option::Option) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0573]: expected type, found variant `None` [INFO] [stdout] --> src/instruction.rs:33:31 [INFO] [stdout] | [INFO] [stdout] 33 | fn execute(&self, system: None) { [INFO] [stdout] | ^^^^ not a type [INFO] [stdout] | [INFO] [stdout] help: try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 33 - fn execute(&self, system: None) { [INFO] [stdout] 33 + fn execute(&self, system: core::option::Option) { [INFO] [stdout] | [INFO] [stdout] 33 - fn execute(&self, system: None) { [INFO] [stdout] 33 + fn execute(&self, system: std::option::Option) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0573]: expected type, found variant `None` [INFO] [stdout] --> src/instruction.rs:40:31 [INFO] [stdout] | [INFO] [stdout] 40 | fn execute(&self, system: None) { [INFO] [stdout] | ^^^^ not a type [INFO] [stdout] | [INFO] [stdout] help: try using the variant's enum [INFO] [stdout] | [INFO] [stdout] 40 - fn execute(&self, system: None) { [INFO] [stdout] 40 + fn execute(&self, system: core::option::Option) { [INFO] [stdout] | [INFO] [stdout] 40 - fn execute(&self, system: None) { [INFO] [stdout] 40 + fn execute(&self, system: std::option::Option) { [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `new` [INFO] [stdout] --> src/instruction.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 2 | fn new(instruction: u8); [INFO] [stdout] | ------------------------ `new` from trait [INFO] [stdout] ... [INFO] [stdout] 18 | impl Instruction for LDA { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ missing `new` in implementation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `new` [INFO] [stdout] --> src/instruction.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 2 | fn new(instruction: u8); [INFO] [stdout] | ------------------------ `new` from trait [INFO] [stdout] ... [INFO] [stdout] 25 | impl Instruction for SUB { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ missing `new` in implementation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `new` [INFO] [stdout] --> src/instruction.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 2 | fn new(instruction: u8); [INFO] [stdout] | ------------------------ `new` from trait [INFO] [stdout] ... [INFO] [stdout] 32 | impl Instruction for OUT { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ missing `new` in implementation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `new` [INFO] [stdout] --> src/instruction.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 2 | fn new(instruction: u8); [INFO] [stdout] | ------------------------ `new` from trait [INFO] [stdout] ... [INFO] [stdout] 39 | impl Instruction for HLT { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ missing `new` in implementation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instruction` [INFO] [stdout] --> src/instruction.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | fn new(instruction: u8) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `new` [INFO] [stdout] --> src/instruction.rs:18:1 [INFO] [stdout] | [INFO] [stdout] 2 | fn new(instruction: u8); [INFO] [stdout] | ------------------------ `new` from trait [INFO] [stdout] ... [INFO] [stdout] 18 | impl Instruction for LDA { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ missing `new` in implementation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `new` [INFO] [stdout] --> src/instruction.rs:25:1 [INFO] [stdout] | [INFO] [stdout] 2 | fn new(instruction: u8); [INFO] [stdout] | ------------------------ `new` from trait [INFO] [stdout] ... [INFO] [stdout] 25 | impl Instruction for SUB { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ missing `new` in implementation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `new` [INFO] [stdout] --> src/instruction.rs:32:1 [INFO] [stdout] | [INFO] [stdout] 2 | fn new(instruction: u8); [INFO] [stdout] | ------------------------ `new` from trait [INFO] [stdout] ... [INFO] [stdout] 32 | impl Instruction for OUT { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ missing `new` in implementation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `new` [INFO] [stdout] --> src/instruction.rs:39:1 [INFO] [stdout] | [INFO] [stdout] 2 | fn new(instruction: u8); [INFO] [stdout] | ------------------------ `new` from trait [INFO] [stdout] ... [INFO] [stdout] 39 | impl Instruction for HLT { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ missing `new` in implementation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0573. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stdout] warning: unused variable: `instruction` [INFO] [stdout] --> src/instruction.rs:8:12 [INFO] [stdout] | [INFO] [stdout] 8 | fn new(instruction: u8) { [INFO] [stdout] | ^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_instruction` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0573. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stderr] error: could not compile `sap-1-emulator` (bin "sap-1-emulator" test) due to 10 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `sap-1-emulator` (bin "sap-1-emulator") due to 10 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "131659d3312cb45d592b0dae3f232198fde4a18fd7668d0105e660ba10abdc16", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "131659d3312cb45d592b0dae3f232198fde4a18fd7668d0105e660ba10abdc16", kill_on_drop: false }` [INFO] [stdout] 131659d3312cb45d592b0dae3f232198fde4a18fd7668d0105e660ba10abdc16