[INFO] cloning repository https://github.com/uzushino/violet [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/uzushino/violet" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fuzushino%2Fviolet", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fuzushino%2Fviolet'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] ae343cc038497dc2f2284d61c06976267d726030 [INFO] testing uzushino/violet against beta-2022-02-22 for beta-1.60-1 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2Fuzushino%2Fviolet" "/workspace/builds/worker-13/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-13/source'... [INFO] [stderr] done. [INFO] validating manifest of git repo https://github.com/uzushino/violet on toolchain beta-2022-02-22 [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking git repo https://github.com/uzushino/violet [INFO] finished tweaking git repo https://github.com/uzushino/violet [INFO] tweaked toml for git repo https://github.com/uzushino/violet written to /workspace/builds/worker-13/source/Cargo.toml [INFO] crate git repo https://github.com/uzushino/violet already has a lockfile, it will not be regenerated [INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+beta-2022-02-22" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded ctor v0.1.18 [INFO] [stderr] Downloaded plist v0.4.2 [INFO] [stderr] Downloaded onig v5.0.0 [INFO] [stderr] Downloaded unicode-general-category v0.3.0 [INFO] [stderr] Downloaded comrak v0.6.2 [INFO] [stderr] Downloaded regress v0.2.0 [INFO] [stderr] Downloaded ryu-js v0.2.1 [INFO] [stderr] Downloaded plist v1.1.0 [INFO] [stderr] Downloaded onig v6.1.1 [INFO] [stderr] Downloaded sqlx-core v0.2.6 [INFO] [stderr] Downloaded pulldown-cmark v0.4.1 [INFO] [stderr] Downloaded serde_test v1.0.123 [INFO] [stderr] Downloaded syntect v3.3.0 [INFO] [stderr] Downloaded reqwest v0.11.0 [INFO] [stderr] Downloaded sqlx-macros v0.2.5 [INFO] [stderr] Downloaded gc_derive v0.3.6 [INFO] [stderr] Downloaded hyper v0.14.2 [INFO] [stderr] Downloaded syntect v4.5.0 [INFO] [stderr] Downloaded onig_sys v69.6.0 [INFO] [stderr] Downloaded tokio v1.1.1 [INFO] [stderr] Downloaded Boa v0.11.0 [INFO] [stderr] Downloaded gc v0.3.6 [INFO] [stderr] Downloaded immeta v0.4.0 [INFO] [stderr] Downloaded boa_unicode v0.11.0 [INFO] [stderr] Downloaded madato v0.5.3 [INFO] [stderr] Downloaded sqlx v0.2.6 [INFO] [stderr] Downloaded mdcat v0.13.0 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] [stdout] b3acb32a1f3189778b64fec4e1769d035547802ea3afae3830535e28d2e21b01 [INFO] running `Command { std: "docker" "start" "-a" "b3acb32a1f3189778b64fec4e1769d035547802ea3afae3830535e28d2e21b01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "b3acb32a1f3189778b64fec4e1769d035547802ea3afae3830535e28d2e21b01", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "b3acb32a1f3189778b64fec4e1769d035547802ea3afae3830535e28d2e21b01", kill_on_drop: false }` [INFO] [stdout] b3acb32a1f3189778b64fec4e1769d035547802ea3afae3830535e28d2e21b01 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-13/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=warn" "-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:0cd99ca24d8e8c98e67c542213511d985b8778b5bdcbb160e038429496686047" "/opt/rustwide/cargo-home/bin/cargo" "+beta-2022-02-22" "build" "--frozen" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 7bfae2c4367c9c394705273670bd8a6e24fe8660f767bd3d7917c89fd6ed134f [INFO] [stderr] WARNING: Your kernel does not support swap limit capabilities or the cgroup is not mounted. Memory limited without swap. [INFO] running `Command { std: "docker" "start" "-a" "7bfae2c4367c9c394705273670bd8a6e24fe8660f767bd3d7917c89fd6ed134f", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Compiling syn v1.0.60 [INFO] [stderr] Compiling libc v0.2.84 [INFO] [stderr] Compiling memchr v2.3.4 [INFO] [stderr] Compiling value-bag v1.0.0-alpha.6 [INFO] [stderr] Compiling log v0.4.14 [INFO] [stderr] Compiling pin-project-lite v0.2.4 [INFO] [stderr] Compiling futures-core v0.3.12 [INFO] [stderr] Compiling serde v1.0.123 [INFO] [stderr] Compiling futures v0.1.30 [INFO] [stderr] Compiling futures-io v0.3.12 [INFO] [stderr] Compiling regex-syntax v0.6.22 [INFO] [stderr] Compiling futures-sink v0.3.12 [INFO] [stderr] Compiling bindgen v0.55.1 [INFO] [stderr] Compiling shlex v0.1.1 [INFO] [stderr] Compiling gimli v0.23.0 [INFO] [stderr] Compiling encoding_rs v0.8.26 [INFO] [stderr] Compiling dtoa v0.4.7 [INFO] [stderr] Compiling object v0.23.0 [INFO] [stderr] Compiling rustc-demangle v0.1.18 [INFO] [stderr] Compiling ucd-trie v0.1.3 [INFO] [stderr] Compiling unicode-segmentation v1.7.1 [INFO] [stderr] Compiling unicode-general-category v0.3.0 [INFO] [stderr] Compiling maplit v1.0.2 [INFO] [stderr] Compiling ryu-js v0.2.1 [INFO] [stderr] Compiling base64 v0.11.0 [INFO] [stderr] Compiling pulldown-cmark v0.4.1 [INFO] [stderr] Compiling unchecked-index v0.2.2 [INFO] [stderr] Compiling numtoa v0.1.0 [INFO] [stderr] Compiling typed-arena v1.7.0 [INFO] [stderr] Compiling unicode_categories v0.1.1 [INFO] [stderr] Compiling entities v1.0.1 [INFO] [stderr] Compiling crossbeam-utils v0.7.2 [INFO] [stderr] Compiling thread_local v1.1.2 [INFO] [stderr] Compiling indexmap v1.6.1 [INFO] [stderr] Compiling nom v5.1.2 [INFO] [stderr] Compiling num-integer v0.1.44 [INFO] [stderr] Compiling futures-task v0.3.12 [INFO] [stderr] Compiling miniz_oxide v0.4.3 [INFO] [stderr] Compiling crossbeam-epoch v0.8.2 [INFO] [stderr] Compiling tokio v1.1.1 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling error-chain v0.12.4 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Compiling num-bigint v0.2.6 [INFO] [stderr] Compiling base64 v0.10.1 [INFO] [stderr] Compiling num-bigint v0.3.1 [INFO] [stderr] Compiling getopts v0.2.21 [INFO] [stderr] Compiling clang-sys v1.0.3 [INFO] [stderr] Compiling http v0.2.3 [INFO] [stderr] Compiling block-padding v0.1.5 [INFO] [stderr] Compiling line-wrap v0.1.1 [INFO] [stderr] Compiling futures-channel v0.3.12 [INFO] [stderr] Compiling pest v2.1.3 [INFO] [stderr] Compiling heck v0.3.2 [INFO] [stderr] Compiling tracing v0.1.22 [INFO] [stderr] Compiling unicode-normalization v0.1.16 [INFO] [stderr] Compiling async-channel v1.5.1 [INFO] [stderr] Compiling tokio-sync v0.1.8 [INFO] [stderr] Compiling smallvec v0.6.14 [INFO] [stderr] Compiling immeta v0.4.0 [INFO] [stderr] Compiling pest_meta v2.1.3 [INFO] [stderr] Compiling aho-corasick v0.7.15 [INFO] [stderr] Compiling futures-lite v1.11.3 [INFO] [stderr] Compiling twoway v0.2.1 [INFO] [stderr] Compiling digest v0.8.1 [INFO] [stderr] Compiling block-buffer v0.7.3 [INFO] [stderr] Compiling idna v0.2.0 [INFO] [stderr] Compiling idna v0.1.5 [INFO] [stderr] Compiling addr2line v0.14.1 [INFO] [stderr] Compiling atty v0.2.14 [INFO] [stderr] Compiling iovec v0.1.4 [INFO] [stderr] Compiling term_size v0.3.2 [INFO] [stderr] Compiling num_cpus v1.13.0 [INFO] [stderr] Compiling openssl-sys v0.9.60 [INFO] [stderr] Compiling time v0.1.43 [INFO] [stderr] Compiling which v3.1.1 [INFO] [stderr] Compiling net2 v0.2.37 [INFO] [stderr] Compiling nb-connect v1.0.2 [INFO] [stderr] Compiling getrandom v0.1.16 [INFO] [stderr] Compiling getrandom v0.2.2 [INFO] [stderr] Compiling rand_os v0.1.3 [INFO] [stderr] Compiling socket2 v0.3.19 [INFO] [stderr] Compiling gethostname v0.2.1 [INFO] [stderr] Compiling termion v1.5.6 [INFO] [stderr] Compiling flate2 v1.0.20 [INFO] [stderr] Compiling parking_lot_core v0.6.2 [INFO] [stderr] Compiling tokio-executor v0.1.10 [INFO] [stderr] Compiling crossbeam-queue v0.2.3 [INFO] [stderr] Compiling sha-1 v0.8.2 [INFO] [stderr] Compiling sha2 v0.8.2 [INFO] [stderr] Compiling http-body v0.4.0 [INFO] [stderr] Compiling regex v1.4.3 [INFO] [stderr] Compiling backtrace v0.3.56 [INFO] [stderr] Compiling blocking v1.0.2 [INFO] [stderr] Compiling async-executor v1.4.0 [INFO] [stderr] Compiling bytes v0.4.12 [INFO] [stderr] Compiling textwrap v0.11.0 [INFO] [stderr] Compiling boa_unicode v0.11.0 [INFO] [stderr] Compiling url v1.7.2 [INFO] [stderr] Compiling url v2.2.0 [INFO] [stderr] Compiling futures-cpupool v0.1.8 [INFO] [stderr] Compiling chrono v0.4.19 [INFO] [stderr] Compiling openssl v0.10.32 [INFO] [stderr] Compiling rand_core v0.5.1 [INFO] [stderr] Compiling cexpr v0.4.0 [INFO] [stderr] Compiling rand_core v0.6.1 [INFO] [stderr] Compiling rand v0.6.5 [INFO] [stderr] Compiling tokio-timer v0.2.13 [INFO] [stderr] Compiling tokio-current-thread v0.1.7 [INFO] [stderr] Compiling parking_lot v0.9.0 [INFO] [stderr] Compiling crossbeam-deque v0.7.3 [INFO] [stderr] Compiling clap v2.33.3 [INFO] [stderr] Compiling http v0.1.21 [INFO] [stderr] Compiling string v0.2.1 [INFO] [stderr] Compiling tokio-buf v0.1.1 [INFO] [stderr] Compiling rand_chacha v0.2.2 [INFO] [stderr] Compiling rand_chacha v0.3.0 [INFO] [stderr] Compiling cookie v0.12.0 [INFO] [stderr] Compiling publicsuffix v1.5.4 [INFO] [stderr] Compiling rand v0.7.3 [INFO] [stderr] Compiling uuid v0.7.4 [INFO] [stderr] Compiling rand v0.8.3 [INFO] [stderr] Compiling synstructure v0.12.4 [INFO] [stderr] Compiling pest_generator v2.1.3 [INFO] [stderr] Compiling http-body v0.1.0 [INFO] [stderr] Compiling ctor v0.1.18 [INFO] [stderr] Compiling serde_derive v1.0.123 [INFO] [stderr] Compiling futures-macro v0.3.12 [INFO] [stderr] Compiling pin-project-internal v0.4.27 [INFO] [stderr] Compiling thiserror-impl v1.0.23 [INFO] [stderr] Compiling failure_derive v0.1.8 [INFO] [stderr] Compiling async-stream-impl v0.2.1 [INFO] [stderr] Compiling pin-project-internal v1.0.4 [INFO] [stderr] Compiling structopt-derive v0.4.14 [INFO] [stderr] Compiling gc_derive v0.3.6 [INFO] [stderr] Compiling pest_derive v2.1.0 [INFO] [stderr] Compiling gc v0.3.6 [INFO] [stderr] Compiling comrak v0.6.2 [INFO] [stderr] Compiling async-stream v0.2.1 [INFO] [stderr] Compiling futures-util v0.3.12 [INFO] [stderr] Compiling failure v0.1.8 [INFO] [stderr] Compiling native-tls v0.2.7 [INFO] [stderr] Compiling env_logger v0.7.1 [INFO] [stderr] Compiling tokio-io v0.1.13 [INFO] [stderr] Compiling mio v0.6.23 [INFO] [stderr] Compiling mio v0.7.7 [INFO] [stderr] Compiling polling v2.0.2 [INFO] [stderr] Compiling kv-log-macro v1.0.7 [INFO] [stderr] Compiling tokio-threadpool v0.1.18 [INFO] [stderr] Compiling want v0.2.0 [INFO] [stderr] Compiling want v0.3.0 [INFO] [stderr] Compiling env_logger v0.8.2 [INFO] [stderr] Compiling async-io v1.3.1 [INFO] [stderr] Compiling thiserror v1.0.23 [INFO] [stderr] Compiling pin-project v1.0.4 [INFO] [stderr] Compiling h2 v0.1.26 [INFO] [stderr] Compiling pin-project v0.4.27 [INFO] [stderr] Compiling structopt v0.3.21 [INFO] [stderr] Compiling tracing-futures v0.2.4 [INFO] [stderr] Compiling regress v0.2.0 [INFO] [stderr] Compiling tokio-reactor v0.1.12 [INFO] [stderr] Compiling async-global-executor v2.0.2 [INFO] [stderr] Compiling tokio-tcp v0.1.4 [INFO] [stderr] Compiling async-std v1.9.0 [INFO] [stderr] Compiling tokio v0.1.22 [INFO] [stderr] Compiling futures-executor v0.3.12 [INFO] [stderr] Compiling futures v0.3.12 [INFO] [stderr] Compiling hyper v0.12.35 [INFO] [stderr] Compiling tokio-util v0.6.3 [INFO] [stderr] Compiling tokio-native-tls v0.3.0 [INFO] [stderr] Compiling h2 v0.3.0 [INFO] [stderr] Compiling hyper-tls v0.3.2 [INFO] [stderr] Compiling async-native-tls v0.3.3 [INFO] [stderr] Compiling onig_sys v69.6.0 [INFO] [stderr] Compiling sqlx-core v0.2.6 [INFO] [stderr] Compiling serde_json v1.0.61 [INFO] [stderr] Compiling serde_test v1.0.123 [INFO] [stderr] Compiling bincode v1.3.1 [INFO] [stderr] Compiling plist v0.4.2 [INFO] [stderr] Compiling serde_urlencoded v0.5.5 [INFO] [stderr] Compiling plist v1.1.0 [INFO] [stderr] Compiling serde_urlencoded v0.7.0 [INFO] [stderr] Compiling linked-hash-map v0.5.4 [INFO] [stderr] Compiling sqlx-macros v0.2.5 [INFO] [stderr] Compiling yaml-rust v0.4.5 [INFO] [stderr] Compiling cookie_store v0.7.0 [INFO] [stderr] Compiling hyper v0.14.2 [INFO] [stderr] Compiling reqwest v0.9.24 [INFO] [stderr] Compiling serde_yaml v0.7.5 [INFO] [stderr] Compiling Boa v0.11.0 [INFO] [stderr] Compiling madato v0.5.3 [INFO] [stderr] Compiling hyper-tls v0.5.0 [INFO] [stderr] Compiling reqwest v0.11.0 [INFO] [stderr] Compiling sqlx v0.2.6 [INFO] [stderr] Compiling onig v5.0.0 [INFO] [stderr] Compiling onig v6.1.1 [INFO] [stderr] Compiling syntect v4.5.0 [INFO] [stderr] Compiling syntect v3.3.0 [INFO] [stderr] Compiling mdcat v0.13.0 [INFO] [stderr] Compiling violet v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] error[E0432]: unresolved imports `boa::builtins::function::NativeFunctionData`, `boa::builtins::value` [INFO] [stdout] --> src/builtin/mysql.rs:9:9 [INFO] [stdout] | [INFO] [stdout] 9 | function::NativeFunctionData, [INFO] [stdout] | ^^^^^^^^^^------------------ [INFO] [stdout] | | | [INFO] [stdout] | | help: a similar name exists in the module: `NativeFunction` [INFO] [stdout] | no `NativeFunctionData` in `builtins::function` [INFO] [stdout] 10 | object::Object, [INFO] [stdout] 11 | value::{from_value, to_value, ResultValue, Value, ValueData}, [INFO] [stdout] | ^^^^^ could not find `value` in `builtins` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0432]: unresolved import `crate::make_builtin_fn` [INFO] [stdout] --> src/builtin/mysql.rs:30:5 [INFO] [stdout] | [INFO] [stdout] 30 | make_builtin_fn [INFO] [stdout] | ^^^^^^^^^^^^^^^ no `make_builtin_fn` in the root [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `make_builtin_fn` [INFO] [stdout] --> src/builtin/mysql.rs:161:5 [INFO] [stdout] | [INFO] [stdout] 161 | make_builtin_fn!(connection, named "connection", of module); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `make_builtin_fn` [INFO] [stdout] --> src/builtin/mysql.rs:162:5 [INFO] [stdout] | [INFO] [stdout] 162 | make_builtin_fn!(query, named "query", with length 2, of module); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: cannot determine resolution for the macro `make_builtin_fn` [INFO] [stdout] --> src/builtin/mysql.rs:163:5 [INFO] [stdout] | [INFO] [stdout] 163 | make_builtin_fn!(exec, named "exec", with length 1, of module); [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: import resolution is stuck, try simplifying macro imports [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ObjectKind` [INFO] [stdout] --> src/builtin/mod.rs:38:43 [INFO] [stdout] | [INFO] [stdout] 38 | if x.deref().borrow().kind != ObjectKind::Array { [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ObjectKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Property` [INFO] [stdout] --> src/builtin/mod.rs:58:18 [INFO] [stdout] | [INFO] [stdout] 58 | let length = Property::new() [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Property` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `ObjectKind` [INFO] [stdout] --> src/builtin/mod.rs:65:19 [INFO] [stdout] | [INFO] [stdout] 65 | this.set_kind(ObjectKind::Array); [INFO] [stdout] | ^^^^^^^^^^ use of undeclared type `ObjectKind` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: use of undeclared type `Property` [INFO] [stdout] --> src/builtin/mod.rs:78:18 [INFO] [stdout] | [INFO] [stdout] 78 | let length = Property::new() [INFO] [stdout] | ^^^^^^^^ use of undeclared type `Property` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0433]: failed to resolve: could not find `value` in `builtins` [INFO] [stdout] --> src/script.rs:14:92 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn eval>(&self, script: A) -> Result> { [INFO] [stdout] | ^^^^^ could not find `value` in `builtins` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_value` in this scope [INFO] [stdout] --> src/builtin/mod.rs:59:16 [INFO] [stdout] | [INFO] [stdout] 59 | .value(to_value(args.len() as i32)) [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use serde_json::to_value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0425]: cannot find function `to_value` in this scope [INFO] [stdout] --> src/builtin/mod.rs:79:16 [INFO] [stdout] | [INFO] [stdout] 79 | .value(to_value(args.len() as i32)) [INFO] [stdout] | ^^^^^^^^ not found in this scope [INFO] [stdout] | [INFO] [stdout] help: consider importing this function [INFO] [stdout] | [INFO] [stdout] 1 | use serde_json::to_value; [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `NativeFunction`, `ObjectData`, `exec::Interpreter` [INFO] [stdout] --> src/builtin/core.rs:4:24 [INFO] [stdout] | [INFO] [stdout] 4 | object::{GcObject, ObjectData}, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 5 | builtins::{ [INFO] [stdout] 6 | function::{ NativeFunction, make_builtin_fn}, [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] 7 | }, [INFO] [stdout] 8 | exec::Interpreter, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ops::Deref` [INFO] [stdout] --> src/builtin/core.rs:14:55 [INFO] [stdout] | [INFO] [stdout] 14 | use std::{borrow::Borrow, convert::TryInto, io::Read, ops::Deref}; [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `default` found for struct `boa::builtins::object::Object` in the current scope [INFO] [stdout] --> src/builtin/mysql.rs:103:62 [INFO] [stdout] | [INFO] [stdout] 103 | let this = ValueData::Object(gc::GcCell::new(Object::default())); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `boa::builtins::object::Object` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `default` found for struct `boa::builtins::object::Object` in the current scope [INFO] [stdout] --> src/builtin/mysql.rs:113:58 [INFO] [stdout] | [INFO] [stdout] 113 | let this = ValueData::Object(gc::GcCell::new(Object::default())); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `boa::builtins::object::Object` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0609]: no field `kind` on type `GcCellRef<'_, boa::object::Object>` [INFO] [stdout] --> src/builtin/mod.rs:38:35 [INFO] [stdout] | [INFO] [stdout] 38 | if x.deref().borrow().kind != ObjectKind::Array { [INFO] [stdout] | ^^^^ unknown field [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_field_slice` found for reference `&boa::Value` in the current scope [INFO] [stdout] --> src/builtin/mod.rs:42:52 [INFO] [stdout] | [INFO] [stdout] 42 | if let Value::Integer(length) = *value.get_field_slice("length").deref().borrow() { [INFO] [stdout] | ^^^^^^^^^^^^^^^ method not found in `&boa::Value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `get_field_slice` found for reference `&boa::Value` in the current scope [INFO] [stdout] --> src/builtin/mod.rs:44:38 [INFO] [stdout] | [INFO] [stdout] 44 | .map(|idx| value.get_field_slice(&idx.to_string())) [INFO] [stdout] | ^^^^^^^^^^^^^^^ method not found in `&boa::Value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_prop` found for reference `&boa::Value` in the current scope [INFO] [stdout] --> src/builtin/mod.rs:64:10 [INFO] [stdout] | [INFO] [stdout] 64 | this.set_prop("length".to_string(), length); [INFO] [stdout] | ^^^^^^^^ method not found in `&boa::Value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_kind` found for reference `&boa::Value` in the current scope [INFO] [stdout] --> src/builtin/mod.rs:65:10 [INFO] [stdout] | [INFO] [stdout] 65 | this.set_kind(ObjectKind::Array); [INFO] [stdout] | ^^^^^^^^ method not found in `&boa::Value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_field_slice` found for reference `&boa::Value` in the current scope [INFO] [stdout] --> src/builtin/mod.rs:68:14 [INFO] [stdout] | [INFO] [stdout] 68 | this.set_field_slice(&n.to_string(), value.clone()); [INFO] [stdout] | ^^^^^^^^^^^^^^^ method not found in `&boa::Value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no function or associated item named `default` found for struct `boa::builtins::object::Object` in the current scope [INFO] [stdout] --> src/builtin/mod.rs:75:23 [INFO] [stdout] | [INFO] [stdout] 75 | let obj = Object::default(); [INFO] [stdout] | ^^^^^^^ function or associated item not found in `boa::builtins::object::Object` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/builtin/mod.rs:76:32 [INFO] [stdout] | [INFO] [stdout] 76 | let object = Value::Object(gc::GcCell::new(obj)); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ expected struct `GcObject`, found struct `GcCell` [INFO] [stdout] | [INFO] [stdout] = note: expected struct `GcObject` [INFO] [stdout] found struct `GcCell<_>` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_prop` found for reference `&boa::Value` in the current scope [INFO] [stdout] --> src/builtin/mod.rs:84:10 [INFO] [stdout] | [INFO] [stdout] 84 | this.set_prop("length".to_string(), length); [INFO] [stdout] | ^^^^^^^^ method not found in `&boa::Value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0599]: no method named `set_field_slice` found for enum `boa::Value` in the current scope [INFO] [stdout] --> src/builtin/mod.rs:87:16 [INFO] [stdout] | [INFO] [stdout] 87 | object.set_field_slice(k, gc::Gc::new(v.clone())); [INFO] [stdout] | ^^^^^^^^^^^^^^^ method not found in `boa::Value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0308]: mismatched types [INFO] [stdout] --> src/builtin/mod.rs:90:5 [INFO] [stdout] | [INFO] [stdout] 74 | pub fn hashmap_to_value(this: &Value, args: HashMap) -> Value { [INFO] [stdout] | ----- expected `boa::Value` because of return type [INFO] [stdout] ... [INFO] [stdout] 90 | gc::Gc::new(object) [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ expected enum `boa::Value`, found struct `Gc` [INFO] [stdout] | [INFO] [stdout] = note: expected enum `boa::Value` [INFO] [stdout] found struct `Gc` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `Violet: boa::class::Class` is not satisfied [INFO] [stdout] --> src/script.rs:17:17 [INFO] [stdout] | [INFO] [stdout] 17 | context.register_global_class::(); [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ the trait `boa::class::Class` is not implemented for `Violet` [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `boa::Context::register_global_class` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/Boa-0.11.0/src/context.rs:656:12 [INFO] [stdout] | [INFO] [stdout] 656 | T: Class, [INFO] [stdout] | ^^^^^ required by this bound in `boa::Context::register_global_class` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error[E0277]: the trait bound `A: AsRef<[u8]>` is not satisfied [INFO] [stdout] --> src/script.rs:19:22 [INFO] [stdout] | [INFO] [stdout] 19 | context.eval(script) [INFO] [stdout] | ---- ^^^^^^ the trait `AsRef<[u8]>` is not implemented for `A` [INFO] [stdout] | | [INFO] [stdout] | required by a bound introduced by this call [INFO] [stdout] | [INFO] [stdout] note: required by a bound in `boa::Context::eval` [INFO] [stdout] --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/Boa-0.11.0/src/context.rs:708:20 [INFO] [stdout] | [INFO] [stdout] 708 | pub fn eval>(&mut self, src: T) -> Result { [INFO] [stdout] | ^^^^^^^^^^^ required by this bound in `boa::Context::eval` [INFO] [stdout] help: consider further restricting this bound [INFO] [stdout] | [INFO] [stdout] 14 | pub fn eval + std::convert::AsRef<[u8]>>(&self, script: A) -> Result> { [INFO] [stdout] | +++++++++++++++++++++++++++ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::borrow::Borrow` [INFO] [stdout] --> src/builtin/mysql.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | use std::borrow::Borrow; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: aborting due to 27 previous errors; 3 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] Some errors have detailed explanations: E0277, E0308, E0425, E0432, E0433, E0599, E0609. [INFO] [stdout] [INFO] [stdout] For more information about an error, try `rustc --explain E0277`. [INFO] [stdout] [INFO] [stderr] error: could not compile `violet` due to 28 previous errors; 3 warnings emitted [INFO] running `Command { std: "docker" "inspect" "7bfae2c4367c9c394705273670bd8a6e24fe8660f767bd3d7917c89fd6ed134f", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "7bfae2c4367c9c394705273670bd8a6e24fe8660f767bd3d7917c89fd6ed134f", kill_on_drop: false }` [INFO] [stdout] 7bfae2c4367c9c394705273670bd8a6e24fe8660f767bd3d7917c89fd6ed134f