[INFO] cloning repository https://github.com/harukasu4523/vm_translator [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/harukasu4523/vm_translator" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fharukasu4523%2Fvm_translator", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fharukasu4523%2Fvm_translator'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] b37779d5c44066475b0e876b87497d0a021fbea3 [INFO] checking harukasu4523/vm_translator against try#81ab7f2139295590561adbe6d5b0aaa2feff765f for pr-146470-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fharukasu4523%2Fvm_translator" "/workspace/builds/worker-3-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-3-tc2/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/harukasu4523/vm_translator [INFO] finished tweaking git repo https://github.com/harukasu4523/vm_translator [INFO] tweaked toml for git repo https://github.com/harukasu4523/vm_translator written to /workspace/builds/worker-3-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/harukasu4523/vm_translator on toolchain 81ab7f2139295590561adbe6d5b0aaa2feff765f [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+81ab7f2139295590561adbe6d5b0aaa2feff765f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/harukasu4523/vm_translator 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" "+81ab7f2139295590561adbe6d5b0aaa2feff765f" "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-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+81ab7f2139295590561adbe6d5b0aaa2feff765f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] b0f84214f4c0f38895665521a6ce584962521cef0a67d046917b5114181aff72 [INFO] running `Command { std: "docker" "start" "-a" "b0f84214f4c0f38895665521a6ce584962521cef0a67d046917b5114181aff72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b0f84214f4c0f38895665521a6ce584962521cef0a67d046917b5114181aff72", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b0f84214f4c0f38895665521a6ce584962521cef0a67d046917b5114181aff72", kill_on_drop: false }` [INFO] [stdout] b0f84214f4c0f38895665521a6ce584962521cef0a67d046917b5114181aff72 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-3-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+81ab7f2139295590561adbe6d5b0aaa2feff765f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] ad082da6e02066c339876f4549d2a2fdcd0b5c815f47d7f282c7a93ccb7c4483 [INFO] running `Command { std: "docker" "start" "-a" "ad082da6e02066c339876f4549d2a2fdcd0b5c815f47d7f282c7a93ccb7c4483", kill_on_drop: false }` [INFO] [stderr] Checking vm_translator v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0425]: cannot find type `CommandType` in this scope [INFO] [stdout] --> src/parser/mod.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | let commands:Vec = lines.iter().map(|l| parse_command(&l)).collect(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 8 + use crate::CommandType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `lines` in this scope [INFO] [stdout] --> src/parser/mod.rs:10:33 [INFO] [stdout] | [INFO] [stdout] 10 | let commands:Vec = lines.iter().map(|l| parse_command(&l)).collect(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CommandType` [INFO] [stdout] --> src/parser/mod.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | CommandType::COMMENT(_) => continue, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `CommandType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 8 + use crate::CommandType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CommandType` [INFO] [stdout] --> src/parser/mod.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | CommandType::ARITHEMETIC(cmd) => println!("{}",cmd), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `CommandType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 8 + use crate::CommandType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CommandType` [INFO] [stdout] --> src/parser/mod.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | CommandType::POP(segment, num) => segment_sec(segment, num) , //println!("segment:{} num{}",segment, num) [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `CommandType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 8 + use crate::CommandType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CommandType` [INFO] [stdout] --> src/parser/mod.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | CommandType::PUSH(segment, num) => println!("segment:{} num{}",segment, num) [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `CommandType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 8 + use crate::CommandType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `CommandType` in this scope [INFO] [stdout] --> src/parser/mod.rs:24:31 [INFO] [stdout] | [INFO] [stdout] 24 | fn parse_command(line: &str)->CommandType{ [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 8 + use crate::CommandType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CommandType` [INFO] [stdout] --> src/parser/mod.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 27 | return CommandType::COMMENT("empty") [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `CommandType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 8 + use crate::CommandType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CommandType` [INFO] [stdout] --> src/parser/mod.rs:30:19 [INFO] [stdout] | [INFO] [stdout] 30 | "push" => CommandType::PUSH(elements[1], elements[2]), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `CommandType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 8 + use crate::CommandType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CommandType` [INFO] [stdout] --> src/parser/mod.rs:31:18 [INFO] [stdout] | [INFO] [stdout] 31 | "pop" => CommandType::POP(elements[1], elements[2]), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `CommandType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 8 + use crate::CommandType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CommandType` [INFO] [stdout] --> src/parser/mod.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 32 | "add" => CommandType::ARITHEMETIC(elements[0]), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `CommandType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 8 + use crate::CommandType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CommandType` [INFO] [stdout] --> src/parser/mod.rs:33:18 [INFO] [stdout] | [INFO] [stdout] 33 | "sub" => CommandType::ARITHEMETIC(elements[0]), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `CommandType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 8 + use crate::CommandType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CommandType` [INFO] [stdout] --> src/parser/mod.rs:34:18 [INFO] [stdout] | [INFO] [stdout] 34 | "neg" => CommandType::ARITHEMETIC(elements[0]), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `CommandType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 8 + use crate::CommandType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CommandType` [INFO] [stdout] --> src/parser/mod.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | "eq" => CommandType::ARITHEMETIC(elements[0]), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `CommandType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 8 + use crate::CommandType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CommandType` [INFO] [stdout] --> src/parser/mod.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | "gt" => CommandType::ARITHEMETIC(elements[0]), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `CommandType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 8 + use crate::CommandType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CommandType` [INFO] [stdout] --> src/parser/mod.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | "lt" => CommandType::ARITHEMETIC(elements[0]), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `CommandType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 8 + use crate::CommandType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CommandType` [INFO] [stdout] --> src/parser/mod.rs:38:18 [INFO] [stdout] | [INFO] [stdout] 38 | "and" => CommandType::ARITHEMETIC(elements[0]), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `CommandType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 8 + use crate::CommandType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CommandType` [INFO] [stdout] --> src/parser/mod.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | "or" => CommandType::ARITHEMETIC(elements[0]), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `CommandType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 8 + use crate::CommandType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CommandType` [INFO] [stdout] --> src/parser/mod.rs:40:18 [INFO] [stdout] | [INFO] [stdout] 40 | "not" => CommandType::ARITHEMETIC(elements[0]), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `CommandType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 8 + use crate::CommandType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `process` [INFO] [stdout] --> src/parser/mod.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | process::exit(1); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `process` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `process`, use `cargo add process` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 8 + use crate::process; [INFO] [stdout] | [INFO] [stdout] 8 + use std::process; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `CommandType` in this scope [INFO] [stdout] --> src/parser/mod.rs:10:18 [INFO] [stdout] | [INFO] [stdout] 10 | let commands:Vec = lines.iter().map(|l| parse_command(&l)).collect(); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 8 + use crate::CommandType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `lines` in this scope [INFO] [stdout] --> src/parser/mod.rs:10:33 [INFO] [stdout] | [INFO] [stdout] 10 | let commands:Vec = lines.iter().map(|l| parse_command(&l)).collect(); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CommandType` [INFO] [stdout] --> src/parser/mod.rs:14:9 [INFO] [stdout] | [INFO] [stdout] 14 | CommandType::COMMENT(_) => continue, [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `CommandType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 8 + use crate::CommandType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CommandType` [INFO] [stdout] --> src/parser/mod.rs:15:9 [INFO] [stdout] | [INFO] [stdout] 15 | CommandType::ARITHEMETIC(cmd) => println!("{}",cmd), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `CommandType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 8 + use crate::CommandType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CommandType` [INFO] [stdout] --> src/parser/mod.rs:16:9 [INFO] [stdout] | [INFO] [stdout] 16 | CommandType::POP(segment, num) => segment_sec(segment, num) , //println!("segment:{} num{}",segment, num) [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `CommandType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 8 + use crate::CommandType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CommandType` [INFO] [stdout] --> src/parser/mod.rs:17:9 [INFO] [stdout] | [INFO] [stdout] 17 | CommandType::PUSH(segment, num) => println!("segment:{} num{}",segment, num) [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `CommandType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 8 + use crate::CommandType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `CommandType` in this scope [INFO] [stdout] --> src/parser/mod.rs:24:31 [INFO] [stdout] | [INFO] [stdout] 24 | fn parse_command(line: &str)->CommandType{ [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 8 + use crate::CommandType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CommandType` [INFO] [stdout] --> src/parser/mod.rs:27:16 [INFO] [stdout] | [INFO] [stdout] 27 | return CommandType::COMMENT("empty") [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `CommandType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 8 + use crate::CommandType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CommandType` [INFO] [stdout] --> src/parser/mod.rs:30:19 [INFO] [stdout] | [INFO] [stdout] 30 | "push" => CommandType::PUSH(elements[1], elements[2]), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `CommandType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 8 + use crate::CommandType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CommandType` [INFO] [stdout] --> src/parser/mod.rs:31:18 [INFO] [stdout] | [INFO] [stdout] 31 | "pop" => CommandType::POP(elements[1], elements[2]), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `CommandType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 8 + use crate::CommandType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CommandType` [INFO] [stdout] --> src/parser/mod.rs:32:18 [INFO] [stdout] | [INFO] [stdout] 32 | "add" => CommandType::ARITHEMETIC(elements[0]), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `CommandType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 8 + use crate::CommandType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CommandType` [INFO] [stdout] --> src/parser/mod.rs:33:18 [INFO] [stdout] | [INFO] [stdout] 33 | "sub" => CommandType::ARITHEMETIC(elements[0]), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `CommandType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 8 + use crate::CommandType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CommandType` [INFO] [stdout] --> src/parser/mod.rs:34:18 [INFO] [stdout] | [INFO] [stdout] 34 | "neg" => CommandType::ARITHEMETIC(elements[0]), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `CommandType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 8 + use crate::CommandType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CommandType` [INFO] [stdout] --> src/parser/mod.rs:35:17 [INFO] [stdout] | [INFO] [stdout] 35 | "eq" => CommandType::ARITHEMETIC(elements[0]), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `CommandType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 8 + use crate::CommandType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CommandType` [INFO] [stdout] --> src/parser/mod.rs:36:17 [INFO] [stdout] | [INFO] [stdout] 36 | "gt" => CommandType::ARITHEMETIC(elements[0]), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `CommandType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 8 + use crate::CommandType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CommandType` [INFO] [stdout] --> src/parser/mod.rs:37:17 [INFO] [stdout] | [INFO] [stdout] 37 | "lt" => CommandType::ARITHEMETIC(elements[0]), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `CommandType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 8 + use crate::CommandType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CommandType` [INFO] [stdout] --> src/parser/mod.rs:38:18 [INFO] [stdout] | [INFO] [stdout] 38 | "and" => CommandType::ARITHEMETIC(elements[0]), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `CommandType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 8 + use crate::CommandType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CommandType` [INFO] [stdout] --> src/parser/mod.rs:39:17 [INFO] [stdout] | [INFO] [stdout] 39 | "or" => CommandType::ARITHEMETIC(elements[0]), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `CommandType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 8 + use crate::CommandType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `CommandType` [INFO] [stdout] --> src/parser/mod.rs:40:18 [INFO] [stdout] | [INFO] [stdout] 40 | "not" => CommandType::ARITHEMETIC(elements[0]), [INFO] [stdout] | ^^^^^^^^^^^ use of undeclared type `CommandType` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 8 + use crate::CommandType; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parser::*` [INFO] [stdout] --> src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::parser::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of unresolved module or unlinked crate `process` [INFO] [stdout] --> src/parser/mod.rs:44:13 [INFO] [stdout] | [INFO] [stdout] 44 | process::exit(1); [INFO] [stdout] | ^^^^^^^ use of unresolved module or unlinked crate `process` [INFO] [stdout] | [INFO] [stdout] = help: if you wanted to use a crate named `process`, use `cargo add process` to add it to your `Cargo.toml` [INFO] [stdout] help: consider importing one of these modules [INFO] [stdout] | [INFO] [stdout] 8 + use crate::process; [INFO] [stdout] | [INFO] [stdout] 8 + use std::process; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::parser::*` [INFO] [stdout] --> src/lib.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::parser::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/parser/mod.rs:10:51 [INFO] [stdout] | [INFO] [stdout] 10 | let commands:Vec = lines.iter().map(|l| parse_command(&l)).collect(); [INFO] [stdout] | ^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all function arguments must have a statically known size [INFO] [stdout] = help: unsized fn params are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `str` cannot be known at compilation time [INFO] [stdout] --> src/parser/mod.rs:10:51 [INFO] [stdout] | [INFO] [stdout] 10 | let commands:Vec = lines.iter().map(|l| parse_command(&l)).collect(); [INFO] [stdout] | ^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `str` [INFO] [stdout] = note: all function arguments must have a statically known size [INFO] [stdout] = help: unsized fn params are gated as an unstable feature [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `segment_sec` in this scope [INFO] [stdout] --> src/parser/mod.rs:16:43 [INFO] [stdout] | [INFO] [stdout] 16 | CommandType::POP(segment, num) => segment_sec(segment, num) , //println!("segment:{} num{}",segment, num) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `segment_sec` in this scope [INFO] [stdout] --> src/parser/mod.rs:16:43 [INFO] [stdout] | [INFO] [stdout] 16 | CommandType::POP(segment, num) => segment_sec(segment, num) , //println!("segment:{} num{}",segment, num) [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_command` in this scope [INFO] [stdout] --> src/lib.rs:55:58 [INFO] [stdout] | [INFO] [stdout] 55 | let commands:Vec = lines.iter().map(|l| parse_command(&l)).collect(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_command` in this scope [INFO] [stdout] --> src/lib.rs:55:58 [INFO] [stdout] | [INFO] [stdout] 55 | let commands:Vec = lines.iter().map(|l| parse_command(&l)).collect(); [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `vm_translator` (lib test) due to 23 previous errors; 1 warning emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stderr] error: could not compile `vm_translator` (lib) due to 23 previous errors; 1 warning emitted [INFO] running `Command { std: "docker" "inspect" "ad082da6e02066c339876f4549d2a2fdcd0b5c815f47d7f282c7a93ccb7c4483", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ad082da6e02066c339876f4549d2a2fdcd0b5c815f47d7f282c7a93ccb7c4483", kill_on_drop: false }` [INFO] [stdout] ad082da6e02066c339876f4549d2a2fdcd0b5c815f47d7f282c7a93ccb7c4483