[INFO] cloning repository https://github.com/LemonVM/LemonVMReDesign [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/LemonVM/LemonVMReDesign" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLemonVM%2FLemonVMReDesign", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLemonVM%2FLemonVMReDesign'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 3d78023b162a6988282e3e6c9005f443f37f0a0f [INFO] checking LemonVM/LemonVMReDesign against try#8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 for pr-82565 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLemonVM%2FLemonVMReDesign" "/workspace/builds/worker-10/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-10/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LemonVM/LemonVMReDesign on toolchain 8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/LemonVM/LemonVMReDesign [INFO] finished tweaking git repo https://github.com/LemonVM/LemonVMReDesign [INFO] tweaked toml for git repo https://github.com/LemonVM/LemonVMReDesign written to /workspace/builds/worker-10/source/Cargo.toml [INFO] crate git repo https://github.com/LemonVM/LemonVMReDesign already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "fetch" "--locked" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 29a6f476bb46a33e3981116f00ec8e906c388fec8d3193909b69f3ad6329aacb [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "29a6f476bb46a33e3981116f00ec8e906c388fec8d3193909b69f3ad6329aacb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "29a6f476bb46a33e3981116f00ec8e906c388fec8d3193909b69f3ad6329aacb", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "29a6f476bb46a33e3981116f00ec8e906c388fec8d3193909b69f3ad6329aacb", kill_on_drop: false }` [INFO] [stdout] 29a6f476bb46a33e3981116f00ec8e906c388fec8d3193909b69f3ad6329aacb [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-10/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" "rustops/crates-build-env@sha256:f2f6bcd4b43ebee4e173f653a26493129bdb64017c85f916b780ca7fbdbaa79d" "/opt/rustwide/cargo-home/bin/cargo" "+8e3afc79c11f48cb3acd1be5b3b7de98fe3f93a8" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] f8c36c55ac1387a8a64bee75746f883474374ff9aa72df77fbc44d79f8eac228 [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "f8c36c55ac1387a8a64bee75746f883474374ff9aa72df77fbc44d79f8eac228", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.78 [INFO] [stderr] Checking cfg-if v0.1.10 [INFO] [stderr] Checking getrandom v0.1.15 [INFO] [stderr] Checking rand_core v0.5.1 [INFO] [stderr] Checking rand_chacha v0.2.2 [INFO] [stderr] Checking rand v0.7.3 [INFO] [stderr] Checking lemonvm v0.2.0 (/opt/rustwide/workdir) [INFO] [stdout] error: expected one of `:`, `;`, or `=`, found `.` [INFO] [stdout] --> src/binary/tags.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | pub const U16T.ype:u8 = 0x04; [INFO] [stdout] | ^ expected one of `:`, `;`, or `=` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `register` [INFO] [stdout] --> src/vm/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub mod register; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `register`, create file "src/vm/register.rs" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `:`, `;`, or `=`, found `.` [INFO] [stdout] --> src/binary/tags.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | pub const U16T.ype:u8 = 0x04; [INFO] [stdout] | ^ expected one of `:`, `;`, or `=` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `register` [INFO] [stdout] --> src/vm/mod.rs:8:1 [INFO] [stdout] | [INFO] [stdout] 8 | pub mod register; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `register`, create file "src/vm/register.rs" [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `Value` is defined multiple times [INFO] [stdout] --> src/vm/value.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub union Value{ [INFO] [stdout] | --------------- previous definition of the type `Value` here [INFO] [stdout] ... [INFO] [stdout] 15 | pub enum Value { [INFO] [stdout] | ^^^^^^^^^^^^^^ `Value` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `Value` must be defined only once in the type namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0428]: the name `Value` is defined multiple times [INFO] [stdout] --> src/vm/value.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 7 | pub union Value{ [INFO] [stdout] | --------------- previous definition of the type `Value` here [INFO] [stdout] ... [INFO] [stdout] 15 | pub enum Value { [INFO] [stdout] | ^^^^^^^^^^^^^^ `Value` redefined here [INFO] [stdout] | [INFO] [stdout] = note: `Value` must be defined only once in the type namespace of this module [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `super::TypeTags` [INFO] [stdout] --> src/binary/variable.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | TypeTags, [INFO] [stdout] | ^^^^^^^^ no `TypeTags` in `binary` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::config` [INFO] [stdout] --> src/vm/interpreter.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::config::*; [INFO] [stdout] | ^^^^^^ maybe a missing crate `config`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::config` [INFO] [stdout] --> src/vm/interpreter.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | config::*, [INFO] [stdout] | ^^^^^^ maybe a missing crate `config`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `value::NSValue` [INFO] [stdout] --> src/vm/mod.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use value::{NSValue, Value}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `NSValue` in `vm::value` [INFO] [stdout] | help: a similar name exists in the module: `Value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `super::value::NSValue` [INFO] [stdout] --> src/vm/interpreter.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | value::{NSValue, Value}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `NSValue` in `vm::value` [INFO] [stdout] | help: a similar name exists in the module: `Value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `super::gc` [INFO] [stdout] --> src/vm/value.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{gc::*, VMClosure, VMClosureStatus, VMState}; [INFO] [stdout] | ^^ could not find `gc` in `super` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeTags` [INFO] [stdout] --> src/binary/constant.rs:34:18 [INFO] [stdout] | [INFO] [stdout] 34 | _ if TypeTags::String as u8 == tag => Constant::String(reader.read_string()), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `TypeTags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeTags` [INFO] [stdout] --> src/binary/constant.rs:47:18 [INFO] [stdout] | [INFO] [stdout] 47 | _ if TypeTags::Function as u8 == tag => Constant::Function(Function::read(reader)), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `TypeTags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `super::TypeTags` [INFO] [stdout] --> src/binary/variable.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | TypeTags, [INFO] [stdout] | ^^^^^^^^ no `TypeTags` in `binary` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeTags` [INFO] [stdout] --> src/binary/constant.rs:59:33 [INFO] [stdout] | [INFO] [stdout] 59 | writer.write_u8(TypeTags::String as u8); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `TypeTags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeTags` [INFO] [stdout] --> src/binary/constant.rs:63:33 [INFO] [stdout] | [INFO] [stdout] 63 | writer.write_u8(TypeTags::Map as u8); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `TypeTags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeTags` [INFO] [stdout] --> src/binary/constant.rs:70:33 [INFO] [stdout] | [INFO] [stdout] 70 | writer.write_u8(TypeTags::U8 as u8); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `TypeTags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeTags` [INFO] [stdout] --> src/binary/constant.rs:74:33 [INFO] [stdout] | [INFO] [stdout] 74 | writer.write_u8(TypeTags::I8 as u8); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `TypeTags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeTags` [INFO] [stdout] --> src/binary/constant.rs:78:33 [INFO] [stdout] | [INFO] [stdout] 78 | writer.write_u8(TypeTags::U16 as u8); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `TypeTags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeTags` [INFO] [stdout] --> src/binary/constant.rs:82:33 [INFO] [stdout] | [INFO] [stdout] 82 | writer.write_u8(TypeTags::I16 as u8); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `TypeTags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeTags` [INFO] [stdout] --> src/binary/constant.rs:86:33 [INFO] [stdout] | [INFO] [stdout] 86 | writer.write_u8(TypeTags::U32 as u8); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `TypeTags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeTags` [INFO] [stdout] --> src/binary/constant.rs:90:33 [INFO] [stdout] | [INFO] [stdout] 90 | writer.write_u8(TypeTags::I32 as u8); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `TypeTags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeTags` [INFO] [stdout] --> src/binary/constant.rs:94:33 [INFO] [stdout] | [INFO] [stdout] 94 | writer.write_u8(TypeTags::U64 as u8); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `TypeTags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeTags` [INFO] [stdout] --> src/binary/constant.rs:98:33 [INFO] [stdout] | [INFO] [stdout] 98 | writer.write_u8(TypeTags::I64 as u8); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `TypeTags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeTags` [INFO] [stdout] --> src/binary/constant.rs:102:33 [INFO] [stdout] | [INFO] [stdout] 102 | writer.write_u8(TypeTags::F32 as u8); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `TypeTags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeTags` [INFO] [stdout] --> src/binary/constant.rs:106:33 [INFO] [stdout] | [INFO] [stdout] 106 | writer.write_u8(TypeTags::F64 as u8); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `TypeTags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeTags` [INFO] [stdout] --> src/binary/constant.rs:110:33 [INFO] [stdout] | [INFO] [stdout] 110 | writer.write_u8(TypeTags::Vector as u8); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `TypeTags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeTags` [INFO] [stdout] --> src/binary/constant.rs:114:33 [INFO] [stdout] | [INFO] [stdout] 114 | writer.write_u8(TypeTags::Function as u8); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `TypeTags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeTags` [INFO] [stdout] --> src/binary/constant.rs:118:33 [INFO] [stdout] | [INFO] [stdout] 118 | writer.write_u8(TypeTags::Opaque as u8); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `TypeTags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::config` [INFO] [stdout] --> src/vm/interpreter.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::config::*; [INFO] [stdout] | ^^^^^^ maybe a missing crate `config`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::config` [INFO] [stdout] --> src/vm/interpreter.rs:10:5 [INFO] [stdout] | [INFO] [stdout] 10 | config::*, [INFO] [stdout] | ^^^^^^ maybe a missing crate `config`? [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `value::NSValue` [INFO] [stdout] --> src/vm/mod.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | use value::{NSValue, Value}; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `NSValue` in `vm::value` [INFO] [stdout] | help: a similar name exists in the module: `Value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `super::value::NSValue` [INFO] [stdout] --> src/vm/interpreter.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | value::{NSValue, Value}, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | | [INFO] [stdout] | no `NSValue` in `vm::value` [INFO] [stdout] | help: a similar name exists in the module: `Value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `super::gc` [INFO] [stdout] --> src/vm/value.rs:1:13 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{gc::*, VMClosure, VMClosureStatus, VMState}; [INFO] [stdout] | ^^ could not find `gc` in `super` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeTags` [INFO] [stdout] --> src/binary/constant.rs:34:18 [INFO] [stdout] | [INFO] [stdout] 34 | _ if TypeTags::String as u8 == tag => Constant::String(reader.read_string()), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `TypeTags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeTags` [INFO] [stdout] --> src/binary/constant.rs:47:18 [INFO] [stdout] | [INFO] [stdout] 47 | _ if TypeTags::Function as u8 == tag => Constant::Function(Function::read(reader)), [INFO] [stdout] | ^^^^^^^^ use of undeclared type `TypeTags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeTags` [INFO] [stdout] --> src/binary/constant.rs:59:33 [INFO] [stdout] | [INFO] [stdout] 59 | writer.write_u8(TypeTags::String as u8); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `TypeTags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeTags` [INFO] [stdout] --> src/binary/constant.rs:63:33 [INFO] [stdout] | [INFO] [stdout] 63 | writer.write_u8(TypeTags::Map as u8); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `TypeTags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeTags` [INFO] [stdout] --> src/binary/constant.rs:70:33 [INFO] [stdout] | [INFO] [stdout] 70 | writer.write_u8(TypeTags::U8 as u8); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `TypeTags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeTags` [INFO] [stdout] --> src/binary/constant.rs:74:33 [INFO] [stdout] | [INFO] [stdout] 74 | writer.write_u8(TypeTags::I8 as u8); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `TypeTags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeTags` [INFO] [stdout] --> src/binary/constant.rs:78:33 [INFO] [stdout] | [INFO] [stdout] 78 | writer.write_u8(TypeTags::U16 as u8); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `TypeTags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeTags` [INFO] [stdout] --> src/binary/constant.rs:82:33 [INFO] [stdout] | [INFO] [stdout] 82 | writer.write_u8(TypeTags::I16 as u8); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `TypeTags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeTags` [INFO] [stdout] --> src/binary/constant.rs:86:33 [INFO] [stdout] | [INFO] [stdout] 86 | writer.write_u8(TypeTags::U32 as u8); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `TypeTags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeTags` [INFO] [stdout] --> src/binary/constant.rs:90:33 [INFO] [stdout] | [INFO] [stdout] 90 | writer.write_u8(TypeTags::I32 as u8); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `TypeTags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeTags` [INFO] [stdout] --> src/binary/constant.rs:94:33 [INFO] [stdout] | [INFO] [stdout] 94 | writer.write_u8(TypeTags::U64 as u8); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `TypeTags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeTags` [INFO] [stdout] --> src/binary/constant.rs:98:33 [INFO] [stdout] | [INFO] [stdout] 98 | writer.write_u8(TypeTags::I64 as u8); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `TypeTags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeTags` [INFO] [stdout] --> src/binary/constant.rs:102:33 [INFO] [stdout] | [INFO] [stdout] 102 | writer.write_u8(TypeTags::F32 as u8); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `TypeTags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeTags` [INFO] [stdout] --> src/binary/constant.rs:106:33 [INFO] [stdout] | [INFO] [stdout] 106 | writer.write_u8(TypeTags::F64 as u8); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `TypeTags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeTags` [INFO] [stdout] --> src/binary/constant.rs:110:33 [INFO] [stdout] | [INFO] [stdout] 110 | writer.write_u8(TypeTags::Vector as u8); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `TypeTags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeTags` [INFO] [stdout] --> src/binary/constant.rs:114:33 [INFO] [stdout] | [INFO] [stdout] 114 | writer.write_u8(TypeTags::Function as u8); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `TypeTags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `TypeTags` [INFO] [stdout] --> src/binary/constant.rs:118:33 [INFO] [stdout] | [INFO] [stdout] 118 | writer.write_u8(TypeTags::Opaque as u8); [INFO] [stdout] | ^^^^^^^^ use of undeclared type `TypeTags` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `U8Type` in this scope [INFO] [stdout] --> src/binary/constant.rs:36:18 [INFO] [stdout] | [INFO] [stdout] 36 | _ if U8Type as u8 == tag => Constant::U8(reader.read_u8()), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `I8Type` in this scope [INFO] [stdout] --> src/binary/constant.rs:37:18 [INFO] [stdout] | [INFO] [stdout] 37 | _ if I8Type as u8 == tag => Constant::I8(reader.read_i8()), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `U16Type` in this scope [INFO] [stdout] --> src/binary/constant.rs:38:18 [INFO] [stdout] | [INFO] [stdout] 38 | _ if U16Type as u8 == tag => Constant::U16(reader.read_u16()), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `I16Type` in this scope [INFO] [stdout] --> src/binary/constant.rs:39:18 [INFO] [stdout] | [INFO] [stdout] 39 | _ if I16Type as u8 == tag => Constant::I16(reader.read_i16()), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `U32Type` in this scope [INFO] [stdout] --> src/binary/constant.rs:40:18 [INFO] [stdout] | [INFO] [stdout] 40 | _ if U32Type as u8 == tag => Constant::U32(reader.read_u32()), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `I32Type` in this scope [INFO] [stdout] --> src/binary/constant.rs:41:18 [INFO] [stdout] | [INFO] [stdout] 41 | _ if I32Type as u8 == tag => Constant::I32(reader.read_i32()), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `U64Type` in this scope [INFO] [stdout] --> src/binary/constant.rs:42:18 [INFO] [stdout] | [INFO] [stdout] 42 | _ if U64Type as u8 == tag => Constant::U64(reader.read_u64()), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `I64Type` in this scope [INFO] [stdout] --> src/binary/constant.rs:43:18 [INFO] [stdout] | [INFO] [stdout] 43 | _ if I64Type as u8 == tag => Constant::I64(reader.read_i64()), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `F32Type` in this scope [INFO] [stdout] --> src/binary/constant.rs:44:18 [INFO] [stdout] | [INFO] [stdout] 44 | _ if F32Type as u8 == tag => Constant::F32(reader.read_f32()), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `F64Type` in this scope [INFO] [stdout] --> src/binary/constant.rs:45:18 [INFO] [stdout] | [INFO] [stdout] 45 | _ if F64Type as u8 == tag => Constant::F64(reader.read_f64()), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TypeInfoValue` in this scope [INFO] [stdout] --> src/vm/runtime/memory/runtime_info/mod.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 14 | union TypeInfoVale{ [INFO] [stdout] | ------------------ similarly named union `TypeInfoVale` defined here [INFO] [stdout] ... [INFO] [stdout] 30 | pub type_info: TypeInfoValue, [INFO] [stdout] | ^^^^^^^^^^^^^ help: a union with a similar name exists: `TypeInfoVale` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Value` in this scope [INFO] [stdout] --> src/vm/runtime/memory/runtime_info/mod.rs:39:27 [INFO] [stdout] | [INFO] [stdout] 39 | pub constant_pool:Vec, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this union [INFO] [stdout] | [INFO] [stdout] 1 | use crate::vm::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Value` in this scope [INFO] [stdout] --> src/vm/runtime/memory/runtime_info/mod.rs:45:21 [INFO] [stdout] | [INFO] [stdout] 45 | pub registers: [Value;64], [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this union [INFO] [stdout] | [INFO] [stdout] 1 | use crate::vm::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VMClosureStatus` in this scope [INFO] [stdout] --> src/vm/runtime/memory/runtime_info/mod.rs:47:17 [INFO] [stdout] | [INFO] [stdout] 47 | pub status: VMClosureStatus, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use crate::vm::VMClosureStatus; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VMClosure` in this scope [INFO] [stdout] --> src/vm/runtime/memory/runtime_info/mod.rs:52:30 [INFO] [stdout] | [INFO] [stdout] 52 | pub exception_stack: Vec, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::vm::VMClosure; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VMClosure` in this scope [INFO] [stdout] --> src/vm/runtime/memory/runtime_info/mod.rs:56:18 [INFO] [stdout] | [INFO] [stdout] 56 | pub closure: VMClosure, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::vm::VMClosure; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Value` in this scope [INFO] [stdout] --> src/vm/runtime/memory/runtime_info/mod.rs:65:43 [INFO] [stdout] | [INFO] [stdout] 65 | pub global_vars: Mutex>, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this union [INFO] [stdout] | [INFO] [stdout] 1 | use crate::vm::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MemoryPool` in this scope [INFO] [stdout] --> src/vm/runtime/memory/runtime_info/mod.rs:66:22 [INFO] [stdout] | [INFO] [stdout] 66 | pub memory_pool: MemoryPool, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeModule` in this scope [INFO] [stdout] --> src/vm/runtime/memory/memory_pool/mod.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | module: RuntimeModule, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::vm::runtime::memory::runtime_info::RuntimeModule; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MAX_REGISTER_ON_STACK` in this scope [INFO] [stdout] --> src/vm/interpreter.rs:117:64 [INFO] [stdout] | [INFO] [stdout] 117 | if state.current_function_call_state.registers.len() > MAX_REGISTER_ON_STACK { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MAX_REGISTER_ON_STACK` in this scope [INFO] [stdout] --> src/vm/interpreter.rs:122:37 [INFO] [stdout] | [INFO] [stdout] 122 | let mut stack_regs: [Value; MAX_REGISTER_ON_STACK] = [Value::Undef; 64]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NSValue` in this scope [INFO] [stdout] --> src/vm/value.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 7 | pub union Value{ [INFO] [stdout] | --------------- similarly named union `Value` defined here [INFO] [stdout] ... [INFO] [stdout] 32 | NSValue(NSValue), [INFO] [stdout] | ^^^^^^^ help: a union with a similar name exists: `Value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GCValue` in this scope [INFO] [stdout] --> src/vm/value.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 7 | pub union Value{ [INFO] [stdout] | --------------- similarly named union `Value` defined here [INFO] [stdout] ... [INFO] [stdout] 34 | GCValue(GCValue), [INFO] [stdout] | ^^^^^^^ help: a union with a similar name exists: `Value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `GC` in this scope [INFO] [stdout] --> src/vm/mod.rs:119:21 [INFO] [stdout] | [INFO] [stdout] 84 | pub struct VMState { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 119 | pub gc: Box, [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::*` [INFO] [stdout] --> src/binary/bytecode.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | use rand::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::tags::*` [INFO] [stdout] --> src/binary/constant.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use super::tags::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::*` [INFO] [stdout] --> src/binary/debug.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | use rand::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::*` [INFO] [stdout] --> src/binary/debug.rs:139:13 [INFO] [stdout] | [INFO] [stdout] 139 | use rand::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::*` [INFO] [stdout] --> src/binary/debug.rs:219:13 [INFO] [stdout] | [INFO] [stdout] 219 | use rand::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::constant::*` [INFO] [stdout] --> src/binary/function.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use super::constant::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `Writer` [INFO] [stdout] --> src/binary/function.rs:10:28 [INFO] [stdout] | [INFO] [stdout] 10 | io::{BinaryRW, Reader, Writer}, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::BTreeMap` [INFO] [stdout] --> src/binary/function.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::collections::BTreeMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::*` [INFO] [stdout] --> src/binary/function.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | use rand::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::*` [INFO] [stdout] --> src/binary/function.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | use rand::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::*` [INFO] [stdout] --> src/binary/io.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | use rand::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::*` [INFO] [stdout] --> src/binary/io.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | use rand::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::bytecode::*` [INFO] [stdout] --> src/binary/test.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::bytecode::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::io::*` [INFO] [stdout] --> src/binary/test.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use super::io::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/binary/test.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::prelude::*` [INFO] [stdout] --> src/binary/test.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::BufReader` [INFO] [stdout] --> src/binary/test.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::BufReader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `UNINIT_GENERIC` should have an upper camel case name [INFO] [stdout] --> src/vm/runtime/memory/runtime_info/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | UNINIT_GENERIC, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `UninitGeneric` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `U8Type` in this scope [INFO] [stdout] --> src/binary/constant.rs:36:18 [INFO] [stdout] | [INFO] [stdout] 36 | _ if U8Type as u8 == tag => Constant::U8(reader.read_u8()), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `I8Type` in this scope [INFO] [stdout] --> src/binary/constant.rs:37:18 [INFO] [stdout] | [INFO] [stdout] 37 | _ if I8Type as u8 == tag => Constant::I8(reader.read_i8()), [INFO] [stdout] | ^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `U16Type` in this scope [INFO] [stdout] --> src/binary/constant.rs:38:18 [INFO] [stdout] | [INFO] [stdout] 38 | _ if U16Type as u8 == tag => Constant::U16(reader.read_u16()), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `I16Type` in this scope [INFO] [stdout] --> src/binary/constant.rs:39:18 [INFO] [stdout] | [INFO] [stdout] 39 | _ if I16Type as u8 == tag => Constant::I16(reader.read_i16()), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `U32Type` in this scope [INFO] [stdout] --> src/binary/constant.rs:40:18 [INFO] [stdout] | [INFO] [stdout] 40 | _ if U32Type as u8 == tag => Constant::U32(reader.read_u32()), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `I32Type` in this scope [INFO] [stdout] --> src/binary/constant.rs:41:18 [INFO] [stdout] | [INFO] [stdout] 41 | _ if I32Type as u8 == tag => Constant::I32(reader.read_i32()), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `U64Type` in this scope [INFO] [stdout] --> src/binary/constant.rs:42:18 [INFO] [stdout] | [INFO] [stdout] 42 | _ if U64Type as u8 == tag => Constant::U64(reader.read_u64()), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `I64Type` in this scope [INFO] [stdout] --> src/binary/constant.rs:43:18 [INFO] [stdout] | [INFO] [stdout] 43 | _ if I64Type as u8 == tag => Constant::I64(reader.read_i64()), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `F32Type` in this scope [INFO] [stdout] --> src/binary/constant.rs:44:18 [INFO] [stdout] | [INFO] [stdout] 44 | _ if F32Type as u8 == tag => Constant::F32(reader.read_f32()), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `F64Type` in this scope [INFO] [stdout] --> src/binary/constant.rs:45:18 [INFO] [stdout] | [INFO] [stdout] 45 | _ if F64Type as u8 == tag => Constant::F64(reader.read_f64()), [INFO] [stdout] | ^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `TypeInfoValue` in this scope [INFO] [stdout] --> src/vm/runtime/memory/runtime_info/mod.rs:30:20 [INFO] [stdout] | [INFO] [stdout] 14 | union TypeInfoVale{ [INFO] [stdout] | ------------------ similarly named union `TypeInfoVale` defined here [INFO] [stdout] ... [INFO] [stdout] 30 | pub type_info: TypeInfoValue, [INFO] [stdout] | ^^^^^^^^^^^^^ help: a union with a similar name exists: `TypeInfoVale` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Value` in this scope [INFO] [stdout] --> src/vm/runtime/memory/runtime_info/mod.rs:39:27 [INFO] [stdout] | [INFO] [stdout] 39 | pub constant_pool:Vec, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this union [INFO] [stdout] | [INFO] [stdout] 1 | use crate::vm::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::register` [INFO] [stdout] --> src/vm/interpreter.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::register; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `constant::Constant`, `function::Function` [INFO] [stdout] --> src/vm/interpreter.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | binary::{constant::Constant, function::Function, opcode::OpCode}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `collections::BTreeMap`, `ptr::NonNull` [INFO] [stdout] --> src/vm/interpreter.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | use std::{collections::BTreeMap, ptr::NonNull}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> src/vm/interpreter.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | 'fetch_exe: loop { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Value` in this scope [INFO] [stdout] --> src/vm/runtime/memory/runtime_info/mod.rs:45:21 [INFO] [stdout] | [INFO] [stdout] 45 | pub registers: [Value;64], [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this union [INFO] [stdout] | [INFO] [stdout] 1 | use crate::vm::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VMClosureStatus` in this scope [INFO] [stdout] --> src/vm/runtime/memory/runtime_info/mod.rs:47:17 [INFO] [stdout] | [INFO] [stdout] 47 | pub status: VMClosureStatus, [INFO] [stdout] | ^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this enum [INFO] [stdout] | [INFO] [stdout] 1 | use crate::vm::VMClosureStatus; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VMClosure` in this scope [INFO] [stdout] --> src/vm/runtime/memory/runtime_info/mod.rs:52:30 [INFO] [stdout] | [INFO] [stdout] 52 | pub exception_stack: Vec, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::vm::VMClosure; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `VMClosure` in this scope [INFO] [stdout] --> src/vm/runtime/memory/runtime_info/mod.rs:56:18 [INFO] [stdout] | [INFO] [stdout] 56 | pub closure: VMClosure, [INFO] [stdout] | ^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::vm::VMClosure; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `Value` in this scope [INFO] [stdout] --> src/vm/runtime/memory/runtime_info/mod.rs:65:43 [INFO] [stdout] | [INFO] [stdout] 65 | pub global_vars: Mutex>, [INFO] [stdout] | ^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this union [INFO] [stdout] | [INFO] [stdout] 1 | use crate::vm::Value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `MemoryPool` in this scope [INFO] [stdout] --> src/vm/runtime/memory/runtime_info/mod.rs:66:22 [INFO] [stdout] | [INFO] [stdout] 66 | pub memory_pool: MemoryPool, [INFO] [stdout] | ^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `RuntimeModule` in this scope [INFO] [stdout] --> src/vm/runtime/memory/memory_pool/mod.rs:9:13 [INFO] [stdout] | [INFO] [stdout] 9 | module: RuntimeModule, [INFO] [stdout] | ^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this struct [INFO] [stdout] | [INFO] [stdout] 1 | use crate::vm::runtime::memory::runtime_info::RuntimeModule; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MAX_REGISTER_ON_STACK` in this scope [INFO] [stdout] --> src/vm/interpreter.rs:117:64 [INFO] [stdout] | [INFO] [stdout] 117 | if state.current_function_call_state.registers.len() > MAX_REGISTER_ON_STACK { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find value `MAX_REGISTER_ON_STACK` in this scope [INFO] [stdout] --> src/vm/interpreter.rs:122:37 [INFO] [stdout] | [INFO] [stdout] 122 | let mut stack_regs: [Value; MAX_REGISTER_ON_STACK] = [Value::Undef; 64]; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `VMClosureStatus`, `VMClosure`, `VMState` [INFO] [stdout] --> src/vm/value.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{gc::*, VMClosure, VMClosureStatus, VMState}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::binary::constant::Constant` [INFO] [stdout] --> src/vm/value.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::binary::constant::Constant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `collections::BTreeMap`, `ptr::NonNull` [INFO] [stdout] --> src/vm/value.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{collections::BTreeMap, ptr::NonNull}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::mem::ManuallyDrop` [INFO] [stdout] --> src/vm/value.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::mem::ManuallyDrop; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `NSValue` in this scope [INFO] [stdout] --> src/vm/value.rs:32:13 [INFO] [stdout] | [INFO] [stdout] 7 | pub union Value{ [INFO] [stdout] | --------------- similarly named union `Value` defined here [INFO] [stdout] ... [INFO] [stdout] 32 | NSValue(NSValue), [INFO] [stdout] | ^^^^^^^ help: a union with a similar name exists: `Value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0412]: cannot find type `GCValue` in this scope [INFO] [stdout] --> src/vm/value.rs:34:13 [INFO] [stdout] | [INFO] [stdout] 7 | pub union Value{ [INFO] [stdout] | --------------- similarly named union `Value` defined here [INFO] [stdout] ... [INFO] [stdout] 34 | GCValue(GCValue), [INFO] [stdout] | ^^^^^^^ help: a union with a similar name exists: `Value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `GC` in this scope [INFO] [stdout] --> src/vm/mod.rs:119:21 [INFO] [stdout] | [INFO] [stdout] 84 | pub struct VMState { [INFO] [stdout] | - help: you might be missing a type parameter: `` [INFO] [stdout] ... [INFO] [stdout] 119 | pub gc: Box, [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing type for `const` item [INFO] [stdout] --> src/binary/tags.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const U16T.ype:u8 = 0x04; [INFO] [stdout] | ^^^^ help: provide a type for the item: `U16T: ` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 51 previous errors; 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0425, E0428, E0432, E0433, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::*` [INFO] [stdout] --> src/binary/bytecode.rs:91:13 [INFO] [stdout] | [INFO] [stdout] 91 | use rand::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::tags::*` [INFO] [stdout] --> src/binary/constant.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use super::tags::*; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::*` [INFO] [stdout] --> src/binary/debug.rs:62:13 [INFO] [stdout] | [INFO] [stdout] 62 | use rand::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::*` [INFO] [stdout] --> src/binary/debug.rs:139:13 [INFO] [stdout] | [INFO] [stdout] 139 | use rand::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::*` [INFO] [stdout] --> src/binary/debug.rs:219:13 [INFO] [stdout] | [INFO] [stdout] 219 | use rand::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::constant::*` [INFO] [stdout] --> src/binary/function.rs:7:5 [INFO] [stdout] | [INFO] [stdout] 7 | use super::constant::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::collections::BTreeMap` [INFO] [stdout] --> src/binary/function.rs:13:5 [INFO] [stdout] | [INFO] [stdout] 13 | use std::collections::BTreeMap; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::*` [INFO] [stdout] --> src/binary/function.rs:40:13 [INFO] [stdout] | [INFO] [stdout] 40 | use rand::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::*` [INFO] [stdout] --> src/binary/function.rs:110:13 [INFO] [stdout] | [INFO] [stdout] 110 | use rand::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::*` [INFO] [stdout] --> src/binary/io.rs:23:9 [INFO] [stdout] | [INFO] [stdout] 23 | use rand::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `rand::*` [INFO] [stdout] --> src/binary/io.rs:51:9 [INFO] [stdout] | [INFO] [stdout] 51 | use rand::*; [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::bytecode::*` [INFO] [stdout] --> src/binary/test.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::bytecode::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::io::*` [INFO] [stdout] --> src/binary/test.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use super::io::*; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::fs::File` [INFO] [stdout] --> src/binary/test.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use std::fs::File; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::prelude::*` [INFO] [stdout] --> src/binary/test.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use std::io::prelude::*; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::io::BufReader` [INFO] [stdout] --> src/binary/test.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::io::BufReader; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `UNINIT_GENERIC` should have an upper camel case name [INFO] [stdout] --> src/vm/runtime/memory/runtime_info/mod.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | UNINIT_GENERIC, [INFO] [stdout] | ^^^^^^^^^^^^^^ help: convert the identifier to upper camel case: `UninitGeneric` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(non_camel_case_types)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `super::register` [INFO] [stdout] --> src/vm/interpreter.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use super::register; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `constant::Constant`, `function::Function` [INFO] [stdout] --> src/vm/interpreter.rs:9:14 [INFO] [stdout] | [INFO] [stdout] 9 | binary::{constant::Constant, function::Function, opcode::OpCode}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `collections::BTreeMap`, `ptr::NonNull` [INFO] [stdout] --> src/vm/interpreter.rs:13:11 [INFO] [stdout] | [INFO] [stdout] 13 | use std::{collections::BTreeMap, ptr::NonNull}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused label [INFO] [stdout] --> src/vm/interpreter.rs:135:9 [INFO] [stdout] | [INFO] [stdout] 135 | 'fetch_exe: loop { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_labels)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `lemonvm` [INFO] [stdout] warning: unused imports: `VMClosureStatus`, `VMClosure`, `VMState` [INFO] [stdout] --> src/vm/value.rs:1:20 [INFO] [stdout] | [INFO] [stdout] 1 | use super::{gc::*, VMClosure, VMClosureStatus, VMState}; [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] [INFO] [stdout] warning: unused import: `crate::binary::constant::Constant` [INFO] [stdout] --> src/vm/value.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use crate::binary::constant::Constant; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] To learn more, run the command again with --verbose. [INFO] [stdout] warning: unused imports: `collections::BTreeMap`, `ptr::NonNull` [INFO] [stdout] --> src/vm/value.rs:3:11 [INFO] [stdout] | [INFO] [stdout] 3 | use std::{collections::BTreeMap, ptr::NonNull}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: unused import: `std::mem::ManuallyDrop` [INFO] [stdout] --> src/vm/value.rs:5:5 [INFO] [stdout] | [INFO] [stdout] 5 | use std::mem::ManuallyDrop; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing type for `const` item [INFO] [stdout] --> src/binary/tags.rs:12:11 [INFO] [stdout] | [INFO] [stdout] 12 | pub const U16T.ype:u8 = 0x04; [INFO] [stdout] | ^^^^ help: provide a type for the item: `U16T: ` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 51 previous errors; 25 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0405, E0412, E0425, E0428, E0432, E0433, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0405`. [INFO] [stdout] [INFO] [stderr] error: build failed [INFO] running `Command { std: "docker" "inspect" "f8c36c55ac1387a8a64bee75746f883474374ff9aa72df77fbc44d79f8eac228", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "f8c36c55ac1387a8a64bee75746f883474374ff9aa72df77fbc44d79f8eac228", kill_on_drop: false }` [INFO] [stdout] f8c36c55ac1387a8a64bee75746f883474374ff9aa72df77fbc44d79f8eac228