[INFO] cloning repository https://github.com/Wafelack/wlvm [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Wafelack/wlvm" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWafelack%2Fwlvm", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWafelack%2Fwlvm'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 40ca934ddecbf8c6ffb6e8a5837e628269eae276 [INFO] checking Wafelack/wlvm against try#a7a572ce3edd6d476191fbfe92c9c1986e009b34 for pr-87190-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FWafelack%2Fwlvm" "/workspace/builds/worker-61/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-61/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/Wafelack/wlvm on toolchain a7a572ce3edd6d476191fbfe92c9c1986e009b34 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/Wafelack/wlvm [INFO] finished tweaking git repo https://github.com/Wafelack/wlvm [INFO] tweaked toml for git repo https://github.com/Wafelack/wlvm written to /workspace/builds/worker-61/source/Cargo.toml [INFO] crate git repo https://github.com/Wafelack/wlvm already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "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-61/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-61/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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ab37d6181bcbec56bde658b681c8208be29a8998b2409f3633fd59d26e418c03 [INFO] running `Command { std: "docker" "start" "-a" "ab37d6181bcbec56bde658b681c8208be29a8998b2409f3633fd59d26e418c03", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ab37d6181bcbec56bde658b681c8208be29a8998b2409f3633fd59d26e418c03", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ab37d6181bcbec56bde658b681c8208be29a8998b2409f3633fd59d26e418c03", kill_on_drop: false }` [INFO] [stdout] ab37d6181bcbec56bde658b681c8208be29a8998b2409f3633fd59d26e418c03 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-61/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-61/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" "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:34b6a614d2c27851fe6cbf88fbd1137609cefab8b10d0615aaeb6fd47975d74e" "/opt/rustwide/cargo-home/bin/cargo" "+a7a572ce3edd6d476191fbfe92c9c1986e009b34" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] e87d0999983532e63f3d933f14587aa28680998e2b212aac16db9dabf00a38bd [INFO] running `Command { std: "docker" "start" "-a" "e87d0999983532e63f3d933f14587aa28680998e2b212aac16db9dabf00a38bd", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] Running `cargo fix --edition` [INFO] [stderr] Checking wlvm v0.4.0 (/tmp/fixit) [INFO] [stderr] Migrating src/main.rs from 2018 edition to 2021 [INFO] [stderr] Fixed src/tests.rs (1 fix) [INFO] [stderr] Fixed src/parser.rs (1 fix) [INFO] [stdout] error[E0425]: cannot find function `is_valid` in this scope [INFO] [stdout] --> src/tests.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | assert!(!is_valid(Prt(A))); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 | use crate::is_valid; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Prt` in this scope [INFO] [stdout] --> src/tests.rs:9:23 [INFO] [stdout] | [INFO] [stdout] 9 | assert!(!is_valid(Prt(A))); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Instruction::Prt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `A` in this scope [INFO] [stdout] --> src/tests.rs:9:27 [INFO] [stdout] | [INFO] [stdout] 9 | assert!(!is_valid(Prt(A))); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Register::A; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `is_valid` in this scope [INFO] [stdout] --> src/tests.rs:10:14 [INFO] [stdout] | [INFO] [stdout] 10 | assert!(!is_valid(Drg(A))); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 | use crate::is_valid; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Drg` in this scope [INFO] [stdout] --> src/tests.rs:10:23 [INFO] [stdout] | [INFO] [stdout] 10 | assert!(!is_valid(Drg(A))); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Instruction::Drg; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `A` in this scope [INFO] [stdout] --> src/tests.rs:10:27 [INFO] [stdout] | [INFO] [stdout] 10 | assert!(!is_valid(Drg(A))); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Register::A; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `is_valid` in this scope [INFO] [stdout] --> src/tests.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | assert!(!is_valid(Dmp)); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 | use crate::is_valid; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Dmp` in this scope [INFO] [stdout] --> src/tests.rs:11:23 [INFO] [stdout] | [INFO] [stdout] 11 | assert!(!is_valid(Dmp)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Instruction::Dmp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `is_valid` in this scope [INFO] [stdout] --> src/tests.rs:12:14 [INFO] [stdout] | [INFO] [stdout] 12 | assert!(!is_valid(Hlt)); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 | use crate::is_valid; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Hlt` in this scope [INFO] [stdout] --> src/tests.rs:12:23 [INFO] [stdout] | [INFO] [stdout] 12 | assert!(!is_valid(Hlt)); [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Instruction::Hlt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `setup_environment` in this scope [INFO] [stdout] --> src/tests.rs:17:51 [INFO] [stdout] | [INFO] [stdout] 17 | let (mut stack, mut registers, mut running) = setup_environment(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 | use crate::setup_environment; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BTreeMap` in this scope [INFO] [stdout] --> src/tests.rs:19:17 [INFO] [stdout] | [INFO] [stdout] 19 | let labels: BTreeMap = BTreeMap::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 | use crate::BTreeMap; [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::BTreeMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BTreeMap` [INFO] [stdout] --> src/tests.rs:19:41 [INFO] [stdout] | [INFO] [stdout] 19 | let labels: BTreeMap = BTreeMap::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 | use crate::BTreeMap; [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::BTreeMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `eval` in this scope [INFO] [stdout] --> src/tests.rs:20:5 [INFO] [stdout] | [INFO] [stdout] 20 | eval( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 | use crate::eval; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Psh` in this scope [INFO] [stdout] --> src/tests.rs:22:7 [INFO] [stdout] | [INFO] [stdout] 22 | Psh(5), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Instruction::Psh; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `eval` in this scope [INFO] [stdout] --> src/tests.rs:29:5 [INFO] [stdout] | [INFO] [stdout] 29 | eval( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 | use crate::eval; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Psh` in this scope [INFO] [stdout] --> src/tests.rs:31:7 [INFO] [stdout] | [INFO] [stdout] 31 | Psh(8), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Instruction::Psh; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `eval` in this scope [INFO] [stdout] --> src/tests.rs:38:5 [INFO] [stdout] | [INFO] [stdout] 38 | eval( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 | use crate::eval; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Pop` in this scope [INFO] [stdout] --> src/tests.rs:40:7 [INFO] [stdout] | [INFO] [stdout] 40 | Pop, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Instruction::Pop; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `eval` in this scope [INFO] [stdout] --> src/tests.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | eval( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 | use crate::eval; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Pop` in this scope [INFO] [stdout] --> src/tests.rs:48:7 [INFO] [stdout] | [INFO] [stdout] 48 | Pop, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Instruction::Pop; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `eval` in this scope [INFO] [stdout] --> src/tests.rs:54:5 [INFO] [stdout] | [INFO] [stdout] 54 | eval( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 | use crate::eval; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Psh` in this scope [INFO] [stdout] --> src/tests.rs:56:7 [INFO] [stdout] | [INFO] [stdout] 56 | Psh(14), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Instruction::Psh; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `setup_environment` in this scope [INFO] [stdout] --> src/tests.rs:67:51 [INFO] [stdout] | [INFO] [stdout] 67 | let (mut stack, mut registers, mut running) = setup_environment(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 | use crate::setup_environment; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BTreeMap` in this scope [INFO] [stdout] --> src/tests.rs:69:17 [INFO] [stdout] | [INFO] [stdout] 69 | let labels: BTreeMap = BTreeMap::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 | use crate::BTreeMap; [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::BTreeMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BTreeMap` [INFO] [stdout] --> src/tests.rs:69:41 [INFO] [stdout] | [INFO] [stdout] 69 | let labels: BTreeMap = BTreeMap::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 | use crate::BTreeMap; [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::BTreeMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `eval` in this scope [INFO] [stdout] --> src/tests.rs:71:5 [INFO] [stdout] | [INFO] [stdout] 71 | eval( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 | use crate::eval; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Psh` in this scope [INFO] [stdout] --> src/tests.rs:73:7 [INFO] [stdout] | [INFO] [stdout] 73 | Psh(5), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Instruction::Psh; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `eval` in this scope [INFO] [stdout] --> src/tests.rs:79:5 [INFO] [stdout] | [INFO] [stdout] 79 | eval( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 | use crate::eval; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Mov` in this scope [INFO] [stdout] --> src/tests.rs:81:7 [INFO] [stdout] | [INFO] [stdout] 81 | Mov(A, St), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Instruction::Mov; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `A` in this scope [INFO] [stdout] --> src/tests.rs:81:11 [INFO] [stdout] | [INFO] [stdout] 81 | Mov(A, St), [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Register::A; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `St` in this scope [INFO] [stdout] --> src/tests.rs:81:14 [INFO] [stdout] | [INFO] [stdout] 81 | Mov(A, St), [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Register::St; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `A` in this scope [INFO] [stdout] --> src/tests.rs:87:26 [INFO] [stdout] | [INFO] [stdout] 87 | assert_eq!(registers[A as usize], 5); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Register::A; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `eval` in this scope [INFO] [stdout] --> src/tests.rs:88:5 [INFO] [stdout] | [INFO] [stdout] 88 | eval( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 | use crate::eval; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Mov` in this scope [INFO] [stdout] --> src/tests.rs:90:7 [INFO] [stdout] | [INFO] [stdout] 90 | Mov(B, A), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Instruction::Mov; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `B` in this scope [INFO] [stdout] --> src/tests.rs:90:11 [INFO] [stdout] | [INFO] [stdout] 90 | Mov(B, A), [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Register::B; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `A` in this scope [INFO] [stdout] --> src/tests.rs:90:14 [INFO] [stdout] | [INFO] [stdout] 90 | Mov(B, A), [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Register::A; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `B` in this scope [INFO] [stdout] --> src/tests.rs:96:26 [INFO] [stdout] | [INFO] [stdout] 96 | assert_eq!(registers[B as usize], 5); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Register::B; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `setup_environment` in this scope [INFO] [stdout] --> src/tests.rs:101:51 [INFO] [stdout] | [INFO] [stdout] 101 | let (mut stack, mut registers, mut running) = setup_environment(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 | use crate::setup_environment; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BTreeMap` in this scope [INFO] [stdout] --> src/tests.rs:103:17 [INFO] [stdout] | [INFO] [stdout] 103 | let labels: BTreeMap = BTreeMap::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 | use crate::BTreeMap; [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::BTreeMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BTreeMap` [INFO] [stdout] --> src/tests.rs:103:41 [INFO] [stdout] | [INFO] [stdout] 103 | let labels: BTreeMap = BTreeMap::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 | use crate::BTreeMap; [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::BTreeMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `eval` in this scope [INFO] [stdout] --> src/tests.rs:105:5 [INFO] [stdout] | [INFO] [stdout] 105 | eval( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 | use crate::eval; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Psh` in this scope [INFO] [stdout] --> src/tests.rs:107:7 [INFO] [stdout] | [INFO] [stdout] 107 | Psh(5), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Instruction::Psh; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `eval` in this scope [INFO] [stdout] --> src/tests.rs:113:5 [INFO] [stdout] | [INFO] [stdout] 113 | eval( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 | use crate::eval; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Mov` in this scope [INFO] [stdout] --> src/tests.rs:115:7 [INFO] [stdout] | [INFO] [stdout] 115 | Mov(A, St), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Instruction::Mov; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `A` in this scope [INFO] [stdout] --> src/tests.rs:115:11 [INFO] [stdout] | [INFO] [stdout] 115 | Mov(A, St), [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Register::A; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `St` in this scope [INFO] [stdout] --> src/tests.rs:115:14 [INFO] [stdout] | [INFO] [stdout] 115 | Mov(A, St), [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Register::St; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `eval` in this scope [INFO] [stdout] --> src/tests.rs:121:5 [INFO] [stdout] | [INFO] [stdout] 121 | eval( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 | use crate::eval; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Psh` in this scope [INFO] [stdout] --> src/tests.rs:123:7 [INFO] [stdout] | [INFO] [stdout] 123 | Psh(6), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Instruction::Psh; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `eval` in this scope [INFO] [stdout] --> src/tests.rs:129:5 [INFO] [stdout] | [INFO] [stdout] 129 | eval( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 | use crate::eval; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Mov` in this scope [INFO] [stdout] --> src/tests.rs:131:7 [INFO] [stdout] | [INFO] [stdout] 131 | Mov(B, St), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Instruction::Mov; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `B` in this scope [INFO] [stdout] --> src/tests.rs:131:11 [INFO] [stdout] | [INFO] [stdout] 131 | Mov(B, St), [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Register::B; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `St` in this scope [INFO] [stdout] --> src/tests.rs:131:14 [INFO] [stdout] | [INFO] [stdout] 131 | Mov(B, St), [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Register::St; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `eval` in this scope [INFO] [stdout] --> src/tests.rs:137:5 [INFO] [stdout] | [INFO] [stdout] 137 | eval( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 | use crate::eval; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Add` in this scope [INFO] [stdout] --> src/tests.rs:139:7 [INFO] [stdout] | [INFO] [stdout] 139 | Add(A, B), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Instruction::Add; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `A` in this scope [INFO] [stdout] --> src/tests.rs:139:11 [INFO] [stdout] | [INFO] [stdout] 139 | Add(A, B), [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Register::A; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `B` in this scope [INFO] [stdout] --> src/tests.rs:139:14 [INFO] [stdout] | [INFO] [stdout] 139 | Add(A, B), [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Register::B; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `A` in this scope [INFO] [stdout] --> src/tests.rs:145:26 [INFO] [stdout] | [INFO] [stdout] 145 | assert_eq!(registers[A as usize], 11); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Register::A; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `setup_environment` in this scope [INFO] [stdout] --> src/tests.rs:150:51 [INFO] [stdout] | [INFO] [stdout] 150 | let (mut stack, mut registers, mut running) = setup_environment(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 | use crate::setup_environment; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BTreeMap` in this scope [INFO] [stdout] --> src/tests.rs:152:17 [INFO] [stdout] | [INFO] [stdout] 152 | let labels: BTreeMap = BTreeMap::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 | use crate::BTreeMap; [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::BTreeMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BTreeMap` [INFO] [stdout] --> src/tests.rs:152:41 [INFO] [stdout] | [INFO] [stdout] 152 | let labels: BTreeMap = BTreeMap::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 | use crate::BTreeMap; [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::BTreeMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `eval` in this scope [INFO] [stdout] --> src/tests.rs:154:5 [INFO] [stdout] | [INFO] [stdout] 154 | eval( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 | use crate::eval; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Psh` in this scope [INFO] [stdout] --> src/tests.rs:156:7 [INFO] [stdout] | [INFO] [stdout] 156 | Psh(5), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Instruction::Psh; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `eval` in this scope [INFO] [stdout] --> src/tests.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 162 | eval( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 | use crate::eval; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Mov` in this scope [INFO] [stdout] --> src/tests.rs:164:7 [INFO] [stdout] | [INFO] [stdout] 164 | Mov(A, St), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Instruction::Mov; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `A` in this scope [INFO] [stdout] --> src/tests.rs:164:11 [INFO] [stdout] | [INFO] [stdout] 164 | Mov(A, St), [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Register::A; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `St` in this scope [INFO] [stdout] --> src/tests.rs:164:14 [INFO] [stdout] | [INFO] [stdout] 164 | Mov(A, St), [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Register::St; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `eval` in this scope [INFO] [stdout] --> src/tests.rs:170:5 [INFO] [stdout] | [INFO] [stdout] 170 | eval( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 | use crate::eval; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Psh` in this scope [INFO] [stdout] --> src/tests.rs:172:7 [INFO] [stdout] | [INFO] [stdout] 172 | Psh(6), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Instruction::Psh; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `eval` in this scope [INFO] [stdout] --> src/tests.rs:178:5 [INFO] [stdout] | [INFO] [stdout] 178 | eval( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 | use crate::eval; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Mov` in this scope [INFO] [stdout] --> src/tests.rs:180:7 [INFO] [stdout] | [INFO] [stdout] 180 | Mov(B, St), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Instruction::Mov; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `B` in this scope [INFO] [stdout] --> src/tests.rs:180:11 [INFO] [stdout] | [INFO] [stdout] 180 | Mov(B, St), [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Register::B; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `St` in this scope [INFO] [stdout] --> src/tests.rs:180:14 [INFO] [stdout] | [INFO] [stdout] 180 | Mov(B, St), [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Register::St; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `eval` in this scope [INFO] [stdout] --> src/tests.rs:186:5 [INFO] [stdout] | [INFO] [stdout] 186 | eval( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 | use crate::eval; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Sub` in this scope [INFO] [stdout] --> src/tests.rs:188:7 [INFO] [stdout] | [INFO] [stdout] 188 | Sub(A, B), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Instruction::Sub; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `A` in this scope [INFO] [stdout] --> src/tests.rs:188:11 [INFO] [stdout] | [INFO] [stdout] 188 | Sub(A, B), [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Register::A; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `B` in this scope [INFO] [stdout] --> src/tests.rs:188:14 [INFO] [stdout] | [INFO] [stdout] 188 | Sub(A, B), [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Register::B; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `A` in this scope [INFO] [stdout] --> src/tests.rs:194:26 [INFO] [stdout] | [INFO] [stdout] 194 | assert_eq!(registers[A as usize], -1); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Register::A; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `setup_environment` in this scope [INFO] [stdout] --> src/tests.rs:199:51 [INFO] [stdout] | [INFO] [stdout] 199 | let (mut stack, mut registers, mut running) = setup_environment(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 | use crate::setup_environment; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BTreeMap` in this scope [INFO] [stdout] --> src/tests.rs:201:17 [INFO] [stdout] | [INFO] [stdout] 201 | let labels: BTreeMap = BTreeMap::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 | use crate::BTreeMap; [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::BTreeMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BTreeMap` [INFO] [stdout] --> src/tests.rs:201:41 [INFO] [stdout] | [INFO] [stdout] 201 | let labels: BTreeMap = BTreeMap::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 | use crate::BTreeMap; [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::BTreeMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `eval` in this scope [INFO] [stdout] --> src/tests.rs:203:5 [INFO] [stdout] | [INFO] [stdout] 203 | eval( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 | use crate::eval; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Psh` in this scope [INFO] [stdout] --> src/tests.rs:205:7 [INFO] [stdout] | [INFO] [stdout] 205 | Psh(5), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Instruction::Psh; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `eval` in this scope [INFO] [stdout] --> src/tests.rs:211:5 [INFO] [stdout] | [INFO] [stdout] 211 | eval( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 | use crate::eval; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Mov` in this scope [INFO] [stdout] --> src/tests.rs:213:7 [INFO] [stdout] | [INFO] [stdout] 213 | Mov(A, St), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Instruction::Mov; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `A` in this scope [INFO] [stdout] --> src/tests.rs:213:11 [INFO] [stdout] | [INFO] [stdout] 213 | Mov(A, St), [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Register::A; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `St` in this scope [INFO] [stdout] --> src/tests.rs:213:14 [INFO] [stdout] | [INFO] [stdout] 213 | Mov(A, St), [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Register::St; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `eval` in this scope [INFO] [stdout] --> src/tests.rs:219:5 [INFO] [stdout] | [INFO] [stdout] 219 | eval( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 | use crate::eval; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Psh` in this scope [INFO] [stdout] --> src/tests.rs:221:7 [INFO] [stdout] | [INFO] [stdout] 221 | Psh(6), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Instruction::Psh; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `eval` in this scope [INFO] [stdout] --> src/tests.rs:227:5 [INFO] [stdout] | [INFO] [stdout] 227 | eval( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 | use crate::eval; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Mov` in this scope [INFO] [stdout] --> src/tests.rs:229:7 [INFO] [stdout] | [INFO] [stdout] 229 | Mov(B, St), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Instruction::Mov; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `B` in this scope [INFO] [stdout] --> src/tests.rs:229:11 [INFO] [stdout] | [INFO] [stdout] 229 | Mov(B, St), [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Register::B; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `St` in this scope [INFO] [stdout] --> src/tests.rs:229:14 [INFO] [stdout] | [INFO] [stdout] 229 | Mov(B, St), [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Register::St; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `eval` in this scope [INFO] [stdout] --> src/tests.rs:235:5 [INFO] [stdout] | [INFO] [stdout] 235 | eval( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 | use crate::eval; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Mul` in this scope [INFO] [stdout] --> src/tests.rs:237:7 [INFO] [stdout] | [INFO] [stdout] 237 | Mul(A, B), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Instruction::Mul; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `A` in this scope [INFO] [stdout] --> src/tests.rs:237:11 [INFO] [stdout] | [INFO] [stdout] 237 | Mul(A, B), [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Register::A; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `B` in this scope [INFO] [stdout] --> src/tests.rs:237:14 [INFO] [stdout] | [INFO] [stdout] 237 | Mul(A, B), [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Register::B; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `A` in this scope [INFO] [stdout] --> src/tests.rs:243:26 [INFO] [stdout] | [INFO] [stdout] 243 | assert_eq!(registers[A as usize], 30); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Register::A; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `setup_environment` in this scope [INFO] [stdout] --> src/tests.rs:248:51 [INFO] [stdout] | [INFO] [stdout] 248 | let (mut stack, mut registers, mut running) = setup_environment(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 | use crate::setup_environment; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BTreeMap` in this scope [INFO] [stdout] --> src/tests.rs:250:17 [INFO] [stdout] | [INFO] [stdout] 250 | let labels: BTreeMap = BTreeMap::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 | use crate::BTreeMap; [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::BTreeMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BTreeMap` [INFO] [stdout] --> src/tests.rs:250:41 [INFO] [stdout] | [INFO] [stdout] 250 | let labels: BTreeMap = BTreeMap::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 | use crate::BTreeMap; [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::BTreeMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `eval` in this scope [INFO] [stdout] --> src/tests.rs:252:5 [INFO] [stdout] | [INFO] [stdout] 252 | eval( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 | use crate::eval; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Psh` in this scope [INFO] [stdout] --> src/tests.rs:254:7 [INFO] [stdout] | [INFO] [stdout] 254 | Psh(10), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Instruction::Psh; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `eval` in this scope [INFO] [stdout] --> src/tests.rs:260:5 [INFO] [stdout] | [INFO] [stdout] 260 | eval( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 | use crate::eval; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Mov` in this scope [INFO] [stdout] --> src/tests.rs:262:7 [INFO] [stdout] | [INFO] [stdout] 262 | Mov(A, St), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Instruction::Mov; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `A` in this scope [INFO] [stdout] --> src/tests.rs:262:11 [INFO] [stdout] | [INFO] [stdout] 262 | Mov(A, St), [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Register::A; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `St` in this scope [INFO] [stdout] --> src/tests.rs:262:14 [INFO] [stdout] | [INFO] [stdout] 262 | Mov(A, St), [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Register::St; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `eval` in this scope [INFO] [stdout] --> src/tests.rs:268:5 [INFO] [stdout] | [INFO] [stdout] 268 | eval( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 | use crate::eval; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Psh` in this scope [INFO] [stdout] --> src/tests.rs:270:7 [INFO] [stdout] | [INFO] [stdout] 270 | Psh(5), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Instruction::Psh; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `eval` in this scope [INFO] [stdout] --> src/tests.rs:276:5 [INFO] [stdout] | [INFO] [stdout] 276 | eval( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 | use crate::eval; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Mov` in this scope [INFO] [stdout] --> src/tests.rs:278:7 [INFO] [stdout] | [INFO] [stdout] 278 | Mov(B, St), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Instruction::Mov; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `B` in this scope [INFO] [stdout] --> src/tests.rs:278:11 [INFO] [stdout] | [INFO] [stdout] 278 | Mov(B, St), [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Register::B; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `St` in this scope [INFO] [stdout] --> src/tests.rs:278:14 [INFO] [stdout] | [INFO] [stdout] 278 | Mov(B, St), [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Register::St; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `eval` in this scope [INFO] [stdout] --> src/tests.rs:284:5 [INFO] [stdout] | [INFO] [stdout] 284 | eval( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 | use crate::eval; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Div` in this scope [INFO] [stdout] --> src/tests.rs:286:7 [INFO] [stdout] | [INFO] [stdout] 286 | Div(A, B), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Instruction::Div; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `A` in this scope [INFO] [stdout] --> src/tests.rs:286:11 [INFO] [stdout] | [INFO] [stdout] 286 | Div(A, B), [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Register::A; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `B` in this scope [INFO] [stdout] --> src/tests.rs:286:14 [INFO] [stdout] | [INFO] [stdout] 286 | Div(A, B), [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Register::B; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `A` in this scope [INFO] [stdout] --> src/tests.rs:292:26 [INFO] [stdout] | [INFO] [stdout] 292 | assert_eq!(registers[A as usize], 2); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Register::A; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `setup_environment` in this scope [INFO] [stdout] --> src/tests.rs:297:51 [INFO] [stdout] | [INFO] [stdout] 297 | let (mut stack, mut registers, mut running) = setup_environment(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 | use crate::setup_environment; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BTreeMap` in this scope [INFO] [stdout] --> src/tests.rs:299:17 [INFO] [stdout] | [INFO] [stdout] 299 | let labels: BTreeMap = BTreeMap::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 | use crate::BTreeMap; [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::BTreeMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BTreeMap` [INFO] [stdout] --> src/tests.rs:299:41 [INFO] [stdout] | [INFO] [stdout] 299 | let labels: BTreeMap = BTreeMap::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 | use crate::BTreeMap; [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::BTreeMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `eval` in this scope [INFO] [stdout] --> src/tests.rs:301:5 [INFO] [stdout] | [INFO] [stdout] 301 | eval( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 | use crate::eval; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Psh` in this scope [INFO] [stdout] --> src/tests.rs:303:7 [INFO] [stdout] | [INFO] [stdout] 303 | Psh(10), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Instruction::Psh; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `eval` in this scope [INFO] [stdout] --> src/tests.rs:309:5 [INFO] [stdout] | [INFO] [stdout] 309 | eval( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 | use crate::eval; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Mov` in this scope [INFO] [stdout] --> src/tests.rs:311:7 [INFO] [stdout] | [INFO] [stdout] 311 | Mov(A, St), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Instruction::Mov; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `A` in this scope [INFO] [stdout] --> src/tests.rs:311:11 [INFO] [stdout] | [INFO] [stdout] 311 | Mov(A, St), [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Register::A; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `St` in this scope [INFO] [stdout] --> src/tests.rs:311:14 [INFO] [stdout] | [INFO] [stdout] 311 | Mov(A, St), [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Register::St; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `eval` in this scope [INFO] [stdout] --> src/tests.rs:317:5 [INFO] [stdout] | [INFO] [stdout] 317 | eval( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 | use crate::eval; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Psh` in this scope [INFO] [stdout] --> src/tests.rs:319:7 [INFO] [stdout] | [INFO] [stdout] 319 | Psh(5), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Instruction::Psh; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `eval` in this scope [INFO] [stdout] --> src/tests.rs:325:5 [INFO] [stdout] | [INFO] [stdout] 325 | eval( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 | use crate::eval; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Mov` in this scope [INFO] [stdout] --> src/tests.rs:327:7 [INFO] [stdout] | [INFO] [stdout] 327 | Mov(B, St), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Instruction::Mov; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `B` in this scope [INFO] [stdout] --> src/tests.rs:327:11 [INFO] [stdout] | [INFO] [stdout] 327 | Mov(B, St), [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Register::B; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `St` in this scope [INFO] [stdout] --> src/tests.rs:327:14 [INFO] [stdout] | [INFO] [stdout] 327 | Mov(B, St), [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Register::St; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `eval` in this scope [INFO] [stdout] --> src/tests.rs:333:5 [INFO] [stdout] | [INFO] [stdout] 333 | eval( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 | use crate::eval; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Div` in this scope [INFO] [stdout] --> src/tests.rs:335:7 [INFO] [stdout] | [INFO] [stdout] 335 | Div(A, B), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Instruction::Div; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `A` in this scope [INFO] [stdout] --> src/tests.rs:335:11 [INFO] [stdout] | [INFO] [stdout] 335 | Div(A, B), [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Register::A; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `B` in this scope [INFO] [stdout] --> src/tests.rs:335:14 [INFO] [stdout] | [INFO] [stdout] 335 | Div(A, B), [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Register::B; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `eval` in this scope [INFO] [stdout] --> src/tests.rs:342:5 [INFO] [stdout] | [INFO] [stdout] 342 | eval( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 | use crate::eval; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Hlt` in this scope [INFO] [stdout] --> src/tests.rs:344:7 [INFO] [stdout] | [INFO] [stdout] 344 | Hlt, [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Instruction::Hlt; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `setup_environment` in this scope [INFO] [stdout] --> src/tests.rs:356:51 [INFO] [stdout] | [INFO] [stdout] 356 | let (mut stack, mut registers, mut running) = setup_environment(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 | use crate::setup_environment; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BTreeMap` in this scope [INFO] [stdout] --> src/tests.rs:358:17 [INFO] [stdout] | [INFO] [stdout] 358 | let labels: BTreeMap = BTreeMap::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 | use crate::BTreeMap; [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::BTreeMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BTreeMap` [INFO] [stdout] --> src/tests.rs:358:41 [INFO] [stdout] | [INFO] [stdout] 358 | let labels: BTreeMap = BTreeMap::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 | use crate::BTreeMap; [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::BTreeMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `eval` in this scope [INFO] [stdout] --> src/tests.rs:360:5 [INFO] [stdout] | [INFO] [stdout] 360 | eval( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 | use crate::eval; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Psh` in this scope [INFO] [stdout] --> src/tests.rs:362:7 [INFO] [stdout] | [INFO] [stdout] 362 | Psh(5), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Instruction::Psh; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `eval` in this scope [INFO] [stdout] --> src/tests.rs:368:5 [INFO] [stdout] | [INFO] [stdout] 368 | eval( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 | use crate::eval; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Mov` in this scope [INFO] [stdout] --> src/tests.rs:370:7 [INFO] [stdout] | [INFO] [stdout] 370 | Mov(A, St), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Instruction::Mov; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `A` in this scope [INFO] [stdout] --> src/tests.rs:370:11 [INFO] [stdout] | [INFO] [stdout] 370 | Mov(A, St), [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Register::A; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `St` in this scope [INFO] [stdout] --> src/tests.rs:370:14 [INFO] [stdout] | [INFO] [stdout] 370 | Mov(A, St), [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Register::St; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `eval` in this scope [INFO] [stdout] --> src/tests.rs:376:5 [INFO] [stdout] | [INFO] [stdout] 376 | eval( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 | use crate::eval; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Psh` in this scope [INFO] [stdout] --> src/tests.rs:378:7 [INFO] [stdout] | [INFO] [stdout] 378 | Psh(5), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Instruction::Psh; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `eval` in this scope [INFO] [stdout] --> src/tests.rs:384:5 [INFO] [stdout] | [INFO] [stdout] 384 | eval( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 | use crate::eval; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Mov` in this scope [INFO] [stdout] --> src/tests.rs:386:7 [INFO] [stdout] | [INFO] [stdout] 386 | Mov(B, St), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Instruction::Mov; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `B` in this scope [INFO] [stdout] --> src/tests.rs:386:11 [INFO] [stdout] | [INFO] [stdout] 386 | Mov(B, St), [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Register::B; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `St` in this scope [INFO] [stdout] --> src/tests.rs:386:14 [INFO] [stdout] | [INFO] [stdout] 386 | Mov(B, St), [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Register::St; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `eval` in this scope [INFO] [stdout] --> src/tests.rs:393:5 [INFO] [stdout] | [INFO] [stdout] 393 | eval( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 | use crate::eval; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Tee` in this scope [INFO] [stdout] --> src/tests.rs:395:7 [INFO] [stdout] | [INFO] [stdout] 395 | Tee(A, B), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Instruction::Tee; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `A` in this scope [INFO] [stdout] --> src/tests.rs:395:11 [INFO] [stdout] | [INFO] [stdout] 395 | Tee(A, B), [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Register::A; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `B` in this scope [INFO] [stdout] --> src/tests.rs:395:14 [INFO] [stdout] | [INFO] [stdout] 395 | Tee(A, B), [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Register::B; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found trait `Eq` [INFO] [stdout] --> src/tests.rs:402:26 [INFO] [stdout] | [INFO] [stdout] 402 | assert_eq!(registers[Eq as usize], 1); [INFO] [stdout] | ^^ not a value [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 5 | use core::panicking::AssertKind::Eq; [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Register::Eq; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `setup_environment` in this scope [INFO] [stdout] --> src/tests.rs:406:51 [INFO] [stdout] | [INFO] [stdout] 406 | let (mut stack, mut registers, mut running) = setup_environment(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 | use crate::setup_environment; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BTreeMap` in this scope [INFO] [stdout] --> src/tests.rs:408:17 [INFO] [stdout] | [INFO] [stdout] 408 | let labels: BTreeMap = BTreeMap::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 | use crate::BTreeMap; [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::BTreeMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BTreeMap` [INFO] [stdout] --> src/tests.rs:408:41 [INFO] [stdout] | [INFO] [stdout] 408 | let labels: BTreeMap = BTreeMap::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 | use crate::BTreeMap; [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::BTreeMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `eval` in this scope [INFO] [stdout] --> src/tests.rs:410:5 [INFO] [stdout] | [INFO] [stdout] 410 | eval( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 | use crate::eval; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Psh` in this scope [INFO] [stdout] --> src/tests.rs:412:7 [INFO] [stdout] | [INFO] [stdout] 412 | Psh(5), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Instruction::Psh; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `eval` in this scope [INFO] [stdout] --> src/tests.rs:418:5 [INFO] [stdout] | [INFO] [stdout] 418 | eval( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 | use crate::eval; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Mov` in this scope [INFO] [stdout] --> src/tests.rs:420:7 [INFO] [stdout] | [INFO] [stdout] 420 | Mov(A, St), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Instruction::Mov; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `A` in this scope [INFO] [stdout] --> src/tests.rs:420:11 [INFO] [stdout] | [INFO] [stdout] 420 | Mov(A, St), [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Register::A; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `St` in this scope [INFO] [stdout] --> src/tests.rs:420:14 [INFO] [stdout] | [INFO] [stdout] 420 | Mov(A, St), [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Register::St; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `eval` in this scope [INFO] [stdout] --> src/tests.rs:426:5 [INFO] [stdout] | [INFO] [stdout] 426 | eval( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 | use crate::eval; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Psh` in this scope [INFO] [stdout] --> src/tests.rs:428:7 [INFO] [stdout] | [INFO] [stdout] 428 | Psh(6), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Instruction::Psh; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `eval` in this scope [INFO] [stdout] --> src/tests.rs:434:5 [INFO] [stdout] | [INFO] [stdout] 434 | eval( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 | use crate::eval; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Mov` in this scope [INFO] [stdout] --> src/tests.rs:436:7 [INFO] [stdout] | [INFO] [stdout] 436 | Mov(B, St), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Instruction::Mov; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `B` in this scope [INFO] [stdout] --> src/tests.rs:436:11 [INFO] [stdout] | [INFO] [stdout] 436 | Mov(B, St), [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Register::B; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `St` in this scope [INFO] [stdout] --> src/tests.rs:436:14 [INFO] [stdout] | [INFO] [stdout] 436 | Mov(B, St), [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Register::St; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `eval` in this scope [INFO] [stdout] --> src/tests.rs:443:5 [INFO] [stdout] | [INFO] [stdout] 443 | eval( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 | use crate::eval; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Tne` in this scope [INFO] [stdout] --> src/tests.rs:445:7 [INFO] [stdout] | [INFO] [stdout] 445 | Tne(A, B), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Instruction::Tne; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `A` in this scope [INFO] [stdout] --> src/tests.rs:445:11 [INFO] [stdout] | [INFO] [stdout] 445 | Tne(A, B), [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Register::A; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `B` in this scope [INFO] [stdout] --> src/tests.rs:445:14 [INFO] [stdout] | [INFO] [stdout] 445 | Tne(A, B), [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Register::B; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found trait `Eq` [INFO] [stdout] --> src/tests.rs:452:26 [INFO] [stdout] | [INFO] [stdout] 452 | assert_eq!(registers[Eq as usize], 1); [INFO] [stdout] | ^^ not a value [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 5 | use core::panicking::AssertKind::Eq; [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Register::Eq; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `setup_environment` in this scope [INFO] [stdout] --> src/tests.rs:457:51 [INFO] [stdout] | [INFO] [stdout] 457 | let (mut stack, mut registers, mut running) = setup_environment(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 | use crate::setup_environment; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BTreeMap` in this scope [INFO] [stdout] --> src/tests.rs:459:17 [INFO] [stdout] | [INFO] [stdout] 459 | let labels: BTreeMap = BTreeMap::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 | use crate::BTreeMap; [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::BTreeMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BTreeMap` [INFO] [stdout] --> src/tests.rs:459:41 [INFO] [stdout] | [INFO] [stdout] 459 | let labels: BTreeMap = BTreeMap::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 | use crate::BTreeMap; [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::BTreeMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `eval` in this scope [INFO] [stdout] --> src/tests.rs:461:5 [INFO] [stdout] | [INFO] [stdout] 461 | eval( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 | use crate::eval; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Psh` in this scope [INFO] [stdout] --> src/tests.rs:463:7 [INFO] [stdout] | [INFO] [stdout] 463 | Psh(5), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Instruction::Psh; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `eval` in this scope [INFO] [stdout] --> src/tests.rs:469:5 [INFO] [stdout] | [INFO] [stdout] 469 | eval( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 | use crate::eval; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Mov` in this scope [INFO] [stdout] --> src/tests.rs:471:7 [INFO] [stdout] | [INFO] [stdout] 471 | Mov(A, St), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Instruction::Mov; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `A` in this scope [INFO] [stdout] --> src/tests.rs:471:11 [INFO] [stdout] | [INFO] [stdout] 471 | Mov(A, St), [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Register::A; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `St` in this scope [INFO] [stdout] --> src/tests.rs:471:14 [INFO] [stdout] | [INFO] [stdout] 471 | Mov(A, St), [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Register::St; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `eval` in this scope [INFO] [stdout] --> src/tests.rs:477:5 [INFO] [stdout] | [INFO] [stdout] 477 | eval( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 | use crate::eval; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Psh` in this scope [INFO] [stdout] --> src/tests.rs:479:7 [INFO] [stdout] | [INFO] [stdout] 479 | Psh(6), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Instruction::Psh; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `eval` in this scope [INFO] [stdout] --> src/tests.rs:485:5 [INFO] [stdout] | [INFO] [stdout] 485 | eval( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 | use crate::eval; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Mov` in this scope [INFO] [stdout] --> src/tests.rs:487:7 [INFO] [stdout] | [INFO] [stdout] 487 | Mov(B, St), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Instruction::Mov; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `B` in this scope [INFO] [stdout] --> src/tests.rs:487:11 [INFO] [stdout] | [INFO] [stdout] 487 | Mov(B, St), [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Register::B; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `St` in this scope [INFO] [stdout] --> src/tests.rs:487:14 [INFO] [stdout] | [INFO] [stdout] 487 | Mov(B, St), [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Register::St; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `eval` in this scope [INFO] [stdout] --> src/tests.rs:494:5 [INFO] [stdout] | [INFO] [stdout] 494 | eval( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 | use crate::eval; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Tll` in this scope [INFO] [stdout] --> src/tests.rs:496:7 [INFO] [stdout] | [INFO] [stdout] 496 | Tll(A, B), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Instruction::Tll; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `A` in this scope [INFO] [stdout] --> src/tests.rs:496:11 [INFO] [stdout] | [INFO] [stdout] 496 | Tll(A, B), [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Register::A; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `B` in this scope [INFO] [stdout] --> src/tests.rs:496:14 [INFO] [stdout] | [INFO] [stdout] 496 | Tll(A, B), [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Register::B; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found trait `Eq` [INFO] [stdout] --> src/tests.rs:503:26 [INFO] [stdout] | [INFO] [stdout] 503 | assert_eq!(registers[Eq as usize], 1); [INFO] [stdout] | ^^ not a value [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 5 | use core::panicking::AssertKind::Eq; [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Register::Eq; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `setup_environment` in this scope [INFO] [stdout] --> src/tests.rs:508:51 [INFO] [stdout] | [INFO] [stdout] 508 | let (mut stack, mut registers, mut running) = setup_environment(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 | use crate::setup_environment; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BTreeMap` in this scope [INFO] [stdout] --> src/tests.rs:510:17 [INFO] [stdout] | [INFO] [stdout] 510 | let labels: BTreeMap = BTreeMap::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 | use crate::BTreeMap; [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::BTreeMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BTreeMap` [INFO] [stdout] --> src/tests.rs:510:41 [INFO] [stdout] | [INFO] [stdout] 510 | let labels: BTreeMap = BTreeMap::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 | use crate::BTreeMap; [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::BTreeMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `eval` in this scope [INFO] [stdout] --> src/tests.rs:512:5 [INFO] [stdout] | [INFO] [stdout] 512 | eval( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 | use crate::eval; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Psh` in this scope [INFO] [stdout] --> src/tests.rs:514:7 [INFO] [stdout] | [INFO] [stdout] 514 | Psh(8), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Instruction::Psh; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `eval` in this scope [INFO] [stdout] --> src/tests.rs:520:5 [INFO] [stdout] | [INFO] [stdout] 520 | eval( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 | use crate::eval; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Mov` in this scope [INFO] [stdout] --> src/tests.rs:522:7 [INFO] [stdout] | [INFO] [stdout] 522 | Mov(A, St), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Instruction::Mov; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `A` in this scope [INFO] [stdout] --> src/tests.rs:522:11 [INFO] [stdout] | [INFO] [stdout] 522 | Mov(A, St), [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Register::A; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `St` in this scope [INFO] [stdout] --> src/tests.rs:522:14 [INFO] [stdout] | [INFO] [stdout] 522 | Mov(A, St), [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Register::St; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `eval` in this scope [INFO] [stdout] --> src/tests.rs:528:5 [INFO] [stdout] | [INFO] [stdout] 528 | eval( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 | use crate::eval; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Psh` in this scope [INFO] [stdout] --> src/tests.rs:530:7 [INFO] [stdout] | [INFO] [stdout] 530 | Psh(6), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Instruction::Psh; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `eval` in this scope [INFO] [stdout] --> src/tests.rs:536:5 [INFO] [stdout] | [INFO] [stdout] 536 | eval( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 | use crate::eval; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Mov` in this scope [INFO] [stdout] --> src/tests.rs:538:7 [INFO] [stdout] | [INFO] [stdout] 538 | Mov(B, St), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Instruction::Mov; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `B` in this scope [INFO] [stdout] --> src/tests.rs:538:11 [INFO] [stdout] | [INFO] [stdout] 538 | Mov(B, St), [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Register::B; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `St` in this scope [INFO] [stdout] --> src/tests.rs:538:14 [INFO] [stdout] | [INFO] [stdout] 538 | Mov(B, St), [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Register::St; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `eval` in this scope [INFO] [stdout] --> src/tests.rs:545:5 [INFO] [stdout] | [INFO] [stdout] 545 | eval( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 | use crate::eval; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Tmm` in this scope [INFO] [stdout] --> src/tests.rs:547:7 [INFO] [stdout] | [INFO] [stdout] 547 | Tmm(A, B), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Instruction::Tmm; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `A` in this scope [INFO] [stdout] --> src/tests.rs:547:11 [INFO] [stdout] | [INFO] [stdout] 547 | Tmm(A, B), [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Register::A; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `B` in this scope [INFO] [stdout] --> src/tests.rs:547:14 [INFO] [stdout] | [INFO] [stdout] 547 | Tmm(A, B), [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Register::B; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found trait `Eq` [INFO] [stdout] --> src/tests.rs:554:26 [INFO] [stdout] | [INFO] [stdout] 554 | assert_eq!(registers[Eq as usize], 1); [INFO] [stdout] | ^^ not a value [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 5 | use core::panicking::AssertKind::Eq; [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Register::Eq; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `setup_environment` in this scope [INFO] [stdout] --> src/tests.rs:558:51 [INFO] [stdout] | [INFO] [stdout] 558 | let (mut stack, mut registers, mut running) = setup_environment(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 | use crate::setup_environment; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BTreeMap` in this scope [INFO] [stdout] --> src/tests.rs:560:17 [INFO] [stdout] | [INFO] [stdout] 560 | let labels: BTreeMap = BTreeMap::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 | use crate::BTreeMap; [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::BTreeMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BTreeMap` [INFO] [stdout] --> src/tests.rs:560:41 [INFO] [stdout] | [INFO] [stdout] 560 | let labels: BTreeMap = BTreeMap::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 | use crate::BTreeMap; [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::BTreeMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `eval` in this scope [INFO] [stdout] --> src/tests.rs:562:5 [INFO] [stdout] | [INFO] [stdout] 562 | eval( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 | use crate::eval; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Psh` in this scope [INFO] [stdout] --> src/tests.rs:564:7 [INFO] [stdout] | [INFO] [stdout] 564 | Psh(8), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Instruction::Psh; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `eval` in this scope [INFO] [stdout] --> src/tests.rs:570:5 [INFO] [stdout] | [INFO] [stdout] 570 | eval( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 | use crate::eval; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Mov` in this scope [INFO] [stdout] --> src/tests.rs:572:7 [INFO] [stdout] | [INFO] [stdout] 572 | Mov(A, St), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Instruction::Mov; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `A` in this scope [INFO] [stdout] --> src/tests.rs:572:11 [INFO] [stdout] | [INFO] [stdout] 572 | Mov(A, St), [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Register::A; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `St` in this scope [INFO] [stdout] --> src/tests.rs:572:14 [INFO] [stdout] | [INFO] [stdout] 572 | Mov(A, St), [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Register::St; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `eval` in this scope [INFO] [stdout] --> src/tests.rs:578:5 [INFO] [stdout] | [INFO] [stdout] 578 | eval( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 | use crate::eval; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Psh` in this scope [INFO] [stdout] --> src/tests.rs:580:7 [INFO] [stdout] | [INFO] [stdout] 580 | Psh(8), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Instruction::Psh; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `eval` in this scope [INFO] [stdout] --> src/tests.rs:586:5 [INFO] [stdout] | [INFO] [stdout] 586 | eval( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 | use crate::eval; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Mov` in this scope [INFO] [stdout] --> src/tests.rs:588:7 [INFO] [stdout] | [INFO] [stdout] 588 | Mov(B, St), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Instruction::Mov; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `B` in this scope [INFO] [stdout] --> src/tests.rs:588:11 [INFO] [stdout] | [INFO] [stdout] 588 | Mov(B, St), [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Register::B; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `St` in this scope [INFO] [stdout] --> src/tests.rs:588:14 [INFO] [stdout] | [INFO] [stdout] 588 | Mov(B, St), [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Register::St; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `eval` in this scope [INFO] [stdout] --> src/tests.rs:595:5 [INFO] [stdout] | [INFO] [stdout] 595 | eval( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 | use crate::eval; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Tem` in this scope [INFO] [stdout] --> src/tests.rs:597:7 [INFO] [stdout] | [INFO] [stdout] 597 | Tem(A, B), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Instruction::Tem; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `A` in this scope [INFO] [stdout] --> src/tests.rs:597:11 [INFO] [stdout] | [INFO] [stdout] 597 | Tem(A, B), [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Register::A; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `B` in this scope [INFO] [stdout] --> src/tests.rs:597:14 [INFO] [stdout] | [INFO] [stdout] 597 | Tem(A, B), [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Register::B; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found trait `Eq` [INFO] [stdout] --> src/tests.rs:604:26 [INFO] [stdout] | [INFO] [stdout] 604 | assert_eq!(registers[Eq as usize], 1); [INFO] [stdout] | ^^ not a value [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 5 | use core::panicking::AssertKind::Eq; [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Register::Eq; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `setup_environment` in this scope [INFO] [stdout] --> src/tests.rs:609:51 [INFO] [stdout] | [INFO] [stdout] 609 | let (mut stack, mut registers, mut running) = setup_environment(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 | use crate::setup_environment; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BTreeMap` in this scope [INFO] [stdout] --> src/tests.rs:611:17 [INFO] [stdout] | [INFO] [stdout] 611 | let labels: BTreeMap = BTreeMap::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 | use crate::BTreeMap; [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::BTreeMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BTreeMap` [INFO] [stdout] --> src/tests.rs:611:41 [INFO] [stdout] | [INFO] [stdout] 611 | let labels: BTreeMap = BTreeMap::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 | use crate::BTreeMap; [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::BTreeMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `eval` in this scope [INFO] [stdout] --> src/tests.rs:613:5 [INFO] [stdout] | [INFO] [stdout] 613 | eval( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 | use crate::eval; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Psh` in this scope [INFO] [stdout] --> src/tests.rs:615:7 [INFO] [stdout] | [INFO] [stdout] 615 | Psh(8), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Instruction::Psh; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `eval` in this scope [INFO] [stdout] --> src/tests.rs:621:5 [INFO] [stdout] | [INFO] [stdout] 621 | eval( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 | use crate::eval; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Mov` in this scope [INFO] [stdout] --> src/tests.rs:623:7 [INFO] [stdout] | [INFO] [stdout] 623 | Mov(A, St), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Instruction::Mov; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `A` in this scope [INFO] [stdout] --> src/tests.rs:623:11 [INFO] [stdout] | [INFO] [stdout] 623 | Mov(A, St), [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Register::A; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `St` in this scope [INFO] [stdout] --> src/tests.rs:623:14 [INFO] [stdout] | [INFO] [stdout] 623 | Mov(A, St), [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Register::St; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `eval` in this scope [INFO] [stdout] --> src/tests.rs:629:5 [INFO] [stdout] | [INFO] [stdout] 629 | eval( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 | use crate::eval; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Psh` in this scope [INFO] [stdout] --> src/tests.rs:631:7 [INFO] [stdout] | [INFO] [stdout] 631 | Psh(8), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Instruction::Psh; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `eval` in this scope [INFO] [stdout] --> src/tests.rs:637:5 [INFO] [stdout] | [INFO] [stdout] 637 | eval( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 | use crate::eval; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Mov` in this scope [INFO] [stdout] --> src/tests.rs:639:7 [INFO] [stdout] | [INFO] [stdout] 639 | Mov(B, St), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Instruction::Mov; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `B` in this scope [INFO] [stdout] --> src/tests.rs:639:11 [INFO] [stdout] | [INFO] [stdout] 639 | Mov(B, St), [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Register::B; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `St` in this scope [INFO] [stdout] --> src/tests.rs:639:14 [INFO] [stdout] | [INFO] [stdout] 639 | Mov(B, St), [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Register::St; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `eval` in this scope [INFO] [stdout] --> src/tests.rs:646:5 [INFO] [stdout] | [INFO] [stdout] 646 | eval( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 | use crate::eval; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Tel` in this scope [INFO] [stdout] --> src/tests.rs:648:7 [INFO] [stdout] | [INFO] [stdout] 648 | Tel(A, B), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Instruction::Tel; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `A` in this scope [INFO] [stdout] --> src/tests.rs:648:11 [INFO] [stdout] | [INFO] [stdout] 648 | Tel(A, B), [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Register::A; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `B` in this scope [INFO] [stdout] --> src/tests.rs:648:14 [INFO] [stdout] | [INFO] [stdout] 648 | Tel(A, B), [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Register::B; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0423]: expected value, found trait `Eq` [INFO] [stdout] --> src/tests.rs:655:26 [INFO] [stdout] | [INFO] [stdout] 655 | assert_eq!(registers[Eq as usize], 1); [INFO] [stdout] | ^^ not a value [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items instead [INFO] [stdout] | [INFO] [stdout] 5 | use core::panicking::AssertKind::Eq; [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Register::Eq; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `setup_environment` in this scope [INFO] [stdout] --> src/tests.rs:660:51 [INFO] [stdout] | [INFO] [stdout] 660 | let (mut stack, mut registers, mut running) = setup_environment(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 | use crate::setup_environment; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `BTreeMap` in this scope [INFO] [stdout] --> src/tests.rs:662:17 [INFO] [stdout] | [INFO] [stdout] 662 | let labels: BTreeMap = BTreeMap::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 | use crate::BTreeMap; [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::BTreeMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `BTreeMap` [INFO] [stdout] --> src/tests.rs:662:41 [INFO] [stdout] | [INFO] [stdout] 662 | let labels: BTreeMap = BTreeMap::new(); [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing one of these items [INFO] [stdout] | [INFO] [stdout] 5 | use crate::BTreeMap; [INFO] [stdout] | [INFO] [stdout] 5 | use std::collections::BTreeMap; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `eval` in this scope [INFO] [stdout] --> src/tests.rs:664:5 [INFO] [stdout] | [INFO] [stdout] 664 | eval( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 | use crate::eval; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Psh` in this scope [INFO] [stdout] --> src/tests.rs:666:7 [INFO] [stdout] | [INFO] [stdout] 666 | Psh(8), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Instruction::Psh; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `eval` in this scope [INFO] [stdout] --> src/tests.rs:672:5 [INFO] [stdout] | [INFO] [stdout] 672 | eval( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 | use crate::eval; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Mov` in this scope [INFO] [stdout] --> src/tests.rs:674:7 [INFO] [stdout] | [INFO] [stdout] 674 | Mov(A, St), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Instruction::Mov; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `A` in this scope [INFO] [stdout] --> src/tests.rs:674:11 [INFO] [stdout] | [INFO] [stdout] 674 | Mov(A, St), [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Register::A; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `St` in this scope [INFO] [stdout] --> src/tests.rs:674:14 [INFO] [stdout] | [INFO] [stdout] 674 | Mov(A, St), [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Register::St; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `eval` in this scope [INFO] [stdout] --> src/tests.rs:680:5 [INFO] [stdout] | [INFO] [stdout] 680 | eval( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 | use crate::eval; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Psh` in this scope [INFO] [stdout] --> src/tests.rs:682:7 [INFO] [stdout] | [INFO] [stdout] 682 | Psh(8), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Instruction::Psh; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `eval` in this scope [INFO] [stdout] --> src/tests.rs:688:5 [INFO] [stdout] | [INFO] [stdout] 688 | eval( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 | use crate::eval; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Mov` in this scope [INFO] [stdout] --> src/tests.rs:690:7 [INFO] [stdout] | [INFO] [stdout] 690 | Mov(B, St), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Instruction::Mov; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `B` in this scope [INFO] [stdout] --> src/tests.rs:690:11 [INFO] [stdout] | [INFO] [stdout] 690 | Mov(B, St), [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Register::B; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `St` in this scope [INFO] [stdout] --> src/tests.rs:690:14 [INFO] [stdout] | [INFO] [stdout] 690 | Mov(B, St), [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Register::St; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `eval` in this scope [INFO] [stdout] --> src/tests.rs:697:5 [INFO] [stdout] | [INFO] [stdout] 697 | eval( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 | use crate::eval; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Tel` in this scope [INFO] [stdout] --> src/tests.rs:699:7 [INFO] [stdout] | [INFO] [stdout] 699 | Tel(A, B), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Instruction::Tel; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `A` in this scope [INFO] [stdout] --> src/tests.rs:699:11 [INFO] [stdout] | [INFO] [stdout] 699 | Tel(A, B), [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Register::A; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `B` in this scope [INFO] [stdout] --> src/tests.rs:699:14 [INFO] [stdout] | [INFO] [stdout] 699 | Tel(A, B), [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Register::B; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `eval` in this scope [INFO] [stdout] --> src/tests.rs:706:5 [INFO] [stdout] | [INFO] [stdout] 706 | eval( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 | use crate::eval; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function, tuple struct or tuple variant `Jmp` in this scope [INFO] [stdout] --> src/tests.rs:708:7 [INFO] [stdout] | [INFO] [stdout] 708 | Jmp(4), [INFO] [stdout] | ^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this tuple variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Instruction::Jmp; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `Ip` in this scope [INFO] [stdout] --> src/tests.rs:714:26 [INFO] [stdout] | [INFO] [stdout] 714 | assert_eq!(registers[Ip as usize], 2); [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Register::Ip; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `setup_environment` in this scope [INFO] [stdout] --> src/tests.rs:718:51 [INFO] [stdout] | [INFO] [stdout] 718 | let (mut stack, mut registers, mut running) = setup_environment(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 | use crate::setup_environment; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `parse_code` in this scope [INFO] [stdout] --> src/tests.rs:720:29 [INFO] [stdout] | [INFO] [stdout] 720 | let (program, labels) = parse_code( [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 | use crate::parse_code; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `fetch` in this scope [INFO] [stdout] --> src/tests.rs:726:19 [INFO] [stdout] | [INFO] [stdout] 726 | let instr = fetch(&program, registers[6] as usize); [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 | use crate::fetch; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `eval` in this scope [INFO] [stdout] --> src/tests.rs:727:7 [INFO] [stdout] | [INFO] [stdout] 727 | eval( [INFO] [stdout] | ^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 5 | use crate::eval; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `A` in this scope [INFO] [stdout] --> src/tests.rs:739:26 [INFO] [stdout] | [INFO] [stdout] 739 | assert_eq!(registers[A as usize], 4); [INFO] [stdout] | ^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this unit variant [INFO] [stdout] | [INFO] [stdout] 5 | use crate::Register::A; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::*` [INFO] [stdout] --> src/tests.rs:5:7 [INFO] [stdout] | [INFO] [stdout] 5 | use super::*; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 286 previous errors; 1 warning emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0412, E0423, E0425, E0433. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0412`. [INFO] [stdout] [INFO] [stderr] error: could not compile `wlvm` due to 287 previous errors; 1 warning emitted [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" "e87d0999983532e63f3d933f14587aa28680998e2b212aac16db9dabf00a38bd", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e87d0999983532e63f3d933f14587aa28680998e2b212aac16db9dabf00a38bd", kill_on_drop: false }` [INFO] [stdout] e87d0999983532e63f3d933f14587aa28680998e2b212aac16db9dabf00a38bd