[INFO] cloning repository https://github.com/juanpablocruz/mix-vm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/juanpablocruz/mix-vm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjuanpablocruz%2Fmix-vm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjuanpablocruz%2Fmix-vm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] af4e09ba5ace72ed503222f207ddc106062b183a [INFO] testing juanpablocruz/mix-vm against master#cdb45c87e2cd43495379f7e867e3cc15dcee9f93 for pr-145838-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fjuanpablocruz%2Fmix-vm" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/juanpablocruz/mix-vm [INFO] finished tweaking git repo https://github.com/juanpablocruz/mix-vm [INFO] tweaked toml for git repo https://github.com/juanpablocruz/mix-vm written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/juanpablocruz/mix-vm on toolchain cdb45c87e2cd43495379f7e867e3cc15dcee9f93 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/juanpablocruz/mix-vm 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" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 3b4ea2e92fc83546952c8fe2055fbb5997d8782bcd8ff3c662ce8ec6f1f70abf [INFO] running `Command { std: "docker" "start" "-a" "3b4ea2e92fc83546952c8fe2055fbb5997d8782bcd8ff3c662ce8ec6f1f70abf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "3b4ea2e92fc83546952c8fe2055fbb5997d8782bcd8ff3c662ce8ec6f1f70abf", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3b4ea2e92fc83546952c8fe2055fbb5997d8782bcd8ff3c662ce8ec6f1f70abf", kill_on_drop: false }` [INFO] [stdout] 3b4ea2e92fc83546952c8fe2055fbb5997d8782bcd8ff3c662ce8ec6f1f70abf [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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+cdb45c87e2cd43495379f7e867e3cc15dcee9f93" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e17c53b6d10addf0103249528cba4d2fc2c205a755fe63e5d838fdc649c7538c [INFO] running `Command { std: "docker" "start" "-a" "e17c53b6d10addf0103249528cba4d2fc2c205a755fe63e5d838fdc649c7538c", kill_on_drop: false }` [INFO] [stderr] Compiling mix_vm v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved import `super::instructions::HALT` [INFO] [stdout] --> src/mix/machine.rs:10:61 [INFO] [stdout] | [INFO] [stdout] 10 | use super::instructions::{LDA,STA,ADD,SUB,DIV,JMP,JZ,JL,CMP,HALT}; [INFO] [stdout] | ^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `HALT` in `mix::instructions` [INFO] [stdout] | help: a similar name exists in the module: `HLT` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `mix::machine::Mix` [INFO] [stdout] --> src/main.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use mix::machine::Mix; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/mix/machine.rs:109:13 [INFO] [stdout] | [INFO] [stdout] 105 | HLT => { [INFO] [stdout] | --- matches any value [INFO] [stdout] ... [INFO] [stdout] 109 | LDA => { [INFO] [stdout] | ^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unreachable_patterns)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] help: you might have meant to pattern match against the value of constant `HLT` instead of introducing a new catch-all binding [INFO] [stdout] | [INFO] [stdout] 105 | mix::instructions::HLT => { [INFO] [stdout] | +++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/mix/machine.rs:114:13 [INFO] [stdout] | [INFO] [stdout] 105 | HLT => { [INFO] [stdout] | --- matches any value [INFO] [stdout] ... [INFO] [stdout] 114 | STA => { [INFO] [stdout] | ^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] help: you might have meant to pattern match against the value of constant `HLT` instead of introducing a new catch-all binding [INFO] [stdout] | [INFO] [stdout] 105 | mix::instructions::HLT => { [INFO] [stdout] | +++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/mix/machine.rs:120:13 [INFO] [stdout] | [INFO] [stdout] 105 | HLT => { [INFO] [stdout] | --- matches any value [INFO] [stdout] ... [INFO] [stdout] 120 | ADD => { [INFO] [stdout] | ^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] help: you might have meant to pattern match against the value of constant `HLT` instead of introducing a new catch-all binding [INFO] [stdout] | [INFO] [stdout] 105 | mix::instructions::HLT => { [INFO] [stdout] | +++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/mix/machine.rs:125:13 [INFO] [stdout] | [INFO] [stdout] 105 | HLT => { [INFO] [stdout] | --- matches any value [INFO] [stdout] ... [INFO] [stdout] 125 | SUB => { [INFO] [stdout] | ^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] help: you might have meant to pattern match against the value of constant `HLT` instead of introducing a new catch-all binding [INFO] [stdout] | [INFO] [stdout] 105 | mix::instructions::HLT => { [INFO] [stdout] | +++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/mix/machine.rs:130:13 [INFO] [stdout] | [INFO] [stdout] 105 | HLT => { [INFO] [stdout] | --- matches any value [INFO] [stdout] ... [INFO] [stdout] 130 | DIV => { [INFO] [stdout] | ^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] help: you might have meant to pattern match against the value of constant `HLT` instead of introducing a new catch-all binding [INFO] [stdout] | [INFO] [stdout] 105 | mix::instructions::HLT => { [INFO] [stdout] | +++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/mix/machine.rs:135:13 [INFO] [stdout] | [INFO] [stdout] 105 | HLT => { [INFO] [stdout] | --- matches any value [INFO] [stdout] ... [INFO] [stdout] 135 | JMP => { [INFO] [stdout] | ^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] help: you might have meant to pattern match against the value of constant `HLT` instead of introducing a new catch-all binding [INFO] [stdout] | [INFO] [stdout] 105 | mix::instructions::HLT => { [INFO] [stdout] | +++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/mix/machine.rs:140:13 [INFO] [stdout] | [INFO] [stdout] 105 | HLT => { [INFO] [stdout] | --- matches any value [INFO] [stdout] ... [INFO] [stdout] 140 | JZ => { [INFO] [stdout] | ^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] help: you might have meant to pattern match against the value of constant `HLT` instead of introducing a new catch-all binding [INFO] [stdout] | [INFO] [stdout] 105 | mix::instructions::HLT => { [INFO] [stdout] | +++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/mix/machine.rs:145:13 [INFO] [stdout] | [INFO] [stdout] 105 | HLT => { [INFO] [stdout] | --- matches any value [INFO] [stdout] ... [INFO] [stdout] 145 | JL => { [INFO] [stdout] | ^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] help: you might have meant to pattern match against the value of constant `HLT` instead of introducing a new catch-all binding [INFO] [stdout] | [INFO] [stdout] 105 | mix::instructions::HLT => { [INFO] [stdout] | +++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/mix/machine.rs:150:13 [INFO] [stdout] | [INFO] [stdout] 105 | HLT => { [INFO] [stdout] | --- matches any value [INFO] [stdout] ... [INFO] [stdout] 150 | CMP => { [INFO] [stdout] | ^^^ no value can reach this [INFO] [stdout] | [INFO] [stdout] help: you might have meant to pattern match against the value of constant `HLT` instead of introducing a new catch-all binding [INFO] [stdout] | [INFO] [stdout] 105 | mix::instructions::HLT => { [INFO] [stdout] | +++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unreachable pattern [INFO] [stdout] --> src/mix/machine.rs:155:13 [INFO] [stdout] | [INFO] [stdout] 105 | HLT => { [INFO] [stdout] | --- matches any value [INFO] [stdout] ... [INFO] [stdout] 155 | _ => { [INFO] [stdout] | ^ no value can reach this [INFO] [stdout] | [INFO] [stdout] help: you might have meant to pattern match against the value of constant `HLT` instead of introducing a new catch-all binding [INFO] [stdout] | [INFO] [stdout] 105 | mix::instructions::HLT => { [INFO] [stdout] | +++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `HLT` [INFO] [stdout] --> src/mix/machine.rs:105:13 [INFO] [stdout] | [INFO] [stdout] 105 | HLT => { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_HLT` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `message` [INFO] [stdout] --> src/mixal/parser.rs:95:34 [INFO] [stdout] | [INFO] [stdout] 95 | Token::Error(ref message, _, _) => return Err("Error"), [INFO] [stdout] | ^^^^^^^ help: if this is intentional, prefix it with an underscore: `_message` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] For more information about this error, try `rustc --explain E0432`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mix_vm` (bin "mix_vm") due to 1 previous error; 13 warnings emitted [INFO] running `Command { std: "docker" "inspect" "e17c53b6d10addf0103249528cba4d2fc2c205a755fe63e5d838fdc649c7538c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e17c53b6d10addf0103249528cba4d2fc2c205a755fe63e5d838fdc649c7538c", kill_on_drop: false }` [INFO] [stdout] e17c53b6d10addf0103249528cba4d2fc2c205a755fe63e5d838fdc649c7538c