[INFO] cloning repository https://github.com/ilonachan/mscript [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/ilonachan/mscript" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Filonachan%2Fmscript", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Filonachan%2Fmscript'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9fa0633297319660fc43e1119f36a78ccac39985 [INFO] testing ilonachan/mscript/9fa0633297319660fc43e1119f36a78ccac39985 against master#0d162b25edd5bf0dba9a22e83b614f1113e90474 for pr-150681-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Filonachan%2Fmscript" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'... [INFO] [stderr] done. [INFO] started tweaking git repo https://github.com/ilonachan/mscript [INFO] finished tweaking git repo https://github.com/ilonachan/mscript [INFO] tweaked toml for git repo https://github.com/ilonachan/mscript written to /workspace/builds/worker-2-tc1/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/ilonachan/mscript on toolchain 0d162b25edd5bf0dba9a22e83b614f1113e90474 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/ilonachan/mscript 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" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating git repository `https://github.com/rrevenantt/antlr4rust` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded quote v1.0.20 [INFO] [stderr] Downloaded typed-arena v2.0.1 [INFO] [stderr] Downloaded unicode-ident v1.0.1 [INFO] [stderr] Downloaded redox_syscall v0.2.13 [INFO] [stderr] Downloaded delegate v0.7.0 [INFO] [stderr] Downloaded bit-set v0.5.2 [INFO] [stderr] Downloaded better_any v0.2.0-dev.1 [INFO] [stderr] Downloaded smallvec v1.8.0 [INFO] [stderr] Downloaded parking_lot_core v0.8.5 [INFO] [stderr] Downloaded byteorder v1.4.3 [INFO] [stderr] Downloaded once_cell v1.12.0 [INFO] [stderr] Downloaded proc-macro2 v1.0.40 [INFO] [stderr] Downloaded lock_api v0.4.7 [INFO] [stderr] Downloaded murmur3 v0.4.1 [INFO] [stderr] Downloaded syn v1.0.98 [INFO] [stderr] Downloaded libc v0.2.126 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 5e0657b1cc861daa99b1d51e688f6d365539bacb6c8d06cc76901272f8c8a41d [INFO] running `Command { std: "docker" "start" "-a" "5e0657b1cc861daa99b1d51e688f6d365539bacb6c8d06cc76901272f8c8a41d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "5e0657b1cc861daa99b1d51e688f6d365539bacb6c8d06cc76901272f8c8a41d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "5e0657b1cc861daa99b1d51e688f6d365539bacb6c8d06cc76901272f8c8a41d", kill_on_drop: false }` [INFO] [stdout] 5e0657b1cc861daa99b1d51e688f6d365539bacb6c8d06cc76901272f8c8a41d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+0d162b25edd5bf0dba9a22e83b614f1113e90474" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] d300c15699e8a98110ebe4a957c0492b699b0c2c77e29493d0b4e0bacd9df458 [INFO] running `Command { std: "docker" "start" "-a" "d300c15699e8a98110ebe4a957c0492b699b0c2c77e29493d0b4e0bacd9df458", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.40 [INFO] [stderr] Compiling unicode-ident v1.0.1 [INFO] [stderr] Compiling quote v1.0.20 [INFO] [stderr] Compiling libc v0.2.126 [INFO] [stderr] Compiling autocfg v1.1.0 [INFO] [stderr] Compiling parking_lot_core v0.8.5 [INFO] [stderr] Compiling syn v1.0.98 [INFO] [stderr] Compiling instant v0.1.12 [INFO] [stderr] Compiling smallvec v1.8.0 [INFO] [stderr] Compiling scopeguard v1.1.0 [INFO] [stderr] Compiling byteorder v1.4.3 [INFO] [stderr] Compiling bit-vec v0.6.3 [INFO] [stderr] Compiling antlr-rust v0.3.0 (https://github.com/rrevenantt/antlr4rust?branch=v0.3#eaf511d5) [INFO] [stderr] Compiling mscript v0.1.0 (/opt/rustwide/workdir) [INFO] [stderr] Compiling murmur3 v0.4.1 [INFO] [stderr] Compiling lock_api v0.4.7 [INFO] [stderr] Compiling bit-set v0.5.2 [INFO] [stderr] Compiling better_any v0.2.0-dev.1 [INFO] [stderr] Compiling uuid v0.8.2 [INFO] [stderr] Compiling once_cell v1.12.0 [INFO] [stderr] Compiling lazy_static v1.4.0 [INFO] [stderr] Compiling typed-arena v2.0.1 [INFO] [stderr] Compiling parking_lot v0.11.2 [INFO] [stderr] Compiling delegate v0.7.0 [INFO] [stderr] Compiling mscript-macros v0.1.0 (/opt/rustwide/workdir/mscript-macros) [INFO] [stdout] warning: unused import: `quote::quote` [INFO] [stdout] --> mscript-macros/src/lib.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use quote::quote; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `input` [INFO] [stdout] --> mscript-macros/src/lib.rs:41:14 [INFO] [stdout] | [INFO] [stdout] 41 | fn parse(input: ParseStream) -> syn::Result { [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_input` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `block` [INFO] [stdout] --> mscript-macros/src/lib.rs:101:9 [INFO] [stdout] | [INFO] [stdout] 101 | let block: TypedefBlock = syn::parse_macro_input!(tokens); [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_block` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `types` is never read [INFO] [stdout] --> mscript-macros/src/lib.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 18 | struct SupertypeList { [INFO] [stdout] | ------------- field in this struct [INFO] [stdout] 19 | types: Vec, [INFO] [stdout] | ^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `name`, `objtrait`, `supertypes`, `impl_type`, and `impl_obj` are never read [INFO] [stdout] --> mscript-macros/src/lib.rs:47:5 [INFO] [stdout] | [INFO] [stdout] 46 | struct TypedefBlock { [INFO] [stdout] | ------------ fields in this struct [INFO] [stdout] 47 | name: String, [INFO] [stdout] | ^^^^ [INFO] [stdout] 48 | objtrait: syn::Ident, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 49 | supertypes: SupertypeList, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 50 | impl_type: ImplBlock, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 51 | impl_obj: ImplBlock, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `mshvisitor` [INFO] [stdout] --> src/parser.rs:2:1 [INFO] [stdout] | [INFO] [stdout] 2 | pub(crate) mod mshvisitor; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `mshvisitor`, create file "src/parser/mshvisitor.rs" or "src/parser/mshvisitor/mod.rs" [INFO] [stdout] = note: if there is a `mod mshvisitor` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `mshlexer` [INFO] [stdout] --> src/parser.rs:4:1 [INFO] [stdout] | [INFO] [stdout] 4 | pub(crate) mod mshlexer; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `mshlexer`, create file "src/parser/mshlexer.rs" or "src/parser/mshlexer/mod.rs" [INFO] [stdout] = note: if there is a `mod mshlexer` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `mshparser` [INFO] [stdout] --> src/parser.rs:6:1 [INFO] [stdout] | [INFO] [stdout] 6 | pub(crate) mod mshparser; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `mshparser`, create file "src/parser/mshparser.rs" or "src/parser/mshparser/mod.rs" [INFO] [stdout] = note: if there is a `mod mshparser` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0583]: file not found for module `mshlistener` [INFO] [stdout] --> src/parser.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | mod mshlistener; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: to create the module `mshlistener`, create file "src/parser/mshlistener.rs" or "src/parser/mshlistener/mod.rs" [INFO] [stdout] = note: if there is a `mod mshlistener` elsewhere in the crate already, import it with `use crate::...` instead [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `super::MObjectImpl` [INFO] [stdout] --> src/interpreter/types/string.rs:5:13 [INFO] [stdout] | [INFO] [stdout] 5 | use super::{MObjectImpl, MObject, builtin::BUILTINS, MFuncResult, MTypeRef, MObjectRef}; [INFO] [stdout] | ^^^^^^^^^^^ no `MObjectImpl` in `interpreter::types` [INFO] [stdout] | [INFO] [stdout] = help: consider importing this struct instead: [INFO] [stdout] crate::interpreter::types::object::MObjectImpl [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `MshValue` in this scope [INFO] [stdout] --> src/interpreter/types/error.rs:7:21 [INFO] [stdout] | [INFO] [stdout] 7 | pub trait MshError: MshValue + Error {} [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `MshReference` in this scope [INFO] [stdout] --> src/interpreter/types/error.rs:20:29 [INFO] [stdout] | [INFO] [stdout] 20 | impl From for MshReference { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `MshValue` in this scope [INFO] [stdout] --> src/interpreter/types/error.rs:32:6 [INFO] [stdout] | [INFO] [stdout] 32 | impl MshValue for MshBaseError { [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `MshReference` in this scope [INFO] [stdout] --> src/interpreter/types/error.rs:33:26 [INFO] [stdout] | [INFO] [stdout] 33 | fn objtype(&self) -> MshReference { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `MshReference` in this scope [INFO] [stdout] --> src/interpreter/types/error.rs:37:34 [INFO] [stdout] | [INFO] [stdout] 37 | fn str_nice(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 32 | impl MshValue for MshBaseError { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `MshReference` in this scope [INFO] [stdout] --> src/interpreter/types/error.rs:37:48 [INFO] [stdout] | [INFO] [stdout] 37 | fn str_nice(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 32 | impl MshValue for MshBaseError { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0405]: cannot find trait `AnnotatedField` in module `crate::interpreter::scopes` [INFO] [stdout] --> src/interpreter/types/error.rs:45:97 [INFO] [stdout] | [INFO] [stdout] 45 | fn dot(&self, identifier: &str) -> Result>>, MshReference> { [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in `crate::interpreter::scopes` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find type `MshReference` in this scope [INFO] [stdout] --> src/interpreter/types/error.rs:45:116 [INFO] [stdout] | [INFO] [stdout] 45 | fn dot(&self, identifier: &str) -> Result>>, MshReference> { [INFO] [stdout] | ^^^^^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: you might be missing a type parameter [INFO] [stdout] | [INFO] [stdout] 32 | impl MshValue for MshBaseError { [INFO] [stdout] | ++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0603]: type alias import `MObjectRef` is private [INFO] [stdout] --> src/interpreter/scopes.rs:7:20 [INFO] [stdout] | [INFO] [stdout] 7 | use super::types::{MObjectRef, MFuncResult, string::MStringImpl}; [INFO] [stdout] | ^^^^^^^^^^ private type alias import [INFO] [stdout] | [INFO] [stdout] note: the type alias import `MObjectRef` is defined here... [INFO] [stdout] --> src/interpreter/types.rs:13:40 [INFO] [stdout] | [INFO] [stdout] 13 | use self::{builtin::BUILTINS, object::{MObjectRef, MObject}}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] note: ...and refers to the type alias `MObjectRef` which is defined here [INFO] [stdout] --> src/interpreter/types/object.rs:52:1 [INFO] [stdout] | [INFO] [stdout] 52 | pub type MObjectRef = Arc>; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ you could import this directly [INFO] [stdout] help: import `MObjectRef` through the re-export [INFO] [stdout] | [INFO] [stdout] 7 | use super::types::{object::MObjectRef, MFuncResult, string::MStringImpl}; [INFO] [stdout] | ++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `num::NonZeroIsize` [INFO] [stdout] --> src/interpreter/scopes.rs:4:26 [INFO] [stdout] | [INFO] [stdout] 4 | sync::{Arc, RwLock}, num::NonZeroIsize, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: the feature `let_chains` has been stable since 1.88.0 and no longer requires an attribute to enable [INFO] [stdout] --> src/lib.rs:2:12 [INFO] [stdout] | [INFO] [stdout] 2 | #![feature(let_chains)] [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(stable_features)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `get_field`, `insert_field` [INFO] [stdout] --> src/interpreter/types/none.rs:15:1 [INFO] [stdout] | [INFO] [stdout] 15 | impl MObject for MNone { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ missing `get_field`, `insert_field` in implementation [INFO] [stdout] | [INFO] [stdout] ::: src/interpreter/types/object.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | fn get_field(&self, name: &str) -> Option; [INFO] [stdout] | ---------------------------------------------------- `get_field` from trait [INFO] [stdout] 47 | fn insert_field(&self, field: FieldRef); [INFO] [stdout] | ---------------------------------------- `insert_field` from trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `(dyn MType + 'static)` cannot be sent between threads safely [INFO] [stdout] --> src/interpreter/types/builtin.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / lazy_static! { [INFO] [stdout] 8 | | pub static ref BUILTINS: Builtins = Builtins::singleton(); [INFO] [stdout] 9 | | } [INFO] [stdout] | |_^ `(dyn MType + 'static)` cannot be sent between threads safely [INFO] [stdout] | [INFO] [stdout] = help: the trait `Send` is not implemented for `(dyn MType + 'static)` [INFO] [stdout] = note: required for `std::sync::RwLock<(dyn MType + 'static)>` to implement `Sync` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `Arc>` to implement `Sync` [INFO] [stdout] = note: required because it appears within the type `(String, Arc>)` [INFO] [stdout] = note: required for `hashbrown::raw::RawTable<(String, Arc>)>` to implement `Sync` [INFO] [stdout] note: required because it appears within the type `hashbrown::map::HashMap>, RandomState>` [INFO] [stdout] --> /rust/deps/hashbrown-0.16.1/src/map.rs:185:11 [INFO] [stdout] note: required because it appears within the type `HashMap>>` [INFO] [stdout] --> /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/collections/hash/map.rs:246:11 [INFO] [stdout] note: required because it appears within the type `Builtins` [INFO] [stdout] --> src/interpreter/types/builtin.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | struct Builtins { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] note: required by a bound in `Lazy` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/lazy_static-1.4.0/src/inline_lazy.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Lazy(Cell>, Once); [INFO] [stdout] | ^^^^ required by this bound in `Lazy` [INFO] [stdout] = note: this error originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: `(dyn MType + 'static)` cannot be shared between threads safely [INFO] [stdout] --> src/interpreter/types/builtin.rs:7:1 [INFO] [stdout] | [INFO] [stdout] 7 | / lazy_static! { [INFO] [stdout] 8 | | pub static ref BUILTINS: Builtins = Builtins::singleton(); [INFO] [stdout] 9 | | } [INFO] [stdout] | |_^ `(dyn MType + 'static)` cannot be shared between threads safely [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sync` is not implemented for `(dyn MType + 'static)` [INFO] [stdout] = note: required for `std::sync::RwLock<(dyn MType + 'static)>` to implement `Sync` [INFO] [stdout] = note: 1 redundant requirement hidden [INFO] [stdout] = note: required for `Arc>` to implement `Sync` [INFO] [stdout] = note: required because it appears within the type `(String, Arc>)` [INFO] [stdout] = note: required for `hashbrown::raw::RawTable<(String, Arc>)>` to implement `Sync` [INFO] [stdout] note: required because it appears within the type `hashbrown::map::HashMap>, RandomState>` [INFO] [stdout] --> /rust/deps/hashbrown-0.16.1/src/map.rs:185:11 [INFO] [stdout] note: required because it appears within the type `HashMap>>` [INFO] [stdout] --> /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/std/src/collections/hash/map.rs:246:11 [INFO] [stdout] note: required because it appears within the type `Builtins` [INFO] [stdout] --> src/interpreter/types/builtin.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | struct Builtins { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] note: required by a bound in `Lazy` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/index.crates.io-1949cf8c6b5b557f/lazy_static-1.4.0/src/inline_lazy.rs:19:20 [INFO] [stdout] | [INFO] [stdout] 19 | pub struct Lazy(Cell>, Once); [INFO] [stdout] | ^^^^ required by this bound in `Lazy` [INFO] [stdout] = note: this error originates in the macro `__lazy_static_create` which comes from the expansion of the macro `lazy_static` (in Nightly builds, run with -Z macro-backtrace for more info) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `objtype`, `get_field`, `insert_field` [INFO] [stdout] --> src/interpreter/types/object.rs:71:1 [INFO] [stdout] | [INFO] [stdout] 13 | fn objtype(&self) -> MTypeRef; [INFO] [stdout] | ------------------------------ `objtype` from trait [INFO] [stdout] ... [INFO] [stdout] 46 | fn get_field(&self, name: &str) -> Option; [INFO] [stdout] | ---------------------------------------------------- `get_field` from trait [INFO] [stdout] 47 | fn insert_field(&self, field: FieldRef); [INFO] [stdout] | ---------------------------------------- `insert_field` from trait [INFO] [stdout] ... [INFO] [stdout] 71 | impl MObject for MObjectImpl {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `objtype`, `get_field`, `insert_field` in implementation [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0046]: not all trait items implemented, missing: `get_field`, `insert_field` [INFO] [stdout] --> src/interpreter/types.rs:36:1 [INFO] [stdout] | [INFO] [stdout] 36 | impl MObject for MTypeImpl { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ missing `get_field`, `insert_field` in implementation [INFO] [stdout] | [INFO] [stdout] ::: src/interpreter/types/object.rs:46:5 [INFO] [stdout] | [INFO] [stdout] 46 | fn get_field(&self, name: &str) -> Option; [INFO] [stdout] | ---------------------------------------------------- `get_field` from trait [INFO] [stdout] 47 | fn insert_field(&self, field: FieldRef); [INFO] [stdout] | ---------------------------------------- `insert_field` from trait [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the size for values of type `dyn Fn() -> Result>, Arc>>` cannot be known at compilation time [INFO] [stdout] --> src/interpreter/scopes.rs:35:10 [INFO] [stdout] | [INFO] [stdout] 35 | get: Option MFuncResult>, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ doesn't have a size known at compile-time [INFO] [stdout] | [INFO] [stdout] = help: the trait `Sized` is not implemented for `dyn Fn() -> Result>, Arc>>` [INFO] [stdout] note: required by an implicit `Sized` bound in `Option` [INFO] [stdout] --> /rustc/0d162b25edd5bf0dba9a22e83b614f1113e90474/library/core/src/option.rs:600:0 [INFO] [stdout] = note: the full name for the type has been written to '/opt/rustwide/target/debug/deps/mscript-0e31ddbe2b0d8edc.long-type-13158734660771676996.txt' [INFO] [stdout] = note: consider using `--verbose` to print the full type name to the console [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MshString` [INFO] [stdout] --> src/interpreter/types/error.rs:34:30 [INFO] [stdout] | [INFO] [stdout] 34 | Arc::new(RwLock::new(MshString::from("Error"))) [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `MshString` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 34 - Arc::new(RwLock::new(MshString::from("Error"))) [INFO] [stdout] 34 + Arc::new(RwLock::new(String::from("Error"))) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `MshString` [INFO] [stdout] --> src/interpreter/types/error.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 38 | Ok(MshString::from(format!( [INFO] [stdout] | ^^^^^^^^^ use of undeclared type `MshString` [INFO] [stdout] | [INFO] [stdout] help: a struct with a similar name exists [INFO] [stdout] | [INFO] [stdout] 38 - Ok(MshString::from(format!( [INFO] [stdout] 38 + Ok(String::from(format!( [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `msh_value_wrap` in this scope [INFO] [stdout] --> src/interpreter/types/error.rs:22:9 [INFO] [stdout] | [INFO] [stdout] 22 | msh_value_wrap(o) [INFO] [stdout] | ^^^^^^^^^^^^^^ not found in this scope [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0046, E0277, E0405, E0425, E0432, E0433, E0583, E0603. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0046`. [INFO] [stdout] [INFO] [stderr] error: could not compile `mscript` (lib) due to 23 previous errors; 2 warnings emitted [INFO] running `Command { std: "docker" "inspect" "d300c15699e8a98110ebe4a957c0492b699b0c2c77e29493d0b4e0bacd9df458", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "d300c15699e8a98110ebe4a957c0492b699b0c2c77e29493d0b4e0bacd9df458", kill_on_drop: false }` [INFO] [stdout] d300c15699e8a98110ebe4a957c0492b699b0c2c77e29493d0b4e0bacd9df458