[INFO] cloning repository https://github.com/AidanEgan/swc-plugin-solid [INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/AidanEgan/swc-plugin-solid" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAidanEgan%2Fswc-plugin-solid", kill_on_drop: false }` [INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAidanEgan%2Fswc-plugin-solid'... [INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }` [INFO] [stdout] 9a10ee5b1b81a598f96a871215c1112ccad51e70 [INFO] checking AidanEgan/swc-plugin-solid against a5689b034ad287112f709693384a37f1377eb9cc for pr-129249-3 [INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAidanEgan%2Fswc-plugin-solid" "/workspace/builds/worker-4-tc2/source", kill_on_drop: false }` [INFO] [stderr] Cloning into '/workspace/builds/worker-4-tc2/source'... [INFO] [stderr] done. [INFO] removed /workspace/builds/worker-4-tc2/source/.cargo/config.toml [INFO] started tweaking git repo https://github.com/AidanEgan/swc-plugin-solid [INFO] finished tweaking git repo https://github.com/AidanEgan/swc-plugin-solid [INFO] tweaked toml for git repo https://github.com/AidanEgan/swc-plugin-solid written to /workspace/builds/worker-4-tc2/source/Cargo.toml [INFO] validating manifest of git repo https://github.com/AidanEgan/swc-plugin-solid on toolchain a5689b034ad287112f709693384a37f1377eb9cc [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate git repo https://github.com/AidanEgan/swc-plugin-solid 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" "+a5689b034ad287112f709693384a37f1377eb9cc" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-4-tc2/target:/opt/rustwide/target:rw,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" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:77db811e55d90add9212f6832c23229e3de5f1c1f9905e8cb07319ea15df73ac" "sleep" "infinity", kill_on_drop: false }` [INFO] [stdout] ed506a47dcdd5528032858ceecb4b55c103fd75ae9ce565c6f6a419f9680770c [INFO] running `Command { std: "docker" "start" "ed506a47dcdd5528032858ceecb4b55c103fd75ae9ce565c6f6a419f9680770c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ed506a47dcdd5528032858ceecb4b55c103fd75ae9ce565c6f6a419f9680770c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ed506a47dcdd5528032858ceecb4b55c103fd75ae9ce565c6f6a419f9680770c" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "ed506a47dcdd5528032858ceecb4b55c103fd75ae9ce565c6f6a419f9680770c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-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" "-w" "/opt/rustwide/workdir" "--user" "0:0" "ed506a47dcdd5528032858ceecb4b55c103fd75ae9ce565c6f6a419f9680770c" "/opt/rustwide/cargo-home/bin/cargo" "+a5689b034ad287112f709693384a37f1377eb9cc" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.98 [INFO] [stderr] Compiling serde v1.0.219 [INFO] [stderr] Checking smallvec v1.15.1 [INFO] [stderr] Checking simdutf8 v0.1.5 [INFO] [stderr] Checking hashbrown v0.15.5 [INFO] [stderr] Checking allocator-api2 v0.2.21 [INFO] [stderr] Compiling serde_json v1.0.142 [INFO] [stderr] Checking rustc-hash v2.1.1 [INFO] [stderr] Checking ahash v0.8.12 [INFO] [stderr] Checking new_debug_unreachable v1.0.6 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking vsimd v0.8.0 [INFO] [stderr] Checking uuid v1.18.0 [INFO] [stderr] Checking outref v0.5.2 [INFO] [stderr] Checking data-encoding v2.9.0 [INFO] [stderr] Checking either v1.15.0 [INFO] [stderr] Checking if_chain v1.0.2 [INFO] [stderr] Checking unicode-id-start v1.3.1 [INFO] [stderr] Checking unicode-width v0.1.14 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Checking better_scoped_tls v1.0.1 [INFO] [stderr] Checking siphasher v0.3.11 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling siphasher v1.0.1 [INFO] [stderr] Compiling memchr v2.7.5 [INFO] [stderr] Compiling camino v1.1.11 [INFO] [stderr] Compiling semver v1.0.26 [INFO] [stderr] Checking parking_lot_core v0.9.11 [INFO] [stderr] Checking swc_visit v2.0.1 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Checking bitflags v2.9.2 [INFO] [stderr] Compiling phf_shared v0.11.3 [INFO] [stderr] Compiling cc v1.2.33 [INFO] [stderr] Compiling anyhow v1.0.99 [INFO] [stderr] Compiling owo-colors v4.2.2 [INFO] [stderr] Compiling smartstring v1.0.1 [INFO] [stderr] Checking unicode-width v0.2.1 [INFO] [stderr] Compiling thiserror v2.0.14 [INFO] [stderr] Compiling vergen-lib v0.1.6 [INFO] [stderr] Checking parking_lot v0.12.4 [INFO] [stderr] Compiling vergen v9.0.6 [INFO] [stderr] Checking base64-simd v0.8.0 [INFO] [stderr] Compiling glob v0.3.3 [INFO] [stderr] Compiling relative-path v1.9.3 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking arrayvec v0.7.6 [INFO] [stderr] Checking ryu-js v1.0.2 [INFO] [stderr] Compiling seq-macro v0.3.6 [INFO] [stderr] Compiling quote v1.0.40 [INFO] [stderr] Checking textwrap v0.16.2 [INFO] [stderr] Checking bumpalo v3.19.0 [INFO] [stderr] Checking digest v0.10.7 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling phf_generator v0.11.3 [INFO] [stderr] Checking indexmap v2.10.0 [INFO] [stderr] Checking castaway v0.2.4 [INFO] [stderr] Checking num_cpus v1.17.0 [INFO] [stderr] Checking par-core v2.0.0 [INFO] [stderr] Compiling syn v2.0.106 [INFO] [stderr] Checking difference v2.0.0 [INFO] [stderr] Checking sha2 v0.10.9 [INFO] [stderr] Checking rustix v1.0.8 [INFO] [stderr] Checking compact_str v0.7.1 [INFO] [stderr] Checking ansi_term v0.12.1 [INFO] [stderr] Checking swc_plugin v1.0.1 [INFO] [stderr] Checking swc_allocator v4.0.1 [INFO] [stderr] Compiling psm v0.1.26 [INFO] [stderr] Compiling stacker v0.1.21 [INFO] [stderr] Compiling regex-automata v0.4.9 [INFO] [stderr] Checking tempfile v3.20.0 [INFO] [stderr] Compiling regex v1.11.1 [INFO] [stderr] Compiling synstructure v0.13.2 [INFO] [stderr] Compiling swc_macros_common v1.0.1 [INFO] [stderr] Compiling darling_core v0.20.11 [INFO] [stderr] Compiling serde_derive v1.0.219 [INFO] [stderr] Compiling zerovec-derive v0.11.1 [INFO] [stderr] Compiling displaydoc v0.2.5 [INFO] [stderr] Compiling ptr_meta_derive v0.3.0 [INFO] [stderr] Compiling bytecheck_derive v0.8.1 [INFO] [stderr] Compiling munge_macro v0.4.6 [INFO] [stderr] Compiling rkyv_derive v0.8.11 [INFO] [stderr] Compiling tracing-attributes v0.1.30 [INFO] [stderr] Compiling from_variant v2.0.2 [INFO] [stderr] Compiling ast_node v3.0.3 [INFO] [stderr] Compiling swc_eq_ignore_macros v1.0.1 [INFO] [stderr] Compiling phf_macros v0.11.3 [INFO] [stderr] Compiling string_enum v1.0.2 [INFO] [stderr] Compiling is-macro v0.3.7 [INFO] [stderr] Compiling zerofrom-derive v0.1.6 [INFO] [stderr] Compiling yoke-derive v0.8.0 [INFO] [stderr] Compiling thiserror-impl v2.0.14 [INFO] [stderr] Compiling thiserror-impl v1.0.69 [INFO] [stderr] Checking ptr_meta v0.3.0 [INFO] [stderr] Compiling miette-derive v7.6.0 [INFO] [stderr] Checking rancor v0.1.0 [INFO] [stderr] Compiling testing_macros v1.0.1 [INFO] [stderr] Compiling swc_ecma_codegen_macros v2.0.2 [INFO] [stderr] Checking munge v0.4.6 [INFO] [stderr] Checking phf v0.11.3 [INFO] [stderr] Compiling swc_trace_macro v2.0.2 [INFO] [stderr] Compiling swc_plugin_macro v1.1.0 [INFO] [stderr] Checking bytecheck v0.8.1 [INFO] [stderr] Checking rend v0.5.2 [INFO] [stderr] Checking zerofrom v0.1.6 [INFO] [stderr] Checking tracing v0.1.41 [INFO] [stderr] Checking miette v7.6.0 [INFO] [stderr] Checking yoke v0.8.0 [INFO] [stderr] Checking thiserror v1.0.69 [INFO] [stderr] Checking tracing-subscriber v0.3.19 [INFO] [stderr] Checking zerovec v0.11.4 [INFO] [stderr] Checking zerotrie v0.2.2 [INFO] [stderr] Compiling darling_macro v0.20.11 [INFO] [stderr] Compiling darling v0.20.11 [INFO] [stderr] Compiling derive_builder_core v0.20.2 [INFO] [stderr] Checking tinystr v0.8.1 [INFO] [stderr] Checking potential_utf v0.1.2 [INFO] [stderr] Checking icu_collections v2.0.0 [INFO] [stderr] Compiling derive_builder_macro v0.20.2 [INFO] [stderr] Checking icu_locale_core v2.0.0 [INFO] [stderr] Compiling derive_builder v0.20.2 [INFO] [stderr] Checking icu_provider v2.0.0 [INFO] [stderr] Checking icu_properties v2.0.1 [INFO] [stderr] Checking icu_normalizer v2.0.0 [INFO] [stderr] Checking idna_adapter v1.2.1 [INFO] [stderr] Checking idna v1.0.3 [INFO] [stderr] Checking url v2.5.4 [INFO] [stderr] Checking triomphe v0.1.14 [INFO] [stderr] Checking debugid v0.8.0 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking cargo-platform v0.1.9 [INFO] [stderr] Checking hstr v2.0.1 [INFO] [stderr] Checking rkyv v0.8.11 [INFO] [stderr] Checking cargo_metadata v0.18.1 [INFO] [stderr] Compiling cargo_metadata v0.19.2 [INFO] [stderr] Compiling swc_core v35.0.0 [INFO] [stderr] Checking bytes-str v0.2.7 [INFO] [stderr] Checking swc_atoms v7.0.0 [INFO] [stderr] Checking swc_sourcemap v9.3.4 [INFO] [stderr] Checking swc_common v14.0.3 [INFO] [stderr] Checking swc_ecma_ast v14.0.0 [INFO] [stderr] Checking swc_error_reporters v16.0.1 [INFO] [stderr] Checking swc_transform_common v8.0.0 [INFO] [stderr] Checking testing v15.0.0 [INFO] [stderr] Checking swc_ecma_testing v15.0.0 [INFO] [stderr] Checking swc_ecma_lexer v22.0.2 [INFO] [stderr] Checking swc_ecma_visit v14.0.0 [INFO] [stderr] Checking swc_ecma_codegen v16.0.0 [INFO] [stderr] Checking swc_plugin_proxy v14.0.0 [INFO] [stderr] Checking swc_ecma_utils v20.0.0 [INFO] [stderr] Checking swc_ecma_parser v22.0.3 [INFO] [stderr] Checking swc_ecma_transforms_base v24.0.0 [INFO] [stderr] Checking swc_ecma_transforms_testing v27.0.0 [INFO] [stderr] Checking swc_plugin_solid v0.1.0 (/opt/rustwide/workdir) [INFO] [stdout] warning: unused imports: `UnaryExpr` and `UnaryOp` [INFO] [stdout] --> src/builder/client/builder_helpers.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | UnaryExpr, UnaryOp, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BinaryOp`, `Ident`, and `util::take::Take` [INFO] [stdout] --> src/builder/client/custom_client_component_builder.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | common::{util::take::Take, BytePos, Spanned, SyntaxContext, DUMMY_SP}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 6 | ArrayLit, BinaryOp, BlockStmt, CallExpr, ComputedPropName, Expr, ExprOrSpread, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 7 | Function, GetterProp, Ident, IdentName, JSXAttrOrSpread, JSXAttrValue, JSXExpr, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `JSXAttr` [INFO] [stdout] --> src/builder/client/element_properties/class_list_builder.rs:6:72 [INFO] [stdout] | [INFO] [stdout] 6 | CallExpr, Callee, Expr, ExprOrSpread, ExprStmt, IdentName, JSXAttr, JSXAttrOrSpread, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ArrayPat` [INFO] [stdout] --> src/builder/client/element_properties/ref_statement_builder.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | ArrayPat, AssignExpr, AssignTarget, BinExpr, BindingIdent, CallExpr, CondExpr, Decl, Expr, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `JSXAttrValue` and `JSXAttr` [INFO] [stdout] --> src/builder/parser_types.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | ecma::ast::{Expr, JSXAttr, JSXAttrOrSpread, JSXAttrValue}, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ArrayLit`, `JSXElementChild`, `JSXExpr`, `Lit`, `Str`, and `common::DUMMY_SP` [INFO] [stdout] --> src/transform/create_new_expr.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | common::DUMMY_SP, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | ecma::ast::{ArrayLit, Expr, JSXElementChild, JSXExpr, Lit, Str}, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^ ^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `UnaryExpr` and `UnaryOp` [INFO] [stdout] --> src/builder/client/builder_helpers.rs:6:9 [INFO] [stdout] | [INFO] [stdout] 6 | UnaryExpr, UnaryOp, [INFO] [stdout] | ^^^^^^^^^ ^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BinaryOp`, `Ident`, and `util::take::Take` [INFO] [stdout] --> src/builder/client/custom_client_component_builder.rs:3:14 [INFO] [stdout] | [INFO] [stdout] 3 | common::{util::take::Take, BytePos, Spanned, SyntaxContext, DUMMY_SP}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 6 | ArrayLit, BinaryOp, BlockStmt, CallExpr, ComputedPropName, Expr, ExprOrSpread, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] 7 | Function, GetterProp, Ident, IdentName, JSXAttrOrSpread, JSXAttrValue, JSXExpr, [INFO] [stdout] | ^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `JSXAttr` [INFO] [stdout] --> src/builder/client/element_properties/class_list_builder.rs:6:72 [INFO] [stdout] | [INFO] [stdout] 6 | CallExpr, Callee, Expr, ExprOrSpread, ExprStmt, IdentName, JSXAttr, JSXAttrOrSpread, [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ArrayPat` [INFO] [stdout] --> src/builder/client/element_properties/ref_statement_builder.rs:4:9 [INFO] [stdout] | [INFO] [stdout] 4 | ArrayPat, AssignExpr, AssignTarget, BinExpr, BindingIdent, CallExpr, CondExpr, Decl, Expr, [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `JSXAttrValue` and `JSXAttr` [INFO] [stdout] --> src/builder/parser_types.rs:3:23 [INFO] [stdout] | [INFO] [stdout] 3 | ecma::ast::{Expr, JSXAttr, JSXAttrOrSpread, JSXAttrValue}, [INFO] [stdout] | ^^^^^^^ ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ArrayLit`, `JSXElementChild`, `JSXExpr`, `Lit`, `Str`, and `common::DUMMY_SP` [INFO] [stdout] --> src/transform/create_new_expr.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | common::DUMMY_SP, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 9 | ecma::ast::{ArrayLit, Expr, JSXElementChild, JSXExpr, Lit, Str}, [INFO] [stdout] | ^^^^^^^^ ^^^^^^^^^^^^^^^ ^^^^^^^ ^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/builder/client/custom_client_component_builder.rs:42:35 [INFO] [stdout] | [INFO] [stdout] 42 | fn visit_call_expr(&mut self, node: &CallExpr) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/builder/client/custom_client_component_builder.rs:46:37 [INFO] [stdout] | [INFO] [stdout] 46 | fn visit_member_expr(&mut self, node: &swc_core::ecma::ast::MemberExpr) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/builder/client/custom_client_component_builder.rs:42:35 [INFO] [stdout] | [INFO] [stdout] 42 | fn visit_call_expr(&mut self, node: &CallExpr) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` (part of `#[warn(unused)]`) on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `node` [INFO] [stdout] --> src/builder/client/custom_client_component_builder.rs:46:37 [INFO] [stdout] | [INFO] [stdout] 46 | fn visit_member_expr(&mut self, node: &swc_core::ecma::ast::MemberExpr) { [INFO] [stdout] | ^^^^ help: if this is intentional, prefix it with an underscore: `_node` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: enum `ImportKinds` is never used [INFO] [stdout] --> src/builder/builder_types.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum ImportKinds { [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 `JsxBuildResult` is never constructed [INFO] [stdout] --> src/builder/builder_types.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct JsxBuildResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InsertArgs` is never constructed [INFO] [stdout] --> src/builder/builder_types.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct InsertArgs { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NonDelegatedEvent` is never constructed [INFO] [stdout] --> src/builder/builder_types.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct NonDelegatedEvent {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ClassBuilder` is never constructed [INFO] [stdout] --> src/builder/client/element_properties.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 101 | pub struct ClassBuilder { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_empty` is never used [INFO] [stdout] --> src/builder/client/insert_queue.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl InsertQueue { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `is_custom` is never read [INFO] [stdout] --> src/builder/client/jsx_expr_transformer_client.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct ClientJsxExprTransformer<'a, T: ParentVisitor> { [INFO] [stdout] | ------------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 25 | is_custom: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClientJsxExprTransformer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Server`, `Universal`, and `Hydration` are never constructed [INFO] [stdout] --> src/builder/jsx_builder.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum ParsedJsxData { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] 15 | Client(ClientJsxElementVisitor), [INFO] [stdout] 16 | Server, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 17 | Universal, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 18 | Hydration, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/builder/parser_types.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl JsxOpeningMetadata { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] 21 | pub fn new(value: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `is_builtin` is never read [INFO] [stdout] --> src/builder/parser_types.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct JsxCustomComponentMetadata { [INFO] [stdout] | -------------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 41 | pub is_builtin: bool, // Users can provide list of builtin components which we need to import [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JsxCustomComponentMetadata` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_var_statement` is never used [INFO] [stdout] --> src/helpers/common_into_expressions.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn create_var_statement(decls: Vec) -> Stmt { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_built_in` is never used [INFO] [stdout] --> src/helpers/component_helpers.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn is_built_in(name: &str, parent_vis: &T) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Raw` and `Wrapped` are never constructed [INFO] [stdout] --> src/transform/create_new_expr.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | enum PossibleOption<'a, T> { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 18 | Raw(&'a mut Box), [INFO] [stdout] | ^^^ [INFO] [stdout] 19 | Wrapped(Option<&'a mut Box>), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_new_expr_option` is never used [INFO] [stdout] --> src/transform/create_new_expr.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn create_new_expr_option( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_new_expr` is never used [INFO] [stdout] --> src/transform/create_new_expr.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn create_new_expr(old_val: &mut Box, attacher: &mut T) -> Res { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `attach_data`, `get_built_ins`, `get_is_hydratable`, and `register_event` are never used [INFO] [stdout] --> src/transform/parent_visitor.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait ParentVisitor { [INFO] [stdout] | ------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 15 | fn attach_data(&mut self, data: ParsedJsxData); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 16 | fn get_built_ins(&self) -> &HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 17 | fn get_generate(&self) -> &str; [INFO] [stdout] 18 | fn get_is_hydratable(&self) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | fn register_event(&mut self, event: Cow); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `source_map` is never read [INFO] [stdout] --> src/transform/solid_visitor.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct SolidJsVisitor { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 31 | source_map: std::sync::Arc, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `Box` [INFO] [stdout] --> src/builder/client/custom_client_component_builder.rs:451:21 [INFO] [stdout] | [INFO] [stdout] 451 | / build_props_oject_expr(self.parent_visitor, self.needs_children_getter, items) [INFO] [stdout] 452 | | .into() [INFO] [stdout] | |_______________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 451 - build_props_oject_expr(self.parent_visitor, self.needs_children_getter, items) [INFO] [stdout] 452 - .into() [INFO] [stdout] 451 + build_props_oject_expr(self.parent_visitor, self.needs_children_getter, items) [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 451 - build_props_oject_expr(self.parent_visitor, self.needs_children_getter, items) [INFO] [stdout] 452 - .into() [INFO] [stdout] 451 + as Into<_>>::into(build_props_oject_expr(self.parent_visitor, self.needs_children_getter, items)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `Box` [INFO] [stdout] --> src/builder/client/custom_client_component_builder.rs:456:21 [INFO] [stdout] | [INFO] [stdout] 456 | expr.into() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 456 - expr.into() [INFO] [stdout] 456 + expr [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 456 - expr.into() [INFO] [stdout] 456 + as Into<_>>::into(expr) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `Box` [INFO] [stdout] --> src/builder/client/element_properties/class_builder.rs:79:21 [INFO] [stdout] | [INFO] [stdout] 79 | expr.into(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 79 - expr.into(), [INFO] [stdout] 79 + expr, [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 79 - expr.into(), [INFO] [stdout] 79 + as Into<_>>::into(expr), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `swc_core::ecma::ast::MemberExpr` [INFO] [stdout] --> src/builder/client/element_properties/ref_statement_builder.rs:23:81 [INFO] [stdout] | [INFO] [stdout] 23 | Expr::Member(x) => Some(AssignTarget::Simple(SimpleAssignTarget::Member(x.into()))), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 23 - Expr::Member(x) => Some(AssignTarget::Simple(SimpleAssignTarget::Member(x.into()))), [INFO] [stdout] 23 + Expr::Member(x) => Some(AssignTarget::Simple(SimpleAssignTarget::Member(x))), [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 23 - Expr::Member(x) => Some(AssignTarget::Simple(SimpleAssignTarget::Member(x.into()))), [INFO] [stdout] 23 + Expr::Member(x) => Some(AssignTarget::Simple(SimpleAssignTarget::Member(>::into(x)))), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> src/builder/client/element_properties.rs:597:36 [INFO] [stdout] | [INFO] [stdout] 597 | .unwrap_or(prop.into()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 597 - .unwrap_or(prop.into()) [INFO] [stdout] 597 + .unwrap_or(prop) [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 597 - .unwrap_or(prop.into()) [INFO] [stdout] 597 + .unwrap_or(<&str as Into<_>>::into(prop)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `swc_plugin_solid` (lib) due to 5 previous errors; 25 warnings emitted [INFO] [stderr] warning: build failed, waiting for other jobs to finish... [INFO] [stdout] warning: enum `ImportKinds` is never used [INFO] [stdout] --> src/builder/builder_types.rs:6:10 [INFO] [stdout] | [INFO] [stdout] 6 | pub enum ImportKinds { [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 `JsxBuildResult` is never constructed [INFO] [stdout] --> src/builder/builder_types.rs:16:12 [INFO] [stdout] | [INFO] [stdout] 16 | pub struct JsxBuildResult { [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `InsertArgs` is never constructed [INFO] [stdout] --> src/builder/builder_types.rs:23:12 [INFO] [stdout] | [INFO] [stdout] 23 | pub struct InsertArgs { [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `NonDelegatedEvent` is never constructed [INFO] [stdout] --> src/builder/builder_types.rs:29:12 [INFO] [stdout] | [INFO] [stdout] 29 | pub struct NonDelegatedEvent {} [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: struct `ClassBuilder` is never constructed [INFO] [stdout] --> src/builder/client/element_properties.rs:101:12 [INFO] [stdout] | [INFO] [stdout] 101 | pub struct ClassBuilder { [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: method `is_empty` is never used [INFO] [stdout] --> src/builder/client/insert_queue.rs:50:12 [INFO] [stdout] | [INFO] [stdout] 17 | impl InsertQueue { [INFO] [stdout] | ---------------- method in this implementation [INFO] [stdout] ... [INFO] [stdout] 50 | pub fn is_empty(&self) -> bool { [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `is_custom` is never read [INFO] [stdout] --> src/builder/client/jsx_expr_transformer_client.rs:25:5 [INFO] [stdout] | [INFO] [stdout] 21 | pub struct ClientJsxExprTransformer<'a, T: ParentVisitor> { [INFO] [stdout] | ------------------------ field in this struct [INFO] [stdout] ... [INFO] [stdout] 25 | is_custom: bool, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `ClientJsxExprTransformer` has a derived impl for the trait `Debug`, but this is intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Server`, `Universal`, and `Hydration` are never constructed [INFO] [stdout] --> src/builder/jsx_builder.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub enum ParsedJsxData { [INFO] [stdout] | ------------- variants in this enum [INFO] [stdout] 15 | Client(ClientJsxElementVisitor), [INFO] [stdout] 16 | Server, [INFO] [stdout] | ^^^^^^ [INFO] [stdout] 17 | Universal, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 18 | Hydration, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: associated function `new` is never used [INFO] [stdout] --> src/builder/parser_types.rs:21:12 [INFO] [stdout] | [INFO] [stdout] 20 | impl JsxOpeningMetadata { [INFO] [stdout] | ----------------------- associated function in this implementation [INFO] [stdout] 21 | pub fn new(value: String) -> Self { [INFO] [stdout] | ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `is_builtin` is never read [INFO] [stdout] --> src/builder/parser_types.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 37 | pub struct JsxCustomComponentMetadata { [INFO] [stdout] | -------------------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 41 | pub is_builtin: bool, // Users can provide list of builtin components which we need to import [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `JsxCustomComponentMetadata` has derived impls for the traits `Clone` and `Debug`, but these are intentionally ignored during dead code analysis [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_var_statement` is never used [INFO] [stdout] --> src/helpers/common_into_expressions.rs:47:8 [INFO] [stdout] | [INFO] [stdout] 47 | pub fn create_var_statement(decls: Vec) -> Stmt { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `is_built_in` is never used [INFO] [stdout] --> src/helpers/component_helpers.rs:54:8 [INFO] [stdout] | [INFO] [stdout] 54 | pub fn is_built_in(name: &str, parent_vis: &T) -> bool { [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variants `Raw` and `Wrapped` are never constructed [INFO] [stdout] --> src/transform/create_new_expr.rs:18:5 [INFO] [stdout] | [INFO] [stdout] 17 | enum PossibleOption<'a, T> { [INFO] [stdout] | -------------- variants in this enum [INFO] [stdout] 18 | Raw(&'a mut Box), [INFO] [stdout] | ^^^ [INFO] [stdout] 19 | Wrapped(Option<&'a mut Box>), [INFO] [stdout] | ^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_new_expr_option` is never used [INFO] [stdout] --> src/transform/create_new_expr.rs:80:8 [INFO] [stdout] | [INFO] [stdout] 80 | pub fn create_new_expr_option( [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: function `create_new_expr` is never used [INFO] [stdout] --> src/transform/create_new_expr.rs:86:8 [INFO] [stdout] | [INFO] [stdout] 86 | pub fn create_new_expr(old_val: &mut Box, attacher: &mut T) -> Res { [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: methods `attach_data`, `get_built_ins`, `get_is_hydratable`, and `register_event` are never used [INFO] [stdout] --> src/transform/parent_visitor.rs:15:8 [INFO] [stdout] | [INFO] [stdout] 11 | pub trait ParentVisitor { [INFO] [stdout] | ------------- methods in this trait [INFO] [stdout] ... [INFO] [stdout] 15 | fn attach_data(&mut self, data: ParsedJsxData); [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 16 | fn get_built_ins(&self) -> &HashSet; [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 17 | fn get_generate(&self) -> &str; [INFO] [stdout] 18 | fn get_is_hydratable(&self) -> bool; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 27 | fn register_event(&mut self, event: Cow); [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: field `source_map` is never read [INFO] [stdout] --> src/transform/solid_visitor.rs:31:5 [INFO] [stdout] | [INFO] [stdout] 28 | pub struct SolidJsVisitor { [INFO] [stdout] | -------------- field in this struct [INFO] [stdout] ... [INFO] [stdout] 31 | source_map: std::sync::Arc, [INFO] [stdout] | ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `Box` [INFO] [stdout] --> src/builder/client/custom_client_component_builder.rs:451:21 [INFO] [stdout] | [INFO] [stdout] 451 | / build_props_oject_expr(self.parent_visitor, self.needs_children_getter, items) [INFO] [stdout] 452 | | .into() [INFO] [stdout] | |_______________________________^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] = note: `#[deny(self_type_conversion)]` on by default [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 451 - build_props_oject_expr(self.parent_visitor, self.needs_children_getter, items) [INFO] [stdout] 452 - .into() [INFO] [stdout] 451 + build_props_oject_expr(self.parent_visitor, self.needs_children_getter, items) [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 451 - build_props_oject_expr(self.parent_visitor, self.needs_children_getter, items) [INFO] [stdout] 452 - .into() [INFO] [stdout] 451 + as Into<_>>::into(build_props_oject_expr(self.parent_visitor, self.needs_children_getter, items)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `Box` [INFO] [stdout] --> src/builder/client/custom_client_component_builder.rs:456:21 [INFO] [stdout] | [INFO] [stdout] 456 | expr.into() [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 456 - expr.into() [INFO] [stdout] 456 + expr [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 456 - expr.into() [INFO] [stdout] 456 + as Into<_>>::into(expr) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `Box` [INFO] [stdout] --> src/builder/client/element_properties/class_builder.rs:79:21 [INFO] [stdout] | [INFO] [stdout] 79 | expr.into(), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 79 - expr.into(), [INFO] [stdout] 79 + expr, [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 79 - expr.into(), [INFO] [stdout] 79 + as Into<_>>::into(expr), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `swc_core::ecma::ast::MemberExpr` [INFO] [stdout] --> src/builder/client/element_properties/ref_statement_builder.rs:23:81 [INFO] [stdout] | [INFO] [stdout] 23 | Expr::Member(x) => Some(AssignTarget::Simple(SimpleAssignTarget::Member(x.into()))), [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 23 - Expr::Member(x) => Some(AssignTarget::Simple(SimpleAssignTarget::Member(x.into()))), [INFO] [stdout] 23 + Expr::Member(x) => Some(AssignTarget::Simple(SimpleAssignTarget::Member(x))), [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 23 - Expr::Member(x) => Some(AssignTarget::Simple(SimpleAssignTarget::Member(x.into()))), [INFO] [stdout] 23 + Expr::Member(x) => Some(AssignTarget::Simple(SimpleAssignTarget::Member(>::into(x)))), [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] error: useless conversion to the same type: `&str` [INFO] [stdout] --> src/builder/client/element_properties.rs:597:36 [INFO] [stdout] | [INFO] [stdout] 597 | .unwrap_or(prop.into()) [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: this method call relies on the `impl Into for T` blanket implementation and type inference, which is a semver hazard as a new `impl Into<_>` that affects your type might be added in the future causing type inference errors [INFO] [stdout] help: consider removing the conversion call [INFO] [stdout] | [INFO] [stdout] 597 - .unwrap_or(prop.into()) [INFO] [stdout] 597 + .unwrap_or(prop) [INFO] [stdout] | [INFO] [stdout] help: you can use the fully-qualified path to avoid triggering this lint [INFO] [stdout] | [INFO] [stdout] 597 - .unwrap_or(prop.into()) [INFO] [stdout] 597 + .unwrap_or(<&str as Into<_>>::into(prop)) [INFO] [stdout] | [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] error: could not compile `swc_plugin_solid` (lib test) due to 5 previous errors; 25 warnings emitted [INFO] running `Command { std: "docker" "inspect" "ed506a47dcdd5528032858ceecb4b55c103fd75ae9ce565c6f6a419f9680770c", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "ed506a47dcdd5528032858ceecb4b55c103fd75ae9ce565c6f6a419f9680770c", kill_on_drop: false }` [INFO] [stdout] ed506a47dcdd5528032858ceecb4b55c103fd75ae9ce565c6f6a419f9680770c