[INFO] fetching crate quickjs-rs 0.5.2... [INFO] building quickjs-rs-0.5.2 against try#23647e694de8d0904848ad068b2e0ec2dd098c37+target=wasm32-wasip1 for pr-149868 [INFO] extracting crate quickjs-rs 0.5.2 into /workspace/builds/worker-2-tc2/source [INFO] started tweaking crates.io crate quickjs-rs 0.5.2 [INFO] finished tweaking crates.io crate quickjs-rs 0.5.2 [INFO] tweaked toml for crates.io crate quickjs-rs 0.5.2 written to /workspace/builds/worker-2-tc2/source/Cargo.toml [INFO] validating manifest of crates.io crate quickjs-rs 0.5.2 on toolchain 23647e694de8d0904848ad068b2e0ec2dd098c37 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate quickjs-rs 0.5.2 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" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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:845e597a41426bbf2703be69acdb67d10b6de511142d05cba7bbe119c898b2c7" "/opt/rustwide/cargo-home/bin/cargo" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] ddac8086f5ef38d5e7268e2dd5e66038e6fbf47151f11e8bddd114432fc8db2d [INFO] running `Command { std: "docker" "start" "-a" "ddac8086f5ef38d5e7268e2dd5e66038e6fbf47151f11e8bddd114432fc8db2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ddac8086f5ef38d5e7268e2dd5e66038e6fbf47151f11e8bddd114432fc8db2d", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ddac8086f5ef38d5e7268e2dd5e66038e6fbf47151f11e8bddd114432fc8db2d", kill_on_drop: false }` [INFO] [stdout] ddac8086f5ef38d5e7268e2dd5e66038e6fbf47151f11e8bddd114432fc8db2d [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=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" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "build" "--frozen" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 8ffa7930077005270db98fc0a674e2d8cdabdef6765388bc0fe9b4ef45032092 [INFO] running `Command { std: "docker" "start" "-a" "8ffa7930077005270db98fc0a674e2d8cdabdef6765388bc0fe9b4ef45032092", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.147 [INFO] [stderr] Compiling same-file v1.0.6 [INFO] [stderr] Compiling num-traits v0.2.16 [INFO] [stderr] Compiling walkdir v2.3.3 [INFO] [stderr] Compiling copy_dir v0.1.3 [INFO] [stderr] Compiling time v0.1.45 [INFO] [stderr] Compiling cc v1.0.83 [INFO] [stderr] Compiling chrono v0.4.26 [INFO] [stderr] Compiling libquickjs-sys-latest v0.10.1 [INFO] [stderr] Compiling quickjs-rs v0.5.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `JsCompiledFunction` [INFO] [stdout] --> src/bindings/mod.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | pub use value::{JsCompiledFunction, OwnedJsValue}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/bindings/mod.rs:137:15 [INFO] [stdout] | [INFO] [stdout] 124 | impl<'a> OwnedValueRef<'a> { [INFO] [stdout] | -------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 137 | unsafe fn into_inner(self) -> q::JSValue { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | pub(crate) fn as_inner(&self) -> &q::JSValue { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | pub fn is_null(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 159 | pub fn is_bool(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | pub fn is_exception(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 167 | pub fn is_object(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | pub fn is_string(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | pub fn is_compiled_function(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 179 | pub fn to_string(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 197 | pub fn to_value(&self) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 201 | pub fn to_bool(&self) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OwnedObjectRef` is never constructed [INFO] [stdout] --> src/bindings/mod.rs:224:12 [INFO] [stdout] | [INFO] [stdout] 224 | pub struct OwnedObjectRef<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/bindings/mod.rs:229:12 [INFO] [stdout] | [INFO] [stdout] 228 | impl<'a> OwnedObjectRef<'a> { [INFO] [stdout] | --------------------------- associated items in this implementation [INFO] [stdout] 229 | pub fn new(value: OwnedValueRef<'a>) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 237 | fn into_value(self) -> OwnedValueRef<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 242 | fn property_tag(&self, name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 256 | fn is_promise(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 264 | pub fn property(&self, name: &str) -> Result, ExecutionError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 288 | unsafe fn set_property_raw(&self, name: &str, value: q::JSValue) -> Result<(), ExecutionError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 303 | pub fn set_property(&self, name: &str, value: JsValue) -> Result<(), ExecutionError> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ensure_no_excpetion` is never used [INFO] [stdout] --> src/bindings/mod.rs:504:19 [INFO] [stdout] | [INFO] [stdout] 354 | impl ContextWrapper { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 504 | pub(crate) fn ensure_no_excpetion(&self) -> Result<(), ExecutionError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compile` is never used [INFO] [stdout] --> src/bindings/compile.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn compile<'a>( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_compiled_function` is never used [INFO] [stdout] --> src/bindings/compile.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn run_compiled_function<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_bytecode` is never used [INFO] [stdout] --> src/bindings/compile.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn to_bytecode(context: &ContextWrapper, compiled_func: &JsCompiledFunction) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `from_bytecode` is never used [INFO] [stdout] --> src/bindings/compile.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn from_bytecode<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/bindings/value.rs:61:19 [INFO] [stdout] | [INFO] [stdout] 33 | impl JsTag { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 61 | pub(super) fn to_c(self) -> i32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn is_object(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn is_int(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn is_bool(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | pub fn is_module(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | pub fn is_string(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | pub fn is_symbol(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | pub fn is_float64(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 154 | pub fn is_big_float(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | pub fn is_big_decimal(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OwnedJsAtom` is never constructed [INFO] [stdout] --> src/bindings/value.rs:165:12 [INFO] [stdout] | [INFO] [stdout] 165 | pub struct OwnedJsAtom<'a> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/bindings/value.rs:172:12 [INFO] [stdout] | [INFO] [stdout] 170 | impl<'a> OwnedJsAtom<'a> { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] 171 | #[inline] [INFO] [stdout] 172 | pub fn new(context: &'a ContextWrapper, value: q::JSAtom) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/bindings/value.rs:213:19 [INFO] [stdout] | [INFO] [stdout] 211 | impl<'a> OwnedJsValue<'a> { [INFO] [stdout] | ------------------------- methods in this implementation [INFO] [stdout] 212 | #[inline] [INFO] [stdout] 213 | pub(crate) fn context(&self) -> &ContextWrapper { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 230 | pub(super) unsafe fn as_inner(&self) -> &q::JSValue { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 237 | pub(super) unsafe fn extract(self) -> q::JSValue { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 251 | pub fn is_undefined(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 275 | pub fn is_array(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 287 | pub fn is_module(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 299 | pub fn is_compiled_function(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 323 | pub(crate) fn try_into_compiled_function(self) -> Result, ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 327 | pub(crate) fn try_into_module(self) -> Result, ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OwnedJsArray` is never constructed [INFO] [stdout] --> src/bindings/value.rs:388:12 [INFO] [stdout] | [INFO] [stdout] 388 | pub struct OwnedJsArray<'a> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/bindings/value.rs:393:12 [INFO] [stdout] | [INFO] [stdout] 392 | impl<'a> OwnedJsArray<'a> { [INFO] [stdout] | ------------------------- associated function in this implementation [INFO] [stdout] 393 | pub fn new(value: OwnedJsValue<'a>) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JsCompiledFunction` is never constructed [INFO] [stdout] --> src/bindings/value.rs:536:12 [INFO] [stdout] | [INFO] [stdout] 536 | pub struct JsCompiledFunction<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `try_from_value`, `as_value`, `into_value`, `eval`, and `to_bytecode` are never used [INFO] [stdout] --> src/bindings/value.rs:541:19 [INFO] [stdout] | [INFO] [stdout] 540 | impl<'a> JsCompiledFunction<'a> { [INFO] [stdout] | ------------------------------- associated items in this implementation [INFO] [stdout] 541 | pub(crate) fn try_from_value(value: OwnedJsValue<'a>) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 552 | pub(crate) fn as_value(&self) -> &OwnedJsValue<'_> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 556 | pub(crate) fn into_value(self) -> OwnedJsValue<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 562 | pub fn eval(&'a self) -> Result, ExecutionError> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 570 | pub fn to_bytecode(&self) -> Result, ExecutionError> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JsModule` is never constructed [INFO] [stdout] --> src/bindings/value.rs:576:12 [INFO] [stdout] | [INFO] [stdout] 576 | pub struct JsModule<'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `try_from_value` and `into_value` are never used [INFO] [stdout] --> src/bindings/value.rs:581:12 [INFO] [stdout] | [INFO] [stdout] 580 | impl<'a> JsModule<'a> { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 581 | pub fn try_from_value(value: OwnedJsValue<'a>) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 592 | pub fn into_value(self) -> OwnedJsValue<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `JsCompiledValue` is never used [INFO] [stdout] --> src/bindings/value.rs:599:10 [INFO] [stdout] | [INFO] [stdout] 599 | pub enum JsCompiledValue<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 47.29s [INFO] running `Command { std: "docker" "inspect" "8ffa7930077005270db98fc0a674e2d8cdabdef6765388bc0fe9b4ef45032092", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "8ffa7930077005270db98fc0a674e2d8cdabdef6765388bc0fe9b4ef45032092", kill_on_drop: false }` [INFO] [stdout] 8ffa7930077005270db98fc0a674e2d8cdabdef6765388bc0fe9b4ef45032092 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc2/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-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=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" "+23647e694de8d0904848ad068b2e0ec2dd098c37" "test" "--frozen" "--no-run" "--message-format=json" "--target" "wasm32-wasip1", kill_on_drop: false }` [INFO] [stdout] 39e7dd99c9270ffc9c41a7eeabb13887b36f0b25232fe77472a707d36cb07839 [INFO] running `Command { std: "docker" "start" "-a" "39e7dd99c9270ffc9c41a7eeabb13887b36f0b25232fe77472a707d36cb07839", kill_on_drop: false }` [INFO] [stdout] warning: unused import: `JsCompiledFunction` [INFO] [stdout] --> src/bindings/mod.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | pub use value::{JsCompiledFunction, OwnedJsValue}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/bindings/mod.rs:137:15 [INFO] [stdout] | [INFO] [stdout] 124 | impl<'a> OwnedValueRef<'a> { [INFO] [stdout] | -------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 137 | unsafe fn into_inner(self) -> q::JSValue { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | pub(crate) fn as_inner(&self) -> &q::JSValue { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | pub fn is_null(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 159 | pub fn is_bool(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | pub fn is_exception(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 167 | pub fn is_object(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | pub fn is_string(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | pub fn is_compiled_function(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 179 | pub fn to_string(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 197 | pub fn to_value(&self) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 201 | pub fn to_bool(&self) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OwnedObjectRef` is never constructed [INFO] [stdout] --> src/bindings/mod.rs:224:12 [INFO] [stdout] | [INFO] [stdout] 224 | pub struct OwnedObjectRef<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/bindings/mod.rs:229:12 [INFO] [stdout] | [INFO] [stdout] 228 | impl<'a> OwnedObjectRef<'a> { [INFO] [stdout] | --------------------------- associated items in this implementation [INFO] [stdout] 229 | pub fn new(value: OwnedValueRef<'a>) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 237 | fn into_value(self) -> OwnedValueRef<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 242 | fn property_tag(&self, name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 256 | fn is_promise(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 264 | pub fn property(&self, name: &str) -> Result, ExecutionError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 288 | unsafe fn set_property_raw(&self, name: &str, value: q::JSValue) -> Result<(), ExecutionError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 303 | pub fn set_property(&self, name: &str, value: JsValue) -> Result<(), ExecutionError> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `ensure_no_excpetion` is never used [INFO] [stdout] --> src/bindings/mod.rs:504:19 [INFO] [stdout] | [INFO] [stdout] 354 | impl ContextWrapper { [INFO] [stdout] | ------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 504 | pub(crate) fn ensure_no_excpetion(&self) -> Result<(), ExecutionError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `compile` is never used [INFO] [stdout] --> src/bindings/compile.rs:11:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub fn compile<'a>( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_compiled_function` is never used [INFO] [stdout] --> src/bindings/compile.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 36 | pub fn run_compiled_function<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `to_bytecode` is never used [INFO] [stdout] --> src/bindings/compile.rs:60:8 [INFO] [stdout] | [INFO] [stdout] 60 | pub fn to_bytecode(context: &ContextWrapper, compiled_func: &JsCompiledFunction) -> Vec { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `from_bytecode` is never used [INFO] [stdout] --> src/bindings/compile.rs:77:8 [INFO] [stdout] | [INFO] [stdout] 77 | pub fn from_bytecode<'a>( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/bindings/value.rs:61:19 [INFO] [stdout] | [INFO] [stdout] 33 | impl JsTag { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 61 | pub(super) fn to_c(self) -> i32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn is_object(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn is_int(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn is_bool(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | pub fn is_module(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | pub fn is_string(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | pub fn is_symbol(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | pub fn is_float64(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 154 | pub fn is_big_float(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | pub fn is_big_decimal(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OwnedJsAtom` is never constructed [INFO] [stdout] --> src/bindings/value.rs:165:12 [INFO] [stdout] | [INFO] [stdout] 165 | pub struct OwnedJsAtom<'a> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/bindings/value.rs:172:12 [INFO] [stdout] | [INFO] [stdout] 170 | impl<'a> OwnedJsAtom<'a> { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] 171 | #[inline] [INFO] [stdout] 172 | pub fn new(context: &'a ContextWrapper, value: q::JSAtom) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/bindings/value.rs:213:19 [INFO] [stdout] | [INFO] [stdout] 211 | impl<'a> OwnedJsValue<'a> { [INFO] [stdout] | ------------------------- methods in this implementation [INFO] [stdout] 212 | #[inline] [INFO] [stdout] 213 | pub(crate) fn context(&self) -> &ContextWrapper { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 230 | pub(super) unsafe fn as_inner(&self) -> &q::JSValue { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 237 | pub(super) unsafe fn extract(self) -> q::JSValue { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 251 | pub fn is_undefined(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 275 | pub fn is_array(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 287 | pub fn is_module(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 299 | pub fn is_compiled_function(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 323 | pub(crate) fn try_into_compiled_function(self) -> Result, ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 327 | pub(crate) fn try_into_module(self) -> Result, ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OwnedJsArray` is never constructed [INFO] [stdout] --> src/bindings/value.rs:388:12 [INFO] [stdout] | [INFO] [stdout] 388 | pub struct OwnedJsArray<'a> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/bindings/value.rs:393:12 [INFO] [stdout] | [INFO] [stdout] 392 | impl<'a> OwnedJsArray<'a> { [INFO] [stdout] | ------------------------- associated function in this implementation [INFO] [stdout] 393 | pub fn new(value: OwnedJsValue<'a>) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JsCompiledFunction` is never constructed [INFO] [stdout] --> src/bindings/value.rs:536:12 [INFO] [stdout] | [INFO] [stdout] 536 | pub struct JsCompiledFunction<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `try_from_value`, `as_value`, `into_value`, `eval`, and `to_bytecode` are never used [INFO] [stdout] --> src/bindings/value.rs:541:19 [INFO] [stdout] | [INFO] [stdout] 540 | impl<'a> JsCompiledFunction<'a> { [INFO] [stdout] | ------------------------------- associated items in this implementation [INFO] [stdout] 541 | pub(crate) fn try_from_value(value: OwnedJsValue<'a>) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 552 | pub(crate) fn as_value(&self) -> &OwnedJsValue<'_> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 556 | pub(crate) fn into_value(self) -> OwnedJsValue<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 562 | pub fn eval(&'a self) -> Result, ExecutionError> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 570 | pub fn to_bytecode(&self) -> Result, ExecutionError> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JsModule` is never constructed [INFO] [stdout] --> src/bindings/value.rs:576:12 [INFO] [stdout] | [INFO] [stdout] 576 | pub struct JsModule<'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `try_from_value` and `into_value` are never used [INFO] [stdout] --> src/bindings/value.rs:581:12 [INFO] [stdout] | [INFO] [stdout] 580 | impl<'a> JsModule<'a> { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 581 | pub fn try_from_value(value: OwnedJsValue<'a>) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 592 | pub fn into_value(self) -> OwnedJsValue<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `JsCompiledValue` is never used [INFO] [stdout] --> src/bindings/value.rs:599:10 [INFO] [stdout] | [INFO] [stdout] 599 | pub enum JsCompiledValue<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Compiling quickjs-rs v0.5.2 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused import: `JsCompiledFunction` [INFO] [stdout] --> src/bindings/mod.rs:22:17 [INFO] [stdout] | [INFO] [stdout] 22 | pub use value::{JsCompiledFunction, OwnedJsValue}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `rust-lld` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "rust-lld" "-flavor" "wasm" "--export" "__main_void" "-z" "stack-size=1048576" "--stack-first" "--no-demangle" "/lib/rustlib/wasm32-wasip1/lib/self-contained/crt1-command.o" "<2 object files omitted>" "/lib/rustlib/wasm32-wasip1/lib/libpanic_abort-*.rlib" "/opt/rustwide/target/wasm32-wasip1/debug/deps/{libquickjs_rs-9f08f5d5d94d53fc,libchrono-206bba28f35c9747,libnum_traits-8afda421bac1d0b6,libtime-a2aa11c1e0c9e4ff,libwasi-e8918ae1b8252f97,liblibquickjs_sys_latest-a061f611ca98f715}.rlib" "/lib/rustlib/wasm32-wasip1/lib/{libstd-*,libwasi-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*}.rlib" "-l" "c" "/lib/rustlib/wasm32-wasip1/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/opt/rustwide/target/wasm32-wasip1/debug/build/libquickjs-sys-latest-decccc727778ed05/out" "-L" "/lib/rustlib/wasm32-wasip1/lib/self-contained" "-o" "/opt/rustwide/target/wasm32-wasip1/debug/examples/eval-48934590b949e6aa.wasm" "--gc-sections" "-O0" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/liblibquickjs_sys_latest-a061f611ca98f715.rlib: archive member 'fbabbb49c2d0acc6-cutils.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/liblibquickjs_sys_latest-a061f611ca98f715.rlib: archive member 'fbabbb49c2d0acc6-libbf.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/liblibquickjs_sys_latest-a061f611ca98f715.rlib: archive member 'fbabbb49c2d0acc6-libregexp.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/liblibquickjs_sys_latest-a061f611ca98f715.rlib: archive member 'fbabbb49c2d0acc6-libunicode.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/liblibquickjs_sys_latest-a061f611ca98f715.rlib: archive member 'fbabbb49c2d0acc6-quickjs.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/liblibquickjs_sys_latest-a061f611ca98f715.rlib: archive member 'fbabbb49c2d0acc6-static-functions.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/examples/eval-48934590b949e6aa.eval.8904db241d4f2870-cgu.0.rcgu.o: undefined symbol: JS_NewCFunctionData [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/examples/eval-48934590b949e6aa.eval.8904db241d4f2870-cgu.0.rcgu.o: undefined symbol: JS_Throw [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libquickjs_rs-9f08f5d5d94d53fc.rlib(quickjs_rs-9f08f5d5d94d53fc.quickjs_rs.d0f388bad4f0b8a2-cgu.1.rcgu.o): undefined symbol: JS_GetGlobalObject [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libquickjs_rs-9f08f5d5d94d53fc.rlib(quickjs_rs-9f08f5d5d94d53fc.quickjs_rs.d0f388bad4f0b8a2-cgu.1.rcgu.o): undefined symbol: JS_NewStringLen [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libquickjs_rs-9f08f5d5d94d53fc.rlib(quickjs_rs-9f08f5d5d94d53fc.quickjs_rs.d0f388bad4f0b8a2-cgu.1.rcgu.o): undefined symbol: JS_NewArray [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libquickjs_rs-9f08f5d5d94d53fc.rlib(quickjs_rs-9f08f5d5d94d53fc.quickjs_rs.d0f388bad4f0b8a2-cgu.1.rcgu.o): undefined symbol: JS_NewObject [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libquickjs_rs-9f08f5d5d94d53fc.rlib(quickjs_rs-9f08f5d5d94d53fc.quickjs_rs.d0f388bad4f0b8a2-cgu.1.rcgu.o): undefined symbol: JS_DefinePropertyValueUint32 [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libquickjs_rs-9f08f5d5d94d53fc.rlib(quickjs_rs-9f08f5d5d94d53fc.quickjs_rs.d0f388bad4f0b8a2-cgu.1.rcgu.o): undefined symbol: JS_DefinePropertyValueStr [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libquickjs_rs-9f08f5d5d94d53fc.rlib(quickjs_rs-9f08f5d5d94d53fc.quickjs_rs.d0f388bad4f0b8a2-cgu.1.rcgu.o): undefined symbol: JS_CallConstructor [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libquickjs_rs-9f08f5d5d94d53fc.rlib(quickjs_rs-9f08f5d5d94d53fc.quickjs_rs.d0f388bad4f0b8a2-cgu.1.rcgu.o): undefined symbol: JS_ToCStringLen2 [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libquickjs_rs-9f08f5d5d94d53fc.rlib(quickjs_rs-9f08f5d5d94d53fc.quickjs_rs.d0f388bad4f0b8a2-cgu.1.rcgu.o): undefined symbol: JS_IsArray [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libquickjs_rs-9f08f5d5d94d53fc.rlib(quickjs_rs-9f08f5d5d94d53fc.quickjs_rs.d0f388bad4f0b8a2-cgu.1.rcgu.o): undefined symbol: JS_FreeCString [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libquickjs_rs-9f08f5d5d94d53fc.rlib(quickjs_rs-9f08f5d5d94d53fc.quickjs_rs.d0f388bad4f0b8a2-cgu.1.rcgu.o): undefined symbol: JS_IsInstanceOf [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libquickjs_rs-9f08f5d5d94d53fc.rlib(quickjs_rs-9f08f5d5d94d53fc.quickjs_rs.d0f388bad4f0b8a2-cgu.1.rcgu.o): undefined symbol: JS_GetPropertyStr [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libquickjs_rs-9f08f5d5d94d53fc.rlib(quickjs_rs-9f08f5d5d94d53fc.quickjs_rs.d0f388bad4f0b8a2-cgu.1.rcgu.o): undefined symbol: JS_Call [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libquickjs_rs-9f08f5d5d94d53fc.rlib(quickjs_rs-9f08f5d5d94d53fc.quickjs_rs.d0f388bad4f0b8a2-cgu.1.rcgu.o): undefined symbol: js_free [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libquickjs_rs-9f08f5d5d94d53fc.rlib(quickjs_rs-9f08f5d5d94d53fc.quickjs_rs.d0f388bad4f0b8a2-cgu.1.rcgu.o): undefined symbol: JS_FreeAtom [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libquickjs_rs-9f08f5d5d94d53fc.rlib(quickjs_rs-9f08f5d5d94d53fc.quickjs_rs.d0f388bad4f0b8a2-cgu.1.rcgu.o): undefined symbol: JS_Eval [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libquickjs_rs-9f08f5d5d94d53fc.rlib(quickjs_rs-9f08f5d5d94d53fc.quickjs_rs.d0f388bad4f0b8a2-cgu.1.rcgu.o): undefined symbol: JS_ExecutePendingJob [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/libquickjs_rs-9f08f5d5d94d53fc.rlib(quickjs_rs-9f08f5d5d94d53fc.quickjs_rs.d0f388bad4f0b8a2-cgu.1.rcgu.o): undefined symbol: JS_GetException [INFO] [stdout] rust-lld: error: too many errors emitted, stopping now (use -error-limit=0 to see all errors) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `quickjs-rs` (example "eval") due to 1 previous error [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/bindings/mod.rs:137:15 [INFO] [stdout] | [INFO] [stdout] 124 | impl<'a> OwnedValueRef<'a> { [INFO] [stdout] | -------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 137 | unsafe fn into_inner(self) -> q::JSValue { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 144 | pub(crate) fn as_inner(&self) -> &q::JSValue { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 155 | pub fn is_null(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 159 | pub fn is_bool(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 163 | pub fn is_exception(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 167 | pub fn is_object(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | pub fn is_string(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 175 | pub fn is_compiled_function(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 179 | pub fn to_string(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 197 | pub fn to_value(&self) -> Result { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 201 | pub fn to_bool(&self) -> Result { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 209 | pub fn get_ref_count(&self) -> i32 { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OwnedObjectRef` is never constructed [INFO] [stdout] --> src/bindings/mod.rs:224:12 [INFO] [stdout] | [INFO] [stdout] 224 | pub struct OwnedObjectRef<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/bindings/mod.rs:229:12 [INFO] [stdout] | [INFO] [stdout] 228 | impl<'a> OwnedObjectRef<'a> { [INFO] [stdout] | --------------------------- associated items in this implementation [INFO] [stdout] 229 | pub fn new(value: OwnedValueRef<'a>) -> Result { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 237 | fn into_value(self) -> OwnedValueRef<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 242 | fn property_tag(&self, name: &str) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 256 | fn is_promise(&self) -> Result { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 264 | pub fn property(&self, name: &str) -> Result, ExecutionError> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 288 | unsafe fn set_property_raw(&self, name: &str, value: q::JSValue) -> Result<(), ExecutionError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 303 | pub fn set_property(&self, name: &str, value: JsValue) -> Result<(), ExecutionError> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple methods are never used [INFO] [stdout] --> src/bindings/value.rs:61:19 [INFO] [stdout] | [INFO] [stdout] 33 | impl JsTag { [INFO] [stdout] | ---------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 61 | pub(super) fn to_c(self) -> i32 { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub fn is_object(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 105 | pub fn is_int(&self) -> bool { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 111 | pub fn is_bool(&self) -> bool { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 123 | pub fn is_module(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | pub fn is_string(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 135 | pub fn is_symbol(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 148 | pub fn is_float64(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 154 | pub fn is_big_float(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 160 | pub fn is_big_decimal(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OwnedJsAtom` is never constructed [INFO] [stdout] --> src/bindings/value.rs:165:12 [INFO] [stdout] | [INFO] [stdout] 165 | pub struct OwnedJsAtom<'a> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/bindings/value.rs:172:12 [INFO] [stdout] | [INFO] [stdout] 170 | impl<'a> OwnedJsAtom<'a> { [INFO] [stdout] | ------------------------ associated function in this implementation [INFO] [stdout] 171 | #[inline] [INFO] [stdout] 172 | pub fn new(context: &'a ContextWrapper, value: q::JSAtom) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `is_undefined`, `is_array`, `is_module`, and `try_into_module` are never used [INFO] [stdout] --> src/bindings/value.rs:251:12 [INFO] [stdout] | [INFO] [stdout] 211 | impl<'a> OwnedJsValue<'a> { [INFO] [stdout] | ------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 251 | pub fn is_undefined(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 275 | pub fn is_array(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 287 | pub fn is_module(&self) -> bool { [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 327 | pub(crate) fn try_into_module(self) -> Result, ValueError> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `OwnedJsArray` is never constructed [INFO] [stdout] --> src/bindings/value.rs:388:12 [INFO] [stdout] | [INFO] [stdout] 388 | pub struct OwnedJsArray<'a> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/bindings/value.rs:393:12 [INFO] [stdout] | [INFO] [stdout] 392 | impl<'a> OwnedJsArray<'a> { [INFO] [stdout] | ------------------------- associated function in this implementation [INFO] [stdout] 393 | pub fn new(value: OwnedJsValue<'a>) -> Option { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `eval` and `to_bytecode` are never used [INFO] [stdout] --> src/bindings/value.rs:562:12 [INFO] [stdout] | [INFO] [stdout] 540 | impl<'a> JsCompiledFunction<'a> { [INFO] [stdout] | ------------------------------- methods in this implementation [INFO] [stdout] ... [INFO] [stdout] 562 | pub fn eval(&'a self) -> Result, ExecutionError> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 570 | pub fn to_bytecode(&self) -> Result, ExecutionError> { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `JsModule` is never constructed [INFO] [stdout] --> src/bindings/value.rs:576:12 [INFO] [stdout] | [INFO] [stdout] 576 | pub struct JsModule<'a> { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `try_from_value` and `into_value` are never used [INFO] [stdout] --> src/bindings/value.rs:581:12 [INFO] [stdout] | [INFO] [stdout] 580 | impl<'a> JsModule<'a> { [INFO] [stdout] | --------------------- associated items in this implementation [INFO] [stdout] 581 | pub fn try_from_value(value: OwnedJsValue<'a>) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 592 | pub fn into_value(self) -> OwnedJsValue<'a> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `JsCompiledValue` is never used [INFO] [stdout] --> src/bindings/value.rs:599:10 [INFO] [stdout] | [INFO] [stdout] 599 | pub enum JsCompiledValue<'a> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: linking with `rust-lld` failed: exit status: 1 [INFO] [stdout] | [INFO] [stdout] = note: "rust-lld" "-flavor" "wasm" "--export" "__main_void" "-z" "stack-size=1048576" "--stack-first" "--no-demangle" "/lib/rustlib/wasm32-wasip1/lib/self-contained/crt1-command.o" "<12 object files omitted>" "/lib/rustlib/wasm32-wasip1/lib/{libpanic_abort-*,libtest-*,libgetopts-*,librustc_std_workspace_std-*}.rlib" "/opt/rustwide/target/wasm32-wasip1/debug/deps/{libchrono-206bba28f35c9747,libnum_traits-8afda421bac1d0b6,libtime-a2aa11c1e0c9e4ff,libwasi-e8918ae1b8252f97,liblibquickjs_sys_latest-a061f611ca98f715}.rlib" "/lib/rustlib/wasm32-wasip1/lib/{libstd-*,libwasi-*,libcfg_if-*,librustc_demangle-*,libstd_detect-*,libhashbrown-*,librustc_std_workspace_alloc-*,libminiz_oxide-*,libadler2-*,libunwind-*,liblibc-*}.rlib" "-l" "c" "/lib/rustlib/wasm32-wasip1/lib/{librustc_std_workspace_core-*,liballoc-*,libcore-*,libcompiler_builtins-*}.rlib" "-L" "/opt/rustwide/target/wasm32-wasip1/debug/build/libquickjs-sys-latest-decccc727778ed05/out" "-L" "/lib/rustlib/wasm32-wasip1/lib/self-contained" "-o" "/opt/rustwide/target/wasm32-wasip1/debug/deps/quickjs_rs-1f51540108dc5903.wasm" "--gc-sections" "-O0" [INFO] [stdout] = note: some arguments are omitted. use `--verbose` to show all linker arguments [INFO] [stdout] = note: rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/liblibquickjs_sys_latest-a061f611ca98f715.rlib: archive member 'fbabbb49c2d0acc6-cutils.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/liblibquickjs_sys_latest-a061f611ca98f715.rlib: archive member 'fbabbb49c2d0acc6-libbf.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/liblibquickjs_sys_latest-a061f611ca98f715.rlib: archive member 'fbabbb49c2d0acc6-libregexp.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/liblibquickjs_sys_latest-a061f611ca98f715.rlib: archive member 'fbabbb49c2d0acc6-libunicode.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/liblibquickjs_sys_latest-a061f611ca98f715.rlib: archive member 'fbabbb49c2d0acc6-quickjs.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: warning: /opt/rustwide/target/wasm32-wasip1/debug/deps/liblibquickjs_sys_latest-a061f611ca98f715.rlib: archive member 'fbabbb49c2d0acc6-static-functions.o' is neither Wasm object file nor LLVM bitcode [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/quickjs_rs-1f51540108dc5903.quickjs_rs.553709988e1840ed-cgu.01.rcgu.o: undefined symbol: JS_NewCFunctionData [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/quickjs_rs-1f51540108dc5903.quickjs_rs.553709988e1840ed-cgu.01.rcgu.o: undefined symbol: JS_GetGlobalObject [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/quickjs_rs-1f51540108dc5903.quickjs_rs.553709988e1840ed-cgu.01.rcgu.o: undefined symbol: JS_NewCFunctionData [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/quickjs_rs-1f51540108dc5903.quickjs_rs.553709988e1840ed-cgu.01.rcgu.o: undefined symbol: JS_NewCFunctionData [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/quickjs_rs-1f51540108dc5903.quickjs_rs.553709988e1840ed-cgu.01.rcgu.o: undefined symbol: JS_NewCFunctionData [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/quickjs_rs-1f51540108dc5903.quickjs_rs.553709988e1840ed-cgu.01.rcgu.o: undefined symbol: JS_NewCFunctionData [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/quickjs_rs-1f51540108dc5903.quickjs_rs.553709988e1840ed-cgu.01.rcgu.o: undefined symbol: JS_NewCFunctionData [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/quickjs_rs-1f51540108dc5903.quickjs_rs.553709988e1840ed-cgu.01.rcgu.o: undefined symbol: JS_NewCFunctionData [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/quickjs_rs-1f51540108dc5903.quickjs_rs.553709988e1840ed-cgu.01.rcgu.o: undefined symbol: JS_NewCFunctionData [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/quickjs_rs-1f51540108dc5903.quickjs_rs.553709988e1840ed-cgu.01.rcgu.o: undefined symbol: JS_NewCFunctionData [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/quickjs_rs-1f51540108dc5903.quickjs_rs.553709988e1840ed-cgu.01.rcgu.o: undefined symbol: JS_NewCFunctionData [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/quickjs_rs-1f51540108dc5903.quickjs_rs.553709988e1840ed-cgu.01.rcgu.o: undefined symbol: JS_NewCFunctionData [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/quickjs_rs-1f51540108dc5903.quickjs_rs.553709988e1840ed-cgu.01.rcgu.o: undefined symbol: JS_NewCFunctionData [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/quickjs_rs-1f51540108dc5903.quickjs_rs.553709988e1840ed-cgu.01.rcgu.o: undefined symbol: JS_NewCFunctionData [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/quickjs_rs-1f51540108dc5903.quickjs_rs.553709988e1840ed-cgu.01.rcgu.o: undefined symbol: JS_NewCFunctionData [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/quickjs_rs-1f51540108dc5903.quickjs_rs.553709988e1840ed-cgu.01.rcgu.o: undefined symbol: JS_NewCFunctionData [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/quickjs_rs-1f51540108dc5903.quickjs_rs.553709988e1840ed-cgu.01.rcgu.o: undefined symbol: JS_Throw [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/quickjs_rs-1f51540108dc5903.quickjs_rs.553709988e1840ed-cgu.01.rcgu.o: undefined symbol: JS_Throw [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/quickjs_rs-1f51540108dc5903.quickjs_rs.553709988e1840ed-cgu.01.rcgu.o: undefined symbol: JS_Throw [INFO] [stdout] rust-lld: error: /opt/rustwide/target/wasm32-wasip1/debug/deps/quickjs_rs-1f51540108dc5903.quickjs_rs.553709988e1840ed-cgu.01.rcgu.o: undefined symbol: JS_Throw [INFO] [stdout] rust-lld: error: too many errors emitted, stopping now (use -error-limit=0 to see all errors) [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `quickjs-rs` (lib test) due to 1 previous error; 14 warnings emitted [INFO] running `Command { std: "docker" "inspect" "39e7dd99c9270ffc9c41a7eeabb13887b36f0b25232fe77472a707d36cb07839", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "39e7dd99c9270ffc9c41a7eeabb13887b36f0b25232fe77472a707d36cb07839", kill_on_drop: false }` [INFO] [stdout] 39e7dd99c9270ffc9c41a7eeabb13887b36f0b25232fe77472a707d36cb07839