[INFO] fetching crate rqjs-ext 0.1.3... [INFO] checking rqjs-ext-0.1.3 against master#ab869e094a907cc5d19b4080f22eccaf347f1f95 for pr-129604 [INFO] extracting crate rqjs-ext 0.1.3 into /workspace/builds/worker-0-tc1/source [INFO] validating manifest of crates.io crate rqjs-ext 0.1.3 on toolchain ab869e094a907cc5d19b4080f22eccaf347f1f95 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] started tweaking crates.io crate rqjs-ext 0.1.3 [INFO] finished tweaking crates.io crate rqjs-ext 0.1.3 [INFO] tweaked toml for crates.io crate rqjs-ext 0.1.3 written to /workspace/builds/worker-0-tc1/source/Cargo.toml [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "generate-lockfile" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Locking 227 packages to latest compatible versions [INFO] [stderr] Adding addr2line v0.22.0 (latest: v0.24.1) [INFO] [stderr] Adding bindgen v0.69.4 (latest: v0.70.1) [INFO] [stderr] Adding generic-array v0.14.7 (latest: v1.1.0) [INFO] [stderr] Adding gimli v0.29.0 (latest: v0.31.0) [INFO] [stderr] Adding hermit-abi v0.3.9 (latest: v0.4.0) [INFO] [stderr] Adding itertools v0.12.1 (latest: v0.13.0) [INFO] [stderr] Adding linux-raw-sys v0.4.14 (latest: v0.6.5) [INFO] [stderr] Adding miniz_oxide v0.7.4 (latest: v0.8.0) [INFO] [stderr] Adding proc-macro-crate v1.3.1 (latest: v3.2.0) [INFO] [stderr] Adding proc-macro2 v0.4.30 (latest: v1.0.86) [INFO] [stderr] Adding quick-xml v0.32.0 (latest: v0.36.1) [INFO] [stderr] Adding quote v0.6.13 (latest: v1.0.37) [INFO] [stderr] Adding rustc-hash v1.1.0 (latest: v2.0.0) [INFO] [stderr] Adding siphasher v0.3.11 (latest: v1.0.1) [INFO] [stderr] Adding syn v0.15.44 (latest: v2.0.77) [INFO] [stderr] Adding syn v1.0.109 (latest: v2.0.77) [INFO] [stderr] Adding toml_edit v0.19.15 (latest: v0.22.20) [INFO] [stderr] Adding tower v0.4.13 (latest: v0.5.0) [INFO] [stderr] Adding unicode-xid v0.1.0 (latest: v0.2.5) [INFO] [stderr] Adding wasi v0.11.0+wasi-snapshot-preview1 (latest: v0.13.2+wasi-0.2.1) [INFO] [stderr] Adding which v4.4.2 (latest: v6.0.3) [INFO] [stderr] Adding windows-core v0.52.0 (latest: v0.58.0) [INFO] [stderr] Adding windows-sys v0.52.0 (latest: v0.59.0) [INFO] [stderr] Adding winnow v0.5.40 (latest: v0.6.18) [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded uuid-simd v0.8.0 [INFO] [stderr] Downloaded rquickjs-macro v0.6.2 [INFO] [stderr] Downloaded hex-simd v0.8.0 [INFO] [stderr] Downloaded cross-uname v0.1.0 [INFO] [stderr] Downloaded value-trait v0.8.1 [INFO] [stderr] Downloaded rquickjs v0.6.2 [INFO] [stderr] Downloaded rquickjs-core v0.6.2 [INFO] [stderr] Downloaded halfbrown v0.2.5 [INFO] [stderr] Downloaded simd-json v0.13.10 [INFO] [stderr] Downloaded quick-xml v0.32.0 [INFO] [stderr] Downloaded rquickjs-sys v0.6.2 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] 06db6f871dcc686e5289c13950d85a3080715bf1d00110fbc63b227b18062a50 [INFO] running `Command { std: "docker" "start" "-a" "06db6f871dcc686e5289c13950d85a3080715bf1d00110fbc63b227b18062a50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "06db6f871dcc686e5289c13950d85a3080715bf1d00110fbc63b227b18062a50", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "06db6f871dcc686e5289c13950d85a3080715bf1d00110fbc63b227b18062a50", kill_on_drop: false }` [INFO] [stdout] 06db6f871dcc686e5289c13950d85a3080715bf1d00110fbc63b227b18062a50 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=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:923055f121b5182466d55868a8b05e67af8ba4a3a3f6bad814e953ca3cd3ac2a" "/opt/rustwide/cargo-home/bin/cargo" "+ab869e094a907cc5d19b4080f22eccaf347f1f95" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] 1e36b5669ed18e7b90e8149b2312d8a69259d52a06c412603ae0ea1ce8c8a267 [INFO] running `Command { std: "docker" "start" "-a" "1e36b5669ed18e7b90e8149b2312d8a69259d52a06c412603ae0ea1ce8c8a267", kill_on_drop: false }` [INFO] [stderr] Compiling libc v0.2.158 [INFO] [stderr] Compiling glob v0.3.1 [INFO] [stderr] Compiling rustix v0.38.35 [INFO] [stderr] Compiling prettyplease v0.2.22 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Compiling bitflags v2.6.0 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Compiling libloading v0.8.5 [INFO] [stderr] Compiling syn v2.0.77 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling bindgen v0.69.4 [INFO] [stderr] Compiling itertools v0.12.1 [INFO] [stderr] Compiling rustc-hash v1.1.0 [INFO] [stderr] Compiling lazycell v1.3.0 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling proc-macro2 v0.4.30 [INFO] [stderr] Checking lexical-util v0.8.5 [INFO] [stderr] Compiling hashbrown v0.14.5 [INFO] [stderr] Compiling syn v1.0.109 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling winnow v0.5.40 [INFO] [stderr] Compiling clang-sys v1.8.1 [INFO] [stderr] Checking utf8parse v0.2.2 [INFO] [stderr] Compiling cfg_aliases v0.2.1 [INFO] [stderr] Compiling toml_datetime v0.6.8 [INFO] [stderr] Compiling nix v0.29.0 [INFO] [stderr] Checking anstyle-parse v0.2.5 [INFO] [stderr] Checking concurrent-queue v2.5.0 [INFO] [stderr] Checking phf_shared v0.11.2 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling proc-macro-error-attr v1.0.4 [INFO] [stderr] Compiling nom v7.1.3 [INFO] [stderr] Checking event-listener v5.3.1 [INFO] [stderr] Compiling quote v0.6.13 [INFO] [stderr] Compiling indexmap v2.5.0 [INFO] [stderr] Checking outref v0.5.1 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Compiling syn v0.15.44 [INFO] [stderr] Checking event-listener-strategy v0.5.2 [INFO] [stderr] Checking colorchoice v1.0.2 [INFO] [stderr] Checking anstyle-query v1.1.1 [INFO] [stderr] Compiling ref-cast v1.0.23 [INFO] [stderr] Checking vsimd v0.8.0 [INFO] [stderr] Checking is_terminal_polyfill v1.70.1 [INFO] [stderr] Checking async-lock v3.4.0 [INFO] [stderr] Checking anstream v0.6.15 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Checking lexical-write-integer v0.8.5 [INFO] [stderr] Checking lexical-parse-integer v0.8.6 [INFO] [stderr] Checking atomic v0.6.0 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Checking parking_lot_core v0.9.10 [INFO] [stderr] Checking mio v1.0.2 [INFO] [stderr] Checking signal-hook-registry v1.4.2 [INFO] [stderr] Checking socket2 v0.5.7 [INFO] [stderr] Checking lexical-parse-float v0.8.5 [INFO] [stderr] Checking rand_core v0.6.4 [INFO] [stderr] Checking ring v0.17.8 [INFO] [stderr] Checking lexical-write-float v0.8.5 [INFO] [stderr] Checking parking_lot v0.12.3 [INFO] [stderr] Checking chrono v0.4.38 [INFO] [stderr] Compiling proc-macro-error v1.0.4 [INFO] [stderr] Checking float-cmp v0.9.0 [INFO] [stderr] Checking md-5 v0.10.6 [INFO] [stderr] Checking phf v0.11.2 [INFO] [stderr] Compiling crc32c v0.6.8 [INFO] [stderr] Checking strsim v0.11.1 [INFO] [stderr] Checking sha1_smol v1.0.1 [INFO] [stderr] Checking simdutf8 v0.1.4 [INFO] [stderr] Checking hex-simd v0.8.0 [INFO] [stderr] Checking clap_builder v4.5.15 [INFO] [stderr] Checking base64-simd v0.8.0 [INFO] [stderr] Checking lexical-core v0.8.5 [INFO] [stderr] Checking quick-xml v0.32.0 [INFO] [stderr] Checking fxhash v0.2.1 [INFO] [stderr] Checking cross-uname v0.1.0 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling toml_edit v0.19.15 [INFO] [stderr] Compiling dlopen_derive v0.1.4 [INFO] [stderr] Checking rustls-webpki v0.102.7 [INFO] [stderr] Compiling cexpr v0.6.0 [INFO] [stderr] Checking dlopen v0.1.8 [INFO] [stderr] Checking rustls v0.23.12 [INFO] [stderr] Checking ctrlc v3.4.5 [INFO] [stderr] Compiling proc-macro-crate v1.3.1 [INFO] [stderr] Compiling zerocopy-derive v0.7.35 [INFO] [stderr] Compiling tokio-macros v2.4.0 [INFO] [stderr] Compiling serde_derive v1.0.209 [INFO] [stderr] Compiling pin-project-internal v1.1.5 [INFO] [stderr] Compiling ref-cast-impl v1.0.23 [INFO] [stderr] Compiling clap_derive v4.5.13 [INFO] [stderr] Checking tokio v1.40.0 [INFO] [stderr] Checking pin-project v1.1.5 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking ppv-lite86 v0.2.20 [INFO] [stderr] Checking rand_chacha v0.3.1 [INFO] [stderr] Checking clap v4.5.16 [INFO] [stderr] Checking rand v0.8.5 [INFO] [stderr] Checking uuid v1.10.0 [INFO] [stderr] Checking serde v1.0.209 [INFO] [stderr] Checking uuid-simd v0.8.0 [INFO] [stderr] Checking tokio-util v0.7.11 [INFO] [stderr] Checking tower v0.4.13 [INFO] [stderr] Checking tokio-rustls v0.26.0 [INFO] [stderr] Checking h2 v0.4.6 [INFO] [stderr] Compiling rquickjs-sys v0.6.2 [INFO] [stderr] Checking halfbrown v0.2.5 [INFO] [stderr] Checking serde_json v1.0.127 [INFO] [stderr] Checking value-trait v0.8.1 [INFO] [stderr] Checking simd-json v0.13.10 [INFO] [stderr] Checking hyper v1.4.1 [INFO] [stderr] Checking hyper-util v0.1.7 [INFO] [stderr] Checking hyper-rustls v0.27.2 [INFO] [stderr] Checking rquickjs-core v0.6.2 [INFO] [stderr] Compiling rquickjs-macro v0.6.2 [INFO] [stderr] Checking rquickjs v0.6.2 [INFO] [stderr] Checking rqjs-ext v0.1.3 (/opt/rustwide/workdir) [INFO] [stdout] warning: unexpected `cfg` condition name: `rust_nightly` [INFO] [stdout] --> src/lib.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | #![cfg_attr(rust_nightly, feature(portable_simd))] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rust_nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rust_nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `rust_nightly` [INFO] [stdout] --> src/json/escape.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(rust_nightly)] //FIXME remove when std::simd is stable [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rust_nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rust_nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `rust_nightly` [INFO] [stdout] --> src/json/escape.rs:65:11 [INFO] [stdout] | [INFO] [stdout] 65 | #[cfg(not(rust_nightly))] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rust_nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rust_nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `rust_nightly` [INFO] [stdout] --> src/json/escape.rs:70:7 [INFO] [stdout] | [INFO] [stdout] 70 | #[cfg(rust_nightly)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rust_nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rust_nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `rust_nightly` [INFO] [stdout] --> src/lib.rs:3:13 [INFO] [stdout] | [INFO] [stdout] 3 | #![cfg_attr(rust_nightly, feature(portable_simd))] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: expected names are: `clippy`, `debug_assertions`, `doc`, `docsrs`, `doctest`, `feature`, `miri`, `overflow_checks`, `panic`, `proc_macro`, `relocation_model`, `rustfmt`, `sanitize`, `sanitizer_cfi_generalize_pointers`, `sanitizer_cfi_normalize_integers`, `target_abi`, `target_arch`, `target_endian`, `target_env`, `target_family`, `target_feature`, `target_has_atomic`, `target_has_atomic_equal_alignment`, `target_has_atomic_load_store`, `target_os`, `target_pointer_width`, `target_thread_local`, `target_vendor`, `test`, `ub_checks`, `unix`, and `windows` [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rust_nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rust_nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] = note: `#[warn(unexpected_cfgs)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `rust_nightly` [INFO] [stdout] --> src/json/escape.rs:3:7 [INFO] [stdout] | [INFO] [stdout] 3 | #[cfg(rust_nightly)] //FIXME remove when std::simd is stable [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rust_nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rust_nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `rust_nightly` [INFO] [stdout] --> src/json/escape.rs:65:11 [INFO] [stdout] | [INFO] [stdout] 65 | #[cfg(not(rust_nightly))] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rust_nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rust_nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unexpected `cfg` condition name: `rust_nightly` [INFO] [stdout] --> src/json/escape.rs:70:7 [INFO] [stdout] | [INFO] [stdout] 70 | #[cfg(rust_nightly)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = help: consider using a Cargo feature instead [INFO] [stdout] = help: or consider adding in `Cargo.toml` the `check-cfg` lint config for the lint: [INFO] [stdout] [lints.rust] [INFO] [stdout] unexpected_cfgs = { level = "warn", check-cfg = ['cfg(rust_nightly)'] } [INFO] [stdout] = help: or consider adding `println!("cargo::rustc-check-cfg=cfg(rust_nightly)");` to the top of the `build.rs` [INFO] [stdout] = note: see for more information about checking conditional configuration [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/modules/console.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::modules::module::export_default` [INFO] [stdout] --> src/modules/console.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::modules::module::export_default; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `once_cell::sync::Lazy` [INFO] [stdout] --> src/modules/console.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use once_cell::sync::Lazy; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Class`, `Constructor`, `Object`, `Opt`, and `atom::PredefinedAtom` [INFO] [stdout] --> src/modules/console.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | atom::PredefinedAtom, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | function::{Constructor, Opt}, [INFO] [stdout] | ^^^^^^^^^^^ ^^^ [INFO] [stdout] 8 | Class, Object, Value, [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AsyncContext`, `Declarations`, `Exports`, `ModuleDef`, and `prelude::Func` [INFO] [stdout] --> src/modules/console.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | module::{Declarations, Exports, ModuleDef}, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] 12 | prelude::Func, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 13 | AsyncContext, Ctx, Function, Result, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `iterable_enum` [INFO] [stdout] --> src/modules/macros.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | macro_rules! iterable_enum { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `impl_stream_events` [INFO] [stdout] --> src/modules/macros.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | macro_rules! impl_stream_events { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::env` [INFO] [stdout] --> src/modules/console.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::env; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `crate::modules::module::export_default` [INFO] [stdout] --> src/modules/console.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use crate::modules::module::export_default; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `once_cell::sync::Lazy` [INFO] [stdout] --> src/modules/console.rs:4:5 [INFO] [stdout] | [INFO] [stdout] 4 | use once_cell::sync::Lazy; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Class`, `Constructor`, `Object`, `Opt`, and `atom::PredefinedAtom` [INFO] [stdout] --> src/modules/console.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | atom::PredefinedAtom, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 7 | function::{Constructor, Opt}, [INFO] [stdout] | ^^^^^^^^^^^ ^^^ [INFO] [stdout] 8 | Class, Object, Value, [INFO] [stdout] | ^^^^^ ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `AsyncContext`, `Declarations`, `Exports`, `ModuleDef`, and `prelude::Func` [INFO] [stdout] --> src/modules/console.rs:11:14 [INFO] [stdout] | [INFO] [stdout] 11 | module::{Declarations, Exports, ModuleDef}, [INFO] [stdout] | ^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^ [INFO] [stdout] 12 | prelude::Func, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 13 | AsyncContext, Ctx, Function, Result, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `iterable_enum` [INFO] [stdout] --> src/modules/macros.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | macro_rules! iterable_enum { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_macros)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused macro definition: `impl_stream_events` [INFO] [stdout] --> src/modules/macros.rs:18:14 [INFO] [stdout] | [INFO] [stdout] 18 | macro_rules! impl_stream_events { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/macros.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: `#[macro_use]` only has an effect on `extern crate` and modules [INFO] [stdout] --> src/macros.rs:17:1 [INFO] [stdout] | [INFO] [stdout] 17 | #[macro_use] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_attributes)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncReadExt` [INFO] [stdout] --> src/stream/readable.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | io::{AsyncRead, AsyncReadExt}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncWriteExt` [INFO] [stdout] --> src/stream/writable.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | io::{AsyncWrite, AsyncWriteExt}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncWriteExt` [INFO] [stdout] --> src/stream/writable.rs:12:22 [INFO] [stdout] | [INFO] [stdout] 12 | io::{AsyncWrite, AsyncWriteExt}, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `AsyncReadExt` [INFO] [stdout] --> src/stream/readable.rs:12:21 [INFO] [stdout] | [INFO] [stdout] 12 | io::{AsyncRead, AsyncReadExt}, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `callback` [INFO] [stdout] --> src/modules/crypto/mod.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | let callback: Function = args_iter [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_callback` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/modules/crypto/mod.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | let size = args_iter [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/modules/crypto/mod.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | let offset = args_iter [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `obj` [INFO] [stdout] --> src/modules/crypto/mod.rs:81:36 [INFO] [stdout] | [INFO] [stdout] 81 | fn random_fill<'js>(ctx: Ctx<'js>, obj: Object<'js>, args: Rest>) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_obj` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timeout_error` [INFO] [stdout] --> src/modules/events.rs:627:13 [INFO] [stdout] | [INFO] [stdout] 627 | let timeout_error = get_reason_or_dom_exception(&ctx, None, "TimeoutError")?; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timeout_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `milliseconds` [INFO] [stdout] --> src/modules/events.rs:626:35 [INFO] [stdout] | [INFO] [stdout] 626 | pub fn timeout(ctx: Ctx<'js>, milliseconds: u64) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_milliseconds` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `callback` [INFO] [stdout] --> src/modules/crypto/mod.rs:85:9 [INFO] [stdout] | [INFO] [stdout] 85 | let callback: Function = args_iter [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_callback` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `size` [INFO] [stdout] --> src/modules/crypto/mod.rs:89:9 [INFO] [stdout] | [INFO] [stdout] 89 | let size = args_iter [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_size` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `offset` [INFO] [stdout] --> src/modules/crypto/mod.rs:93:9 [INFO] [stdout] | [INFO] [stdout] 93 | let offset = args_iter [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_offset` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `obj` [INFO] [stdout] --> src/modules/crypto/mod.rs:81:36 [INFO] [stdout] | [INFO] [stdout] 81 | fn random_fill<'js>(ctx: Ctx<'js>, obj: Object<'js>, args: Rest>) -> Result<()> { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_obj` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/modules/timers.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | ctx: &Ctx<'js>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `timeout_error` [INFO] [stdout] --> src/modules/events.rs:627:13 [INFO] [stdout] | [INFO] [stdout] 627 | let timeout_error = get_reason_or_dom_exception(&ctx, None, "TimeoutError")?; [INFO] [stdout] | ^^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_timeout_error` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `milliseconds` [INFO] [stdout] --> src/modules/events.rs:626:35 [INFO] [stdout] | [INFO] [stdout] 626 | pub fn timeout(ctx: Ctx<'js>, milliseconds: u64) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_milliseconds` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx2` [INFO] [stdout] --> src/stream/readable.rs:242:13 [INFO] [stdout] | [INFO] [stdout] 242 | let ctx2 = ctx.clone(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_ctx2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `this` [INFO] [stdout] --> src/stream/readable.rs:237:9 [INFO] [stdout] | [INFO] [stdout] 237 | this: Class<'js, Self>, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_this` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `readable` [INFO] [stdout] --> src/stream/readable.rs:239:9 [INFO] [stdout] | [INFO] [stdout] 239 | readable: T, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_readable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `on_end` [INFO] [stdout] --> src/stream/readable.rs:240:9 [INFO] [stdout] | [INFO] [stdout] 240 | on_end: C, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_on_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `this` [INFO] [stdout] --> src/stream/writable.rs:190:9 [INFO] [stdout] | [INFO] [stdout] 190 | this: This>, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_this` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/stream/writable.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 191 | ctx: Ctx<'js>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/stream/writable.rs:192:9 [INFO] [stdout] | [INFO] [stdout] 192 | value: Value<'js>, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cb` [INFO] [stdout] --> src/stream/writable.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 193 | cb: Opt>, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flush` [INFO] [stdout] --> src/stream/writable.rs:194:9 [INFO] [stdout] | [INFO] [stdout] 194 | flush: bool, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_flush` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_ended` [INFO] [stdout] --> src/stream/writable.rs:226:13 [INFO] [stdout] | [INFO] [stdout] 226 | let is_ended = inner.is_finished; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_ended` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_destroyed` [INFO] [stdout] --> src/stream/writable.rs:227:13 [INFO] [stdout] | [INFO] [stdout] 227 | let is_destroyed = inner.is_destroyed; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_destroyed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `emit_close` [INFO] [stdout] --> src/stream/writable.rs:228:13 [INFO] [stdout] | [INFO] [stdout] 228 | let emit_close = inner.emit_close; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_emit_close` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `command_rx` [INFO] [stdout] --> src/stream/writable.rs:229:13 [INFO] [stdout] | [INFO] [stdout] 229 | let command_rx = inner [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_command_rx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `destroy_rx` [INFO] [stdout] --> src/stream/writable.rs:233:13 [INFO] [stdout] | [INFO] [stdout] 233 | let destroy_rx = inner.destroy_tx.subscribe(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_destroy_rx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/stream/writable.rs:221:9 [INFO] [stdout] | [INFO] [stdout] 221 | ctx: &Ctx<'js>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `writable` [INFO] [stdout] --> src/stream/writable.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 222 | writable: T, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_writable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/modules/timers.rs:45:5 [INFO] [stdout] | [INFO] [stdout] 45 | ctx: &Ctx<'js>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `future` [INFO] [stdout] --> src/vm.rs:722:32 [INFO] [stdout] | [INFO] [stdout] 722 | fn spawn_exit(&self, future: F) -> Result> [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `notify` and `write_semaphore` are never read [INFO] [stdout] --> src/bytearray_buffer.rs:19:5 [INFO] [stdout] | [INFO] [stdout] 15 | pub struct BytearrayBuffer { [INFO] [stdout] | --------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 19 | notify: Arc, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 20 | closed: Arc, [INFO] [stdout] 21 | write_semaphore: Arc, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `BytearrayBuffer` has a derived impl for the trait `Clone`, but this is intentionally ignored during dead code analysis [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated items `new`, `len`, `write`, `close`, `clear`, and `read` are never used [INFO] [stdout] --> src/bytearray_buffer.rs:25:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl BytearrayBuffer { [INFO] [stdout] | -------------------- associated items in this implementation [INFO] [stdout] 25 | pub fn new(capacity: usize) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 51 | pub async fn write(&self, item: &mut [u8]) -> usize { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 86 | pub async fn close(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 93 | pub async fn clear(&self) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 103 | pub fn read(&self, desired_size: Option) -> Option> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `TIMER_ID` is never used [INFO] [stdout] --> src/modules/timers.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | static TIMER_ID: AtomicUsize = AtomicUsize::new(0); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `TIME_POLL_ACTIVE` is never used [INFO] [stdout] --> src/modules/timers.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | static TIME_POLL_ACTIVE: AtomicBool = AtomicBool::new(false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Timeout` is never constructed [INFO] [stdout] --> src/modules/timers.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | struct Timeout<'js> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_immediate` is never used [INFO] [stdout] --> src/modules/timers.rs:32:4 [INFO] [stdout] | [INFO] [stdout] 32 | fn set_immediate(cb: Function) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_current_time_millis` is never used [INFO] [stdout] --> src/modules/timers.rs:37:4 [INFO] [stdout] | [INFO] [stdout] 37 | fn get_current_time_millis() -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_timeout_interval` is never used [INFO] [stdout] --> src/modules/timers.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | fn set_timeout_interval<'js>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `clear_timeout_interval` is never used [INFO] [stdout] --> src/modules/timers.rs:67:4 [INFO] [stdout] | [INFO] [stdout] 67 | fn clear_timeout_interval(timeouts: &Arc>>, id: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_destroyed_and_error` is never used [INFO] [stdout] --> src/stream/mod.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn set_destroyed_and_error<'js>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_BUFFER_SIZE` is never used [INFO] [stdout] --> src/stream/mod.rs:24:7 [INFO] [stdout] | [INFO] [stdout] 24 | const DEFAULT_BUFFER_SIZE: usize = 1024 * 16; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `emit_close` is never used [INFO] [stdout] --> src/stream/mod.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub trait SteamEvents<'js> [INFO] [stdout] | ----------- associated function in this trait [INFO] [stdout] ... [INFO] [stdout] 30 | fn emit_close(this: Class<'js, Self>, ctx: &Ctx<'js>, had_error: bool) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Init` is never constructed [INFO] [stdout] --> src/stream/readable.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub enum ReadableState { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] 33 | Init, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReadableState` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/stream/readable.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 59 | impl<'js> ReadableStreamInner<'js> { [INFO] [stdout] | ---------------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn new(emitter: EventEmitter<'js>, emit_close: bool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `with_emitter` and `new` are never used [INFO] [stdout] --> src/stream/readable.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 114 | impl<'js> DefaultReadableStream<'js> { [INFO] [stdout] | ------------------------------------ associated functions in this implementation [INFO] [stdout] 115 | fn with_emitter(ctx: Ctx<'js>, emitter: EventEmitter<'js>) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn new(ctx: Ctx<'js>) -> Result> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/stream/readable.rs:152:8 [INFO] [stdout] | [INFO] [stdout] 148 | pub trait ReadableStream<'js> [INFO] [stdout] | -------------- associated items in this trait [INFO] [stdout] ... [INFO] [stdout] 152 | fn inner_mut(&mut self) -> &mut ReadableStreamInner<'js>; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 153 | [INFO] [stdout] 154 | fn inner(&self) -> &ReadableStreamInner<'js>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 155 | [INFO] [stdout] 156 | fn add_readable_stream_prototype(ctx: &Ctx<'js>) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 167 | fn destroy( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 180 | fn read(this: This>, ctx: Ctx<'js>, size: Opt) -> Result> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 188 | fn drain(this: Class<'js, Self>, ctx: &Ctx<'js>) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 219 | fn process( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 227 | fn process_callback( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 236 | fn do_process( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `command_rx`, `is_finished`, `emit_close`, `is_destroyed`, and `destroy_tx` are never read [INFO] [stdout] --> src/stream/writable.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct WritableStreamInner<'js> { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 31 | command_rx: Option>>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 32 | is_finished: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | emit_close: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 36 | is_destroyed: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 37 | destroy_tx: Sender>>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/stream/writable.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl<'js> WritableStreamInner<'js> { [INFO] [stdout] | ---------------------------------- associated function in this implementation [INFO] [stdout] 41 | pub fn new(emitter: EventEmitter<'js>, emit_close: bool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `with_emitter` and `new` are never used [INFO] [stdout] --> src/stream/writable.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 85 | impl<'js> DefaultWritableStream<'js> { [INFO] [stdout] | ------------------------------------ associated functions in this implementation [INFO] [stdout] 86 | fn with_emitter(ctx: Ctx<'js>, emitter: EventEmitter<'js>) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn new(ctx: Ctx<'js>) -> Result> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/stream/writable.rs:114:8 [INFO] [stdout] | [INFO] [stdout] 110 | pub trait WritableStream<'js> [INFO] [stdout] | -------------- associated items in this trait [INFO] [stdout] ... [INFO] [stdout] 114 | fn inner_mut(&mut self) -> &mut WritableStreamInner<'js>; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | fn add_writable_stream_prototype(ctx: &Ctx<'js>) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | fn destroy( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | fn end(this: This>) -> Class<'js, Self> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | fn write_flushed( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 180 | fn write( [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 189 | fn do_write( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 219 | fn process( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print` is never used [INFO] [stdout] --> src/vm.rs:59:4 [INFO] [stdout] | [INFO] [stdout] 59 | fn print(value: String, stdout: Opt) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LifetimeArgs` is never constructed [INFO] [stdout] --> src/vm.rs:317:8 [INFO] [stdout] | [INFO] [stdout] 317 | struct LifetimeArgs<'js>(Ctx<'js>); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `json_parse_string` is never used [INFO] [stdout] --> src/vm.rs:478:4 [INFO] [stdout] | [INFO] [stdout] 478 | fn json_parse_string<'js>(ctx: Ctx<'js>, value: Value<'js>) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_gc` is never used [INFO] [stdout] --> src/vm.rs:483:4 [INFO] [stdout] | [INFO] [stdout] 483 | fn run_gc(ctx: Ctx<'_>) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init` is never used [INFO] [stdout] --> src/vm.rs:493:4 [INFO] [stdout] | [INFO] [stdout] 493 | fn init(ctx: &Ctx<'_>, module_names: HashSet<&'static str>) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load` is never used [INFO] [stdout] --> src/vm.rs:640:4 [INFO] [stdout] | [INFO] [stdout] 640 | fn load<'js>(ctx: Ctx<'js>, filename: String, options: Opt>) -> Result> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_script_or_module_name` is never used [INFO] [stdout] --> src/vm.rs:670:4 [INFO] [stdout] | [INFO] [stdout] 670 | fn get_script_or_module_name(ctx: Ctx<'_>) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_import_meta` is never used [INFO] [stdout] --> src/vm.rs:686:4 [INFO] [stdout] | [INFO] [stdout] 686 | fn set_import_meta(module: &Module<'_>, filepath: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx2` [INFO] [stdout] --> src/stream/readable.rs:242:13 [INFO] [stdout] | [INFO] [stdout] 242 | let ctx2 = ctx.clone(); [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_ctx2` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `this` [INFO] [stdout] --> src/stream/readable.rs:237:9 [INFO] [stdout] | [INFO] [stdout] 237 | this: Class<'js, Self>, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_this` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `readable` [INFO] [stdout] --> src/stream/readable.rs:239:9 [INFO] [stdout] | [INFO] [stdout] 239 | readable: T, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_readable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `on_end` [INFO] [stdout] --> src/stream/readable.rs:240:9 [INFO] [stdout] | [INFO] [stdout] 240 | on_end: C, [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_on_end` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `this` [INFO] [stdout] --> src/stream/writable.rs:190:9 [INFO] [stdout] | [INFO] [stdout] 190 | this: This>, [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_this` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/stream/writable.rs:191:9 [INFO] [stdout] | [INFO] [stdout] 191 | ctx: Ctx<'js>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `value` [INFO] [stdout] --> src/stream/writable.rs:192:9 [INFO] [stdout] | [INFO] [stdout] 192 | value: Value<'js>, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_value` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `cb` [INFO] [stdout] --> src/stream/writable.rs:193:9 [INFO] [stdout] | [INFO] [stdout] 193 | cb: Opt>, [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_cb` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `flush` [INFO] [stdout] --> src/stream/writable.rs:194:9 [INFO] [stdout] | [INFO] [stdout] 194 | flush: bool, [INFO] [stdout] | ^^^^^ help: if this is intentional, prefix it with an underscore: `_flush` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_ended` [INFO] [stdout] --> src/stream/writable.rs:226:13 [INFO] [stdout] | [INFO] [stdout] 226 | let is_ended = inner.is_finished; [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_ended` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `is_destroyed` [INFO] [stdout] --> src/stream/writable.rs:227:13 [INFO] [stdout] | [INFO] [stdout] 227 | let is_destroyed = inner.is_destroyed; [INFO] [stdout] | ^^^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_is_destroyed` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `emit_close` [INFO] [stdout] --> src/stream/writable.rs:228:13 [INFO] [stdout] | [INFO] [stdout] 228 | let emit_close = inner.emit_close; [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_emit_close` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `command_rx` [INFO] [stdout] --> src/stream/writable.rs:229:13 [INFO] [stdout] | [INFO] [stdout] 229 | let command_rx = inner [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_command_rx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `destroy_rx` [INFO] [stdout] --> src/stream/writable.rs:233:13 [INFO] [stdout] | [INFO] [stdout] 233 | let destroy_rx = inner.destroy_tx.subscribe(); [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_destroy_rx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/stream/writable.rs:221:9 [INFO] [stdout] | [INFO] [stdout] 221 | ctx: &Ctx<'js>, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `writable` [INFO] [stdout] --> src/stream/writable.rs:222:9 [INFO] [stdout] | [INFO] [stdout] 222 | writable: T, [INFO] [stdout] | ^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_writable` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 66 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `future` [INFO] [stdout] --> src/vm.rs:722:32 [INFO] [stdout] | [INFO] [stdout] 722 | fn spawn_exit(&self, future: F) -> Result> [INFO] [stdout] | ^^^^^^ help: if this is intentional, prefix it with an underscore: `_future` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `len` is never used [INFO] [stdout] --> src/bytearray_buffer.rs:38:12 [INFO] [stdout] | [INFO] [stdout] 24 | impl BytearrayBuffer { [INFO] [stdout] | -------------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 38 | pub fn len(&self) -> usize { [INFO] [stdout] | ^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(dead_code)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `TIMER_ID` is never used [INFO] [stdout] --> src/modules/timers.rs:20:8 [INFO] [stdout] | [INFO] [stdout] 20 | static TIMER_ID: AtomicUsize = AtomicUsize::new(0); [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: static `TIME_POLL_ACTIVE` is never used [INFO] [stdout] --> src/modules/timers.rs:21:8 [INFO] [stdout] | [INFO] [stdout] 21 | static TIME_POLL_ACTIVE: AtomicBool = AtomicBool::new(false); [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `Timeout` is never constructed [INFO] [stdout] --> src/modules/timers.rs:24:8 [INFO] [stdout] | [INFO] [stdout] 24 | struct Timeout<'js> { [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_immediate` is never used [INFO] [stdout] --> src/modules/timers.rs:32:4 [INFO] [stdout] | [INFO] [stdout] 32 | fn set_immediate(cb: Function) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_current_time_millis` is never used [INFO] [stdout] --> src/modules/timers.rs:37:4 [INFO] [stdout] | [INFO] [stdout] 37 | fn get_current_time_millis() -> usize { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_timeout_interval` is never used [INFO] [stdout] --> src/modules/timers.rs:44:4 [INFO] [stdout] | [INFO] [stdout] 44 | fn set_timeout_interval<'js>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `clear_timeout_interval` is never used [INFO] [stdout] --> src/modules/timers.rs:67:4 [INFO] [stdout] | [INFO] [stdout] 67 | fn clear_timeout_interval(timeouts: &Arc>>, id: usize) { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_destroyed_and_error` is never used [INFO] [stdout] --> src/stream/mod.rs:14:8 [INFO] [stdout] | [INFO] [stdout] 14 | pub fn set_destroyed_and_error<'js>( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: constant `DEFAULT_BUFFER_SIZE` is never used [INFO] [stdout] --> src/stream/mod.rs:24:7 [INFO] [stdout] | [INFO] [stdout] 24 | const DEFAULT_BUFFER_SIZE: usize = 1024 * 16; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `emit_close` is never used [INFO] [stdout] --> src/stream/mod.rs:30:8 [INFO] [stdout] | [INFO] [stdout] 26 | pub trait SteamEvents<'js> [INFO] [stdout] | ----------- associated function in this trait [INFO] [stdout] ... [INFO] [stdout] 30 | fn emit_close(this: Class<'js, Self>, ctx: &Ctx<'js>, had_error: bool) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variant `Init` is never constructed [INFO] [stdout] --> src/stream/readable.rs:33:5 [INFO] [stdout] | [INFO] [stdout] 32 | pub enum ReadableState { [INFO] [stdout] | ------------- variant in this enum [INFO] [stdout] 33 | Init, [INFO] [stdout] | ^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ReadableState` has derived impls for the traits `Debug` and `Clone`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/stream/readable.rs:89:12 [INFO] [stdout] | [INFO] [stdout] 59 | impl<'js> ReadableStreamInner<'js> { [INFO] [stdout] | ---------------------------------- associated function in this implementation [INFO] [stdout] ... [INFO] [stdout] 89 | pub fn new(emitter: EventEmitter<'js>, emit_close: bool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `with_emitter` and `new` are never used [INFO] [stdout] --> src/stream/readable.rs:115:8 [INFO] [stdout] | [INFO] [stdout] 114 | impl<'js> DefaultReadableStream<'js> { [INFO] [stdout] | ------------------------------------ associated functions in this implementation [INFO] [stdout] 115 | fn with_emitter(ctx: Ctx<'js>, emitter: EventEmitter<'js>) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 124 | pub fn new(ctx: Ctx<'js>) -> Result> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/stream/readable.rs:152:8 [INFO] [stdout] | [INFO] [stdout] 148 | pub trait ReadableStream<'js> [INFO] [stdout] | -------------- associated items in this trait [INFO] [stdout] ... [INFO] [stdout] 152 | fn inner_mut(&mut self) -> &mut ReadableStreamInner<'js>; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 153 | [INFO] [stdout] 154 | fn inner(&self) -> &ReadableStreamInner<'js>; [INFO] [stdout] | ^^^^^ [INFO] [stdout] 155 | [INFO] [stdout] 156 | fn add_readable_stream_prototype(ctx: &Ctx<'js>) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 167 | fn destroy( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 180 | fn read(this: This>, ctx: Ctx<'js>, size: Opt) -> Result> { [INFO] [stdout] | ^^^^ [INFO] [stdout] ... [INFO] [stdout] 188 | fn drain(this: Class<'js, Self>, ctx: &Ctx<'js>) -> Result<()> { [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 219 | fn process( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 227 | fn process_callback( [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 236 | fn do_process( [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: fields `command_rx`, `is_finished`, `emit_close`, `is_destroyed`, and `destroy_tx` are never read [INFO] [stdout] --> src/stream/writable.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct WritableStreamInner<'js> { [INFO] [stdout] | ------------------- fields in this struct [INFO] [stdout] ... [INFO] [stdout] 31 | command_rx: Option>>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 32 | is_finished: bool, [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 35 | emit_close: bool, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] 36 | is_destroyed: bool, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 37 | destroy_tx: Sender>>, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/stream/writable.rs:41:12 [INFO] [stdout] | [INFO] [stdout] 40 | impl<'js> WritableStreamInner<'js> { [INFO] [stdout] | ---------------------------------- associated function in this implementation [INFO] [stdout] 41 | pub fn new(emitter: EventEmitter<'js>, emit_close: bool) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated functions `with_emitter` and `new` are never used [INFO] [stdout] --> src/stream/writable.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 85 | impl<'js> DefaultWritableStream<'js> { [INFO] [stdout] | ------------------------------------ associated functions in this implementation [INFO] [stdout] 86 | fn with_emitter(ctx: Ctx<'js>, emitter: EventEmitter<'js>) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 95 | pub fn new(ctx: Ctx<'js>) -> Result> { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple associated items are never used [INFO] [stdout] --> src/stream/writable.rs:114:8 [INFO] [stdout] | [INFO] [stdout] 110 | pub trait WritableStream<'js> [INFO] [stdout] | -------------- associated items in this trait [INFO] [stdout] ... [INFO] [stdout] 114 | fn inner_mut(&mut self) -> &mut WritableStreamInner<'js>; [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 118 | fn add_writable_stream_prototype(ctx: &Ctx<'js>) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 129 | fn destroy( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 147 | fn end(this: This>) -> Class<'js, Self> { [INFO] [stdout] | ^^^ [INFO] [stdout] ... [INFO] [stdout] 171 | fn write_flushed( [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 180 | fn write( [INFO] [stdout] | ^^^^^ [INFO] [stdout] ... [INFO] [stdout] 189 | fn do_write( [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 219 | fn process( [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `print` is never used [INFO] [stdout] --> src/vm.rs:59:4 [INFO] [stdout] | [INFO] [stdout] 59 | fn print(value: String, stdout: Opt) { [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `LifetimeArgs` is never constructed [INFO] [stdout] --> src/vm.rs:317:8 [INFO] [stdout] | [INFO] [stdout] 317 | struct LifetimeArgs<'js>(Ctx<'js>); [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `json_parse_string` is never used [INFO] [stdout] --> src/vm.rs:478:4 [INFO] [stdout] | [INFO] [stdout] 478 | fn json_parse_string<'js>(ctx: Ctx<'js>, value: Value<'js>) -> Result> { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `run_gc` is never used [INFO] [stdout] --> src/vm.rs:483:4 [INFO] [stdout] | [INFO] [stdout] 483 | fn run_gc(ctx: Ctx<'_>) { [INFO] [stdout] | ^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `init` is never used [INFO] [stdout] --> src/vm.rs:493:4 [INFO] [stdout] | [INFO] [stdout] 493 | fn init(ctx: &Ctx<'_>, module_names: HashSet<&'static str>) -> Result<()> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `load` is never used [INFO] [stdout] --> src/vm.rs:640:4 [INFO] [stdout] | [INFO] [stdout] 640 | fn load<'js>(ctx: Ctx<'js>, filename: String, options: Opt>) -> Result> { [INFO] [stdout] | ^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `get_script_or_module_name` is never used [INFO] [stdout] --> src/vm.rs:670:4 [INFO] [stdout] | [INFO] [stdout] 670 | fn get_script_or_module_name(ctx: Ctx<'_>) -> String { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `set_import_meta` is never used [INFO] [stdout] --> src/vm.rs:686:4 [INFO] [stdout] | [INFO] [stdout] 686 | fn set_import_meta(module: &Module<'_>, filepath: &str) -> Result<()> { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: 65 warnings emitted [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 57.34s [INFO] running `Command { std: "docker" "inspect" "1e36b5669ed18e7b90e8149b2312d8a69259d52a06c412603ae0ea1ce8c8a267", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "1e36b5669ed18e7b90e8149b2312d8a69259d52a06c412603ae0ea1ce8c8a267", kill_on_drop: false }` [INFO] [stdout] 1e36b5669ed18e7b90e8149b2312d8a69259d52a06c412603ae0ea1ce8c8a267