[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/3d78023b162a6988282e3e6c9005f443f37f0a0f against master#f609b7e0586f81fefb3523e3e17adf779ac416be for pr-129466-2 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FLemonVM%2FLemonVMReDesign" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/LemonVM/LemonVMReDesign on toolchain f609b7e0586f81fefb3523e3e17adf779ac416be [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "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-6-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" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] e0ceb0452c2bed6c2f6cc2392126ef0455ee3dc79f5361a8059a550c89790c3e [INFO] running `Command { std: "docker" "start" "-a" "e0ceb0452c2bed6c2f6cc2392126ef0455ee3dc79f5361a8059a550c89790c3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "e0ceb0452c2bed6c2f6cc2392126ef0455ee3dc79f5361a8059a550c89790c3e", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "e0ceb0452c2bed6c2f6cc2392126ef0455ee3dc79f5361a8059a550c89790c3e", kill_on_drop: false }` [INFO] [stdout] e0ceb0452c2bed6c2f6cc2392126ef0455ee3dc79f5361a8059a550c89790c3e [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:ceb6ea022f8a89cebbe621bb4987e73a935bd40dfbb726f832cfff4742a5b95a" "/opt/rustwide/cargo-home/bin/cargo" "+f609b7e0586f81fefb3523e3e17adf779ac416be" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 3e846115a9b46e20dd5a19b1f70dc9bc7f83cb96629c78f8eaebb167f5d4cbb4 [INFO] running `Command { std: "docker" "start" "-a" "3e846115a9b46e20dd5a19b1f70dc9bc7f83cb96629c78f8eaebb167f5d4cbb4", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.78 [INFO] [stderr] Compiling getrandom v0.1.15 [INFO] [stderr] Checking cfg-if v0.1.10 [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[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: 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[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] 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` and `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` and `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] warning: unused imports: `VMClosureStatus`, `VMClosure`, and `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` and `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] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/binary/io.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [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] 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` and `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` and `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] warning: unused imports: `VMClosureStatus`, `VMClosure`, and `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` and `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] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/binary/io.rs:1:1 [INFO] [stdout] | [INFO] [stdout] 1 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [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] | ^ [INFO] [stdout] | [INFO] [stdout] help: provide a type for the item [INFO] [stdout] | [INFO] [stdout] 12 | pub const U16T: .ype:u8 = 0x04; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors; 26 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0428, E0432, 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 13 previous errors; 26 warnings emitted [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] | ^ [INFO] [stdout] | [INFO] [stdout] help: provide a type for the item [INFO] [stdout] | [INFO] [stdout] 12 | pub const U16T: .ype:u8 = 0x04; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 12 previous errors; 27 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0428, E0432, 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 13 previous errors; 27 warnings emitted [INFO] running `Command { std: "docker" "inspect" "3e846115a9b46e20dd5a19b1f70dc9bc7f83cb96629c78f8eaebb167f5d4cbb4", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "3e846115a9b46e20dd5a19b1f70dc9bc7f83cb96629c78f8eaebb167f5d4cbb4", kill_on_drop: false }` [INFO] [stdout] 3e846115a9b46e20dd5a19b1f70dc9bc7f83cb96629c78f8eaebb167f5d4cbb4