[INFO] cloning repository https://github.com/Cheshulko/cm_vm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Cheshulko/cm_vm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCheshulko%2Fcm_vm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCheshulko%2Fcm_vm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 09744ff8d18bfb2e1442978ec704f1d9ec22709e [INFO] checking Cheshulko/cm_vm/09744ff8d18bfb2e1442978ec704f1d9ec22709e against try#ccf408f4326a858c00dd845a64a86b16f360a801 for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FCheshulko%2Fcm_vm" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Cheshulko/cm_vm on toolchain ccf408f4326a858c00dd845a64a86b16f360a801 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Cheshulko/cm_vm [INFO] finished tweaking git repo https://github.com/Cheshulko/cm_vm [INFO] tweaked toml for git repo https://github.com/Cheshulko/cm_vm written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] crate git repo https://github.com/Cheshulko/cm_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" "+ccf408f4326a858c00dd845a64a86b16f360a801" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 6e53f3fab5bb691da90b1e01568e66bf7419944b2f06ee03923138a4ab870f07 [INFO] running `Command { std: "docker" "start" "-a" "6e53f3fab5bb691da90b1e01568e66bf7419944b2f06ee03923138a4ab870f07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "6e53f3fab5bb691da90b1e01568e66bf7419944b2f06ee03923138a4ab870f07", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "6e53f3fab5bb691da90b1e01568e66bf7419944b2f06ee03923138a4ab870f07", kill_on_drop: false }` [INFO] [stdout] 6e53f3fab5bb691da90b1e01568e66bf7419944b2f06ee03923138a4ab870f07 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+ccf408f4326a858c00dd845a64a86b16f360a801" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 266cbefbe583758180388a9b3a5d2971bec19e1d483c699b34d3f5e700d40670 [INFO] running `Command { std: "docker" "start" "-a" "266cbefbe583758180388a9b3a5d2971bec19e1d483c699b34d3f5e700d40670", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Migrating Cargo.toml from 2021 edition to 2024 [INFO] [stderr] Compiling memchr v2.5.0 [INFO] [stderr] Compiling libc v0.2.140 [INFO] [stderr] Compiling io-lifetimes v1.0.9 [INFO] [stderr] Compiling rustix v0.36.11 [INFO] [stderr] Checking bitflags v1.3.2 [INFO] [stderr] Compiling version_check v0.1.5 [INFO] [stderr] Compiling log v0.4.17 [INFO] [stderr] Checking linux-raw-sys v0.1.4 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Checking regex-syntax v0.6.29 [INFO] [stderr] Compiling nom v4.2.3 [INFO] [stderr] Checking humantime v2.1.0 [INFO] [stderr] Checking termcolor v1.2.0 [INFO] [stderr] Checking aho-corasick v0.7.20 [INFO] [stderr] Checking regex v1.7.3 [INFO] [stderr] Checking is-terminal v0.4.5 [INFO] [stderr] Checking env_logger v0.10.0 [INFO] [stderr] Checking cm_vm v0.1.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2021 edition to 2024 [INFO] [stderr] Fixed src/assembler/mod.rs (1 fix) [INFO] [stderr] Fixed src/assembler/directive_parser.rs (2 fixes) [INFO] [stderr] Fixed src/assembler/operand_parser.rs (1 fix) [INFO] [stderr] Fixed src/assembler/instruction_parser.rs (2 fixes) [INFO] [stderr] Fixed src/assembler/opcode_parser.rs (1 fix) [INFO] [stderr] Fixed src/assembler/register_parser.rs (1 fix) [INFO] [stdout] warning: variants `LabelDeclaration` and `LabelUsage` are never constructed [INFO] [stdout] --> src/assembler/token.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 4 | pub enum Token { [INFO] [stdout] | ----- variants in this enum [INFO] [stdout] ... [INFO] [stdout] 8 | LabelDeclaration { name: String }, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | LabelUsage { name: String }, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `Token` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `run` is never used [INFO] [stdout] --> src/vm/mod.rs:196:12 [INFO] [stdout] | [INFO] [stdout] 21 | impl VM { [INFO] [stdout] | ------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 196 | pub fn run(&mut self) { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/vm/instruction.rs:72:12 [INFO] [stdout] | [INFO] [stdout] 71 | impl Instruction { [INFO] [stdout] | ---------------- associated function in this implementation [INFO] [stdout] 72 | pub fn new(opcode: Opcode) -> Instruction { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `directive_declaration` in this scope [INFO] [stdout] --> src/assembler/directive_parser.rs:58:22 [INFO] [stdout] | [INFO] [stdout] 58 | let result = directive_declaration(CompleteStr(".directive")); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 56 + use crate::assembler::directive_parser::directive_declaration; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CompleteStr` in this scope [INFO] [stdout] --> src/assembler/directive_parser.rs:58:44 [INFO] [stdout] | [INFO] [stdout] 58 | let result = directive_declaration(CompleteStr(".directive")); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these tuple structs [INFO] [stdout] | [INFO] [stdout] 56 + use crate::assembler::CompleteStr; [INFO] [stdout] | [INFO] [stdout] 56 + use nom::types::CompleteStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CompleteStr` in this scope [INFO] [stdout] --> src/assembler/directive_parser.rs:62:17 [INFO] [stdout] | [INFO] [stdout] 62 | CompleteStr(""), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these tuple structs [INFO] [stdout] | [INFO] [stdout] 56 + use crate::assembler::CompleteStr; [INFO] [stdout] | [INFO] [stdout] 56 + use nom::types::CompleteStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> src/assembler/directive_parser.rs:63:17 [INFO] [stdout] | [INFO] [stdout] 63 | Token::Directive { [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 56 + use crate::assembler::token::Token; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `directive` in this scope [INFO] [stdout] --> src/assembler/directive_parser.rs:72:22 [INFO] [stdout] | [INFO] [stdout] 72 | let result = directive(CompleteStr(".directive")); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 56 + use crate::assembler::directive_parser::directive; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CompleteStr` in this scope [INFO] [stdout] --> src/assembler/directive_parser.rs:72:32 [INFO] [stdout] | [INFO] [stdout] 72 | let result = directive(CompleteStr(".directive")); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these tuple structs [INFO] [stdout] | [INFO] [stdout] 56 + use crate::assembler::CompleteStr; [INFO] [stdout] | [INFO] [stdout] 56 + use nom::types::CompleteStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CompleteStr` in this scope [INFO] [stdout] --> src/assembler/directive_parser.rs:76:17 [INFO] [stdout] | [INFO] [stdout] 76 | CompleteStr(""), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these tuple structs [INFO] [stdout] | [INFO] [stdout] 56 + use crate::assembler::CompleteStr; [INFO] [stdout] | [INFO] [stdout] 56 + use nom::types::CompleteStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `AssemblerInstruction` in this scope [INFO] [stdout] --> src/assembler/directive_parser.rs:77:17 [INFO] [stdout] | [INFO] [stdout] 77 | AssemblerInstruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 56 + use crate::assembler::AssemblerInstruction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> src/assembler/directive_parser.rs:79:37 [INFO] [stdout] | [INFO] [stdout] 79 | directive: Some(Token::Directive { [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 56 + use crate::assembler::token::Token; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `directive` in this scope [INFO] [stdout] --> src/assembler/directive_parser.rs:93:22 [INFO] [stdout] | [INFO] [stdout] 93 | let result = directive(CompleteStr(".directive $0")); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 56 + use crate::assembler::directive_parser::directive; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CompleteStr` in this scope [INFO] [stdout] --> src/assembler/directive_parser.rs:93:32 [INFO] [stdout] | [INFO] [stdout] 93 | let result = directive(CompleteStr(".directive $0")); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these tuple structs [INFO] [stdout] | [INFO] [stdout] 56 + use crate::assembler::CompleteStr; [INFO] [stdout] | [INFO] [stdout] 56 + use nom::types::CompleteStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CompleteStr` in this scope [INFO] [stdout] --> src/assembler/directive_parser.rs:97:17 [INFO] [stdout] | [INFO] [stdout] 97 | CompleteStr(""), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these tuple structs [INFO] [stdout] | [INFO] [stdout] 56 + use crate::assembler::CompleteStr; [INFO] [stdout] | [INFO] [stdout] 56 + use nom::types::CompleteStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `AssemblerInstruction` in this scope [INFO] [stdout] --> src/assembler/directive_parser.rs:98:17 [INFO] [stdout] | [INFO] [stdout] 98 | AssemblerInstruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 56 + use crate::assembler::AssemblerInstruction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> src/assembler/directive_parser.rs:100:37 [INFO] [stdout] | [INFO] [stdout] 100 | directive: Some(Token::Directive { [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 56 + use crate::assembler::token::Token; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> src/assembler/directive_parser.rs:104:36 [INFO] [stdout] | [INFO] [stdout] 104 | operand1: Some(Token::Register { reg_num: 0 }), [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 56 + use crate::assembler::token::Token; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `directive` in this scope [INFO] [stdout] --> src/assembler/directive_parser.rs:114:22 [INFO] [stdout] | [INFO] [stdout] 114 | let result = directive(CompleteStr(".directive #10")); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 56 + use crate::assembler::directive_parser::directive; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CompleteStr` in this scope [INFO] [stdout] --> src/assembler/directive_parser.rs:114:32 [INFO] [stdout] | [INFO] [stdout] 114 | let result = directive(CompleteStr(".directive #10")); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these tuple structs [INFO] [stdout] | [INFO] [stdout] 56 + use crate::assembler::CompleteStr; [INFO] [stdout] | [INFO] [stdout] 56 + use nom::types::CompleteStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CompleteStr` in this scope [INFO] [stdout] --> src/assembler/directive_parser.rs:118:17 [INFO] [stdout] | [INFO] [stdout] 118 | CompleteStr(""), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these tuple structs [INFO] [stdout] | [INFO] [stdout] 56 + use crate::assembler::CompleteStr; [INFO] [stdout] | [INFO] [stdout] 56 + use nom::types::CompleteStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `AssemblerInstruction` in this scope [INFO] [stdout] --> src/assembler/directive_parser.rs:119:17 [INFO] [stdout] | [INFO] [stdout] 119 | AssemblerInstruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 56 + use crate::assembler::AssemblerInstruction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> src/assembler/directive_parser.rs:121:37 [INFO] [stdout] | [INFO] [stdout] 121 | directive: Some(Token::Directive { [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 56 + use crate::assembler::token::Token; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> src/assembler/directive_parser.rs:125:36 [INFO] [stdout] | [INFO] [stdout] 125 | operand1: Some(Token::Number { value: 10 }), [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 56 + use crate::assembler::token::Token; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `directive` in this scope [INFO] [stdout] --> src/assembler/directive_parser.rs:135:22 [INFO] [stdout] | [INFO] [stdout] 135 | let result = directive(CompleteStr(".directive $0 $1")); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 56 + use crate::assembler::directive_parser::directive; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CompleteStr` in this scope [INFO] [stdout] --> src/assembler/directive_parser.rs:135:32 [INFO] [stdout] | [INFO] [stdout] 135 | let result = directive(CompleteStr(".directive $0 $1")); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these tuple structs [INFO] [stdout] | [INFO] [stdout] 56 + use crate::assembler::CompleteStr; [INFO] [stdout] | [INFO] [stdout] 56 + use nom::types::CompleteStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CompleteStr` in this scope [INFO] [stdout] --> src/assembler/directive_parser.rs:139:17 [INFO] [stdout] | [INFO] [stdout] 139 | CompleteStr(""), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these tuple structs [INFO] [stdout] | [INFO] [stdout] 56 + use crate::assembler::CompleteStr; [INFO] [stdout] | [INFO] [stdout] 56 + use nom::types::CompleteStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `AssemblerInstruction` in this scope [INFO] [stdout] --> src/assembler/directive_parser.rs:140:17 [INFO] [stdout] | [INFO] [stdout] 140 | AssemblerInstruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 56 + use crate::assembler::AssemblerInstruction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> src/assembler/directive_parser.rs:142:37 [INFO] [stdout] | [INFO] [stdout] 142 | directive: Some(Token::Directive { [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 56 + use crate::assembler::token::Token; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> src/assembler/directive_parser.rs:146:36 [INFO] [stdout] | [INFO] [stdout] 146 | operand1: Some(Token::Register { reg_num: 0 }), [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 56 + use crate::assembler::token::Token; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> src/assembler/directive_parser.rs:147:36 [INFO] [stdout] | [INFO] [stdout] 147 | operand2: Some(Token::Register { reg_num: 1 }), [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 56 + use crate::assembler::token::Token; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `directive` in this scope [INFO] [stdout] --> src/assembler/directive_parser.rs:156:22 [INFO] [stdout] | [INFO] [stdout] 156 | let result = directive(CompleteStr(".directive #10 #20")); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 56 + use crate::assembler::directive_parser::directive; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CompleteStr` in this scope [INFO] [stdout] --> src/assembler/directive_parser.rs:156:32 [INFO] [stdout] | [INFO] [stdout] 156 | let result = directive(CompleteStr(".directive #10 #20")); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these tuple structs [INFO] [stdout] | [INFO] [stdout] 56 + use crate::assembler::CompleteStr; [INFO] [stdout] | [INFO] [stdout] 56 + use nom::types::CompleteStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CompleteStr` in this scope [INFO] [stdout] --> src/assembler/directive_parser.rs:160:17 [INFO] [stdout] | [INFO] [stdout] 160 | CompleteStr(""), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these tuple structs [INFO] [stdout] | [INFO] [stdout] 56 + use crate::assembler::CompleteStr; [INFO] [stdout] | [INFO] [stdout] 56 + use nom::types::CompleteStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `AssemblerInstruction` in this scope [INFO] [stdout] --> src/assembler/directive_parser.rs:161:17 [INFO] [stdout] | [INFO] [stdout] 161 | AssemblerInstruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 56 + use crate::assembler::AssemblerInstruction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> src/assembler/directive_parser.rs:163:37 [INFO] [stdout] | [INFO] [stdout] 163 | directive: Some(Token::Directive { [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 56 + use crate::assembler::token::Token; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> src/assembler/directive_parser.rs:167:36 [INFO] [stdout] | [INFO] [stdout] 167 | operand1: Some(Token::Number { value: 10 }), [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 56 + use crate::assembler::token::Token; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> src/assembler/directive_parser.rs:168:36 [INFO] [stdout] | [INFO] [stdout] 168 | operand2: Some(Token::Number { value: 20 }), [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 56 + use crate::assembler::token::Token; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `directive` in this scope [INFO] [stdout] --> src/assembler/directive_parser.rs:177:22 [INFO] [stdout] | [INFO] [stdout] 177 | let result = directive(CompleteStr(".directive $0 $1 #100")); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 56 + use crate::assembler::directive_parser::directive; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CompleteStr` in this scope [INFO] [stdout] --> src/assembler/directive_parser.rs:177:32 [INFO] [stdout] | [INFO] [stdout] 177 | let result = directive(CompleteStr(".directive $0 $1 #100")); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these tuple structs [INFO] [stdout] | [INFO] [stdout] 56 + use crate::assembler::CompleteStr; [INFO] [stdout] | [INFO] [stdout] 56 + use nom::types::CompleteStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CompleteStr` in this scope [INFO] [stdout] --> src/assembler/directive_parser.rs:181:17 [INFO] [stdout] | [INFO] [stdout] 181 | CompleteStr(""), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these tuple structs [INFO] [stdout] | [INFO] [stdout] 56 + use crate::assembler::CompleteStr; [INFO] [stdout] | [INFO] [stdout] 56 + use nom::types::CompleteStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `AssemblerInstruction` in this scope [INFO] [stdout] --> src/assembler/directive_parser.rs:182:17 [INFO] [stdout] | [INFO] [stdout] 182 | AssemblerInstruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 56 + use crate::assembler::AssemblerInstruction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> src/assembler/directive_parser.rs:184:37 [INFO] [stdout] | [INFO] [stdout] 184 | directive: Some(Token::Directive { [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 56 + use crate::assembler::token::Token; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> src/assembler/directive_parser.rs:188:36 [INFO] [stdout] | [INFO] [stdout] 188 | operand1: Some(Token::Register { reg_num: 0 }), [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 56 + use crate::assembler::token::Token; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> src/assembler/directive_parser.rs:189:36 [INFO] [stdout] | [INFO] [stdout] 189 | operand2: Some(Token::Register { reg_num: 1 }), [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 56 + use crate::assembler::token::Token; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> src/assembler/directive_parser.rs:190:36 [INFO] [stdout] | [INFO] [stdout] 190 | operand3: Some(Token::Number { value: 100 }), [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 56 + use crate::assembler::token::Token; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `directive` in this scope [INFO] [stdout] --> src/assembler/directive_parser.rs:198:22 [INFO] [stdout] | [INFO] [stdout] 198 | let result = directive(CompleteStr(".directive #10 #20 $5")); [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 56 + use crate::assembler::directive_parser::directive; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CompleteStr` in this scope [INFO] [stdout] --> src/assembler/directive_parser.rs:198:32 [INFO] [stdout] | [INFO] [stdout] 198 | let result = directive(CompleteStr(".directive #10 #20 $5")); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these tuple structs [INFO] [stdout] | [INFO] [stdout] 56 + use crate::assembler::CompleteStr; [INFO] [stdout] | [INFO] [stdout] 56 + use nom::types::CompleteStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CompleteStr` in this scope [INFO] [stdout] --> src/assembler/directive_parser.rs:202:17 [INFO] [stdout] | [INFO] [stdout] 202 | CompleteStr(""), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these tuple structs [INFO] [stdout] | [INFO] [stdout] 56 + use crate::assembler::CompleteStr; [INFO] [stdout] | [INFO] [stdout] 56 + use nom::types::CompleteStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `AssemblerInstruction` in this scope [INFO] [stdout] --> src/assembler/directive_parser.rs:203:17 [INFO] [stdout] | [INFO] [stdout] 203 | AssemblerInstruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 56 + use crate::assembler::AssemblerInstruction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> src/assembler/directive_parser.rs:205:37 [INFO] [stdout] | [INFO] [stdout] 205 | directive: Some(Token::Directive { [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 56 + use crate::assembler::token::Token; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> src/assembler/directive_parser.rs:209:36 [INFO] [stdout] | [INFO] [stdout] 209 | operand1: Some(Token::Number { value: 10 }), [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 56 + use crate::assembler::token::Token; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> src/assembler/directive_parser.rs:210:36 [INFO] [stdout] | [INFO] [stdout] 210 | operand2: Some(Token::Number { value: 20 }), [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 56 + use crate::assembler::token::Token; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> src/assembler/directive_parser.rs:211:36 [INFO] [stdout] | [INFO] [stdout] 211 | operand3: Some(Token::Register { reg_num: 5 }), [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 56 + use crate::assembler::token::Token; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `instruction` in this scope [INFO] [stdout] --> src/assembler/instruction_parser.rs:155:22 [INFO] [stdout] | [INFO] [stdout] 155 | let result = instruction(CompleteStr("load $0 #100\n")); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function through its public re-export [INFO] [stdout] | [INFO] [stdout] 153 + use crate::assembler::instruction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CompleteStr` in this scope [INFO] [stdout] --> src/assembler/instruction_parser.rs:155:34 [INFO] [stdout] | [INFO] [stdout] 155 | let result = instruction(CompleteStr("load $0 #100\n")); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these tuple structs [INFO] [stdout] | [INFO] [stdout] 153 + use crate::assembler::CompleteStr; [INFO] [stdout] | [INFO] [stdout] 153 + use nom::types::CompleteStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CompleteStr` in this scope [INFO] [stdout] --> src/assembler/instruction_parser.rs:159:17 [INFO] [stdout] | [INFO] [stdout] 159 | CompleteStr(""), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these tuple structs [INFO] [stdout] | [INFO] [stdout] 153 + use crate::assembler::CompleteStr; [INFO] [stdout] | [INFO] [stdout] 153 + use nom::types::CompleteStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `AssemblerInstruction` in this scope [INFO] [stdout] --> src/assembler/instruction_parser.rs:160:17 [INFO] [stdout] | [INFO] [stdout] 160 | AssemblerInstruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 153 + use crate::assembler::AssemblerInstruction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> src/assembler/instruction_parser.rs:161:34 [INFO] [stdout] | [INFO] [stdout] 161 | opcode: Some(Token::Op { code: Opcode::LOAD }), [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 153 + use crate::assembler::token::Token; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Opcode` [INFO] [stdout] --> src/assembler/instruction_parser.rs:161:52 [INFO] [stdout] | [INFO] [stdout] 161 | opcode: Some(Token::Op { code: Opcode::LOAD }), [INFO] [stdout] | ^^^^^^ use of undeclared type `Opcode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 153 + use crate::vm::instruction::Opcode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> src/assembler/instruction_parser.rs:164:36 [INFO] [stdout] | [INFO] [stdout] 164 | operand1: Some(Token::Register { reg_num: 0 }), [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 153 + use crate::assembler::token::Token; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> src/assembler/instruction_parser.rs:165:36 [INFO] [stdout] | [INFO] [stdout] 165 | operand2: Some(Token::Number { value: 100 }), [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 153 + use crate::assembler::token::Token; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `instruction` in this scope [INFO] [stdout] --> src/assembler/instruction_parser.rs:174:22 [INFO] [stdout] | [INFO] [stdout] 174 | let result = instruction(CompleteStr("add $0 $5 $2\n")); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function through its public re-export [INFO] [stdout] | [INFO] [stdout] 153 + use crate::assembler::instruction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CompleteStr` in this scope [INFO] [stdout] --> src/assembler/instruction_parser.rs:174:34 [INFO] [stdout] | [INFO] [stdout] 174 | let result = instruction(CompleteStr("add $0 $5 $2\n")); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these tuple structs [INFO] [stdout] | [INFO] [stdout] 153 + use crate::assembler::CompleteStr; [INFO] [stdout] | [INFO] [stdout] 153 + use nom::types::CompleteStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CompleteStr` in this scope [INFO] [stdout] --> src/assembler/instruction_parser.rs:178:17 [INFO] [stdout] | [INFO] [stdout] 178 | CompleteStr(""), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these tuple structs [INFO] [stdout] | [INFO] [stdout] 153 + use crate::assembler::CompleteStr; [INFO] [stdout] | [INFO] [stdout] 153 + use nom::types::CompleteStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `AssemblerInstruction` in this scope [INFO] [stdout] --> src/assembler/instruction_parser.rs:179:17 [INFO] [stdout] | [INFO] [stdout] 179 | AssemblerInstruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 153 + use crate::assembler::AssemblerInstruction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> src/assembler/instruction_parser.rs:180:34 [INFO] [stdout] | [INFO] [stdout] 180 | opcode: Some(Token::Op { code: Opcode::ADD }), [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 153 + use crate::assembler::token::Token; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Opcode` [INFO] [stdout] --> src/assembler/instruction_parser.rs:180:52 [INFO] [stdout] | [INFO] [stdout] 180 | opcode: Some(Token::Op { code: Opcode::ADD }), [INFO] [stdout] | ^^^^^^ use of undeclared type `Opcode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 153 + use crate::vm::instruction::Opcode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> src/assembler/instruction_parser.rs:183:36 [INFO] [stdout] | [INFO] [stdout] 183 | operand1: Some(Token::Register { reg_num: 0 }), [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 153 + use crate::assembler::token::Token; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> src/assembler/instruction_parser.rs:184:36 [INFO] [stdout] | [INFO] [stdout] 184 | operand2: Some(Token::Register { reg_num: 5 }), [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 153 + use crate::assembler::token::Token; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> src/assembler/instruction_parser.rs:185:36 [INFO] [stdout] | [INFO] [stdout] 185 | operand3: Some(Token::Register { reg_num: 2 }), [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 153 + use crate::assembler::token::Token; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `instruction` in this scope [INFO] [stdout] --> src/assembler/instruction_parser.rs:193:22 [INFO] [stdout] | [INFO] [stdout] 193 | let result = instruction(CompleteStr("jmpf $1\n")); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function through its public re-export [INFO] [stdout] | [INFO] [stdout] 153 + use crate::assembler::instruction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CompleteStr` in this scope [INFO] [stdout] --> src/assembler/instruction_parser.rs:193:34 [INFO] [stdout] | [INFO] [stdout] 193 | let result = instruction(CompleteStr("jmpf $1\n")); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these tuple structs [INFO] [stdout] | [INFO] [stdout] 153 + use crate::assembler::CompleteStr; [INFO] [stdout] | [INFO] [stdout] 153 + use nom::types::CompleteStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CompleteStr` in this scope [INFO] [stdout] --> src/assembler/instruction_parser.rs:197:17 [INFO] [stdout] | [INFO] [stdout] 197 | CompleteStr(""), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these tuple structs [INFO] [stdout] | [INFO] [stdout] 153 + use crate::assembler::CompleteStr; [INFO] [stdout] | [INFO] [stdout] 153 + use nom::types::CompleteStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `AssemblerInstruction` in this scope [INFO] [stdout] --> src/assembler/instruction_parser.rs:198:17 [INFO] [stdout] | [INFO] [stdout] 198 | AssemblerInstruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 153 + use crate::assembler::AssemblerInstruction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> src/assembler/instruction_parser.rs:199:34 [INFO] [stdout] | [INFO] [stdout] 199 | opcode: Some(Token::Op { code: Opcode::JMPF }), [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 153 + use crate::assembler::token::Token; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Opcode` [INFO] [stdout] --> src/assembler/instruction_parser.rs:199:52 [INFO] [stdout] | [INFO] [stdout] 199 | opcode: Some(Token::Op { code: Opcode::JMPF }), [INFO] [stdout] | ^^^^^^ use of undeclared type `Opcode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 153 + use crate::vm::instruction::Opcode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> src/assembler/instruction_parser.rs:202:36 [INFO] [stdout] | [INFO] [stdout] 202 | operand1: Some(Token::Register { reg_num: 1 }), [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 153 + use crate::assembler::token::Token; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `instruction` in this scope [INFO] [stdout] --> src/assembler/instruction_parser.rs:212:22 [INFO] [stdout] | [INFO] [stdout] 212 | let result = instruction(CompleteStr("eq $0 $1 $2\n")); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function through its public re-export [INFO] [stdout] | [INFO] [stdout] 153 + use crate::assembler::instruction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CompleteStr` in this scope [INFO] [stdout] --> src/assembler/instruction_parser.rs:212:34 [INFO] [stdout] | [INFO] [stdout] 212 | let result = instruction(CompleteStr("eq $0 $1 $2\n")); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these tuple structs [INFO] [stdout] | [INFO] [stdout] 153 + use crate::assembler::CompleteStr; [INFO] [stdout] | [INFO] [stdout] 153 + use nom::types::CompleteStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CompleteStr` in this scope [INFO] [stdout] --> src/assembler/instruction_parser.rs:216:17 [INFO] [stdout] | [INFO] [stdout] 216 | CompleteStr(""), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these tuple structs [INFO] [stdout] | [INFO] [stdout] 153 + use crate::assembler::CompleteStr; [INFO] [stdout] | [INFO] [stdout] 153 + use nom::types::CompleteStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `AssemblerInstruction` in this scope [INFO] [stdout] --> src/assembler/instruction_parser.rs:217:17 [INFO] [stdout] | [INFO] [stdout] 217 | AssemblerInstruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 153 + use crate::assembler::AssemblerInstruction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> src/assembler/instruction_parser.rs:218:34 [INFO] [stdout] | [INFO] [stdout] 218 | opcode: Some(Token::Op { code: Opcode::EQ }), [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 153 + use crate::assembler::token::Token; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Opcode` [INFO] [stdout] --> src/assembler/instruction_parser.rs:218:52 [INFO] [stdout] | [INFO] [stdout] 218 | opcode: Some(Token::Op { code: Opcode::EQ }), [INFO] [stdout] | ^^^^^^ use of undeclared type `Opcode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 153 + use crate::vm::instruction::Opcode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> src/assembler/instruction_parser.rs:221:36 [INFO] [stdout] | [INFO] [stdout] 221 | operand1: Some(Token::Register { reg_num: 0 }), [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 153 + use crate::assembler::token::Token; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> src/assembler/instruction_parser.rs:222:36 [INFO] [stdout] | [INFO] [stdout] 222 | operand2: Some(Token::Register { reg_num: 1 }), [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 153 + use crate::assembler::token::Token; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> src/assembler/instruction_parser.rs:223:36 [INFO] [stdout] | [INFO] [stdout] 223 | operand3: Some(Token::Register { reg_num: 2 }) [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 153 + use crate::assembler::token::Token; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `instruction` in this scope [INFO] [stdout] --> src/assembler/instruction_parser.rs:234:22 [INFO] [stdout] | [INFO] [stdout] 234 | let result = instruction(CompleteStr("hlt\n")); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function through its public re-export [INFO] [stdout] | [INFO] [stdout] 153 + use crate::assembler::instruction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CompleteStr` in this scope [INFO] [stdout] --> src/assembler/instruction_parser.rs:234:34 [INFO] [stdout] | [INFO] [stdout] 234 | let result = instruction(CompleteStr("hlt\n")); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these tuple structs [INFO] [stdout] | [INFO] [stdout] 153 + use crate::assembler::CompleteStr; [INFO] [stdout] | [INFO] [stdout] 153 + use nom::types::CompleteStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CompleteStr` in this scope [INFO] [stdout] --> src/assembler/instruction_parser.rs:238:17 [INFO] [stdout] | [INFO] [stdout] 238 | CompleteStr(""), [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these tuple structs [INFO] [stdout] | [INFO] [stdout] 153 + use crate::assembler::CompleteStr; [INFO] [stdout] | [INFO] [stdout] 153 + use nom::types::CompleteStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0422]: cannot find struct, variant or union type `AssemblerInstruction` in this scope [INFO] [stdout] --> src/assembler/instruction_parser.rs:239:17 [INFO] [stdout] | [INFO] [stdout] 239 | AssemblerInstruction { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct through its public re-export [INFO] [stdout] | [INFO] [stdout] 153 + use crate::assembler::AssemblerInstruction; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> src/assembler/instruction_parser.rs:240:34 [INFO] [stdout] | [INFO] [stdout] 240 | opcode: Some(Token::Op { code: Opcode::HLT }), [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 153 + use crate::assembler::token::Token; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Opcode` [INFO] [stdout] --> src/assembler/instruction_parser.rs:240:52 [INFO] [stdout] | [INFO] [stdout] 240 | opcode: Some(Token::Op { code: Opcode::HLT }), [INFO] [stdout] | ^^^^^^ use of undeclared type `Opcode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 153 + use crate::vm::instruction::Opcode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `opcode` in this scope [INFO] [stdout] --> src/assembler/opcode_parser.rs:44:22 [INFO] [stdout] | [INFO] [stdout] 44 | let result = opcode(CompleteStr("load")); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 42 + use crate::assembler::opcode_parser::opcode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CompleteStr` in this scope [INFO] [stdout] --> src/assembler/opcode_parser.rs:44:29 [INFO] [stdout] | [INFO] [stdout] 44 | let result = opcode(CompleteStr("load")); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these tuple structs [INFO] [stdout] | [INFO] [stdout] 42 + use crate::assembler::CompleteStr; [INFO] [stdout] | [INFO] [stdout] 42 + use nom::types::CompleteStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> src/assembler/opcode_parser.rs:47:27 [INFO] [stdout] | [INFO] [stdout] 47 | assert_eq!(token, Token::Op { code: Opcode::LOAD }); [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 42 + use crate::assembler::token::Token; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Opcode` [INFO] [stdout] --> src/assembler/opcode_parser.rs:47:45 [INFO] [stdout] | [INFO] [stdout] 47 | assert_eq!(token, Token::Op { code: Opcode::LOAD }); [INFO] [stdout] | ^^^^^^ use of undeclared type `Opcode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 42 + use crate::vm::instruction::Opcode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CompleteStr` in this scope [INFO] [stdout] --> src/assembler/opcode_parser.rs:48:26 [INFO] [stdout] | [INFO] [stdout] 48 | assert_eq!(rest, CompleteStr("")); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these tuple structs [INFO] [stdout] | [INFO] [stdout] 42 + use crate::assembler::CompleteStr; [INFO] [stdout] | [INFO] [stdout] 42 + use nom::types::CompleteStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `opcode` in this scope [INFO] [stdout] --> src/assembler/opcode_parser.rs:50:22 [INFO] [stdout] | [INFO] [stdout] 50 | let result = opcode(CompleteStr("aold")); [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 42 + use crate::assembler::opcode_parser::opcode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CompleteStr` in this scope [INFO] [stdout] --> src/assembler/opcode_parser.rs:50:29 [INFO] [stdout] | [INFO] [stdout] 50 | let result = opcode(CompleteStr("aold")); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these tuple structs [INFO] [stdout] | [INFO] [stdout] 42 + use crate::assembler::CompleteStr; [INFO] [stdout] | [INFO] [stdout] 42 + use nom::types::CompleteStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> src/assembler/opcode_parser.rs:53:27 [INFO] [stdout] | [INFO] [stdout] 53 | assert_eq!(token, Token::Op { code: Opcode::IGL }); [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 42 + use crate::assembler::token::Token; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Opcode` [INFO] [stdout] --> src/assembler/opcode_parser.rs:53:45 [INFO] [stdout] | [INFO] [stdout] 53 | assert_eq!(token, Token::Op { code: Opcode::IGL }); [INFO] [stdout] | ^^^^^^ use of undeclared type `Opcode` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 42 + use crate::vm::instruction::Opcode; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CompleteStr` in this scope [INFO] [stdout] --> src/assembler/opcode_parser.rs:54:26 [INFO] [stdout] | [INFO] [stdout] 54 | assert_eq!(rest, CompleteStr("")); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these tuple structs [INFO] [stdout] | [INFO] [stdout] 42 + use crate::assembler::CompleteStr; [INFO] [stdout] | [INFO] [stdout] 42 + use nom::types::CompleteStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `integer_operand` in this scope [INFO] [stdout] --> src/assembler/operand_parser.rs:18:22 [INFO] [stdout] | [INFO] [stdout] 18 | let result = integer_operand(CompleteStr("#10")); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 16 + use crate::assembler::operand_parser::integer_operand; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CompleteStr` in this scope [INFO] [stdout] --> src/assembler/operand_parser.rs:18:38 [INFO] [stdout] | [INFO] [stdout] 18 | let result = integer_operand(CompleteStr("#10")); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these tuple structs [INFO] [stdout] | [INFO] [stdout] 16 + use crate::assembler::CompleteStr; [INFO] [stdout] | [INFO] [stdout] 16 + use nom::types::CompleteStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CompleteStr` in this scope [INFO] [stdout] --> src/assembler/operand_parser.rs:23:26 [INFO] [stdout] | [INFO] [stdout] 23 | assert_eq!(rest, CompleteStr("")); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these tuple structs [INFO] [stdout] | [INFO] [stdout] 16 + use crate::assembler::CompleteStr; [INFO] [stdout] | [INFO] [stdout] 16 + use nom::types::CompleteStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Token` [INFO] [stdout] --> src/assembler/operand_parser.rs:24:27 [INFO] [stdout] | [INFO] [stdout] 24 | assert_eq!(value, Token::Number { value: 10 }); [INFO] [stdout] | ^^^^^ use of undeclared type `Token` [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 16 + use crate::assembler::token::Token; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `integer_operand` in this scope [INFO] [stdout] --> src/assembler/operand_parser.rs:26:22 [INFO] [stdout] | [INFO] [stdout] 26 | let result = integer_operand(CompleteStr("10")); [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 16 + use crate::assembler::operand_parser::integer_operand; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CompleteStr` in this scope [INFO] [stdout] --> src/assembler/operand_parser.rs:26:38 [INFO] [stdout] | [INFO] [stdout] 26 | let result = integer_operand(CompleteStr("10")); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these tuple structs [INFO] [stdout] | [INFO] [stdout] 16 + use crate::assembler::CompleteStr; [INFO] [stdout] | [INFO] [stdout] 16 + use nom::types::CompleteStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `register` in this scope [INFO] [stdout] --> src/assembler/register_parser.rs:18:22 [INFO] [stdout] | [INFO] [stdout] 18 | let result = register(CompleteStr("$0")); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 16 + use crate::assembler::register_parser::register; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CompleteStr` in this scope [INFO] [stdout] --> src/assembler/register_parser.rs:18:31 [INFO] [stdout] | [INFO] [stdout] 18 | let result = register(CompleteStr("$0")); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these tuple structs [INFO] [stdout] | [INFO] [stdout] 16 + use crate::assembler::CompleteStr; [INFO] [stdout] | [INFO] [stdout] 16 + use nom::types::CompleteStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `register` in this scope [INFO] [stdout] --> src/assembler/register_parser.rs:22:22 [INFO] [stdout] | [INFO] [stdout] 22 | let result = register(CompleteStr("0")); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 16 + use crate::assembler::register_parser::register; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CompleteStr` in this scope [INFO] [stdout] --> src/assembler/register_parser.rs:22:31 [INFO] [stdout] | [INFO] [stdout] 22 | let result = register(CompleteStr("0")); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these tuple structs [INFO] [stdout] | [INFO] [stdout] 16 + use crate::assembler::CompleteStr; [INFO] [stdout] | [INFO] [stdout] 16 + use nom::types::CompleteStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `register` in this scope [INFO] [stdout] --> src/assembler/register_parser.rs:24:22 [INFO] [stdout] | [INFO] [stdout] 24 | let result = register(CompleteStr("$a")); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 16 + use crate::assembler::register_parser::register; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CompleteStr` in this scope [INFO] [stdout] --> src/assembler/register_parser.rs:24:31 [INFO] [stdout] | [INFO] [stdout] 24 | let result = register(CompleteStr("$a")); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these tuple structs [INFO] [stdout] | [INFO] [stdout] 16 + use crate::assembler::CompleteStr; [INFO] [stdout] | [INFO] [stdout] 16 + use nom::types::CompleteStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `program` in this scope [INFO] [stdout] --> src/assembler/mod.rs:71:22 [INFO] [stdout] | [INFO] [stdout] 71 | let result = program(CompleteStr("load $0 #100\n")); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 69 + use crate::assembler::program; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CompleteStr` in this scope [INFO] [stdout] --> src/assembler/mod.rs:71:30 [INFO] [stdout] | [INFO] [stdout] 71 | let result = program(CompleteStr("load $0 #100\n")); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these tuple structs [INFO] [stdout] | [INFO] [stdout] 69 + use crate::assembler::CompleteStr; [INFO] [stdout] | [INFO] [stdout] 69 + use nom::types::CompleteStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CompleteStr` in this scope [INFO] [stdout] --> src/assembler/mod.rs:74:30 [INFO] [stdout] | [INFO] [stdout] 74 | assert_eq!(leftover, CompleteStr("")); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these tuple structs [INFO] [stdout] | [INFO] [stdout] 69 + use crate::assembler::CompleteStr; [INFO] [stdout] | [INFO] [stdout] 69 + use nom::types::CompleteStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `program` in this scope [INFO] [stdout] --> src/assembler/mod.rs:80:22 [INFO] [stdout] | [INFO] [stdout] 80 | let result = program(CompleteStr("load $0 #100\n")); [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 69 + use crate::assembler::program; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `CompleteStr` in this scope [INFO] [stdout] --> src/assembler/mod.rs:80:30 [INFO] [stdout] | [INFO] [stdout] 80 | let result = program(CompleteStr("load $0 #100\n")); [INFO] [stdout] | ^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these tuple structs [INFO] [stdout] | [INFO] [stdout] 69 + use crate::assembler::CompleteStr; [INFO] [stdout] | [INFO] [stdout] 69 + use nom::types::CompleteStr; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `cm_vm` (bin "cm_vm" test) due to 118 previous errors [INFO] [stdout] error: aborting due to 117 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0422, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0422`. [INFO] [stdout] [INFO] [stderr] error: failed to migrate to next edition [INFO] [stderr] [INFO] [stderr] Caused by: [INFO] [stderr] process didn't exit successfully: `cargo fix --edition --allow-no-vcs --allow-dirty --frozen --all --all-targets --message-format=json` (exit status: 101) [INFO] running `Command { std: "docker" "inspect" "266cbefbe583758180388a9b3a5d2971bec19e1d483c699b34d3f5e700d40670", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "266cbefbe583758180388a9b3a5d2971bec19e1d483c699b34d3f5e700d40670", kill_on_drop: false }` [INFO] [stdout] 266cbefbe583758180388a9b3a5d2971bec19e1d483c699b34d3f5e700d40670