[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 master#506512391b1a75ae450d36c9420978402a91abcc for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLemonVM%2FLemonVMReDesign" "/workspace/builds/worker-0-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LemonVM/LemonVMReDesign on toolchain 506512391b1a75ae450d36c9420978402a91abcc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "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-0-tc1/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded libc v0.2.78 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 84c407d84bc03df73b9935f8735f3dbfa9c6fec8f2be7a71a691365032389e62 [INFO] running `Command { std: "docker" "start" "-a" "84c407d84bc03df73b9935f8735f3dbfa9c6fec8f2be7a71a691365032389e62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "84c407d84bc03df73b9935f8735f3dbfa9c6fec8f2be7a71a691365032389e62", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "84c407d84bc03df73b9935f8735f3dbfa9c6fec8f2be7a71a691365032389e62", kill_on_drop: false }` [INFO] [stdout] 84c407d84bc03df73b9935f8735f3dbfa9c6fec8f2be7a71a691365032389e62 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+506512391b1a75ae450d36c9420978402a91abcc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] abc9360d8df513d7d08461c6d2b3c7fa9f611223a97e61a1f9731cfa854035d3 [INFO] running `Command { std: "docker" "start" "-a" "abc9360d8df513d7d08461c6d2b3c7fa9f611223a97e61a1f9731cfa854035d3", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.78 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Checking ppv-lite86 v0.2.9 [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 `where`, 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 `where` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: expected one of `:`, `;`, `<`, `=`, or `where`, 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 `where` [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" or "src/vm/register/mod.rs" [INFO] [stdout] = note: if there is a `mod register` elsewhere in the crate already, import it with `use crate::...` instead [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" or "src/vm/register/mod.rs" [INFO] [stdout] = note: if there is a `mod register` elsewhere in the crate already, import it with `use crate::...` instead [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] | ^^^^^^ could not find `config` in the crate root [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] | ^^^^^^ could not find `config` in the crate root [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] = help: consider importing this unresolved item through its public re-export instead: [INFO] [stdout] crate::vm::NSValue [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[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] | ^^^^^^ could not find `config` in the crate root [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] | ^^^^^^ could not find `config` in the crate root [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] = help: consider importing this unresolved item through its public re-export instead: [INFO] [stdout] crate::vm::NSValue [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[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 through its public re-export [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 through its public re-export [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 through its public re-export [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[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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a union with a similar name exists [INFO] [stdout] | [INFO] [stdout] 32 | NSValue(Value), [INFO] [stdout] | ~~~~~ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 15 | pub enum Value { [INFO] [stdout] | +++++++++ [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a union with a similar name exists [INFO] [stdout] | [INFO] [stdout] 34 | GCValue(Value), [INFO] [stdout] | ~~~~~ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 15 | pub enum Value { [INFO] [stdout] | +++++++++ [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] 119 | pub gc: Box, [INFO] [stdout] | ^^ not found in this scope [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 through its public re-export [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 through its public re-export [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 through its public re-export [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[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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a union with a similar name exists [INFO] [stdout] | [INFO] [stdout] 32 | NSValue(Value), [INFO] [stdout] | ~~~~~ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 15 | pub enum Value { [INFO] [stdout] | +++++++++ [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] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] help: a union with a similar name exists [INFO] [stdout] | [INFO] [stdout] 34 | GCValue(Value), [INFO] [stdout] | ~~~~~ [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 15 | pub enum Value { [INFO] [stdout] | +++++++++ [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] 119 | pub gc: Box, [INFO] [stdout] | ^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut u8` cannot be shared between threads safely [INFO] [stdout] --> src/vm/runtime/memory/memory_pool/mod.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | pub static LemonVMMemoryPool: *mut u8 = std::ptr::null_mut(); [INFO] [stdout] | ^^^^^^^ `*mut u8` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `*mut u8` [INFO] [stdout] = note: shared static variables must have a type that implements `Sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut u8` cannot be shared between threads safely [INFO] [stdout] --> src/vm/runtime/memory/memory_pool/mod.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | pub static LemonVMRoots: *mut u8 = std::ptr::null_mut(); [INFO] [stdout] | ^^^^^^^ `*mut u8` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `*mut u8` [INFO] [stdout] = note: shared static variables must have a type that implements `Sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing type for `const` item [INFO] [stdout] --> src/binary/tags.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | pub const U16T.ype:u8 = 0x04; [INFO] [stdout] | ^ help: provide a type for the item: `: ` [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: aborting due to 55 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0405, E0412, E0425, E0428, E0432, E0433, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lemonvm` (lib) due to 56 previous errors [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] error[E0277]: `*mut u8` cannot be shared between threads safely [INFO] [stdout] --> src/vm/runtime/memory/memory_pool/mod.rs:1:31 [INFO] [stdout] | [INFO] [stdout] 1 | pub static LemonVMMemoryPool: *mut u8 = std::ptr::null_mut(); [INFO] [stdout] | ^^^^^^^ `*mut u8` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `*mut u8` [INFO] [stdout] = note: shared static variables must have a type that implements `Sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `*mut u8` cannot be shared between threads safely [INFO] [stdout] --> src/vm/runtime/memory/memory_pool/mod.rs:2:26 [INFO] [stdout] | [INFO] [stdout] 2 | pub static LemonVMRoots: *mut u8 = std::ptr::null_mut(); [INFO] [stdout] | ^^^^^^^ `*mut u8` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `*mut u8` [INFO] [stdout] = note: shared static variables must have a type that implements `Sync` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: missing type for `const` item [INFO] [stdout] --> src/binary/tags.rs:12:15 [INFO] [stdout] | [INFO] [stdout] 12 | pub const U16T.ype:u8 = 0x04; [INFO] [stdout] | ^ help: provide a type for the item: `: ` [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: aborting due to 55 previous errors [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0405, E0412, E0425, E0428, E0432, E0433, E0583. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `lemonvm` (lib test) due to 56 previous errors [INFO] running `Command { std: "docker" "inspect" "abc9360d8df513d7d08461c6d2b3c7fa9f611223a97e61a1f9731cfa854035d3", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "abc9360d8df513d7d08461c6d2b3c7fa9f611223a97e61a1f9731cfa854035d3", kill_on_drop: false }` [INFO] [stdout] abc9360d8df513d7d08461c6d2b3c7fa9f611223a97e61a1f9731cfa854035d3 [INFO] checking LemonVM/LemonVMReDesign against try#dae34b759e282c069aa28752564694effd121a63 for pr-125384 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLemonVM%2FLemonVMReDesign" "/workspace/builds/worker-0-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-0-tc2/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LemonVM/LemonVMReDesign on toolchain dae34b759e282c069aa28752564694effd121a63 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "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-0-tc2/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: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 360386d390ba03538c0577d10b0658d363814c492147f64d6c4b146e5acdec20 [INFO] running `Command { std: "docker" "start" "-a" "360386d390ba03538c0577d10b0658d363814c492147f64d6c4b146e5acdec20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "360386d390ba03538c0577d10b0658d363814c492147f64d6c4b146e5acdec20", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "360386d390ba03538c0577d10b0658d363814c492147f64d6c4b146e5acdec20", kill_on_drop: false }` [INFO] [stdout] 360386d390ba03538c0577d10b0658d363814c492147f64d6c4b146e5acdec20 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=allow" "-e" "RUSTDOCFLAGS=--cap-lints=allow" "-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:beeedbb442662e57d416641ecc3200b38e573c25b057896194468d05594dd835" "/opt/rustwide/cargo-home/bin/cargo" "+dae34b759e282c069aa28752564694effd121a63" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 931472ff66a9372072b239e651ae626f56ac354ba7e5676c2cb0a1f9a117a876 [INFO] running `Command { std: "docker" "start" "-a" "931472ff66a9372072b239e651ae626f56ac354ba7e5676c2cb0a1f9a117a876", kill_on_drop: false }` [INFO] [stderr] Copying to /tmp/fixit [INFO] [stderr] skipping non-2021 edition `2018` [INFO] running `Command { std: "docker" "inspect" "931472ff66a9372072b239e651ae626f56ac354ba7e5676c2cb0a1f9a117a876", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "931472ff66a9372072b239e651ae626f56ac354ba7e5676c2cb0a1f9a117a876", kill_on_drop: false }` [INFO] [stdout] 931472ff66a9372072b239e651ae626f56ac354ba7e5676c2cb0a1f9a117a876