[INFO] fetching crate protoc_gen_ets 0.1.1... [INFO] checking protoc_gen_ets-0.1.1 against master#350d0ef0ec0493e6d21cfb265cb8211a0e74d766 for pr-145342-1 [INFO] extracting crate protoc_gen_ets 0.1.1 into /workspace/builds/worker-6-tc1/source [INFO] removed /workspace/builds/worker-6-tc1/source/.cargo/config.toml [INFO] removed /workspace/builds/worker-6-tc1/source/rust-toolchain.toml [INFO] started tweaking crates.io crate protoc_gen_ets 0.1.1 [INFO] removed 0 missing tests [INFO] finished tweaking crates.io crate protoc_gen_ets 0.1.1 [INFO] tweaked toml for crates.io crate protoc_gen_ets 0.1.1 written to /workspace/builds/worker-6-tc1/source/Cargo.toml [INFO] validating manifest of crates.io crate protoc_gen_ets 0.1.1 on toolchain 350d0ef0ec0493e6d21cfb265cb8211a0e74d766 [INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }` [INFO] crate crates.io crate protoc_gen_ets 0.1.1 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" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }` [INFO] [stderr] Updating crates.io index [INFO] [stderr] Blocking waiting for file lock on package cache [INFO] [stderr] Downloading crates ... [INFO] [stderr] Downloaded swc_eq_ignore_macros v0.1.3 [INFO] [stderr] Downloaded swc_atoms v0.6.7 [INFO] [stderr] Downloaded swc_visit_macros v0.5.12 [INFO] [stderr] Downloaded swc_macros_common v0.3.11 [INFO] [stderr] Downloaded swc_visit v0.5.14 [INFO] [stderr] Downloaded swc_ecma_ast v0.115.1 [INFO] [stderr] Downloaded unicode-id-start v1.0.4 [INFO] [stderr] Downloaded ast_node v0.9.8 [INFO] [stderr] Downloaded swc_ecma_visit v0.101.0 [INFO] [stderr] Downloaded unicode-id v0.3.4 [INFO] [stderr] Downloaded better_scoped_tls v0.1.1 [INFO] [stderr] Downloaded string_enum v0.4.4 [INFO] [stderr] Downloaded from_variant v0.1.8 [INFO] [stderr] Downloaded swc_common v0.34.4 [INFO] [stderr] Downloaded napi-sys v2.4.0 [INFO] [stderr] Downloaded darrentsung_debug_parser v0.3.1 [INFO] [stderr] Downloaded swc_ecma_codegen_macros v0.7.6 [INFO] [stderr] Downloaded napi-derive-backend v1.0.70 [INFO] [stderr] Downloaded is-macro v0.3.5 [INFO] [stderr] Downloaded napi-derive v2.16.8 [INFO] [stderr] Downloaded swc_ecma_utils v0.130.3 [INFO] [stderr] Downloaded hstr v0.2.10 [INFO] [stderr] Downloaded pretty_assertions v1.4.0 [INFO] [stderr] Downloaded swc_ecma_codegen v0.151.1 [INFO] [stderr] Downloaded napi v2.16.8 [INFO] [stderr] Downloaded ryu-js v1.0.1 [INFO] [stderr] Downloaded pretty_assertions_sorted v1.2.3 [INFO] [stderr] Downloaded swc_ecma_parser v0.146.12 [INFO] [stderr] Downloaded napi-build v1.2.1 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }` [INFO] [stdout] cf602004719712ca0a5d075e28ee40f4c4f42944cd027830c13810a57d3bf067 [INFO] running `Command { std: "docker" "start" "-a" "cf602004719712ca0a5d075e28ee40f4c4f42944cd027830c13810a57d3bf067", kill_on_drop: false }` [INFO] running `Command { std: "docker" "inspect" "cf602004719712ca0a5d075e28ee40f4c4f42944cd027830c13810a57d3bf067", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "cf602004719712ca0a5d075e28ee40f4c4f42944cd027830c13810a57d3bf067", kill_on_drop: false }` [INFO] [stdout] cf602004719712ca0a5d075e28ee40f4c4f42944cd027830c13810a57d3bf067 [INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-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:7ad1b28ee6f5f7f699f6cf7015098d6ccdd96d6f2d78dd06228f5b4c9faf309c" "/opt/rustwide/cargo-home/bin/cargo" "+350d0ef0ec0493e6d21cfb265cb8211a0e74d766" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }` [INFO] [stdout] dd76db3915b9608e7c4b9c9cea7020f23056002432c86c0907ee010afb8f8037 [INFO] running `Command { std: "docker" "start" "-a" "dd76db3915b9608e7c4b9c9cea7020f23056002432c86c0907ee010afb8f8037", kill_on_drop: false }` [INFO] [stderr] Compiling proc-macro2 v1.0.86 [INFO] [stderr] Compiling unicode-ident v1.0.12 [INFO] [stderr] Compiling autocfg v1.3.0 [INFO] [stderr] Compiling serde v1.0.204 [INFO] [stderr] Compiling libc v0.2.155 [INFO] [stderr] Compiling memchr v2.7.4 [INFO] [stderr] Compiling regex-syntax v0.8.4 [INFO] [stderr] Compiling once_cell v1.19.0 [INFO] [stderr] Compiling rand_core v0.6.4 [INFO] [stderr] Compiling siphasher v0.3.11 [INFO] [stderr] Compiling rand v0.8.5 [INFO] [stderr] Compiling lazy_static v1.5.0 [INFO] [stderr] Checking cfg-if v1.0.0 [INFO] [stderr] Compiling phf_shared v0.11.2 [INFO] [stderr] Compiling num-traits v0.2.19 [INFO] [stderr] Compiling thiserror v1.0.61 [INFO] [stderr] Compiling rustix v0.38.34 [INFO] [stderr] Compiling cc v1.0.105 [INFO] [stderr] Compiling aho-corasick v1.1.3 [INFO] [stderr] Compiling phf_generator v0.11.2 [INFO] [stderr] Compiling version_check v0.9.4 [INFO] [stderr] Checking tinyvec_macros v0.1.1 [INFO] [stderr] Checking tinyvec v1.7.0 [INFO] [stderr] Compiling quote v1.0.36 [INFO] [stderr] Compiling anyhow v1.0.86 [INFO] [stderr] Compiling log v0.4.22 [INFO] [stderr] Compiling syn v2.0.69 [INFO] [stderr] Checking bitflags v2.6.0 [INFO] [stderr] Checking hashbrown v0.14.5 [INFO] [stderr] Checking unicode-normalization v0.1.23 [INFO] [stderr] Checking unicode-bidi v0.3.15 [INFO] [stderr] Checking percent-encoding v2.3.1 [INFO] [stderr] Checking either v1.13.0 [INFO] [stderr] Compiling psm v0.1.21 [INFO] [stderr] Checking stable_deref_trait v1.2.0 [INFO] [stderr] Checking rustc-hash v1.1.0 [INFO] [stderr] Checking form_urlencoded v1.2.1 [INFO] [stderr] Compiling indexmap v1.9.3 [INFO] [stderr] Compiling protobuf v3.4.0 [INFO] [stderr] Compiling wasm-bindgen-shared v0.2.92 [INFO] [stderr] Checking idna v0.5.0 [INFO] [stderr] Checking new_debug_unreachable v1.0.6 [INFO] [stderr] Compiling regex-automata v0.4.7 [INFO] [stderr] Compiling stacker v0.1.15 [INFO] [stderr] Checking num-integer v0.1.46 [INFO] [stderr] Compiling smartstring v1.0.1 [INFO] [stderr] Checking tracing-core v0.1.32 [INFO] [stderr] Checking url v2.5.2 [INFO] [stderr] Compiling serde_json v1.0.120 [INFO] [stderr] Compiling linux-raw-sys v0.4.14 [INFO] [stderr] Checking scoped-tls v1.0.1 [INFO] [stderr] Checking pin-project-lite v0.2.14 [INFO] [stderr] Checking better_scoped_tls v0.1.1 [INFO] [stderr] Checking atty v0.2.14 [INFO] [stderr] Checking unicode-width v0.1.13 [INFO] [stderr] Checking unicode-id-start v1.0.4 [INFO] [stderr] Checking termcolor v1.4.1 [INFO] [stderr] Compiling bumpalo v3.16.0 [INFO] [stderr] Compiling radium v0.7.0 [INFO] [stderr] Compiling fastrand v2.1.0 [INFO] [stderr] Compiling home v0.5.9 [INFO] [stderr] Compiling hashbrown v0.12.3 [INFO] [stderr] Checking tap v1.0.1 [INFO] [stderr] Compiling wasm-bindgen v0.2.92 [INFO] [stderr] Compiling static_assertions v1.1.0 [INFO] [stderr] Compiling semver v1.0.23 [INFO] [stderr] Checking outref v0.1.0 [INFO] [stderr] Checking simd-abstraction v0.7.1 [INFO] [stderr] Compiling regex v1.10.5 [INFO] [stderr] Checking wyz v0.5.1 [INFO] [stderr] Compiling Inflector v0.11.4 [INFO] [stderr] Compiling lock_api v0.4.12 [INFO] [stderr] Compiling ryu v1.0.18 [INFO] [stderr] Compiling swc_macros_common v0.3.11 [INFO] [stderr] Compiling wasm-bindgen-backend v0.2.92 [INFO] [stderr] Compiling unicode-segmentation v1.11.0 [INFO] [stderr] Compiling typed-arena v2.0.2 [INFO] [stderr] Compiling which v4.4.2 [INFO] [stderr] Compiling tempfile v3.10.1 [INFO] [stderr] Compiling parking_lot_core v0.9.10 [INFO] [stderr] Checking funty v2.0.0 [INFO] [stderr] Compiling smallvec v1.13.2 [INFO] [stderr] Compiling itoa v1.0.11 [INFO] [stderr] Checking uuid v1.9.1 [INFO] [stderr] Compiling convert_case v0.6.0 [INFO] [stderr] Checking base64-simd v0.7.0 [INFO] [stderr] Compiling ahash v0.8.11 [INFO] [stderr] Checking data-encoding v2.6.0 [INFO] [stderr] Checking bitvec v1.0.1 [INFO] [stderr] Compiling wasm-bindgen-macro-support v0.2.92 [INFO] [stderr] Compiling crossbeam-utils v0.8.20 [INFO] [stderr] Compiling napi-build v1.2.1 [INFO] [stderr] Checking if_chain v1.0.2 [INFO] [stderr] Checking equivalent v1.0.1 [INFO] [stderr] Checking scopeguard v1.2.0 [INFO] [stderr] Checking indexmap v2.2.6 [INFO] [stderr] Compiling napi-derive-backend v1.0.70 [INFO] [stderr] Checking num_cpus v1.16.0 [INFO] [stderr] Checking getrandom v0.2.15 [INFO] [stderr] Compiling serde_derive v1.0.204 [INFO] [stderr] Compiling phf_macros v0.11.2 [INFO] [stderr] Compiling tracing-attributes v0.1.27 [INFO] [stderr] Compiling swc_visit_macros v0.5.12 [INFO] [stderr] Compiling swc_eq_ignore_macros v0.1.3 [INFO] [stderr] Compiling thiserror-impl v1.0.61 [INFO] [stderr] Compiling from_variant v0.1.8 [INFO] [stderr] Compiling ast_node v0.9.8 [INFO] [stderr] Compiling is-macro v0.3.5 [INFO] [stderr] Compiling string_enum v0.4.4 [INFO] [stderr] Checking phf v0.11.2 [INFO] [stderr] Checking tracing v0.1.40 [INFO] [stderr] Compiling protobuf-support v3.4.0 [INFO] [stderr] Compiling wasm-bindgen-macro v0.2.92 [INFO] [stderr] Compiling ctor v0.2.8 [INFO] [stderr] Checking swc_visit v0.5.14 [INFO] [stderr] Compiling swc_ecma_codegen_macros v0.7.6 [INFO] [stderr] Checking utf8-width v0.1.7 [INFO] [stderr] Checking minimal-lexical v0.2.1 [INFO] [stderr] Checking zerocopy v0.7.35 [INFO] [stderr] Checking unicode-id v0.3.4 [INFO] [stderr] Checking napi-sys v2.4.0 [INFO] [stderr] Checking ryu-js v1.0.1 [INFO] [stderr] Checking napi v2.16.8 [INFO] [stderr] Checking nom v7.1.3 [INFO] [stderr] Checking console_error_panic_hook v0.1.7 [INFO] [stderr] Checking js-sys v0.3.69 [INFO] [stderr] Checking html-escape v0.2.13 [INFO] [stderr] Compiling napi-derive v2.16.8 [INFO] [stderr] Checking dashmap v5.5.3 [INFO] [stderr] Checking protobuf-parse v3.4.0 [INFO] [stderr] Checking ordered-float v2.10.1 [INFO] [stderr] Checking diff v0.1.13 [INFO] [stderr] Checking pathdiff v0.2.1 [INFO] [stderr] Checking heck v0.5.0 [INFO] [stderr] Checking yansi v0.5.1 [INFO] [stderr] Checking darrentsung_debug_parser v0.3.1 [INFO] [stderr] Checking glob v0.3.1 [INFO] [stderr] Checking pretty_assertions v1.4.0 [INFO] [stderr] Checking pretty_assertions_sorted v1.2.3 [INFO] [stderr] Checking triomphe v0.1.13 [INFO] [stderr] Checking num-bigint v0.4.6 [INFO] [stderr] Checking debugid v0.8.0 [INFO] [stderr] Checking hstr v0.2.10 [INFO] [stderr] Checking toml v0.5.11 [INFO] [stderr] Checking swc_atoms v0.6.7 [INFO] [stderr] Checking sourcemap v8.0.1 [INFO] [stderr] Compiling protobuf-codegen v3.4.0 [INFO] [stderr] Checking swc_common v0.34.4 [INFO] [stderr] Checking swc_ecma_ast v0.115.1 [INFO] [stderr] Checking swc_ecma_visit v0.101.0 [INFO] [stderr] Checking swc_ecma_parser v0.146.12 [INFO] [stderr] Checking swc_ecma_codegen v0.151.1 [INFO] [stderr] Compiling protoc_gen_ets v0.1.1 (/opt/rustwide/workdir) [INFO] [stderr] Checking swc_ecma_utils v0.130.3 [INFO] [stdout] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stdout] --> /opt/rustwide/target/debug/build/protoc_gen_ets-c316c59a3bf28af5/out/protogen/descriptor.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #![allow(box_pointers)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stdout] --> /opt/rustwide/target/debug/build/protoc_gen_ets-c316c59a3bf28af5/out/protogen/plugin.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #![allow(box_pointers)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `protobuf::Enum` [INFO] [stdout] --> src/common/field.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use protobuf::Enum; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ObjectLit` [INFO] [stdout] --> src/common/field.rs:9:31 [INFO] [stdout] | [INFO] [stdout] 9 | ArrayLit, BinaryOp, Expr, ObjectLit, TsArrayType, TsEntityName, TsKeywordType, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::once` [INFO] [stdout] --> src/common/field_type.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::iter::once; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `OneofDescriptorProto` [INFO] [stdout] --> src/common/message_type.rs:3:57 [INFO] [stdout] | [INFO] [stdout] 3 | descriptor::{DescriptorProto, FieldDescriptorProto, OneofDescriptorProto}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `context::Context` and `runtime::Runtime` [INFO] [stdout] --> src/common/oneof.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | context::Context, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | descriptor::FieldDescriptorProto, [INFO] [stdout] 4 | runtime::Runtime, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `swc_common::DUMMY_SP` [INFO] [stdout] --> src/common/oneof.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use swc_common::DUMMY_SP; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BindingIdent`, `ClassMember`, `ClassMethod`, `Function`, `MethodKind`, `Param`, and `Pat` [INFO] [stdout] --> src/common/oneof.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | ClassMember, ClassMethod, MethodKind, Function, Param, BindingIdent, Pat, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^ ^^^^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ExprFactory` and `quote_ident` [INFO] [stdout] --> src/common/oneof.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | use swc_ecma_utils::{quote_ident, ExprFactory}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Accessibility`, `BinaryOp`, `BindingIdent`, `BlockStmt`, `ClassDecl`, `ClassMethod`, `Class`, `Constructor`, `ExprStmt`, `Expr`, `Param`, `Pat`, `ReturnStmt`, `TsKeywordTypeKind`, `TsKeywordType`, `TsTypeAnn`, `TsTypeParamInstantiation`, `TsType`, `VarDeclKind`, `VarDecl`, and `VarDeclarator` [INFO] [stdout] --> src/runtime/lark/protobuf_js/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | Accessibility, BinaryOp, BindingIdent, BlockStmt, Class, ClassDecl, ClassMember, ClassMethod, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^ ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] 4 | Constructor, Decl, ExportDecl, Expr, ExprStmt, ModuleDecl, ModuleItem, Param, Pat, ReturnStmt, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^ ^^^^^^^^ ^^^^^ ^^^ ^^^^^^^^^^ [INFO] [stdout] 5 | Stmt, TsEnumDecl, TsEnumMember, TsEnumMemberId, TsKeywordType, TsKeywordTypeKind, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | TsModuleBlock, TsModuleDecl, TsModuleName, TsNamespaceBody, TsType, TsTypeAnn, [INFO] [stdout] | ^^^^^^ ^^^^^^^^^ [INFO] [stdout] 7 | TsTypeParamInstantiation, VarDecl, VarDeclKind, VarDeclarator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `collections::HashMap` and `iter::once` [INFO] [stdout] --> src/runtime/lark/protobuf_js/deserialize.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, iter::once}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ToLowerCamelCase` [INFO] [stdout] --> src/runtime/lark/protobuf_js/deserialize.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use heck::{ToLowerCamelCase, ToUpperCamelCase}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `heck::ToLowerCamelCase` [INFO] [stdout] --> src/runtime/lark/protobuf_js/serialize.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use heck::ToLowerCamelCase; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BindingIdent`, `Pat`, `VarDeclKind`, `VarDecl`, and `VarDeclarator` [INFO] [stdout] --> src/runtime/lark/protobuf_js/serialize.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | BindingIdent, BlockStmt, ComputedPropName, Expr, ForHead, ForOfStmt, MemberExpr, MemberProp, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 7 | Pat, Stmt, SwitchCase, SwitchStmt, VarDecl, VarDeclKind, VarDeclarator, [INFO] [stdout] | ^^^ ^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stdout] --> /opt/rustwide/target/debug/build/protoc_gen_ets-c316c59a3bf28af5/out/protogen/descriptor.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #![allow(box_pointers)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(renamed_and_removed_lints)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: lint `box_pointers` has been removed: it does not detect other kinds of allocations, and existed only for historical reasons [INFO] [stdout] --> /opt/rustwide/target/debug/build/protoc_gen_ets-c316c59a3bf28af5/out/protogen/plugin.rs:12:10 [INFO] [stdout] | [INFO] [stdout] 12 | #![allow(box_pointers)] [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `protobuf::Enum` [INFO] [stdout] --> src/common/field.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use protobuf::Enum; [INFO] [stdout] | ^^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ObjectLit` [INFO] [stdout] --> src/common/field.rs:9:31 [INFO] [stdout] | [INFO] [stdout] 9 | ArrayLit, BinaryOp, Expr, ObjectLit, TsArrayType, TsEntityName, TsKeywordType, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `std::iter::once` [INFO] [stdout] --> src/common/field_type.rs:1:5 [INFO] [stdout] | [INFO] [stdout] 1 | use std::iter::once; [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `OneofDescriptorProto` [INFO] [stdout] --> src/common/message_type.rs:3:57 [INFO] [stdout] | [INFO] [stdout] 3 | descriptor::{DescriptorProto, FieldDescriptorProto, OneofDescriptorProto}, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `context::Context` and `runtime::Runtime` [INFO] [stdout] --> src/common/oneof.rs:2:5 [INFO] [stdout] | [INFO] [stdout] 2 | context::Context, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 3 | descriptor::FieldDescriptorProto, [INFO] [stdout] 4 | runtime::Runtime, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `swc_common::DUMMY_SP` [INFO] [stdout] --> src/common/oneof.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | use swc_common::DUMMY_SP; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BindingIdent`, `ClassMember`, `ClassMethod`, `Function`, `MethodKind`, `Param`, and `Pat` [INFO] [stdout] --> src/common/oneof.rs:8:5 [INFO] [stdout] | [INFO] [stdout] 8 | ClassMember, ClassMethod, MethodKind, Function, Param, BindingIdent, Pat, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^ ^^^^^^^^ ^^^^^ ^^^^^^^^^^^^ ^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `ExprFactory` and `quote_ident` [INFO] [stdout] --> src/common/oneof.rs:10:22 [INFO] [stdout] | [INFO] [stdout] 10 | use swc_ecma_utils::{quote_ident, ExprFactory}; [INFO] [stdout] | ^^^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Accessibility`, `BinaryOp`, `BindingIdent`, `BlockStmt`, `ClassDecl`, `ClassMethod`, `Class`, `Constructor`, `ExprStmt`, `Expr`, `Param`, `Pat`, `ReturnStmt`, `TsKeywordTypeKind`, `TsKeywordType`, `TsTypeAnn`, `TsTypeParamInstantiation`, `TsType`, `VarDeclKind`, `VarDecl`, and `VarDeclarator` [INFO] [stdout] --> src/runtime/lark/protobuf_js/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | Accessibility, BinaryOp, BindingIdent, BlockStmt, Class, ClassDecl, ClassMember, ClassMethod, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^ ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] 4 | Constructor, Decl, ExportDecl, Expr, ExprStmt, ModuleDecl, ModuleItem, Param, Pat, ReturnStmt, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^ ^^^^^^^^ ^^^^^ ^^^ ^^^^^^^^^^ [INFO] [stdout] 5 | Stmt, TsEnumDecl, TsEnumMember, TsEnumMemberId, TsKeywordType, TsKeywordTypeKind, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | TsModuleBlock, TsModuleDecl, TsModuleName, TsNamespaceBody, TsType, TsTypeAnn, [INFO] [stdout] | ^^^^^^ ^^^^^^^^^ [INFO] [stdout] 7 | TsTypeParamInstantiation, VarDecl, VarDeclKind, VarDeclarator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `collections::HashMap` and `iter::once` [INFO] [stdout] --> src/runtime/lark/protobuf_js/deserialize.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, iter::once}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ToLowerCamelCase` [INFO] [stdout] --> src/runtime/lark/protobuf_js/deserialize.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use heck::{ToLowerCamelCase, ToUpperCamelCase}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `heck::ToLowerCamelCase` [INFO] [stdout] --> src/runtime/lark/protobuf_js/serialize.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use heck::ToLowerCamelCase; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BindingIdent`, `Pat`, `VarDeclKind`, `VarDecl`, and `VarDeclarator` [INFO] [stdout] --> src/runtime/lark/protobuf_js/serialize.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | BindingIdent, BlockStmt, ComputedPropName, Expr, ForHead, ForOfStmt, MemberExpr, MemberProp, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 7 | Pat, Stmt, SwitchCase, SwitchStmt, VarDecl, VarDeclKind, VarDeclarator, [INFO] [stdout] | ^^^ ^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `print::Print` [INFO] [stdout] --> src/runtime/lark/protobuf_js/mod.rs:11:66 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::{context::Context, descriptor, export::ExportedIndex, print::Print, runtime::Runtime}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `print::Print` [INFO] [stdout] --> src/runtime/lark/protobuf_js/mod.rs:11:66 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::{context::Context, descriptor, export::ExportedIndex, print::Print, runtime::Runtime}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/common/field_type.rs:173:33 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn is_deprecated(&self, ctx: &Context) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/common/field_type.rs:173:33 [INFO] [stdout] | [INFO] [stdout] 173 | pub fn is_deprecated(&self, ctx: &Context) -> bool { [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/runtime/lark/protobuf_js/codec.rs:844:9 [INFO] [stdout] | [INFO] [stdout] 844 | ctx: &mut Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/runtime/lark/protobuf_js/codec.rs:844:9 [INFO] [stdout] | [INFO] [stdout] 844 | ctx: &mut Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/runtime/lark/protobuf_js/deserialize.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | ctx: &mut Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ns` [INFO] [stdout] --> src/runtime/lark/protobuf_js/deserialize.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | ns: &[String], [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ns` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/runtime/lark/protobuf_js/deserialize.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | ctx: &mut Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ns` [INFO] [stdout] --> src/runtime/lark/protobuf_js/deserialize.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | ns: &[String], [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ns` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/runtime/lark/protobuf_js/mod.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | ctx: &mut Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `descriptor` [INFO] [stdout] --> src/runtime/lark/protobuf_js/mod.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | descriptor: &descriptor::DescriptorProto, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_descriptor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/runtime/lark/protobuf_js/mod.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | ctx: &mut Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `descriptor` [INFO] [stdout] --> src/runtime/lark/protobuf_js/mod.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | descriptor: &descriptor::DescriptorProto, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_descriptor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/runtime/lark/protobuf_js/mod.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | ctx: &mut Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `descriptor` [INFO] [stdout] --> src/runtime/lark/protobuf_js/mod.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | descriptor: &descriptor::DescriptorProto, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_descriptor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/runtime/lark/protobuf_js/mod.rs:192:13 [INFO] [stdout] | [INFO] [stdout] 192 | let mut items = index.print(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/runtime/lark/protobuf_js/mod.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | ctx: &mut Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `descriptor` [INFO] [stdout] --> src/runtime/lark/protobuf_js/mod.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | descriptor: &descriptor::DescriptorProto, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_descriptor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/runtime/lark/protobuf_js/mod.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | ctx: &mut Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `descriptor` [INFO] [stdout] --> src/runtime/lark/protobuf_js/mod.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | descriptor: &descriptor::DescriptorProto, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_descriptor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/runtime/lark/protobuf_js/mod.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | ctx: &mut Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `descriptor` [INFO] [stdout] --> src/runtime/lark/protobuf_js/mod.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | descriptor: &descriptor::DescriptorProto, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_descriptor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `WireError` is more private than the item `wire::Tag::new` [INFO] [stdout] --> src/common/wire.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn new(value: u32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ associated function `wire::Tag::new` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `WireError` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/common/wire.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub(crate) enum WireError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/runtime/lark/protobuf_js/mod.rs:192:13 [INFO] [stdout] | [INFO] [stdout] 192 | let mut items = index.print(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/common/wire.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub(crate) enum WireError { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 15 | #[error("Unexpected EOF")] [INFO] [stdout] 16 | UnexpectedEof, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 17 | #[error("Unexpected wire type")] [INFO] [stdout] 18 | UnexpectedWireType(WireType), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | IncorrectVarint, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 23 | #[error("Invalid UTF-8 sequence")] [INFO] [stdout] 24 | Utf8Error, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 25 | #[error("Invalid enum `{}` value: {}", .0, .1)] [INFO] [stdout] 26 | InvalidEnumValue(&'static str, i32), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 27 | #[error("Over recursion limit")] [INFO] [stdout] 28 | OverRecursionLimit, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 29 | #[error("Truncated message")] [INFO] [stdout] 30 | TruncatedMessage, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | LimitOverflow, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 34 | #[error("New limit must not be greater than current limit")] [INFO] [stdout] 35 | LimitIncrease, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 36 | #[error("Encoded message size {0} is too large")] [INFO] [stdout] 37 | MessageTooLarge(u64), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 38 | #[error("Value too large for u32: {}", .0)] [INFO] [stdout] 39 | U32Overflow(u64), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 40 | #[error("Value too large for i32: {}", .0)] [INFO] [stdout] 41 | I32Overflow(i64), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WireError` has a derived impl for the trait `Debug`, 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: method `is_named` is never used [INFO] [stdout] --> src/context/util.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 31 | trait ImportDeclExt { [INFO] [stdout] | ------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 36 | fn is_named(&self) -> bool; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: type `WireError` is more private than the item `wire::Tag::new` [INFO] [stdout] --> src/common/wire.rs:114:5 [INFO] [stdout] | [INFO] [stdout] 114 | pub fn new(value: u32) -> Result { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ associated function `wire::Tag::new` is reachable at visibility `pub` [INFO] [stdout] | [INFO] [stdout] note: but type `WireError` is only usable at visibility `pub(crate)` [INFO] [stdout] --> src/common/wire.rs:14:1 [INFO] [stdout] | [INFO] [stdout] 14 | pub(crate) enum WireError { [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] = note: `#[warn(private_interfaces)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: multiple variants are never constructed [INFO] [stdout] --> src/common/wire.rs:16:5 [INFO] [stdout] | [INFO] [stdout] 14 | pub(crate) enum WireError { [INFO] [stdout] | --------- variants in this enum [INFO] [stdout] 15 | #[error("Unexpected EOF")] [INFO] [stdout] 16 | UnexpectedEof, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 17 | #[error("Unexpected wire type")] [INFO] [stdout] 18 | UnexpectedWireType(WireType), [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 22 | IncorrectVarint, [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 23 | #[error("Invalid UTF-8 sequence")] [INFO] [stdout] 24 | Utf8Error, [INFO] [stdout] | ^^^^^^^^^ [INFO] [stdout] 25 | #[error("Invalid enum `{}` value: {}", .0, .1)] [INFO] [stdout] 26 | InvalidEnumValue(&'static str, i32), [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] 27 | #[error("Over recursion limit")] [INFO] [stdout] 28 | OverRecursionLimit, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^ [INFO] [stdout] 29 | #[error("Truncated message")] [INFO] [stdout] 30 | TruncatedMessage, [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] ... [INFO] [stdout] 33 | LimitOverflow, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 34 | #[error("New limit must not be greater than current limit")] [INFO] [stdout] 35 | LimitIncrease, [INFO] [stdout] | ^^^^^^^^^^^^^ [INFO] [stdout] 36 | #[error("Encoded message size {0} is too large")] [INFO] [stdout] 37 | MessageTooLarge(u64), [INFO] [stdout] | ^^^^^^^^^^^^^^^ [INFO] [stdout] 38 | #[error("Value too large for u32: {}", .0)] [INFO] [stdout] 39 | U32Overflow(u64), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] 40 | #[error("Value too large for i32: {}", .0)] [INFO] [stdout] 41 | I32Overflow(i64), [INFO] [stdout] | ^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `WireError` has a derived impl for the trait `Debug`, 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: method `is_named` is never used [INFO] [stdout] --> src/context/util.rs:36:8 [INFO] [stdout] | [INFO] [stdout] 31 | trait ImportDeclExt { [INFO] [stdout] | ------------- method in this trait [INFO] [stdout] ... [INFO] [stdout] 36 | fn is_named(&self) -> bool; [INFO] [stdout] | ^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Accessibility`, `BinaryOp`, `BindingIdent`, `BlockStmt`, `ClassDecl`, `ClassMethod`, `Class`, `Constructor`, `ExprStmt`, `Expr`, `Param`, `Pat`, `ReturnStmt`, `TsKeywordTypeKind`, `TsKeywordType`, `TsTypeAnn`, `TsTypeParamInstantiation`, `TsType`, `VarDeclKind`, `VarDecl`, and `VarDeclarator` [INFO] [stdout] --> src/runtime/lark/protobuf_js/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | Accessibility, BinaryOp, BindingIdent, BlockStmt, Class, ClassDecl, ClassMember, ClassMethod, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^ ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] 4 | Constructor, Decl, ExportDecl, Expr, ExprStmt, ModuleDecl, ModuleItem, Param, Pat, ReturnStmt, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^ ^^^^^^^^ ^^^^^ ^^^ ^^^^^^^^^^ [INFO] [stdout] 5 | Stmt, TsEnumDecl, TsEnumMember, TsEnumMemberId, TsKeywordType, TsKeywordTypeKind, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | TsModuleBlock, TsModuleDecl, TsModuleName, TsNamespaceBody, TsType, TsTypeAnn, [INFO] [stdout] | ^^^^^^ ^^^^^^^^^ [INFO] [stdout] 7 | TsTypeParamInstantiation, VarDecl, VarDeclKind, VarDeclarator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `collections::HashMap` and `iter::once` [INFO] [stdout] --> src/runtime/lark/protobuf_js/deserialize.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, iter::once}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ToLowerCamelCase` [INFO] [stdout] --> src/runtime/lark/protobuf_js/deserialize.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use heck::{ToLowerCamelCase, ToUpperCamelCase}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `heck::ToLowerCamelCase` [INFO] [stdout] --> src/runtime/lark/protobuf_js/serialize.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use heck::ToLowerCamelCase; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BindingIdent`, `Pat`, `VarDeclKind`, `VarDecl`, and `VarDeclarator` [INFO] [stdout] --> src/runtime/lark/protobuf_js/serialize.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | BindingIdent, BlockStmt, ComputedPropName, Expr, ForHead, ForOfStmt, MemberExpr, MemberProp, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 7 | Pat, Stmt, SwitchCase, SwitchStmt, VarDecl, VarDeclKind, VarDeclarator, [INFO] [stdout] | ^^^ ^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `Accessibility`, `BinaryOp`, `BindingIdent`, `BlockStmt`, `ClassDecl`, `ClassMethod`, `Class`, `Constructor`, `ExprStmt`, `Expr`, `Param`, `Pat`, `ReturnStmt`, `TsKeywordTypeKind`, `TsKeywordType`, `TsTypeAnn`, `TsTypeParamInstantiation`, `TsType`, `VarDeclKind`, `VarDecl`, and `VarDeclarator` [INFO] [stdout] --> src/runtime/lark/protobuf_js/mod.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | Accessibility, BinaryOp, BindingIdent, BlockStmt, Class, ClassDecl, ClassMember, ClassMethod, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^ ^^^^^^^^^^^^ ^^^^^^^^^ ^^^^^ ^^^^^^^^^ ^^^^^^^^^^^ [INFO] [stdout] 4 | Constructor, Decl, ExportDecl, Expr, ExprStmt, ModuleDecl, ModuleItem, Param, Pat, ReturnStmt, [INFO] [stdout] | ^^^^^^^^^^^ ^^^^ ^^^^^^^^ ^^^^^ ^^^ ^^^^^^^^^^ [INFO] [stdout] 5 | Stmt, TsEnumDecl, TsEnumMember, TsEnumMemberId, TsKeywordType, TsKeywordTypeKind, [INFO] [stdout] | ^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^ [INFO] [stdout] 6 | TsModuleBlock, TsModuleDecl, TsModuleName, TsNamespaceBody, TsType, TsTypeAnn, [INFO] [stdout] | ^^^^^^ ^^^^^^^^^ [INFO] [stdout] 7 | TsTypeParamInstantiation, VarDecl, VarDeclKind, VarDeclarator, [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^^^ ^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_imports)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `collections::HashMap` and `iter::once` [INFO] [stdout] --> src/runtime/lark/protobuf_js/deserialize.rs:1:11 [INFO] [stdout] | [INFO] [stdout] 1 | use std::{collections::HashMap, iter::once}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `ToLowerCamelCase` [INFO] [stdout] --> src/runtime/lark/protobuf_js/deserialize.rs:3:12 [INFO] [stdout] | [INFO] [stdout] 3 | use heck::{ToLowerCamelCase, ToUpperCamelCase}; [INFO] [stdout] | ^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `heck::ToLowerCamelCase` [INFO] [stdout] --> src/runtime/lark/protobuf_js/serialize.rs:3:5 [INFO] [stdout] | [INFO] [stdout] 3 | use heck::ToLowerCamelCase; [INFO] [stdout] | ^^^^^^^^^^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused imports: `BindingIdent`, `Pat`, `VarDeclKind`, `VarDecl`, and `VarDeclarator` [INFO] [stdout] --> src/runtime/lark/protobuf_js/serialize.rs:6:5 [INFO] [stdout] | [INFO] [stdout] 6 | BindingIdent, BlockStmt, ComputedPropName, Expr, ForHead, ForOfStmt, MemberExpr, MemberProp, [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] 7 | Pat, Stmt, SwitchCase, SwitchStmt, VarDecl, VarDeclKind, VarDeclarator, [INFO] [stdout] | ^^^ ^^^^^^^ ^^^^^^^^^^^ ^^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `print::Print` [INFO] [stdout] --> src/runtime/lark/protobuf_js/mod.rs:11:66 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::{context::Context, descriptor, export::ExportedIndex, print::Print, runtime::Runtime}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/runtime/lark/protobuf_js/codec.rs:844:9 [INFO] [stdout] | [INFO] [stdout] 844 | ctx: &mut Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/runtime/lark/protobuf_js/deserialize.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | ctx: &mut Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ns` [INFO] [stdout] --> src/runtime/lark/protobuf_js/deserialize.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | ns: &[String], [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ns` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/runtime/lark/protobuf_js/mod.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | ctx: &mut Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `descriptor` [INFO] [stdout] --> src/runtime/lark/protobuf_js/mod.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | descriptor: &descriptor::DescriptorProto, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_descriptor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/runtime/lark/protobuf_js/mod.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | ctx: &mut Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `descriptor` [INFO] [stdout] --> src/runtime/lark/protobuf_js/mod.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | descriptor: &descriptor::DescriptorProto, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_descriptor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/runtime/lark/protobuf_js/mod.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | ctx: &mut Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `descriptor` [INFO] [stdout] --> src/runtime/lark/protobuf_js/mod.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | descriptor: &descriptor::DescriptorProto, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_descriptor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/runtime/lark/protobuf_js/mod.rs:192:13 [INFO] [stdout] | [INFO] [stdout] 192 | let mut items = index.print(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused import: `print::Print` [INFO] [stdout] --> src/runtime/lark/protobuf_js/mod.rs:11:66 [INFO] [stdout] | [INFO] [stdout] 11 | use crate::{context::Context, descriptor, export::ExportedIndex, print::Print, runtime::Runtime}; [INFO] [stdout] | ^^^^^^^^^^^^ [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/runtime/lark/protobuf_js/codec.rs:844:9 [INFO] [stdout] | [INFO] [stdout] 844 | ctx: &mut Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_variables)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/runtime/lark/protobuf_js/deserialize.rs:109:9 [INFO] [stdout] | [INFO] [stdout] 109 | ctx: &mut Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ns` [INFO] [stdout] --> src/runtime/lark/protobuf_js/deserialize.rs:111:9 [INFO] [stdout] | [INFO] [stdout] 111 | ns: &[String], [INFO] [stdout] | ^^ help: if this is intentional, prefix it with an underscore: `_ns` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/runtime/lark/protobuf_js/mod.rs:41:9 [INFO] [stdout] | [INFO] [stdout] 41 | ctx: &mut Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `descriptor` [INFO] [stdout] --> src/runtime/lark/protobuf_js/mod.rs:42:9 [INFO] [stdout] | [INFO] [stdout] 42 | descriptor: &descriptor::DescriptorProto, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_descriptor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/runtime/lark/protobuf_js/mod.rs:54:9 [INFO] [stdout] | [INFO] [stdout] 54 | ctx: &mut Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `descriptor` [INFO] [stdout] --> src/runtime/lark/protobuf_js/mod.rs:55:9 [INFO] [stdout] | [INFO] [stdout] 55 | descriptor: &descriptor::DescriptorProto, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_descriptor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `ctx` [INFO] [stdout] --> src/runtime/lark/protobuf_js/mod.rs:62:9 [INFO] [stdout] | [INFO] [stdout] 62 | ctx: &mut Context, [INFO] [stdout] | ^^^ help: if this is intentional, prefix it with an underscore: `_ctx` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: unused variable: `descriptor` [INFO] [stdout] --> src/runtime/lark/protobuf_js/mod.rs:63:9 [INFO] [stdout] | [INFO] [stdout] 63 | descriptor: &descriptor::DescriptorProto, [INFO] [stdout] | ^^^^^^^^^^ help: if this is intentional, prefix it with an underscore: `_descriptor` [INFO] [stdout] [INFO] [stdout] [INFO] [stdout] warning: variable does not need to be mutable [INFO] [stdout] --> src/runtime/lark/protobuf_js/mod.rs:192:13 [INFO] [stdout] | [INFO] [stdout] 192 | let mut items = index.print(); [INFO] [stdout] | ----^^^^^ [INFO] [stdout] | | [INFO] [stdout] | help: remove this `mut` [INFO] [stdout] | [INFO] [stdout] = note: `#[warn(unused_mut)]` on by default [INFO] [stdout] [INFO] [stdout] [INFO] [stderr] Finished `dev` profile [unoptimized + debuginfo] target(s) in 2m 42s [INFO] running `Command { std: "docker" "inspect" "dd76db3915b9608e7c4b9c9cea7020f23056002432c86c0907ee010afb8f8037", kill_on_drop: false }` [INFO] running `Command { std: "docker" "rm" "-f" "dd76db3915b9608e7c4b9c9cea7020f23056002432c86c0907ee010afb8f8037", kill_on_drop: false }` [INFO] [stdout] dd76db3915b9608e7c4b9c9cea7020f23056002432c86c0907ee010afb8f8037